Re: [Pharo-project] Problem with FileSystem primitives in latest Pharo2.0
Hi Sven, yes is working. I found the error. Try evaluating the code WHEN the file is un-existing. 2 timesRepeat:[ (FileSystem disk workingDirectory / 'unexistingFileForTesting.txt') delete ]. I will try to fix it, The initial problem was that monticello is trying to delete an un-existing mcz file in the package-cache. Strange that nobody else had this problem before. Fernando On Wed, Jul 4, 2012 at 9:32 AM, fernando.olivero@usi.ch <fernando.olivero@usi.ch> wrote:
Yes, i'm using the latest VM's from Jenkins.
I've tried with both Cog and NB vm's.
It appears to be related to the (internal) FilePlugin, did esteban make changes to it?
Surely this happened to somebody else? When trying to load/merge/commit ?
Fernando
On Wed, Jul 4, 2012 at 9:28 AM, Marcus Denker <marcus.denker@inria.fr> wrote:
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
participants (1)
-
Fernando Olivero