I'd really like to add a ticket, but I can't understend how should I
do that...
On 27 Apr, 19:12, Giovanni Bajo <[EMAIL PROTECTED]> wrote:
> On 4/12/2008 6:01 PM, Simosito wrote:
>
>
>
> > Hi all.
> > I'm trying to freeze an application that uses unicode chars (greek).
> > When I run Configure.py it looks like everything's ok, but when I run
> > Build.py there are some errors:
>
> > wrote /home/simone/Desktop/pyinstaller/App/App.spec
> > now run Build.py to build the executable
> > checking Analysis
> > building Analysis because out0.toc non existent
> > running Analysis out0.toc
> > Analyzing: support/_mountzlib.py
> > Analyzing: support/useUnicode.py
> > Analyzing: pydiary/App.py
> > Syntax error in /home/simone/Desktop/pyinstaller/pydiary/lang_EL.py
> > ('invalid syntax', ('/home/simone/Desktop/pyinstaller/pydiary/
> > lang_EL.py', 9, 35, "txt_date_default=u'\xce\xb7\xce\xb7-\xce\xbc\xce
> > \xbc-\xcf\x87\xcf\x87'\r\n"))
> > Traceback (most recent call last):
> > File "Build.py", line 840, in <module>
> > build(sys.argv[1])
> > File "Build.py", line 77, in build
> > exec open(spec, 'r').read()+'\n'
> > File "<string>", line 2, in <module>
> > File "Build.py", line 113, in __init__
> > self.__postinit__()
> > File "Build.py", line 95, in __postinit__
> > self.assemble()
> > File "Build.py", line 183, in assemble
> > analyzer.analyze_script(script)
> > File "/home/simone/Desktop/pyinstaller/mf.py", line 379, in
> > analyze_script
> > return self.analyze_r('__main__')
> > File "/home/simone/Desktop/pyinstaller/mf.py", line 299, in
> > analyze_r
> > newnms = self.analyze_one(name, nm, imptyp)
> > File "/home/simone/Desktop/pyinstaller/mf.py", line 333, in
> > analyze_one
> > mod = self.doimport(nm, ctx, fqname)
> > File "/home/simone/Desktop/pyinstaller/mf.py", line 400, in doimport
> > mod = director.getmod(nm)
> > File "/home/simone/Desktop/pyinstaller/mf.py", line 216, in getmod
> > mod = owner.getmod(nm)
> > File "/home/simone/Desktop/pyinstaller/mf.py", line 71, in getmod
> > co = compile(open(py[0], 'r').read()+'\n', py[0], 'exec')
> > File "/home/simone/Desktop/pyinstaller/pydiary/lang_EL.py", line 9
> > txt_date_default=u'ηη-μμ-χχ'
> > ^
> > SyntaxError: invalid syntax
>
> Looks like you found a bug in PyInstaller. I'm not sure how to fix it
> either, I should probably ask python-dev about how to correctly run
> compile() on encoded files.
>
> Would you please open a ticket in PyInstaller's website? It would help
> if you could attach a small example that reproduces the problem.
>
> Thanks!
> --
> Giovanni Bajo
> Develer S.r.l.http://www.develer.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---