[Pharo-project] Problem with FileSystem primitives in latest Pharo2.0
fernando.olivero at usi.ch
Wed Jul 4 03:42:55 EDT 2012
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.
On Wed, Jul 4, 2012 at 9:32 AM, fernando.olivero at usi.ch
<fernando.olivero at 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 ?
> On Wed, Jul 4, 2012 at 9:28 AM, Marcus Denker <marcus.denker at 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?
>> Marcus Denker -- http://marcusdenker.de
More information about the Pharo-dev