search.py:154:subtitle_info:IOError: [Errno 13] Permission denied: 'link_file'
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
SubDownloader | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Undecided
|
Alessandro Losavio |
Bug Description
version from trunk, fedora 17
How to reproduce
1] go to /usr/lib/
2] run subdowloader
3] search movie "The Godfather"
4] Expand "The Godfather: Money, Power, Respect..."
5] get error
This is caused by situation that installation directory of subdownloader is not writtable. Subdownloader cannot be installed anywhere else in fedora.
Patch attached. Patch utilizes temp directory to store link_file instead of default directory.
error log:
search.
Traceback (most recent call last):
File "/usr/lib/
temp_movie = s.search_
File "/usr/lib/
movies = self.subtitle_
File "/usr/lib/
link_file = open('link_file', 'w')
IOError: [Errno 13] Permission denied: 'link_file'
Changed in subdownloader: | |
milestone: | none → 2.0.16 |
Changed in subdownloader: | |
status: | New → In Progress |
Thanks for you bug report and the patch!!