[Bug 433872] [NEW] OSError: [Errno 25] Inappropriate ioctl for device
Ian Barton
ian at manor-farm.org
Mon Sep 21 09:00:58 UTC 2009
Public bug reported:
Binary package hint: python-twitter
I am trying to run a script as a MythTV user lob. The script runs fine
from a terminal. However, when run by MythTV I get:
2009-09-21 09:46:37.057 jobqueue: Job "Microblog" Started: Started "Microblog" for "Year Dot" recorded from channel 1004 at Mon Sep 21 09:29:00 2009
/var/lib/python-support/python2.6/twitter.py:10: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Traceback (most recent call last): 17771kB time=251.09 bitrate= 579.8kbits/s
File "/home/ian/devel/python_twitter_notify/twitter_notify.py", line 47, in <module>
main()
File "/home/ian/devel/python_twitter_notify/twitter_notify.py", line 38, in main
api = twitter.Api(username = options.user, password = options.password)
File "/var/lib/python-support/python2.6/twitter.py", line 898, in __init__
self._cache = _FileCache()
File "/var/lib/python-support/python2.6/twitter.py", line 1449, in __init__
self._InitializeRootDirectory(root_directory)
File "/var/lib/python-support/python2.6/twitter.py", line 1506, in _InitializeRootDirectory
root_directory = self._GetTmpCachePath()
File "/var/lib/python-support/python2.6/twitter.py", line 1500, in _GetTmpCachePath
username = self._GetUsername()
File "/var/lib/python-support/python2.6/twitter.py", line 1496, in _GetUsername
os.getlogin() or \
OSError: [Errno 25] Inappropriate ioctl for device
I am using the version of python-twitter included with Jaunty.
This appears to have already been reported upstream as
http://code.google.com/p/python-twitter/issues/detail?id=14 and a fix
committed. However, I am not sure if the fix is present in my version of
python-twitter in Ubuntu Jaunty, which is reported as 0.5-2.
Ian.
** Affects: python-twitter (Ubuntu)
Importance: Undecided
Status: New
--
OSError: [Errno 25] Inappropriate ioctl for device
https://bugs.launchpad.net/bugs/433872
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list