Re: status_update_with_media

91 views
Skip to first unread message

ian.k...@gmail.com

unread,
Oct 11, 2013, 10:05:25 AM10/11/13
to twe...@googlegroups.com, n8hen...@gmail.com
Did you ever solve this? I am having the same error.

On Sunday, January 20, 2013 3:18:23 AM UTC-5, n8hen...@gmail.com wrote:
I have not progressed enough to make sense of this

Traceback (most recent call last):
  File "send_tweepy.py", line 21, in <module>
    api.status_update_with_media('D:\Macorna St\DSC03441C.png', statu
s='Jessop St not')
  File "C:\Python27\lib\site-packages\tweepy\api.py", line 144, in status_update
_with_media
    headers, post_data = API._pack_media(filename, 3072)
  File "C:\Python27\lib\site-packages\tweepy\api.py", line 793, in _pack_media
    raise TweepError('Invalid file type for image: %s' % file_type)
tweepy.error.TweepError: Invalid file type for image: image/x-png

I'm using
https://github.com/slothyrulez/tweepy/commit/c4fa7d32c568b57f21c672bbc7a3241d598774b2

Please could I have some help
Reply all
Reply to author
Forward
0 new messages