gedit 'External Tools' plugin hashlib weirdness

Peter Otten __peter__ at web.de
Thu Sep 30 09:40:33 EDT 2010


Joel Hedlund wrote:

> FOUND IT!

Heureka!

> I added the line
> 
> print >> f, '\n'.join(sorted(sys.path))
> 
> and diff:ed the files produced from terminal/launcher.
> 
> When using the launcher, changes to PYTHONPATH done in ~/.bashrc are
> not picked up, and I apparently had an old reference to /usr/lib/
> python2.4 sitting in there. Removed it, reloaded .bashrc, plugin now
> works.

I'm surprised that /usr/lib/python2.4 doesn't appear in the traceback.
 
> The question still remains why gnome disregards ~/.bashrc, but that's
> a whole other topic. Thanks a bunch, you guys are ever so helpful.

I think the breakage you've experienced could be the answer.

Peter



More information about the Python-list mailing list