bugjar icon indicating copy to clipboard operation
bugjar copied to clipboard

bugjar fails with TclError: out of stack space error

Open unode opened this issue 10 years ago • 4 comments

I'm running bugjar with python 2.7.5 on Gentoo Linux. Bugjar was installed on a virtualenv using pip install bugjar.

The script I'm running contains only a print statement, nothing else. The script was launched using: bugjar script.py

Listening on 0.0.0.0:3742 for a bugjar client
Got connection from ('127.0.0.1', 46871)
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 808, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 761, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/unode/.virtualenvs/bugjar/lib/python2.7/site-packages/bugjar/connection.py", line 56, in command_buffer
    getattr(debugger, 'on_%s' % event)(**data)
  File "/home/unode/.virtualenvs/bugjar/lib/python2.7/site-packages/bugjar/connection.py", line 227, in on_stack
    self.view.on_stack(stack=stack)
  File "/home/unode/.virtualenvs/bugjar/lib/python2.7/site-packages/bugjar/view.py", line 469, in on_stack
    self.file_notebook.select(self.stack_frame)
  File "/usr/lib64/python2.7/lib-tk/ttk.py", line 885, in select
    return self.tk.call(self._w, "select", tab_id)
TclError: out of stack space (infinite loop?)

After this I also tried to install latest version directly from github but the error persisted.

The GUI is still displayed but it doesn't display any useful information. The code panel is black. The variables panel displays "builtins, globals, locals" but nothing under Values.

unode avatar Apr 11 '14 12:04 unode

Hi Unode - I'm getting the exact same error here with 2.6. Did you by any chance get it working?

efc-awebb avatar Oct 10 '14 13:10 efc-awebb

Hi Alex. I didn't get to debug it myself. Was expecting (more) feedback from primary developers.

unode avatar Oct 10 '14 14:10 unode

Apologies - I've been distracted by other projects since initially launching bugjar. As a result, bugjar hasn't been getting a lot of my attention. At this point, it's safe to say that bugjar is a proof of concept with lots of sharp edges, rather than a production ready tool.

freakboy3742 avatar Oct 10 '14 14:10 freakboy3742

Thanks for the reply. This has a great deal of potential, so we're going to try and find some way to get it working. I'll post back if we're able to do so.

efc-awebb avatar Oct 13 '14 14:10 efc-awebb