[wingide-users] mysterious crash in debug mode when importing sqlobject

Gigi the.gigi at gmail.com
Tue Jan 17 04:21:01 EST 2006


Hi,
I have a script with a single line: import sqlobject

the sqlobject package is installed properly. It works fine of course when I
run it from the command line and using the Pythonwin debugger. However, when
I try to run it in WingIDE I get the a nasty exception in the recursive guts
of regular expressions virtual machine. I tried to trace it back, but it's
too convoluted in there. I tried to restart wing a couple of times and it
didn't help. I searched the web and I didn't find anyone else with a similar
problem. Does anyone have a clue?

Thanks, Gigi

Here is the traceback:

IndexError: list index out of range

Traceback (innermost last):

File
"C:\D\Dev\Python\TurboGearsTest\HomeServer\HomeServer\data\sqlobject_test.py",
line 1, in ?
  import sqlobject
File
"C:\D\Dev\Python\TurboGearsTest\HomeServer\HomeServer\data\sqlobject_test.py",
line 1, in ?
  import sqlobject
File "c:\Python24\Lib\site-packages\SQLObject-
0.7.1dev_r1457-py2.4.egg\sqlobject\__init__.py", line 1, in ?
  from main import *
File "c:\Python24\Lib\site-packages\SQLObject-
0.7.1dev_r1457-py2.4.egg\sqlobject\main.py", line 37, in ?
  import dbconnection
File "c:\Python24\Lib\site-packages\SQLObject-
0.7.1dev_r1457-py2.4.egg\sqlobject\dbconnection.py", line 18, in ?
  import col
File "c:\Python24\Lib\site-packages\SQLObject-
0.7.1dev_r1457-py2.4.egg\sqlobject\col.py", line 30, in ?
  from formencode import compound
File "c:\Python24\Lib\site-packages\FormEncode-
0.4-py2.4.egg\formencode\__init__.py", line 6, in ?
  import validators
File "c:\Python24\Lib\site-packages\FormEncode-
0.4-py2.4.egg\formencode\validators.py", line 1137, in ?
  class URL(FancyValidator):
File "c:\Python24\Lib\site-packages\FormEncode-
0.4-py2.4.egg\formencode\validators.py", line 1177, in URL
  r'(?:/.*)?$', re.I)
File "C:\Python24\Lib\sre.py", line 180, in compile
  return _compile(pattern, flags)
File "C:\Python24\Lib\sre.py", line 225, in _compile
  p = sre_compile.compile(pattern, flags)
File "C:\Python24\Lib\sre_compile.py", line 500, in compile
  code = _code(p, flags)
File "C:\Python24\Lib\sre_compile.py", line 484, in _code
  _compile(code, p.data, flags)
File "C:\Python24\Lib\sre_compile.py", line 96, in _compile
  _compile(code, av[1], flags)
File "C:\Python24\Lib\sre_compile.py", line 137, in _compile
  _compile(code, av, flags)
File "C:\Python24\Lib\sre_compile.py", line 35, in _compile
  for op, av in pattern:
File "C:\Python24\Lib\sre_parse.py", line 131, in __getitem__
  return self.data[index]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20060117/8939cd71/attachment.htm


More information about the wingide-users mailing list