I'm pretty sure that the free version of wordpress will not allow file
uploads.

You need to check if you can upload a .txt file to your blog (the last line
of the error indicates the blog is not accepting the file)
On May 4, 2011 5:48 PM, "James A R Brown" <ja...@enrogen.com> wrote:
> -------- Forwarded Message --------
> From: James A R Brown <ja...@enrogen.com>
> To: pytrainer-devel@lists.sourceforge.net
> Subject: Wordpress + Pytrainer
> Date: Tue, 03 May 2011 21:36:25 +0100
>
> Hi,
>
> I have been trying to post to a normal wordpress blog (wordpress.com)
>
> But its bugging out per below. Have scoured google, but can't really
> find any info on wordpress and pytrainer.
>
> Any help greatly appreciated.
>
> Best Regards
>
> James
>
>
>
> [jamesarbrown@jblaptop bin]$ ./pytrainer
> running pytrainer from source path
> data_path: /opt/pytrainer-1.8.0/
> gettext_path: /opt/pytrainer-1.8.0/locale
> site_path: /opt/pytrainer-1.8.0
> Using xulrunner dir: /usr/lib64/xulrunner-1.9.1
> /usr/lib/python2.6/site-packages/httplib2/__init__.py:29:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
> import md5
> /usr/lib/python2.6/site-packages/httplib2/__init__.py:44:
> DeprecationWarning: the sha module is deprecated; use the hashlib module
> instead
> import sha
> /opt/pytrainer-1.8.0/extensions/wordpress/wordpresslib.py:67:
> DeprecationWarning: BaseException.message has been deprecated as of
> Python 2.6
> self.message = obj.faultString
> Traceback (most recent call last):
> File "/opt/pytrainer-1.8.0/pytrainer/gui/windowmain.py", line 210, in
> runExtension
> self.parent.runExtension(extension,id)
> File "/opt/pytrainer-1.8.0/pytrainer/main.py", line 205, in
> runExtension
> self.extensionClass.run(id, activity)
> File "/opt/pytrainer-1.8.0/extensions/wordpress/wordpress.py", line
> 76, in run
> blog_route = self.createRoute()
> File "/opt/pytrainer-1.8.0/extensions/wordpress/wordpress.py", line
> 164, in createRoute
> gfile = self.wp.newMediaObject(gpxpath)
> File "/opt/pytrainer-1.8.0/extensions/wordpress/wordpresslib.py", line
> 380, in newMediaObject
> raise WordPressException(fault)
>
wordpresslib.WordPressException/opt/pytrainer-1.8.0/extensions/wordpress/wordpresslib.py:73:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
> return '<%s %d: \'%s\'>' % (self.__class__.__name__, self.id,
> self.message)
> : <WordPressException 500: 'Could not write file gpstrace.gpx_.txt
> (Invalid file type)'>
>
>
>
>
>
------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today. Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Pytrainer-devel mailing list
> Pytrainer-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytrainer-devel
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to