pyload / pyload

The free and open-source Download Manager written in pure Python
https://pyload.net
Other
3.31k stars 711 forks source link

Download does not finish correctly #867

Closed andrebower closed 9 years ago

andrebower commented 9 years ago

I am recently suffering from the following Issue: After downloading a Part from uploaded.com the download never finishes after reaching 100%. Also pyload Webinterface is not responding and pyload can not be shut down via ctrl+c. It says shutting down but nothing happens. Aborting the download while its not finished leads to the same issue. Account is premiumizeMe!

I also did a clean reinstall with redownloading all plugins. This did not help

vuolter commented 9 years ago

Do you reinstall from the original pyload 0.4.9 package?

andrebower commented 9 years ago

yeah the pyload-cli-v0.4.9-all.deb

I also tried 2 devices : raspberry pi and banana pi.

ghost commented 9 years ago

i can confirm this issue, when using an uploaded premium account. Here is a traceback:

TRACEBACK:
 Traceback (most recent call last):
  File "/home/download/pyload/module/PluginThread.py", line 189, in run
    pyfile.plugin.preprocessing(self)
  File "/home/download/pyload/module/plugins/Plugin.py", line 260, in preprocessing
    return self.process(self.pyfile)
  File "/home/download/pyload/module/plugins/hoster/UploadedTo.py", line 159, in process
    self.handlePremium()
  File "/home/download/pyload/module/plugins/hoster/UploadedTo.py", line 178, in handlePremium
    self.download(header['location'])
  File "/home/download/pyload/module/plugins/Plugin.py", line 609, in download
    newname = urlparse(html_unescape(newname)).path.split("/")[-1]
  File "/home/download/pyload/module/utils.py", line 196, in html_unescape
    return re.sub("&#?\w+;", fixup, text)
  File "/usr/lib/python2.7/re.py", line 151, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or buffer```
vuolter commented 9 years ago

https://github.com/pyload/pyload/commit/41326b63c836a91aff560181b7bcc2099b0eca88

ghost commented 9 years ago

this does not solve the issue :(

TRACEBACK:
 Traceback (most recent call last):
  File "/home/download/pyload/module/PluginThread.py", line 189, in run
    pyfile.plugin.preprocessing(self)
  File "/home/download/pyload/module/plugins/Plugin.py", line 260, in preprocessing
    return self.process(self.pyfile)
  File "/home/download/pyload/module/plugins/hoster/UploadedTo.py", line 159, in process
    self.handlePremium()
  File "/home/download/pyload/module/plugins/hoster/UploadedTo.py", line 178, in handlePremium
    self.download(header['location'])
  File "/home/download/pyload/module/plugins/Plugin.py", line 609, in download
    newname = urlparse(newname).path.split("/")[-1]
  File "/usr/lib/python2.7/urlparse.py", line 140, in urlparse
    tuple = urlsplit(url, scheme, allow_fragments)
  File "/usr/lib/python2.7/urlparse.py", line 179, in urlsplit
    i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'
vuolter commented 9 years ago

https://github.com/pyload/pyload/commit/f724290003013c6167918c220bf76a1c5cd58543