ashraful089 / photograbber

Automatically exported from code.google.com/p/photograbber
Other
0 stars 0 forks source link

Out of Stack Space (Infinite Loop?) #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. svn checkout of read-only.
2. Run pg.py
3. Download tagged images for another friend.

What is the expected output? What do you see instead?

The window gets stuck on the "Collecting Photo List..."

It does download photos and then hangs.

What version of the product are you using? On what operating system?

SVN read-only from Apr 6, 2011
Fedora 13 64-bit
Python 2.6.4

Please provide any additional information below.

[bill@tiki photograbber-read-only]$ ./pg.py
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.6/multiprocessing/pool.py", line 275, in _handle_results
    cache[job]._set(i, obj)
  File "/usr/lib64/python2.6/multiprocessing/pool.py", line 427, in _set
    self._callback(self._value)
  File "/home/bill/Download/tmp/photograbber/photograbber-read-only/downloader.py", line 129, in photo_saved
    self.update(self.index, self.total)
  File "./pg.py", line 208, in update_status
    self.lDownload["text"] = '%s of %s' % (index, total)
  File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1209, in __setitem__
    self.configure({key: value})
  File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1202, in configure
    return self._configure('configure', cnf, kw)
  File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1193, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
TclError: out of stack space (infinite loop?)

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/home/bill/Download/tmp/photograbber/photograbber-read-only/downloader.py", line 185, in run
    self.update(self.total,self.total,done=True)
  File "./pg.py", line 208, in update_status
    self.lDownload["text"] = '%s of %s' % (index, total)
  File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1209, in __setitem__
    self.configure({key: value})
  File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1202, in configure
    return self._configure('configure', cnf, kw)
  File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1193, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
TclError: out of stack space (infinite loop?)

(File ->Quit Does Not Work, So CTRL+C)
^CTraceback (most recent call last):
  File "/usr/lib64/python2.6/multiprocessing/util.py", line 235, in _run_finalizers
    finalizer()
  File "/usr/lib64/python2.6/multiprocessing/util.py", line 174, in __call__
    res = self._callback(*self._args, **self._kwargs)
  File "/usr/lib64/python2.6/multiprocessing/pool.py", line 365, in _terminate_pool
    assert result_handler.is_alive() or len(cache) == 0
AssertionError

Original issue reported on code.google.com by buccanee...@gmail.com on 6 Apr 2011 at 10:44