Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#2960 closed bug (Fixed)

moving file freeze

Reported by: firefox Owned by: Cas
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 Changed 7 years ago by firefox

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'

Version 0, edited 7 years ago by firefox (next)

comment:3 Changed 7 years ago by Cas

  • Milestone changed from needs verified to 2.0
  • Owner set to Cas
  • Status changed from new to assigned

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 Changed 7 years ago by firefox

  • Resolution set to Fixed
  • Status changed from assigned to closed

comment:5 Changed 6 years ago by Cas

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.