On Apr 15, 11:56 pm, Giovanni Bajo <[email protected]> wrote:
> On Thu, 15 Apr 2010 15:49:28 -0700 (PDT), Luis Quesada
>
> <[email protected]> wrote:
> > Dear all,
> > I am trying to build a standalone application. The trace I am getting
> > is attached. What am I doing wrong?
>
> Did you happen to convert an egg-file to egg-directory or viceversa?
No I have not done that (at least directly). Not sure this was done by
the installer of scip (the package that is causing the issue).
>
> Try to remove the temporary build and dist directory, and try again.
OK. I did it. This is the trace that I get:
lques...@lquesada-laptop:~/workspace/MetroNode/src/models$ python ~/
pyinstaller-1.4/Makespec.py uncovered.py
wrote /home/lquesada/workspace/MetroNode/src/models/uncovered.spec
now run Build.py to build the executable
lques...@lquesada-laptop:~/workspace/MetroNode/src/models$ python ~/
pyinstaller-1.4/Build.py uncovered.spec
checking Analysis
building Analysis because outAnalysis0.toc non existent
running Analysis outAnalysis0.toc
Analyzing: /home/lquesada/pyinstaller-1.4/support/_mountzlib.py
Analyzing: /home/lquesada/pyinstaller-1.4/support/useUnicode.py
Analyzing: uncovered.py
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_conflict.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_nodesel.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_vars.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_heur.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_branch.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_sepa.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_prop.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_presol.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_soln.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_cons.so: No such file or directory
ldd: /usr/local/lib/python2.6/dist-packages/python_zibopt-0.5.beta_r97-
py2.6-linux-i686.egg/zibopt/_scip.so: No such file or directory
Warnings written to /home/lquesada/workspace/MetroNode/src/models/
warnuncovered.txt
checking PYZ
rebuilding outPYZ1.toc because outPYZ1.pyz is missing
building PYZ outPYZ1.toc
checking PKG
rebuilding outPKG3.toc because outPKG3.pkg is missing
building PKG outPKG3.pkg
checking EXE
rebuilding outEXE2.toc because uncovered missing
building EXE from outEXE2.toc
Appending archive to EXE /home/lquesada/workspace/MetroNode/src/models/
build/pyi.linux2/uncovered/uncovered
checking COLLECT
building because outCOLLECT4.toc missing or bad
building COLLECT outCOLLECT4.toc
Traceback (most recent call last):
File "/home/lquesada/pyinstaller-1.4/Build.py", line 1160, in
<module>
main(args[0], configfilename=opts.configfile)
File "/home/lquesada/pyinstaller-1.4/Build.py", line 1148, in main
build(specfile)
File "/home/lquesada/pyinstaller-1.4/Build.py", line 1111, in build
execfile(spec)
File "uncovered.spec", line 19, in <module>
name=os.path.join('dist', 'uncovered'))
File "/home/lquesada/pyinstaller-1.4/Build.py", line 808, in
__init__
self.__postinit__()
File "/home/lquesada/pyinstaller-1.4/Build.py", line 196, in
__postinit__
self.assemble()
File "/home/lquesada/pyinstaller-1.4/Build.py", line 855, in
assemble
shutil.copy2(fnm, tofnm)
File "/usr/lib/python2.6/shutil.py", line 99, in copy2
copyfile(src, dst)
File "/usr/lib/python2.6/shutil.py", line 52, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 20] Not a directory: '/usr/local/lib/python2.6/dist-
packages/python_zibopt-0.5.beta_r97-py2.6-linux-i686.egg/zibopt/
_conflict.so'
lques...@lquesada-laptop:~/workspace/MetroNode/src/models$
> If it
> reliably happens on a clean build environment, it's a bug in PyInstaller. I
> would need a way to reproduce it to debug it.
OK. So how can we do this? I can certainly zip the directory of the
project. But it relies on several packages (basemap, matplotlib,
scypy, numpy, scip, etc..)
I will try to narrow down the code and come up with a smaller program
that reproduces the bug.
Cheers,
Luis
--
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.