[Pythonmac-SIG] jython on Mac problem

Richard Gordon richard@richardgordon.net
Mon, 8 Jan 2001 22:49:44 -0500


>When you build the app in JBindery, make sure the popup menus for "redirect
>stin" and "redirect stout" are both set to "message window." The default for
>redirect stin in "nowhere," which is why your input typing isn't accepted.
>
>Jim Harrison
>Univ. of Pittsburgh

hey, thanks a lot, that did the trick. Now my only problem is that 
when I import re, I get an "inconsistent dedent":
>>> import re
Traceback (innermost last):
   File "<console>", line 1, in ?
   File "/Conkie/System Folder/Preferences/jython-2.0b1/Lib/re.py", 
line 28, in ?
   File "/Conkie/System Folder/Preferences/jython-2.0b1/Lib/sre.py", 
line 20, in ?
   File "/Conkie/System 
Folder/Preferences/jython-2.0b1/Lib/sre_parse.py", line 504
SyntaxError: inconsistent dedent
>>>

Since I haven't run into this with MacPython, I tried copying my sre 
files from my normal Lib into the Jython Lib, but it didn't help. I 
couldn't find any glaring errors on a visual scan and if you've got a 
guess about what's going on here, I'd be interested.

Thanks again.


Richard Gordon
--------------------
Gordon Design
Web Design/Database Development
http://www.richardgordon.net