Bookmark Trouble

For those who have trouble installing LogMX

Moderator: admin

Post Reply
craigsumner
Posts: 1
Joined: Thu Sep 29, 2011 7:33 pm

Bookmark Trouble

Post by craigsumner » Thu Sep 29, 2011 7:54 pm

I'm having trouble with bookmarks since upgrading to 2.1.1, and also with 3.0.0.

Steps:
Unpack an unmodified copy of LogMX into a new directory.
Launch LogMX.exe.
Add a bookmark to sftp://myUser@myServer/myFile.log.
Open the bookmark and inspect the log contents to confirm the location.
Exit LogMX.
Launch LogMX.exe.
Open bookmarks dialog.

Expected Result:
See the original url in the list: sftp://myUser@myServer:/myFile.log

Actual Result:
See a truncated url in the list: sftp://myUser
When trying to edit the bookmark, get this error:
"Log File Manager "SFTP file manager" could not handle URL "sftp://myUser"
When trying to open the bookmark, get this error:
"Unable to initialize manager [com.lightlysoft.logmx.mgr.managers.SFTPFileManager] for URL "sftp://myUser".
This may be an invalid URL for this Manager. It only supports this format:
sftp://{Login}@{Host}:[{Port}:]{File}
[NullPointerException] - (no error message supplied)"


I tried the workaround mentioned in the other forum topic, but obviously, when I opened the bookmark to edit, I got only an exception. The editor was then filled in the the most recent sftp file entered, which was different than the bookmark.

When I repeat these steps with version 2.0.0, I get the expected behavior. When I repeat these steps with versions 2.1.1 and 3.0.0, I get the actual result described.

admin
Site Admin
Posts: 418
Joined: Sun Dec 17, 2006 10:30 pm

Re: Bookmark Trouble

Post by admin » Thu Sep 29, 2011 9:50 pm

Hello,

You are right, this unexpected behavior is due to a bug (we have reproduced and analyzed it).
I'm afraid there's no workaround for this bug for v2.1.1/v3.0.0 users.

We will fix this in the next release, and compatibility with Bookmarks created before v3.0.0 should be kept.

Sorry for the inconvenience.
Xavier.

admin
Site Admin
Posts: 418
Joined: Sun Dec 17, 2006 10:30 pm

Re: Bookmark Trouble

Post by admin » Fri Sep 30, 2011 5:30 pm

I thought of a possible workaround: you can use the "Recent Files" item of the "File" menu.
LogMX keeps the last 20 opened files, including remote files URL.

admin
Site Admin
Posts: 418
Joined: Sun Dec 17, 2006 10:30 pm

Re: Bookmark Trouble

Post by admin » Wed Oct 26, 2011 7:56 pm

Hello,

LogMX v3.0.1 is now available for download, and contains a fix for this bug.

Xavier.

Post Reply