blogtk — Unsupported XML-RPC protocol

2010-06-29 2 min read Linux

Earlier I had talked about this blog client, did I. If not then there is a nice blogging clinet called BloGTK, which can be used directly to post into the blog.

So today I reinstalled it and I was completely at loss with the client being unable to start with the error below:

/usr/lib/python2.5/site-packages/blogtk/BloGTK.py:407: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead
self.publishCheck.set_active(gtk.TRUE)
Traceback (most recent call last):
File ”/usr/lib/python2.5/site-packages/blogtk/BloGTK.py”, line 1244, in module
blogtk = BloGTK()
File ”/usr/lib/python2.5/site-packages/blogtk/BloGTK.py”, line 138, in __init__
self.grabConfig()
File ”/usr/lib/python2.5/site-packages/blogtk/BloGTK.py”, line 426, in grabConfig
self.rpcServer = proxy.get_xmlrpc_server(self.url)
File ”/usr/lib/python2.5/site-packages/blogtk/proxy.py”, line 66, in get_xmlrpc_server
return server(url)
File ”/usr/lib/python2.5/xmlrpclib.py”, line 1414, in __init__
raise IOError, ”unsupported XML-RPC protocol”
IOError: unsupported XML-RPC protocol

Continue reading

wordpress blog stats monitoring from remote using curl and bash and send it in mail.

2010-06-25 3 min read Bash Fedora Linux

Here’s something that I had been planning to do for sometime now. I have my blog on wordpress and have Statpress plugin installed. The plugin does give me a good idea of the visits to my site. Now, I have to keep logging in every now and then to check the stats. Also since I did not want to spend some more amount 🙂 so I do not have the shell access to the server, too bad 🙁

Continue reading

6700 free and redistributable fonts for Linux.

2010-06-25 1 min read Fedora Linux

Today I was searching for some good fonts for my desktop running Fedora 11 – Leonidas. In my quest to find the required fonts that I would liked, I reached some good sites so just thought would share the same with you.

First, how do you use them, simple steps:

mkdir ~/.fonts

Now you can put your fonts in this directory. You can make sub-directories to keep your fonts organized. On F11, I did not need to refresh the font server or logout and login. 🙂

Continue reading

Useless use of cat awards

2010-06-25 22 min read Linux

<a href="http://partmaps.org/era/unix/award.html#cat">Here you will find some useless use of cat command in linux. Really interesting and quite informative.

Useless Use of Cat Award

If you&#8217;ve been reading <a href="news:comp.unix.shell">comp.unix.shell or any of the related groups <a href="news:comp.unix.questions">(comp.unix.questions inter alia) for any amount of time, this should be a familiar topic.

I made this web page on the topic primarily so I&#8217;d have a simpler URL than one of those ghastly Deja News searches to hand to people. I&#8217;ve tried to reconstruct Randal&#8217;s standard form letter from looking at his postings <a href="http://partmaps.org/era/unix/award.html#forms">(see end) and added some comments of my own.

Continue reading

Getting the list of IOCTLS in the kernel.

2010-06-25 1 min read Linux

Sometime back I was helping one of my friends in looking for all the IOCTLs supported by the kernel. Well we did not find the info we were looking for and thus thought to write a perl script to get all the IOCTLS supported by the kernel. Here it is, simple script to scan through the code and give you a list:

#!/usr/bin/perl —

@files = `grep -r &#8221; _IO&#8221; /usr/src/redhat/SOURCES/linux-2.6.20/* |grep define ioctls_grep`;
open (DAT, &#8221;ioctls_grep&#8221;) ||die &#8221;could not open ioctls_grep&#8221;;
@files = DAT;
close(DAT);
my %ioctls_numbers;
print &#8221;Grep completed..\n&#8221;;
open (DAT, &#8221;ioctls_numbers_found&#8221;);

Continue reading
Older posts Newer posts