[Pydev-users] [pydev - Users] Strange behaviour when debugging os.walk
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2007-10-09 10:30:33
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4559732 By: ivan_zderadicka Hi, pydev 1.3.9 eclipse 3.3.1 python 2.4.3 on Ubuntu 6.06 when debugging following code: import os, sys if len(sys.argv)<2: print >>sys.stderr, "need dir" sys.exit(1) dir = unicode(sys.argv[1]) for a,b,c in os.walk(dir,): print a,b,c os.walk fails - not dirs are listed (actually the os.listdir within os.walk throws following error - OSError: [Errno 11] Resource temporarily unavailable: '/home/ivan/music') - when runs normally everything is ok, problem is only in the debbuger - when dir is not unicode works fine - also did worked in previous versions (1.3.5 I think), I've just recently upgraded eclipse+pydev. Any idea what might be wrong? Thanks Ivan ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |