?

Log in

ljsec

LJ-Sec updated to version 0.87

« previous entry | next entry »
Dec. 27th, 2011 | 05:02 pm
posted by: soundwave106 in ljsec

LJ-Sec is a bulk journal entry management tool. It allows you to bulk change post security, delete posts, find and replace items, repost journal entries to other LJ-compatible servers, and other assorted odds and ends.

This update fixes a couple of issues with using this tool on systems other than Livejournal (the interface dropdown did not show the correct setting if it was anything other than the listed items, and bugs with the default journal filename were fixed).

Find the download for LJ-Sec at http://www.mp3vcr.com/ljsec/.

Link | Leave a comment | Share

Comments {30}

Sadie

(no subject)

from: akkismos
date: Feb. 26th, 2012 02:52 am (UTC)
Link

Ooo awesome, downloading right now!

Reply | Thread

Sadie

(no subject)

from: akkismos
date: Mar. 7th, 2012 06:36 am (UTC)
Link

Hey there - I left this comment weeks ago, looks like. I've only just now gotten around to giving this program a run on DW. /sheepish

It's tossed me this error:


I'm not sure if this is something someone below has already mentioned. These things usually just leave me really confused.

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 7th, 2012 04:58 pm (UTC)
Link

Are you consistently getting this? This sounds like a communication error of some sort.

Livejournal sends data back in pairs (one line for the field name, one line for the value). To get this error, I would think a field name would have to be returned without a value in one of Livejournal's responses.

Reply | Parent | Thread

Sadie

(no subject)

from: akkismos
date: Mar. 7th, 2012 05:00 pm (UTC)
Link

It seems to be pretty consistent. I also get an error log for the entries I'm attempting to change the privacy levels on. None of them actually change. (Let me restart and give this another go~)

I've been trying to get it to run on Dreamwidth, by the way, and I bet you're probably tired of hearing about Dreamwidth by now. x.x

Reply | Parent | Thread

Sadie

(no subject)

from: akkismos
date: Mar. 7th, 2012 06:38 pm (UTC)
Link

I gave it another run and attempted to change 5 entries from friends to private. The error's different this time.

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 7th, 2012 07:47 pm (UTC)
Link

That's the error zenzendazoto has been getting. I have to write something that allows you to strip out properties. Somehow Dreamwidth's sending properties down with its entries that it doesn't like to receive back.

