Hello
during the Build i get this error:
linux-jv13:/home/patrizio/P_GAz/pyinstaller-1.3 # python Build.py
nefile/GAz.spec
checking Analysis
building because /home/patrizio/P_GAz/GAz/rpt/mRptMovCont.py changed
running Analysis out0.toc
Analyzing: support/_mountzlib.py
Analyzing: support/useUnicode.py
Analyzing: /home/patrizio/P_GAz/GAz.py
Syntax error in /home/patrizio/P_GAz/GAz/rpt/mRptMovCont.py
('invalid syntax', ('/home/patrizio/P_GAz/GAz/rpt/mRptMovCont.py', 9,
10, 'import os\r\n'))
Traceback (most recent call last):
  File "Build.py", line 839, in <module>
    build(sys.argv[1])
  File "Build.py", line 76, in build
    exec open(spec, 'r').read()+'\n'
  File "<string>", line 2, in <module>
  File "Build.py", line 112, in __init__
    self.__postinit__()
  File "Build.py", line 94, in __postinit__
    self.assemble()
  File "Build.py", line 182, in assemble
    analyzer.analyze_script(script)
  File "/home/patrizio/P_GAz/pyinstaller-1.3/mf.py", line 379, in
analyze_script
    return self.analyze_r('__main__')
  File "/home/patrizio/P_GAz/pyinstaller-1.3/mf.py", line 299, in
analyze_r
    newnms = self.analyze_one(name, nm, imptyp)
  File "/home/patrizio/P_GAz/pyinstaller-1.3/mf.py", line 333, in
analyze_one
    mod = self.doimport(nm, ctx, fqname)
  File "/home/patrizio/P_GAz/pyinstaller-1.3/mf.py", line 392, in
doimport
    mod = parent.doimport(nm)
  File "/home/patrizio/P_GAz/pyinstaller-1.3/mf.py", line 515, in
doimport
    mod = self.subimporter.getmod(nm)
  File "/home/patrizio/P_GAz/pyinstaller-1.3/mf.py", line 216, in
getmod
    mod = owner.getmod(nm)
  File "/home/patrizio/P_GAz/pyinstaller-1.3/mf.py", line 71, in
getmod
    co = compile(open(py[0], 'r').read()+'\n', py[0], 'exec')
  File "/home/patrizio/P_GAz/GAz/rpt/mRptMovCont.py", line 9
    import os
             ^
SyntaxError: invalid syntax

Can you help to understand why i get the error near import os

Thanks

Luca
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to