Connection failed.

Bug #923416 reported by Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Griffith
Fix Committed
Medium
Michael

Bug Description

Bei Suche über Amazon DE anhand EAN (im Beispiel: 7321983000232) kommt für diverse BluRay der Fehler "Connection failed.

Debug:

2012-01-29T18:03:22: D: Griffith(add:284): reloading PluginMovieAmazon
2012-01-29T18:03:22: I: Griffith(amazon:265): {'Sort': 'titlerank', 'AWSAccessKeyId': 'XXXXXXXXXXXXXXXXXXXX', 'ItemPage': '1', 'SearchIndex': 'Video', 'Service': 'AWSECommerceService', 'Title': '7321983000232', 'Version': '2009-03-31', 'Operation': 'ItemSearch', 'AssociateTag': 'webservices-20', 'ResponseGroup': 'ItemAttributes'}
2012-01-29T18:03:22: I: Griffith(amazon:267): URL: http://ecs.amazonaws.de/onca/xml?AWSAccessKeyId=XXXXXXXXXXXXXXXXXXXX&AssociateTag=webservices-20&ItemPage=1&Operation=ItemSearch&ResponseGroup=ItemAttributes&SearchIndex=Video&Service=AWSECommerceService&Sort=titlerank&Timestamp=2012-01-29T17%3A03%3A22&Title=7321983000232&Version=2009-03-31&Signature=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2012-01-29T18:03:23: I: Griffith(amazon:265): {'ItemId': '7321983000232', 'IdType': 'EAN', 'AWSAccessKeyId': 'XXXXXXXXXXXXXXXXXXXX', 'Version': '2009-03-31', 'SearchIndex': 'Video', 'Service': 'AWSECommerceService', 'Operation': 'ItemLookup', 'AssociateTag': 'webservices-20', 'ResponseGroup': 'ItemAttributes'}
2012-01-29T18:03:23: I: Griffith(amazon:267): URL: http://ecs.amazonaws.de/onca/xml?AWSAccessKeyId=XXXXXXXXXXXXXXXXXXXX&AssociateTag=webservices-20&IdType=EAN&ItemId=7321983000232&Operation=ItemLookup&ResponseGroup=ItemAttributes&SearchIndex=Video&Service=AWSECommerceService&Timestamp=2012-01-29T17%3A03%3A23&Version=2009-03-31&Signature=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2012-01-29T18:03:23: I: Griffith(add:152): selected id: B000W15X0E
2012-01-29T18:03:25: I: Griffith(amazon:265): {'ItemId': 'B000W15X0E', 'IdType': 'ASIN', 'AWSAccessKeyId': 'XXXXXXXXXXXXXXXXXXXX', 'Version': '2009-03-31', 'Service': 'AWSECommerceService', 'Operation': 'ItemLookup', 'AssociateTag': 'webservices-20', 'ResponseGroup': 'Large'}
2012-01-29T18:03:25: I: Griffith(amazon:267): URL: http://ecs.amazonaws.de/onca/xml?AWSAccessKeyId=XXXXXXXXXXXXXXXXXXXX&AssociateTag=webservices-20&IdType=ASIN&ItemId=B000W15X0E&Operation=ItemLookup&ResponseGroup=Large&Service=AWSECommerceService&Timestamp=2012-01-29T17%3A03%3A25&Version=2009-03-31&Signature=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2012-01-29T18:03:25: E: Griffith(movie:304):
Traceback (most recent call last):
  File "/usr/share/griffith/lib/movie.py", line 275, in parse_movie
    self.get_plot()
  File "/usr/share/griffith/lib/plugins/movie/PluginMovieAmazon.py", line 128, in get_plot
    if string.find(review.Source, 'Amazon') > -1:
AttributeError: Bag instance has no attribute 'Source'
2012-01-29T18:03:25: E: Griffith(add:317):
Traceback (most recent call last):
  File "/usr/share/griffith/lib/add.py", line 315, in get_from_web
    self.show_search_results(self.search_movie)
  File "/usr/bin/griffith", line 269, in show_search_results
    add.show_websearch_results(self)
  File "/usr/share/griffith/lib/add.py", line 267, in show_websearch_results
    populate_with_results(self)
  File "/usr/share/griffith/lib/add.py", line 203, in populate_with_results
    notes_buffer.set_text(gutils.convert_entities(self.movie.notes))
  File "/usr/share/griffith/lib/gutils.py", line 219, in convert_entities
    in_entity = ENTITY.search(text)
TypeError: expected string or buffer

Revision history for this message
Michael (mikej06) wrote :

fixed in rev. 1618

Changed in griffith:
assignee: nobody → Michael (mikej06)
importance: Undecided → Medium
status: New → Fix Committed
Michael (mikej06)
Changed in griffith:
milestone: none → 0.13.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.