pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.21k stars 356 forks source link

primitive #createDirectory: in WindowsStore failed #13732

Open igouy opened 1 year ago

igouy commented 1 year ago

[Post-mortem] PrimitiveFailed: primitive #createDirectory: in WindowsStore failed

Preparation: right-mouse button over desktop/New/Folder = stuff right-mouse button over desktop/stuff/Open right-mouse button over FileExplorer/stuff/New/Folder = Pharo right-mouse button over FileExplorer/stuff/Pharo/Properties Pharo Properties/Security/FullControl

Download: https://pharo.org/download “Pharo stable VM for Windows” http://files.pharo.org/get-files/100/pharo-vm-Windows-x86_64-stable.zip (There were also problems with "can't be downloaded securely".) "Pharo image: 64bit (default)" https://files.pharo.org/get-files/100/pharo64.zip

Cut&Paste pharo-vm-Windows-x86_64-stable.zip from Downloads to Desktop\stuff\Pharo pharo64.zip from Downloads to Desktop\stuff\Pharo

Unzip right-mouse button over Desktop\stuff\Pharo\pharo64.zip Extract All... browse to Desktop\stuff\Pharo right-mouse button over Desktop\stuff\Pharo\pharo-vm-Windows-x86_64-stable.zip Extract All... browse to Desktop\stuff\Pharo

Failure right-mouse button over FileExplorer/stuff/Pharo/Pharo.exe Open "Select Pharo Image to Open" click Open Pharo startup with immediate [Post-mortem] PrimitiveFailed: primitive #createDirectory: in WindowsStore failed

WindowsStore(ProtoObject)>>primitiveFailed: WindowsStore(ProtoObject)>>primitiveFailed WindowsStore(DiskStore)>>createDirectory: WindowsStore(FileSystemStore)>>ensureCreateDirectory: WindowsStore(FileSystemStore)>>ensureCreateDirectory: FileSystem>>ensureCreateDirectory: FileReference>>ensureCreateDirectory OmSessionStore>>resetWithStoreNamed: OmSessionStore>>resetWithNextStoreName OmSessionStore>>store [ :each | each store ] in OmSessionStore class>>startUp in Block: [ :each | each store ] WeakSet>>do: OmSessionStore class>>startUp OmSessionStore class(Behavior)>>startUp: ClassSessionHandler>>startup: [ :arg2 | arg2 startup: arg1 ] in WorkingSession>>runStartup: in Block: [ :arg2 | arg2 startup: arg1 ] [ arg2 value: arg3 ] in [ :arg3 | [ arg2 value: arg3 ] on: Exception do: [ :arg4 | self errorHandler handleError: arg4 ] ] in WorkingSession>>runList:do: in Block: [ arg2 value: arg3 ] FullBlockClosure(BlockClosure)>>on:do: [ :arg3 | [ arg2 value: arg3 ] on: Exception do: [ :arg4 | self errorHandler handleError: arg4 ] ] in WorkingSession>>runList:do: in Block: [ :arg3 | ... Array(SequenceableCollection)>>do: WorkingSession>>runList:do: WorkingSession>>runStartup: WorkingSession>>start: SessionManager>>launchSnapshot:andQuit: [ tmp3 := self launchSnapshot: arg1 andQuit: arg2. tmp1 signal ] in SessionManager>>snapshot:andQuit: in Block: [ ... [ self value. Processor terminateRealActive ] in FullBlockClosure(BlockClosure)>>newProcess in Block: [ ..

Windows 10 Home 22H2 Pharo10.0.0 build: 538, commit: 179ef65, date: 15 March 2023

welcome[bot] commented 1 year ago

Thanks for opening your first issue! Please check the CONTRIBUTING documents for some tips about which information should be provided. You can find information of how to do a Pull Request here: https://github.com/pharo-project/pharo/wiki/Contribute-a-fix-to-Pharo

GitHub
Contribute a fix to Pharo
Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk. - pharo-project/pharo
DurieuxPol commented 1 year ago

I tried to reproduce this, but the link for the Pharo 10 vm is down, so I downloaded the Pharo 11 version. I did everything else according to your instructions, and it worked fine for me.

uhlikosaurus commented 1 year ago

Hello, the same thing happened to me (Windows 11). Access to the user's Documents folder has been blocked by windows defender. I had to add a windows defender exception to the GT so that GT could change the contents of this folder. I hope this helps.

Regards uhlikosaurus