[Pharo-project] Problem with FileSystem primitives in latest Pharo2.0
Hi, i found an error in the latest Pharo2.0 build, at least in OSX , that prevents from using Gofer and monticello. Its related to the FileSystem primitives, when trying to delete a file. To reproduce evaluate the following code ( change 'PharoDebug.log' for any existing file in the same directory as the image). | path | path := FileSystem disk workingDirectory. p := FilePluginPrims new . p deleteDirectory: (path / 'PharoDebug.log') fullName. Any idea why? Thanks, Fernando
Are you using a current VM from Jenkins? I think FileSystem needs some fixes in the Vm File plugin... On Jul 4, 2012, at 9:23 AM, Fernando Olivero wrote:
Hi, i found an error in the latest Pharo2.0 build, at least in OSX , that prevents from using Gofer and monticello.
Its related to the FileSystem primitives, when trying to delete a file.
To reproduce evaluate the following code ( change 'PharoDebug.log' for any existing file in the same directory as the image).
| path | path := FileSystem disk workingDirectory. p := FilePluginPrims new . p deleteDirectory: (path / 'PharoDebug.log') fullName.
Any idea why?
Thanks, Fernando
-- Marcus Denker -- http://marcusdenker.de
Why not (FileSystem disk workingDirectory / 'foo.txt') delete. Works for me. Are you sure you are using the latest VM ? On 04 Jul 2012, at 09:23, Fernando Olivero wrote:
Hi, i found an error in the latest Pharo2.0 build, at least in OSX , that prevents from using Gofer and monticello.
Its related to the FileSystem primitives, when trying to delete a file.
To reproduce evaluate the following code ( change 'PharoDebug.log' for any existing file in the same directory as the image).
| path | path := FileSystem disk workingDirectory. p := FilePluginPrims new . p deleteDirectory: (path / 'PharoDebug.log') fullName.
Any idea why?
Thanks, Fernando
participants (3)
-
Fernando Olivero -
Marcus Denker -
Sven Van Caekenberghe