#114 Unhandled exception on syntax check: Unicode

closed
nobody
None
5
2007-04-11
2006-12-14
Scott Severance
No

When I do a syntax check on the attached file, drpython pops up a dialog with the following message:

--------------------------------
No Line Number Found:

encoding declaration in Unicode string

Traceback (most recent call last):
File "/usr/bin/drpython", line 656, in CheckSyntax
compile(text, fn, 'exec')
SyntaxError: encoding declaration in Unicode string
--------------------------------

Here's my system info: Ubuntu Linux 6.06 (Dapper)
From the DrPython about dialog (note that the about dialog doesn't provide the DrPython version--according to Synaptic, I'm using version 161-2):

--------------------------------
wxPython Version: 2.6.1.2pre

wxPython Platform: wxGTK, unicode, gtk2, wx-assertions-off

Python Version: 2.4.3.final

Python Platform: linux2
--------------------------------

Discussion

<< < 1 2 (Page 2 of 2)
  • Logged In: YES
    user_id=772872
    Originator: NO

    All right! ;)

     
    • status: open --> closed
     
<< < 1 2 (Page 2 of 2)