projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f82bf
)
fuse_a: Add more explanation to the failure message when simplejson cannot be imported.
author
nejucomo
<nejucomo@gmail.com>
Sun, 1 Jun 2008 02:06:00 +0000
(19:06 -0700)
committer
nejucomo
<nejucomo@gmail.com>
Sun, 1 Jun 2008 02:06:00 +0000
(19:06 -0700)
contrib/fuse_a/tahoe_fuse.py
patch
|
blob
|
history
diff --git
a/contrib/fuse_a/tahoe_fuse.py
b/contrib/fuse_a/tahoe_fuse.py
index f9485642b65b88ff8accd493bd10fa5566f09b20..56ac3122e536731764f6e6cc7ae35f14efd758f9 100644
(file)
--- a/
contrib/fuse_a/tahoe_fuse.py
+++ b/
contrib/fuse_a/tahoe_fuse.py
@@
-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: