notes for 0.5.0-alpha

Aug 29, 2009 03:37


Current users can use the "Check for Updates..." menu item under the "asLJ" menu to get this update.

DOWNLOAD (this is alpha software and probably has bugs. it is provided as-is-be careful and use it at your own risk.)

NEW:
  • Rewritten from the ground up--faster and with a cleaner interface
  • document-based interface
  • collapsable sections in the entry ( Read more... )

version-0.5.0-alpha

Leave a comment

aslj_client September 7 2009, 21:15:08 UTC
Thanks, I'm glad that you like it. Let's see what we can do about the userpics menu.

While some of what I'm asking may be "yeah, of course, duh" kind of things, I just want to make sure that I understand exactly what's happening.

When you edit a past entry, you are in fact seeing the toolbar item and when you click on it you get the menu which shows pics and keywords.

In a new entry window:
1. Have you selected an account? (In this screenshot, where it says aslj_client@LJ.)
2. Does the toolbar item for userpics appear? (Same screenshot as above, where it says [Default].)
3. Does the menu have the list of your userpic keywords and just doesn't show the images?
4. If you put the mouse cursor over the toolbar button for userpics in either new entries or past entries, do you get the full-size preview appearing below the toolbar?

5. Is it something else that I didn't describe or didn't quite get right?

Reply

konart September 7 2009, 21:32:50 UTC
1. sure
2. yep
3. no - while editing a new entry - in doesn't show my userpics(see: http://s60.radikal.ru/i167/0909/33/2a38522a9568.jpg - only something deafault)

4. Only in Past entries(see - http://s57.radikal.ru/i158/0909/cb/a79f8cf33c2c.jpg)

Reply

aslj_client September 12 2009, 08:40:08 UTC
Sorry I didn't get back to you sooner--for some reason, I didn't get a notification of your reply.

Could you turn on the "Verbose Logging" option in the preferences, run Console.app (in Applications/Utilities), in the "Filter" search box at the top right corner of Console.app, type in "asLJ", then in asLJ open a new entry window and select your account, then copy/paste anything that shows up in the Console window?

Also, what happens if you open a second new entry window and also select your account there? Do the userpics show up there?

Reply

konart September 12 2009, 13:24:35 UTC
It's ok :)

Here's the log :

Calling method getusertags for konart@http://www.livejournal.com/interface/xmlrpc...
9/12/09 5:20:00 PM asLJ[4402] Calling method getusertags for konart@http://www.livejournal.com/interface/xmlrpc...
9/12/09 5:20:02 PM asLJ[4402] Got 291 tags
9/12/09 5:20:02 PM asLJ[4402] *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1e014360
9/12/09 5:20:02 PM asLJ[4402] *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1e014360
9/12/09 5:20:02 PM asLJ[4402] *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1e014360
9/12/09 5:20:25 PM asLJ[4402] Calling method login for konart@http://www.livejournal.com/interface/xmlrpc...
9/12/09 5:20:25 PM asLJ[4402] ... logged in.
9/12/09 5:20:25 PM asLJ[4402] Calling method getusertags for konart@http://www.livejournal.com/interface/xmlrpc...
9/12/09 5:20:25 PM asLJ[4402] Calling method getusertags for konart@http://www.livejournal.com/interface/xmlrpc...
9/12/09 5:20:27 PM asLJ[4402] Got 291 tags
9/12/09 5:20:27 PM asLJ[4402] *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1e07cff0
9/12/09 5:20:27 PM asLJ[4402] *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1e07cff0

And no - no userpics in a new entry window.

Reply

aslj_client September 12 2009, 19:57:09 UTC
I've got what might be a weak bandage over the problem. Download this dev build and see if userpics show up in new entry windows. Whether or not they do, please copy/paste anything that shows up in Console.app here again.

If this does make the userpics show up, then there's a problem in the way your tags are being loaded that needs some further debugging.

Reply

konart September 12 2009, 20:18:38 UTC
I can see userpics now, ok.

Here's the log:
13.09.09 0:16:47 asLJ[6184] *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1deb3a80
13.09.09 0:16:47 asLJ[6184] Exception caught in -[newEntryTagsController setPossibleTags:]: *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1deb3a80
13.09.09 0:16:47 asLJ[6184] Exception caught in -[newEntryTagsController setPossibleTags:]: *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1deb3a80

Reply

aslj_client September 12 2009, 20:33:13 UTC
This is helpful. Unfortunately, all that version did was to skip over the real problem to get to the part that loaded the userpics.

This dev build (same URL, newer file) logs more information while attempting to load your existing tags into the tag drop-down. My suspicion is that a particular tag is causing the problem, but I can't tell which tag, so I'm hoping this will tell me which tag or tell me that it's not a particular tag.

Reply

konart September 12 2009, 20:46:41 UTC
openning asLJ:

13.09.09 0:38:08 asLJ[6356] *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1deb8770
13.09.09 0:38:08 asLJ[6356] Exception caught in -[newEntryTagsController setPossibleTags:]: *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1deb8770
13.09.09 0:38:08 asLJ[6356] Exception caught in -[newEntryTagsController setPossibleTags:]: *** -[NSCFString objCType]: unrecognized selector sent to instance 0x1deb8770

Another new entry window & choosing some userpic:

13.09.09 0:40:32 asLJ[6356] Calling method login for konart@http://www.livejournal.com/interface/xmlrpc...
13.09.09 0:40:32 asLJ[6356] Calling method login for konart@http://www.livejournal.com/interface/xmlrpc...
13.09.09 0:40:33 asLJ[6356] ... logged in.
13.09.09 0:40:33 asLJ[6356] Calling method getusertags for konart@http://www.livejournal.com/interface/xmlrpc...
13.09.09 0:40:33 asLJ[6356] Calling method getusertags for konart@http://www.livejournal.com/interface/xmlrpc...
13.09.09 0:40:35 asLJ[6356] Got 291 tags
13.09.09 0:40:35 asLJ[6356] [newEntryTagsController setPossibleTags:] sorting...
13.09.09 0:40:35 asLJ[6356] *** -[NSCFString objCType]: unrecognized selector sent to instance 0x2120e980
13.09.09 0:40:35 asLJ[6356] exception on tag (null)
13.09.09 0:40:35 asLJ[6356] Exception caught in -[newEntryTagsController setPossibleTags:]: *** -[NSCFString objCType]: unrecognized selector sent to instance 0x2120e980
13.09.09 0:40:36 asLJ[6356] http://l-userpic.livejournal.com/70123539/10919767 not in userpic cache, failed to get URL
13.09.09 0:40:36 asLJ[6356] error in asynchronous image load
13.09.09 0:40:49 asLJ[6356] http://l-userpic.livejournal.com/70123539/10919767 not in userpic cache, failed to get URL
13.09.09 0:40:49 asLJ[6356] error in asynchronous image load

Reply

aslj_client September 12 2009, 21:11:50 UTC
I believe I have it figured out. I'm working to clean up and optimize the solution now and will post it for you to try shortly.

Thanks for your help in tracking down this bug.

Reply

aslj_client September 12 2009, 21:33:52 UTC
This dev build (same URL, newer file) should fix the problem and gets rid of the extra logging. In particular, when you try this, please take a look in the "drawer" (click the "More..." button in the toolbar) at the "Tags" section, click on the drop-down arrow at the bottom of that section, and see if your tags are showing up there.

Reply

konart September 12 2009, 22:28:34 UTC
Yep, the problem is fixed and all tags are visible. Thank you for your work :)

By the way why do all userpics have different size(I mean - some of them like 100x100px and some ~20x20)?

Reply

aslj_client September 12 2009, 22:32:33 UTC
Thanks for your help. v0.5.1-alpha will be posted shortly.

I think some userpics show up smaller than others in the menu (but still show up full-size in the pop-up preview when you hover the cursor over the toolbar button) because of some sort of resolution information embedded in the image file itself. I haven't yet figured out how to override that and get all the images to be the same size in the menu.

Reply


Leave a comment

Up