Ah, I found the error... there was a name conflict (which only became relevant in the frozen version, maybe a bug?) between the (new) scripting/Jtag.py file and the jtag package. (jtag/interface/JTInterface.py getting imported from the Jtag.py file)
It should be case-sensitive, shouldn't it? Hannes p.s. Thanks for the quick help! On 7/31/07, Rishi Khare <[EMAIL PROTECTED]> wrote: > the error is coming because the requred lib is not being packed in to the > executable > > add the following line in your spec file > > import scripting.jtag.interface > > (or whatever is the correct way of importing everything of scripting > interface) > > also check your pythonpath too, make sure the only way to import > scripting.jtag.interface is via the same path (i.e. with the given > pythonpath you should not be able to do this > import jtag.interface > or > import interface) > > this should solve the problem > let us know if this worked. > > -Regards > Rishi > > On 7/31/07, H. Mueller < [EMAIL PROTECTED]> wrote: > > > > Hello! > > > > I am working on a rather complex python program, and so far we have > > used pyinstaller 1.3 successfully to distribute it. > > However, we did some refactoring recently, and now the built program > > crashes with the following stacktrace: > > > > Traceback (most recent call last): > > File "<string>", line 66, in <module> > > File "d:\pyinstaller-1.3\iu.py", line 312, in importHook > > File "d:\pyinstaller-1.3\iu.py", line 398, in doimport > > File > "build\Hpe_desk_SE\buildHpe_desk\out1.pyz/scripting.Jtag", > line > > 28, in <module> > > File "d:\pyinstaller-1.3\iu.py", line 312, in importHook > > File "d:\pyinstaller-1.3\iu.py", line 398, in doimport > > File > "build\Hpe_desk_SE\buildHpe_desk\out1.pyz/scripting.jtag", > line > > 28, in <module> > > File "d:\pyinstaller-1.3\iu.py", line 333, in importHook > > KeyError: 'scripting.jtag.interface' > > > > it works when started directly from the source, so I presume there is > > something wrong during the pyinstaller-packing. > > > > Does anyone here have an idea how I could get to the basic problem? I > > really do not know how I could find out what exactly causes this > > bug... > > > > thanks in advance > > Hannes Mueller > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