(As far as the other error goes, I'll make it more user friendly and informative. I suspect something odd from the API is going on.)

Reply | Parent | Thread

Jaelle n'ha Gilla

(no subject)

from: jaelle_n_gilla
date: Mar. 9th, 2012 01:21 pm (UTC)
Link

Thanks for designing this tool, it worked like a treat for me with LJ.

On DW I get a similar error though. Client Error: Unknown metadata: commentalter and below Hint: You may need to convert older posts to unicode. ...

Not that I think it's that because DW should only allow unicode (?) but I can't find out how to convert any of my entries either. Any idea?

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 11th, 2012 08:11 pm (UTC)
Link

It's not a Unicode error, that error normally shows up for that reason. Once I add an advanced feature to directly alter property strings and publish the code (hopefully early-middle next week), I'll reply with some instructions that hopefully should fix this problem.

Reply | Parent | Thread

Jaelle n'ha Gilla

(no subject)

from: jaelle_n_gilla
date: Mar. 12th, 2012 08:24 am (UTC)
Link

That's very cool, thank you so much for putting in all that work!

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 13th, 2012 06:21 pm (UTC)
Link

OK, the new version is out at http://mp3vcr.com/ljsec/.

To fix this problem, obtain version 0.90.
Check all journal entries.

In the top menu, select "Journal / Advanced / Add delete edit property string items of checked items".
For the text box entitled "property to add / edit / delete", copy the following string:

prop_picture_mapid|prop_commentalter

These are the two properties that are reported as unknown in Dreamwidth, prop_picture_mapid and prop_commentalter, separated by a pipe.

Select "delete property".

LJ-Sec will now delete these properties (that Dreamwidth doesn't recognize) from the entry's metadata. After this, you should be able to alter security etc.

Please let me know if you have any problems with this or need a better explanation. Thanks!

Reply | Parent | Thread

Jaelle n'ha Gilla

(no subject)

from: jaelle_n_gilla
date: Mar. 18th, 2012 12:16 pm (UTC)
Link

Thank you! That fixed at least 9s% of the problems. The rest still threw an error but they were few enough that I could edit them by hand.

Reply | Parent | Thread

全然だぞと

(no subject)

from: zenzendazoto
date: Feb. 27th, 2012 01:02 pm (UTC)
Link

I received the Network Timeout or No Connection error when attempting to use this version with Dreamwidth...

Originally, I was using an older version to try to log into Dreamwidth. I upgraded to this one.

I tried looking to see if Dreamwidth had a different flat interface URL, but I didn't get any useful information. I'm using http://www.dreamwidth.com/interface/flat.

I tried uninstall/reinstall LJ-sec, which wasn't easy because LJ-sec didn't provide an uninstall shortcut.

I even tried moem@dreamwidth's tutorial, but I don't think it's the same issue. Even so, still getting the same error.

Then, I tried unchecking the "Remember password" button, and it worked!

But now there's something rather odd going on with the graphical interface:



And yeah, I tried restarting it.

Reply | Thread

Chad Gould

(no subject)

from: soundwave106
date: Feb. 28th, 2012 04:25 pm (UTC)
Link

That is odd. I'm doing nothing special in the resizing code, and I haven't seen it act this way on other systems. What OS are you using?

Reply | Parent | Thread

全然だぞと

(no subject)

from: zenzendazoto
date: Feb. 29th, 2012 01:08 pm (UTC)
Link

Win7 64bit, but don't worry if I'm the only one, when it comes to errors my system likes to be a Special Snowflake.

Last time I loaded LJ-sec the bar appeared further down, then I maximized the window and it went back to where it appears in the screenshot and stayed there.

I forgot to mention on my last comment, the log on screen cuts off part of the buttons- there's no way to resize it. It was doing this on the previous version I was using.


Also, LJ-sec is having some issues processing security changes on some entries on my Dreamwidth. Out of 90 public entries, it only processed about 20 of those to Friends Only. Yet it processed all 90 on the LJ I imported them from.

Nothing's ever easy, eh?

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 2nd, 2012 04:46 pm (UTC)
Link

I'm wondering if you are using the Windows 7 magnifier to enlarge your text. I'm looking through some articles, and (technobabble here, sorry) others seem to have run into similar problems with the setting I have for form auto scaling (AutoScaleMode=Inherit). I can try switching to AutoScaleMode=Font and see what happens.

No idea on why DW would behave different than LJ, the API is the same after all.

Reply | Parent | Thread

全然だぞと

(no subject)

from: zenzendazoto
date: Mar. 2nd, 2012 06:41 pm (UTC)
Link

Ah, I see what happened. I'm actually not using Magnifier at all. I think you might mean the scaling font size options under Control Panel> Display if I read AutoScaleMode=Font correctly. If that's case, then you would be correct because the default font size for Windows 7 is ridiculously small on my monitor.



I tried it again to get the errors to copy and paste for you. Some of the entries it came back with are sensitive, so I've not included all of the entries affected. None of these entries were converted to the new privacy setting.


Since LJ has apparently shortened the length of comments considerably... I'll split it up into another comment.

The following journal entry edit failed due to the following server error:
Subject: Goodbye Journal
Post:

Yeah, so I've about had it with Livejournal. Obviously, you guys may have noticed a(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Another one
Post: So many things have happened in the past few months. I've been writing mostly in my physic(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Sewing
Post: My sewing is going well. I have several more outfits in waiting to be cut out. Kumoricon looks like (...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Accounting
Post: I've made a decision. I'm going into accounting, starting right now.

Protecting mysel(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Angry
Post: Wow, I haven't been awake for more than 20 minutes and already I'm pissed off about something. T(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Yay
Post:

[Error: Irreparable invalid markup ('<img [...] i%2(...)>') in entry. Owner must fix manually. Raw contents below.]

Ah, I see what happened. I'm actually not using Magnifier at all. I think you might mean the scaling font size options under Control Panel> Display if I read AutoScaleMode=Font correctly. If that's case, then you would be correct because the default font size for Windows 7 is ridiculously small on my monitor.



I tried it again to get the errors to copy and paste for you. Some of the entries it came back with are sensitive, so I've not included all of the entries affected. None of these entries were converted to the new privacy setting.


Since LJ has apparently shortened the length of comments considerably... I'll split it up into another comment.

The following journal entry edit failed due to the following server error:
Subject: Goodbye Journal
Post: <p>Yeah, so I&#39;ve about had it with Livejournal. Obviously, you guys may have noticed a(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Another one
Post: So many things have happened in the past few months. I&#39;ve been writing mostly in my physic(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Sewing
Post: My sewing is going well. I have several more outfits in waiting to be cut out. Kumoricon looks like (...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Accounting
Post: I've made a decision. I'm going into accounting, starting right now.

Protecting mysel(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Angry
Post: Wow, I haven't been awake for more than 20 minutes and already I'm pissed off about something. T(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Yay
Post: <lj-cut><img src=http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs099.snc4/36288_1207902376001_(...)
Error message: Client error: Unknown metadata: picture_mapid


The following journal entry edit failed due to the following server error:
Subject: OMG
Post: Well, yesterday a car nearly drove me off the road and if it hadn't been for 19 years of riding ex(...)
Error message: Client error: Unknown metadata: commentalter

The following journal entry edit failed due to the following server error:
Subject: SMB
Post: Ahhh Super Marios Super Show is on online play on Netflix!
Error message: Client error: Unknown metadata: commentalter

The following journal entry edit failed due to the following server error:
Subject: DNW
Post: Do not want to go to school in the morning. They've fucked my schedule over big time so now I have(...)
Error message: Client error: Unknown metadata: commentalter

The following journal entry edit failed due to the following server error:
Subject: Rejected x 2
Post: I was rejected for SEA.
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: RB
Post: Root beer has got to be the most awesome invention on the planet.
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Tuition
Post: Ok... PSU is not an option. Tuition for a school year is 17k compared to WSUV's 7k.

I%2(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Trig 1
Post: Trig teacher sounds like Kermit the Frog.
Error message: Client error: Unknown metadata: commentalter


<small>I understand technobabble perfectly!</small>

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 2nd, 2012 07:46 pm (UTC)
Link

Magnifier or default font size change, same sort of effect, yes. That's something I'll have to play with Monday.

If you were previously using Livejournal, and then are using Dreamwidth, I wonder if maybe there's some leftover entries in LJ-Sec's cache, that has metadata from Livejournal that Dreamwidth doesn't like. I'd suggest using Journal - Refresh ALL Items and seeing if this helps.

Reply | Parent | Thread

全然だぞと

(no subject)

from: zenzendazoto
date: Mar. 2nd, 2012 11:56 pm (UTC)
Link

I completely uninstalled LJ-sec and all of the journal data and started with a fresh install, which I used immediately on my Dreamwidth. Incidentally I actually used refresh all just before I got that error log for you, because some of the entries I imported since my last attempt to do a security change weren't showing up.

Windows Magnifier is a separate tool with a window that magnifies everything in whatever portion of the screen you mouse over, it isn't the same at all...

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 6th, 2012 08:01 pm (UTC)
Link

I cannot understand why Dreamwidth would allow metadata / properties to be stored in an entry that Dreamwidth cannot use when you post later. That's essentially what's happening here.

Probably the best way to handle this would be to add a find / replace / delete option for meta data, which would allow you to delete the commentalter and picturemap_id tags that are causing problems (and also do some other interesting things). Something to add in the next couple days when I get a few spare moments.

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 13th, 2012 06:21 pm (UTC)
Link

OK, the new version is out at http://mp3vcr.com/ljsec/.

To fix this problem, obtain version 0.90.
Check all journal entries.

In the top menu, select "Journal / Advanced / Add delete edit property string items of checked items".
For the text box entitled "property to add / edit / delete", copy the following string:

prop_picture_mapid|prop_commentalter

These are the two properties that are reported as unknown in Dreamwidth, prop_picture_mapid and prop_commentalter, separated by a pipe.

Select "delete property".

LJ-Sec will now delete these properties (that Dreamwidth doesn't recognize) from the entry's metadata. After this, you should be able to alter security etc.

Please let me know if you have any problems with this or need a better explanation. Thanks!

Reply | Parent | Thread

全然だぞと

(no subject)

from: zenzendazoto
date: Mar. 2nd, 2012 06:41 pm (UTC)
Link

The following journal entry edit failed due to the following server error:
Subject: Courses
Post: Upon checking the online courses I'm enrolled in this quarter...


Courses in which(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: The Conspiracy- Edward is Michael Jackson
Post: egyptianchaos (10:33:34 PM): Oh GOD. Now sparkle boy thinks she's dead, and wants to kill hi(...)
Error message: Client error: Unknown metadata: commentalter

The following journal entry edit failed due to the following server error:
Subject: Hungry
Post: I'm really hungry, but I don't see how I could be since I had waffles earlier. D: I feel like th(...)
Error message: Client error: Unknown metadata: picture_mapid

The following journal entry edit failed due to the following server error:
Subject: Conclusion
Post: Webmaster: lol derp your account's been deleted.
Me: *headsmash* THERE WASN'T ANYTHING (...)
Error message: Client error: Unknown metadata: revnum

The following journal entry edit failed due to the following server error:
Subject: AHHH
Post: SHE DELETED AMARANTH.

(...)
Error message: Client error: Unknown metadata: commentalter

The following journal entry edit failed due to the following server error:
Subject:
Post: I've come to some sort of dilemma now. Should I get off of the waitlist for the math class I need,(...)
Error message: Client error: Can't edit post from requested journal
Note: This post may have been deleted on the server!

The following journal entry edit failed due to the following server error:
Subject:
Post: Procrastination.

I really need a long break after this. I'm considering not going over (...)
Error message: Client error: Can't edit post from requested journal
Note: This post may have been deleted on the server!

The following journal entry edit failed due to the following server error:
Subject: A simple table tutorial
Post: <lj-cut text="Because I am incredibly annoyed by those table generators and profile layout cod(...) Error message: Client error: Unknown metadata: revnum

Reply | Parent | Thread

(Deleted comment)

Chad Gould

(no subject)

from: soundwave106
date: Mar. 1st, 2012 04:20 pm (UTC)
Link

There are no current plans to make a Mac version or migrate this to the web.

Probably this application can be used with Mono on the Macintosh; if you use this, you'll probably want to download the binary directly (LJ-Sec_0.87.exe).

Reply | Parent | Thread

(no subject)

from: anonymous
date: Mar. 2nd, 2012 04:06 pm (UTC)
Link

Thanks. I'm using my husband's PC instead.

I have a problem, however: The entries won't properly sync. I've been able to bulk edit 2002-2009 (april or so), but not anything recent. I keep getting errors: "Too many requests in too short of a time." Another error, a client error, says invalid encoding.

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 2nd, 2012 04:37 pm (UTC)
Link

Normally, the "Invalid text encoding" issue can be fixed by going to http://www.livejournal.com/settings/?tag=encoding. If you change both dropdowns to Western European (or whatever else is appropriate), it should fix the issue.

Might also solve the "too many requests" issue since I've only gotten the too many requests message when I repeatedly try and load all of my Livejournal entries.

Reply | Parent | Thread

雅 -Miyavi-

(no subject)

from: oresama_myv
date: Mar. 6th, 2012 03:14 am (UTC)
Link

I am continuously getting synchronization failed messages. I'm trying to wipe all of my old posts, but..It wont even display them all. Am I doing something wrong?

Reply | Thread

雅 -Miyavi-

(no subject)

from: oresama_myv
date: Mar. 6th, 2012 03:17 am (UTC)
Link

It's giving me a synchronization failed message..

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 6th, 2012 05:33 pm (UTC)
Link

Is this also with Dreamweaver?

I did recently change the way I communicate with the API (to a less efficient method) due to a bug on Livejournal's part (that, last I checked, wasn't fixed yet). If you are using another Livejournal-compatible client, perhaps an older version will work better.

Reply | Parent | Thread

雅 -Miyavi-

(no subject)

from: oresama_myv
date: Mar. 6th, 2012 07:08 pm (UTC)
Link

Honestly, I do not typically use any other clients for livejournal, typically I handle everything directly through the site, until recently. This journal is very old, so I wanted to mass-delete all my posts without having to do so individually, and thus sought out a client that was able to do so. I'd heard good things about it being able to.

I'm not sure what dreamweaver is? I believe the LJ-Sec version I have is the most recent, though is Dreamweaver a different program all-together? Either way, I appreciate your taking the time to answer.

Reply | Parent | Thread

Chad Gould

(no subject)

from: soundwave106
date: Mar. 6th, 2012 08:03 pm (UTC)
Link

Sorry, Dreamwidth. I've got three separate bug threads in my head. :)

I can adding an adjustable delay between requests (syncitems, posts, etc.) into the code to prevent this. Possibly Livejournal has tightened up a bit in light of all the DDoSing going on.

Reply | Parent | Thread

雅 -Miyavi-

(no subject)

from: oresama_myv
date: Mar. 7th, 2012 10:57 am (UTC)
Link

Dreamwidth has worked beautifully to synch my account information, icons and so on, but yet again stops when it comes to the point of: "Journal entries Failed as of 6 minutes ago created 23 minutes ago", evidently, my journal just reaaaally doesn't want me to delete its entries. I'm thinking, perhaps there are just too many. I suppose we tried.

Reply | Parent | Thread