Bug 917380
| Summary: | [abrt] youtube-dl-2013.01.13-1.fc18: urllib2.py:1177:do_open:URLError: <urlopen error [Errno -2] Name or service not known> | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alexandre Moine <nobrakal> | ||||||||
| Component: | youtube-dl | Assignee: | Christopher Meng <i> | ||||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 18 | CC: | bugs.michael, metherid, opensource, sanjay.ankur | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | https://github.com/rg3/youtube-dl/issues/1194 | ||||||||||
| Whiteboard: | abrt_hash:c58943f4a724d72a5d20f84ae6bad0bb60ebb60d | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-08-06 05:15:07 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
Alexandre Moine
2013-03-03 18:09:09 UTC
Created attachment 704603 [details]
File: backtrace
Created attachment 704604 [details]
File: core_backtrace
Created attachment 704605 [details]
File: environ
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Hi, Have you tried the newer version? Does it still happen? Easily reproducible. $ rpm -q youtube-dl youtube-dl-2013.08.02-1.fc19.noarch $ youtube-dl http://abc Traceback (most recent call last): [...] urllib2.URLError: <urlopen error [Errno -2] Name or service not known> $ and ABRT kicks in. Hi reporter, next time please try a valid URL to play with. > raise URLError(err)
Well, if you're in contact with upstream, typically one would catch such an exception and handle it properly instead of letting the Python program crash.
Note that this will return any time another user makes a typo or uses an URL that triggers the same exception.
Hi, thank's for your reply. I report this bug especially for developers, so they treat this exception. It isn't very friendly when, after a typo, the automatic bug reporting tool start. Exactly. Since I happened to have a github account and believe the youtube-dl developer might be interested in catching such exceptions, I've opened issue #1194 (should catch urllib2.URLError exceptions instead of crashing). |