Ticket #4762 (closed defect: fixed)
Opened 4 years ago
Last modified 4 years ago
ofdb.py not working on Ubuntu gutsy
| Reported by: | laga <laga+mythtv@…> | Owned by: | awithers |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.21 |
| Component: | mythvideo | Version: | unknown |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Hi,
ofdb.py is not working for me. When I execute /usr/share/mythtv/mythvideo/scripts/ofdb.py -M "alien", I get the following backtrace:
# Traceback (most recent call last): # File "/usr/share/mythtv/mythvideo/scripts/ofdb.py", line 68, in search_title # res = urllib.urlopen(req) # File "urllib.py", line 82, in urlopen # return opener.open(url) # File "urllib.py", line 165, in open # fullurl = unwrap(toBytes(fullurl)) # File "urllib.py", line 1009, in unwrap # url = url.strip() # File "urllib2.py", line 218, in getattr # raise AttributeError?, attr # AttributeError?: strip
This is with Python 2.5.1 on Ubuntu Gutsy amd64.

Oops, sorry. The backtrace is unreadable. Next try: