?

Log in

No account? Create an account
JLJ version 2.4 is available! - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

JLJ version 2.4 is available! [Jan. 27th, 2003|06:25 pm]
LiveJournal Client Discussions

lj_clients

[jerronimo]
[mood |Philip Glass - ICCT Hedral]

I just finished polishing off JLJ version 2.4. You can download it from http://www.cis.rit.edu/~sdlpci/Software/perl/#jlj . There are a few minor additions to the .rc file since the last version, so you might want to peek at the new .rc file included in the tarball.

New changes include:

  • Attempts to reconnect to the server after failed attempts
  • Uses the fast servers if they are available to the user
  • Automatically converts http:// into hyperlinks
  • Autodate creation if the date is removed from the entry file
  • Ignores temp files created by your editor "~"
  • .rc file is correct now
  • flush works properly now
  • empty server responses are handled properly

It should work a lot more reliably now with heavy server load. I haven't had a chance to test it much, but it all seems to be much happier now. :D

linkReply

Comments:
[User Picture]From: samrij
2003-01-27 08:04 pm (UTC)
Excellent! Is there a way to feed just a subject and body to it via another perl script?
(Reply) (Thread)
[User Picture]From: jerronimo
2003-01-28 07:42 am (UTC)
Not yet.

You can feed a body via the "profile" mechanism, but there's no way with v2.4 to do subject lines...

I'll get that in there asap though.

Expect 2.5 by the end of the week with this and other changes added in. :)
(Reply) (Parent) (Thread)
[User Picture]From: samrij
2003-01-28 07:50 am (UTC)
Thank you very much!

I'll make sure to add a link to your site on my profile. You're doing a great job :)
(Reply) (Parent) (Thread)
[User Picture]From: jerronimo
2003-01-28 08:32 am (UTC)
heh.

I think that I just stopped working on jlj since i never got any feedback from anyone over the past 8 months, so it felt like i was the only one using it, and it worked good enough for me, so i never bothered making it better. heh.

I guess what i'm trying to say is... thanks for the input. :)
(Reply) (Parent) (Thread)
[User Picture]From: resilient
2003-01-28 07:29 am (UTC)

Using ':' in subjects

Can you make your code flexible enough to allow for a colon in the subject line? Whenever I use a colon it submits an empty subject.
(Reply) (Thread)
[User Picture]From: jerronimo
2003-01-28 07:37 am (UTC)

Re: Using ':' in subjects

oops! sure. I'll fix that. :)
(Reply) (Parent) (Thread)
[User Picture]From: jerronimo
2003-01-29 10:02 am (UTC)

Re: Using ':' in subjects

I've been trying to find this one, and it submits posts with colons all over the place in the subject without problems.

Exactly what text did you use in the subject line that caused this?

You did leave space in the edit file between "Subject:" and your text, right?
(Reply) (Parent) (Thread)
[User Picture]From: resilient
2003-01-29 10:07 am (UTC)

Re: Using ':' in subjects

This is an example subject:

Subject: Dinner: Chick Fil A

That's the exactl line that's in the file before it is sent.
(Reply) (Parent) (Thread)
[User Picture]From: jerronimo
2003-01-29 10:18 am (UTC)

Re: Using ':' in subjects

Found it! Okay. fixing it right now.

hehe. i didn't try "text: text" although I tried: "text:text", ":text:", ":text::text:", etc...
basically every permutation except for colon-space. hehe.

Thanks for finding this one. I seem to remember it being a problem, but i just ignored it and didn't do that anymore, and everything was good.
;)

(Reply) (Parent) (Thread)
From: xenofalcon
2003-01-28 07:59 am (UTC)
Sweet. Thanks!
(Reply) (Thread)
[User Picture]From: resilient
2003-01-28 03:47 pm (UTC)

Bug? New error?

[send]/postpone/queue/delete?
Logging in to server www.livejournal.com
Welcome, Resilient.
NOTICE: Attempt 0 failed to connect to server properly.
Trying again...
ERROR: Was not able to send message. (Server error: Error obtaining necessary database lock)
DEBUG: HTTP/1.1 200 OK
Date: Wed, 29 Jan 2003 02:44:55 GMT
Server: Apache/1.3.24 (Unix) Debian GNU/Linux mod_perl/1.26
Content-length: 74
Content-Type: text/plain
X-Cache: MISS from www.livejournal.com
Connection: close

errmsg
Server error: Error obtaining necessary database lock
success
FAIL

(Reply) (Thread)
[User Picture]From: jerronimo
2003-01-28 03:54 pm (UTC)

Re: Bug? New error?

Yah. that debug message wasn;'t supposed ot be printed out.

I've been getting those too. The LJ server claims the post FAILed, although it always seems to post the event just fine.

I dunno. If i were to pay attention to their return codes, then i'd take the event and shove it back into the queue to be sent later, but that's not the right thing to do in this case, since it actually got posted anyway...
(Reply) (Parent) (Thread)