Menu

#7 Strange errors

open
nobody
None
5
2004-11-29
2004-11-29
No

I'm getting a lot of these since I upgraded from 0.0.10
to 0.0.17.

Exception in thread Thread-33624:
Traceback (most recent call last):
File "/usr/lib/python2.2/threading.py", line 414, in
__bootstrap
self.run()
File "/usr/lib/python2.2/threading.py", line 402, in run
apply(self.__target, self.__args, self.__kwargs)
File "./BitQueue/scrape.py", line 76, in getScrapeData
seeder,leecher = get_scrape_by_metadata(metadata)
File "./BitQueue/scrape.py", line 73, in
get_scrape_by_metadata
return
get_scrape_by_announce_url(announce_url,infohash)
File "./BitQueue/scrape.py", line 54, in
get_scrape_by_announce_url
return seeder,leecher
UnboundLocalError: local variable 'leecher' referenced
before assignment

Using Python 2.2.3

Discussion

  • Nobody/Anonymous

    Logged In: NO

    freebsd410# btqueue.py add
    Traceback (most recent call last):
    File "/usr/local/bin/btqueue.py", line 46, in ?
    from BitQueue import policy
    File "/usr/local/lib/python2.3/site-
    packages/BitQueue/policy.py", line 91, in ?
    from ip2cc import inet_aton
    File "/usr/local/lib/python2.3/site-
    packages/BitQueue/ip2cc.py", line 3, in ?
    from bsddb import btopen
    File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ?
    import _bsddb
    ImportError: No module named _bsddb

     
  • kknd

    kknd - 2005-01-27

    Logged In: YES
    user_id=1205959

    freebsd410# btqueue.py add
    Traceback (most recent call last):
    File "/usr/local/bin/btqueue.py", line 46, in ?
    from BitQueue import policy
    File "/usr/local/lib/python2.3/site-
    packages/BitQueue/policy.py", line 91, in ?
    from ip2cc import inet_aton
    File "/usr/local/lib/python2.3/site-
    packages/BitQueue/ip2cc.py", line 3, in ?
    from bsddb import btopen
    File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ?
    import _bsddb
    ImportError: No module named _bsddb

     

Log in to post a comment.