]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
fuse_a: Add more explanation to the failure message when simplejson cannot be imported.
authornejucomo <nejucomo@gmail.com>
Sun, 1 Jun 2008 02:06:00 +0000 (19:06 -0700)
committernejucomo <nejucomo@gmail.com>
Sun, 1 Jun 2008 02:06:00 +0000 (19:06 -0700)
contrib/fuse_a/tahoe_fuse.py

index f9485642b65b88ff8accd493bd10fa5566f09b20..56ac3122e536731764f6e6cc7ae35f14efd758f9 100644 (file)
@@ -43,7 +43,10 @@ except ImportError, e:
 Could not import simplejson, which is bundled with Tahoe.  Please
 update your PYTHONPATH environment variable to include the tahoe
 "support/lib/python<VERSION>/site-packages" directory.
-''')
+
+If you run this from the Tahoe source directory, use this command:
+PYTHONPATH="$PYTHONPATH:./support/lib/python%d.%d/site-packages/" python %s
+''' % (sys.version_info[:2] + (' '.join(sys.argv),)))
     
 
 try: