En Fri, 09 Oct 2009 21:49:46 -0300, Ethan Furman <et...@stoneleaf.us> escribió:

Besides missing the source lines, I was also wondering why the path in the traceback is showing incorrectly; I have the egg in c:\python25\Lib\site-packages, not where the trackback says I have it.

In an effort to get it looking right, as well as to get the missing source lines, I broke the egg and copied the xlwt folder out of it and directly into site-packages -- everything (except the trackbacks, grrr) still worked, leaving me as mystified as ever.

Delete all the .pyc files and let Python regenerate them (or use the compileall module). Code objects (stored in the .pyc files) carry their source file name with them.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to