|Announcing new python-based client, Charm
||[Nov. 25th, 2001|08:22 pm]
LiveJournal Client Discussions
I'd like to announce the release of a new client, Charm.
Charm is written in Python. Its native environment is Unix, but given
Python's portability, it should run on desktop systems of a variety of
Charm is text-based, but it is menu-driven. It has full-fledged
support for posting and editing journal entries, including some
interesting features like visual calendar-based journal entry
selection, and being able to save and resume writing sessions.
I think of this as a more powerful alternative to the perl-based JLJ client.
See the Charm home page
for more details, and to download the client.
How do I get this added to the official client downloads page?
Comments very much appreciated...
2001-11-25 09:04 pm (UTC)
Damn, I've done a lot of work with LiveJournal and Python. I'll comment again when I get all of the information on the page updated; I have a syncitems client that exports to XML and a GTK program that displays the synced entries and lets you search them.
evan was the last contact for the download page... not sure if that is still true or not though.
~/misc/charm-1.0.1 20:18:58$ ./charm.py
Traceback (most recent call last):
File "./charm.py", line 22, in ?
ImportError: No module named time
~/misc/charm-1.0.1 20:19:02$ python -V
~/misc/charm-1.0.1 20:19:05$ python1.5 charm.py
Traceback (innermost last):
File "charm.py", line 25, in ?
ImportError: No module named webbrowser
I don't know the include directories off the top of my head, but /usr/lib/python2.1
looks good in terms of permissions (everything has permissions of 0755 or 0644). I'd love to help test, but my native scripting language is Perl, so someone's going to have to help me out. I can test on Python1.5/Linux, Python2.1.1/Linux, and Python2.1.1/Win98SE at home, as well as PythonSomething/Solaris at college.
2001-12-01 05:59 pm (UTC)
Re: No good.
Does this happen only on your Linux/Python 2.1.1 combination, or on your other platforms as well?
Here's your Windows error message :)
File "charm.py", line 1668, in common_menu
dsize = (os.stat(self.Params["draft_file"]))[stat.ST_SIZE]
OSError: [Errno 2] No such file or directory: '/tmp/.ljdrafts/draft_20011202_033231'
I used gvim to read sample.charmrc and write it to \tmp\.charmrc, since Win98 utterly refuses to allow someone to make a dotfile through Rename or the DOS window. I left it as test, to make a test post :) I got up to the post menu, which told me (correctly) that there was no text yet, so I entered 'e' to edit and got that error.