David-Sarah Hopwood wrote: > That's odd. os.path.join does no system calls, so if os.getcwdu isn't causing > the exception then I'm flummoxed. > > Tahoe-LAFS has no calls to chdir except in startstop_node.py, so "tahoe ls" > should never change the process' current directory. However, to confirm that, > please try inserting "print os.getcwd();" at line 302 of > /usr/local/lib/python2.6/site-packages/allmydata/util/fileutil.py
Oh, better put that on a separate line so that we can see which call is throwing the exception, i.e. replace line 302 with something like: print "cwd =", os.getcwd() cwdu = os.getcwdu() print "cwdu =", repr(cwdu) path = os.path.join(cwdu, path) -- David-Sarah Hopwood ⚥ http://davidsarah.livejournal.com
signature.asc
Description: OpenPGP digital signature
_______________________________________________ tahoe-dev mailing list [email protected] http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
