Bug 660524

Summary: [abrt] pyqtrailer-0.4.1-1.fc14: urllib2.py:1148:do_open:URLError: <urlopen error [Errno -2] Name or service not known>
Product: [Fedora] Fedora Reporter: vikashagrawal1990
Component: pyqtrailerAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f927a57b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-08 09:49:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description vikashagrawal1990 2010-12-07 01:11:16 UTC
abrt version: 1.1.14
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/pyqtrailer
component: pyqtrailer
executable: /usr/bin/pyqtrailer
kernel: 2.6.35.6-48.fc14.x86_64
package: pyqtrailer-0.4.1-1.fc14
reason: urllib2.py:1148:do_open:URLError: <urlopen error [Errno -2] Name or service not known>
release: Fedora release 14 (Laughlin)
time: 1291566157
uid: 500

backtrace
-----
urllib2.py:1148:do_open:URLError: <urlopen error [Errno -2] Name or service not known>

Traceback (most recent call last):
  File "/usr/bin/pyqtrailer", line 11, in <module>
    widget = PyTrailerWidget()
  File "/usr/lib/python2.7/site-packages/pyqtrailer/main.py", line 57, in __init__
    self.init_widget()
  File "/usr/lib/python2.7/site-packages/pyqtrailer/main.py", line 104, in init_widget
    self.loadGroup("Just added")
  File "/usr/lib/python2.7/site-packages/pyqtrailer/main.py", line 170, in loadGroup
    self.movieList = amt.getMoviesFromJSON(url)
  File "/usr/lib/python2.7/site-packages/pytrailer.py", line 41, in getMoviesFromJSON
    response = urllib.request.urlopen(jsonURL)
  File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 1173, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/urllib2.py", line 1148, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno -2] Name or service not known>

Local variables in innermost frame:
err: gaierror(-2, 'Name or service not known')
h: <httplib.HTTPConnection instance at 0x196fef0>
self: <urllib2.HTTPHandler instance at 0x196f7e8>
req: <urllib2.Request instance at 0x196fbd8>
headers: {'Host': 'trailers.apple.com', 'Connection': 'close', 'User-Agent': 'Python-urllib/2.7'}
host: 'trailers.apple.com'
http_class: <class httplib.HTTPConnection at 0x16ee390>

How to reproduce
-----
1.I just started the application
2.
3.

Comment 1 vikashagrawal1990 2010-12-07 01:11:19 UTC
Created attachment 465119 [details]
File: backtrace

Comment 2 Stanislav Ochotnicky 2010-12-07 08:08:46 UTC
Hmm, were you connected to internet at the time? This seems like connection issue, although it shouldn't get all the way to the top level.

Comment 3 vikashagrawal1990 2010-12-07 17:35:17 UTC
Ya i was connected to the internet.

Comment 4 Stanislav Ochotnicky 2010-12-08 09:49:53 UTC
pyqtrailer is updated to 0.6.0. I'll close this bug as fixed, but if this happens with new version please re-open.