Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#2960 closed bug (Fixed)

moving file freeze

Reported by: renato Owned by: Calum
Priority: blocker Milestone: 2.0.0
Component: Core Version: develop
Keywords: Cc:

Description

when torrent finished and moves to the completed path it freezes on moving and cannot be either removed from the gtk

Change History (4)

comment:2 by renato, 8 years ago

Unhandled Error
Traceback (most recent call last):
  File "/media/disk/deluge/deluge/core/daemon_entry.py", line 80, in run_daemon
    daemon.start()
  File "/media/disk/deluge/deluge/core/daemon.py", line 138, in start
    reactor.run()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1195, in run
    self.mainLoop()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1204, in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 825, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/media/disk/deluge/deluge/core/torrentmanager.py", line 1063, in on_alert_storage_moved
    torrent.set_download_location(os.path.normpath(alert.storage_path))
  File "/usr/lib/python2.7/posixpath.py", line 335, in normpath
    initial_slashes = path.startswith('/')
exceptions.AttributeError: 'Boost.Python.function' object has no attribute 'startswith'

08:18:23.276 [CRITICAL][twisted                       :154 ] Unhandled Error
Traceback (most recent call last):
  File "/media/disk/deluge/deluge/core/daemon_entry.py", line 80, in run_daemon
    daemon.start()
  File "/media/disk/deluge/deluge/core/daemon.py", line 138, in start
    reactor.run()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1195, in run
    self.mainLoop()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1204, in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 825, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/media/disk/deluge/deluge/core/torrentmanager.py", line 1063, in on_alert_storage_moved
    torrent.set_download_location(os.path.normpath(alert.storage_path))
  File "/usr/lib/python2.7/posixpath.py", line 335, in normpath
    initial_slashes = path.startswith('/')
exceptions.AttributeError: 'Boost.Python.function' object has no attribute 'startswith'

Last edited 8 years ago by Calum (previous) (diff)

comment:3 by Calum, 8 years ago

Milestone: needs verified2.0
Owner: set to Calum
Status: newassigned

It was a silly typo! Fixed: [8c26c83c4df]

I will keep this ticket open as I really should have tests setup for moving torrent storage.

comment:4 by renato, 8 years ago

Resolution: Fixed
Status: assignedclosed

comment:5 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.