Hi, First, please know that I am a novice to django and python so please be patient.
Am trying to use the python-twitter api with a little django app. When I test the commands from the terminal, they run perfectly, however, when run from django, they produce an errno 25 as follows: [Errno 25] Inappropriate ioctl for device Request Method: GET Request URL: http://192.168.2.6/loa/ Exception Type: OSError Exception Value: [Errno 25] Inappropriate ioctl for device Exception Location: build/bdist.linux-i686/egg/twitter.py in _GetUsername, line 1498 Python Executable: /usr/bin/python Python Version: 2.5.1 The code that produces this error is as follows: def sendtwit(twit): twitter_api=twitter.Api(username='user', password='pw') twitter_api.PostUpdate(twit) return Anyway, it seems the issue has been documented here: http://code.google.com/p/python-twitter/issues/detail?id=16 with a patch attached. My questions are: 1. can anyone explain the error a little better to me? 2. Is it a bug in the python-twitter api, or in django, or in my code? 3. Is there a fix that does not involve using the patch? 4. If I have to use the patch, could someone provide easy to follow steps for me to apply it (absolutely no clue here)? Thanks tons in advance, Hani --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---