Rikitik / project-valerie

Automatically exported from code.google.com/p/project-valerie
0 stars 0 forks source link

[Sync] No download of Arts possible at all... #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please remember to attach a log!
Bugs without a log will be closed and set to invalid!

Pre-requisites:
- delete local cache of posters and backdrops!
- delete database

Steps to reproduce:
1. Start PVMC 
2. Select "System" => "Synchronize" => [green] (full sync)

Expected result:
Movies are detected and Arts get downloaded correctly

Actual result:
PVMC hangs at the first movie that gets detected correctly.

What version of the product are you using?
r840

Please provide any additional information below.
Problem does NOT occur if Arts can be fetched from local cache!
=> Maybe related to duckbox Arts-API introduction?

Original issue reported on code.google.com by erik.for...@gmail.com on 18 Jul 2011 at 9:39

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 235 has been merged into this issue.

Original comment by zukis...@gmail.com on 18 Jul 2011 at 10:00

GoogleCodeExporter commented 9 years ago
Issue 246 has been merged into this issue.

Original comment by zukis...@gmail.com on 18 Jul 2011 at 10:03

GoogleCodeExporter commented 9 years ago
Same error:

Get an error when trying to sync a E2Serie, I think it's related with covers.
Log is incomplete.. 
from console:

[Valerie] I  encoded utf-8
[Valerie] D  Arts::download ->
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/enigma2/python/Plugins/Extensions/ProjectValerieSync/sync.py", line 405, in run
    results = Sync().syncWithId(elementInfo)
  File "/usr/lib/enigma2/python/Plugins/Extensions/ProjectValerieSync/sync.py", line 504, in syncWithId
    Arts().download(elementInfo)
  File "/usr/lib/enigma2/python/Plugins/Extensions/ProjectValerieSync/Arts.py", line 61, in download
    self.save(self.URL + self.CONVERT2USER + "?id=" + eInfo.ImdbId + "&type=poster&user=true", eInfo.Poster)
  File "/usr/lib/enigma2/python/Plugins/Extensions/ProjectValerieSync/Arts.py", line 42, in save
    urlresponse = DuckboxAPI.sendFile(url, file, ())
  File "/usr/lib/enigma2/python/Plugins/Extensions/ProjectValerieSync/DuckboxAPI.py", line 80, in sendFile
    fd = open(file, "rb")
IOError: [Errno 2] No such file or directory: 
u'http://cf1.imgobject.com/posters/199/4c9eca6f7b9aa1578f000199/hangman-s-curse-
cover.jpg'

Original comment by zukis...@gmail.com on 18 Jul 2011 at 10:04

GoogleCodeExporter commented 9 years ago
rv842 is fine now

Original comment by gwenny...@gmail.com on 18 Jul 2011 at 1:42

GoogleCodeExporter commented 9 years ago
=> verified fixed using r842...

Original comment by erik.for...@gmail.com on 18 Jul 2011 at 4:11