![](https://secure.gravatar.com/avatar/fbb61bd6d94bfce41ffa985c2081577f.jpg?s=120&d=mm&r=g)
Hi, I will probably have no network access tomorrow, so I post this as a reminder, and also because the error takes time to reproduce. When finishing a build, the client process crashes with the following exception: <snip> [translation:info] created: ./pypy-c Traceback (most recent call last): File "bin/client", line 65, in ? zip.writestr(fpath.relto(udir), fpath.read()) File "/home/alf/dev/pypy/dist/py/path/common.py", line 312, in read f = self.open(mode) File "/home/alf/dev/pypy/dist/py/path/local/local.py", line 200, in open return self._callex(open, self.strpath, mode) File "/home/alf/dev/pypy/dist/py/path/common.py", line 229, in _callex raise cls, value py.error.ENOENT: [No such file or directory]: file('/tmp/usession-16/.lock', 'rb') Exception exceptions.AttributeError: "'ChannelWrapper' object has no attribute 'tell'" in <bound method ZipFile.__del__ of <zipfile.ZipFile instance at 0x2aaaac415fc8>> ignored The error is a bit mysterious to me, so if people in the assistance have an idea of what is happening but no time to fix it, their opinion is very welcome. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Informatique scientifique: http://www.logilab.fr/science Reprise et maintenance de sites CPS: http://www.migration-cms.com/
![](https://secure.gravatar.com/avatar/5b37e6b4ac97453e4ba9dba37954cf79.jpg?s=120&d=mm&r=g)
Hi, On Tue, Dec 05, 2006 at 08:29:03PM +0100, Alexandre Fayolle wrote:
py.error.ENOENT: [No such file or directory]: file('/tmp/usession-16/.lock', 'rb')
This .lock file is a symlink whose content is the pid of the process, so uncareful places (as here) find it with listdir() but crash when opening it. Not sure why the build tool tries to zip it all, instead of just the 'testing_1' subdirectory. Not sure why it didn't crash before, either. A bientot, Armin
![](https://secure.gravatar.com/avatar/fbb61bd6d94bfce41ffa985c2081577f.jpg?s=120&d=mm&r=g)
On Tue, Dec 05, 2006 at 08:35:28PM +0100, Armin Rigo wrote:
Hi,
On Tue, Dec 05, 2006 at 08:29:03PM +0100, Alexandre Fayolle wrote:
py.error.ENOENT: [No such file or directory]: file('/tmp/usession-16/.lock', 'rb')
This .lock file is a symlink whose content is the pid of the process, so uncareful places (as here) find it with listdir() but crash when opening it.
Not sure why the build tool tries to zip it all, instead of just the 'testing_1' subdirectory. Not sure why it didn't crash before, either.
Well, before changes I checked in yesterday, it crashed before reaching this line, so this is why ;-) I fixed this locally in the train this morning, and will check in once I've been able to run a successful translation, which I cannot do reasonably while running on battery. -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Informatique scientifique: http://www.logilab.fr/science Reprise et maintenance de sites CPS: http://www.migration-cms.com/
participants (2)
-
Alexandre Fayolle
-
Armin Rigo