mmtrt / cncra2yr-snap

Unofficial C&C: Red Alert 2 Yuri's Revenge soaked in WINE and Snapped for Linux

Home Page:https://snapcraft.io/cncra2yr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't launch

dancju opened this issue · comments

commented
$ snap run cncra2yr
exception inside UnhandledException handler: Object reference not set to an instance of an object

[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: LocalFree
  at (wrapper managed-to-native) System.Security.AccessControl.NativeObjectSecurity:LocalFree (intptr)
  at System.Security.AccessControl.NativeObjectSecurity.Win32GetHelper (System.Security.AccessControl.NativeObjectSecurity+GetSecurityInfoNativeCall nativeCall, System.Security.AccessControl.AccessControlSections includeSections) [0x00088] in <1c90db0b17cb4b1e827d577d0607b212>:0
  at System.Security.AccessControl.NativeObjectSecurity.InternalGet (System.String name, System.Security.AccessControl.AccessControlSections includeSections) [0x00027] in <1c90db0b17cb4b1e827d577d0607b212>:0
  at System.Security.AccessControl.NativeObjectSecurity..ctor (System.Boolean isContainer, System.Security.AccessControl.ResourceType resourceType, System.String name, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity+ExceptionFromErrorCode exceptionFromErrorCode, System.Object exceptionContext) [0x0000c] in <1c90db0b17cb4b1e827d577d0607b212>:0
  at System.Security.AccessControl.NativeObjectSecurity..ctor (System.Boolean isContainer, System.Security.AccessControl.ResourceType resourceType, System.String name, System.Security.AccessControl.AccessControlSections includeSections) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0
  at System.Security.AccessControl.FileSystemSecurity..ctor (System.Boolean isContainer, System.String name, System.Security.AccessControl.AccessControlSections includeSections) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0
  at System.Security.AccessControl.DirectorySecurity..ctor (System.String name, System.Security.AccessControl.AccessControlSections includeSections) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0
  at System.IO.Directory.GetAccessControl (System.String path, System.Security.AccessControl.AccessControlSections includeSections) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0
  at System.IO.Directory.GetAccessControl (System.String path) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0
  at System.IO.DirectoryInfo.GetAccessControl () [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:GetAccessControl ()
  at DTAClient.PreStartup.UserHasDirectoryAccessRights (System.String path, System.Security.AccessControl.FileSystemRights accessRights) [0x0004c] in <aa2cda06896a4025a6c09ba9706701d3>:0
  at DTAClient.PreStartup.CheckPermissions () [0x00005] in <aa2cda06896a4025a6c09ba9706701d3>:0
  at DTAClient.PreStartup.Initialize (System.String[] args) [0x00020] in <aa2cda06896a4025a6c09ba9706701d3>:0
  at DTAClient.Program.Main (System.String[] args) [0x0008f] in <aa2cda06896a4025a6c09ba9706701d3>:0

did you tried fresh installation of snap?

when this happens on fresh install snap or later on?

also which os you are using most importantly which arch is it i386 or amd64

commented

Thank you for replying!

Yes, it is a fresh snap installation.
Arch Linux, amd64

commented

I just reinstalled cncra2yr and it worked. I think the only difference is adding /snap symbolic link.

I just did as well on Manjaro and it worked fine here. I think the /snap link is only need for classic snaps afaik to work. Anyway first snap start on fresh install takes time to setup depending on how the system is fast.