#6 doesnt start new downloads when the first 5 are downloaded..

open
5
2004-11-03
2004-11-03
Stingray
No

i got a problem, when i add stuff in the queue that is
more then the inital 5 that gets started, when they get
done and shutdown (ether by me or btq) the other ones
in the queue doesnt start, which is imho very strange...
(the whole meaning with a queue system..)

this is what i saw when i checked btq (and not useing
php-4-abc to check the downloads)

..........................
Cracky@SFS:~$ screen -r pts-5.SFS
File "/usr/btqueue/BitQueue/webservice.py", line 68, in
handle
self.handle_cmd(idline,cmdline)
File "/usr/btqueue/BitQueue/webservice.py", line 89, in
handle_cmd
getattr(self,attr)(args)
File "/usr/btqueue/BitQueue/webservice.py", line 153,
in do_DELETE
reply = self.queue.remove(item)
File "/usr/btqueue/BitQueue/scheduler.py", line 197, in
remove
self.pause(item)
File "/usr/btqueue/BitQueue/scheduler.py", line 203, in
pause
if item.state == STATE_PAUSED:
AttributeError: 'NoneType' object has no attribute 'state'
----------------------------------------
DIED: 6
terminated download 6
Traceback (most recent call last):
File "/usr/btqueue/BitQueue/launchmanycore.py", line
400, in add
d.start()
File "/usr/btqueue/BitQueue/launchmanycore.py", line
91, in start
raise InitFilesError,self.status_err[-1]
InitFilesError
terminated download 6
EXCEPTION:
...................................................

after that the remaining 3 downloads showed just like
usual...

but the ones in the queue didnt start, nor did resched
work...

hope u can have a look at this..

Discussion

  • Logged In: YES
    user_id=101538

    please check your permission or free space. Please give me
    more info to reproduce the bug.

     
    • assigned_to: nobody --> xgie
     
  • Stingray
    Stingray
    2004-11-04

    Logged In: YES
    user_id=1047826

    permissions of my download dir is 777, so that shouldnt be
    the problem

    im not sure what information u need, but i will add up more
    and see if it happends again...

     
  • Stingray
    Stingray
    2004-11-05

    Logged In: YES
    user_id=1047826

    this is what happend when it "finnished" one of the torrents,
    (torrent 7)

    >>> terminated download 7
    EXCEPTION:
    Traceback (most recent call last):
    File "/usr/btqueue/BitTornado/RawServer.py", line 131, in
    listen_forever
    func()
    File "/usr/btqueue/BitTornado/RateLimiter.py", line 87, in
    try_send
    bytes = cur.send_partial(self.unitsize)
    File "/usr/btqueue/BitTornado/BT1/Connecter.py", line 137,
    in send_partial
    self.connection.send_message_raw(self.partial_message
    [:bytes])
    File "/usr/btqueue/BitTornado/BT1/Encrypter.py", line 153, in
    send_message_raw
    self.connection.write(message)
    File "/usr/btqueue/BitTornado/SocketHandler.py", line 87, in
    write
    self.try_write()
    File "/usr/btqueue/BitTornado/SocketHandler.py", line 103, in
    try_write
    del self.buffer[0]
    IndexError: list assignment index out of range

    started download 8
    >>>

    -------------------

    and i know zero about coding so im no help there, but this
    time it accually started the new download, but that isn't the
    way its supposed to shutdown the finnished one even i
    understand that..