Gallery Remote 1.1b9 seems pretty buggy

brado

Joined: 2003-06-26
Posts: 3
Posted: Thu, 2003-06-26 14:43

I just installed Gallery Remote 1.1b9 this morning as the result of an update prompt from the previous current version of Gallery Remote. I had two primary problems (I couldn't get much farther):

1) I don't know the exact sequence of actions here unfortunately, but there weren't many. I think I tried to log in and checked one of the menu options, but after that I lost all controls within the main window entirely (i.e. the screen was entirely blank and gray). When I moused over various controls, like menu options, they appeared, but not until them. Since this is a Java app (and me being a Java programmer of 7 years) I can make a pretty good guess that this is a Swing repaint() problem.

2) I couldn't upload any files. It tried, but it just sat forever on the progress bar attempting to do upload the first image, but never completed, or returned an error message. I tried this with only one image and several -- same result.

One last question, or I guess maybe a suggestion -- I might save the auto-update messages in the app for stable upgrades, not beta upgrades. I know there's some text there about it, and perhaps I should have been more careful, but messages that there's a "newer version available -- get it now" in addition to the more or less de facto expectation for upgrades, suggest that the newer version isn't a step backward. Right now, the grand result of my upgrade is that I am having to uninstall completely and reinstall the older version, with a new inclination not to upgrade, which I am guessing is probably not the desired outcome of suggested upgrading. Anyway, perhaps its just me, but that's just a suggestion. :-)

Anyway, kudos on gallery. I really like it. I can already think of some really cool enhancements to both the Remote client and the gallery module...I am a 12 year developer, if I can contribute, please fire me an email.

Cheers,

BradO

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2003-06-26 15:05

Since you've been a Java programmer for so long, you won't be surprised if I ask for the version of the Gallery server and the log from Gallery Remote :-)

Regarding beta update messages, this is a preference: you can look for updated versions of beta and release, either or neither. By default if you install a final, you will only get final announcements; if you install a beta you will get both.

Regarding feature suggestions, please post them, we're always happy to get suggestions.

Regarding contributions, the way we generally do this is to let you work on it first (you have a read-only access to our CVS), and submit the result so we can evaluate how you would fit within the team.

Thanks for your feedback.

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Thu, 2003-06-26 16:22

I too am seeing some of these behavior. I am sending my log.txt via PM. I was attempting to upload via the Postnuke method. My first attempt failed but was due to the module name. I attempted to upload a couple times with no go. It just pulses the status bar.

Also I am attempting to do the resizing on my PC before uploading as it did detect my ImageMagic.

Some errors in my log.txt are:
135|ERROR|MainFrame |java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
at com.gallery.GalleryRemote.MainFrame.<clinit>(MainFrame.java:1278)
at com.gallery.GalleryRemote.GalleryRemote.run(GalleryRemote.java:76)
at com.gallery.GalleryRemote.GalleryRemote.main(GalleryRemote.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)

My Gallery is v1.3.5-cvs-b23

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2003-06-26 16:30

OK, I think I know what the problem is: the classpath changed between 1.0.1 and 1.1, and of course the patching does not do that.

Can you try to set in your "Gallery Remote.lax" file:

Quote:
lax.class.path=.;GalleryRemote.jar;lib/JSX1.0.7.4.jar;img/;lax.jar

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Thu, 2003-06-26 16:53

That fixed the ERROR but not the upload. Now I see the button icons and rotate arrows.

I did try Standalone as well with no go.

Checking to see im my route through the transparent proxy is in the way...

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Thu, 2003-06-26 17:17

Standalone is a negative.

I don't know the normal sequence of events, but I do know that during the upload process using the web upload I see a convert process on the server. I checked both ways for this process and am not seeing anything. One "Resize before upload" and server side. :cry:

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2003-06-26 17:28

Something must indeed be very wrong with GR 1.1. I've removed the automatic update notification for the moment.

Can you private-message me access instructions to your standalone gallery?

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2003-06-26 17:42

According to the log you PM'ed me, nothing happens when you try to upload. That's very odd...

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2003-06-26 18:14

OK, I've found the problem and a GR 1.1b10 will show up on the bleeding edge builds page in about 12h.

PM me if you want to try it before then.

Sorry about the mess.

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Thu, 2003-06-26 19:45

GR 1.1b10 seems to work just fine. Thank you very much!

I said in IRC that the 'convert' was being done on the server side but I guess it's because of something not working on my PC.

Here is that error:
status_text=Album properties retrieved successfully.
245362|INFO |GalComm2 |Fetched album properties.
245362|ERROR|Picture |Couldn't use ImageUtils to resize the image, it will be uploaded at the original size
245365|ERROR|Picture |java.lang.UnsupportedOperationException: IM must be installed for this operation
at com.gallery.GalleryRemote.util.ImageUtils.resize(ImageUtils.java:200)
at com.gallery.GalleryRemote.model.Picture.getUploadSource(Picture.java:162)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.uploadPicture(GalleryComm2.java:527)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.runTask(GalleryComm2.java:465)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:249)
at java.lang.Thread.run(Thread.java:536)

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2003-06-26 20:56

This is because ImageMagick is not installed on your machine, or GR can't find it. Do you have an imagemagick directory in your Gallery Remote folder? Inside there are instructions on how to register IM for GR.

I also need help to automatically install IM on Linux, like what happens on Windows.

 
brado

Joined: 2003-06-26
Posts: 3
Posted: Sat, 2003-06-28 03:04

paour --

Sorry for the delay...I haven't been able to get back online until now. I see there are some other traces of my problem showing up with others, so I'm glad I didn't slow things down. Anyway, for what it is worth, I am attaching my log.txt file. My Gallery version was current, 1.3.4...

I followed the message thread, and made all changes that Warren did and had what appears to be similar results, though I couldn't find GR 1.1b10 on the bleeding edge download page, I could only find GR 1.1b11, so I used that instead.

I was able to upload images after doing so. Thanks a bunch for getting this fixed!

Where would be the appropriate place for poting suggested enhancements to GR and the Gallery module in general?

Cheers,

BradO

 
brado

Joined: 2003-06-26
Posts: 3
Posted: Sat, 2003-06-28 03:14

I guess I ought to add one more thing...although I can upload successfully, I don't have a progress bar in the lower right while uploading -- its just blank. Is this an intended change?

BradO

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sun, 2003-06-29 22:46

The progress bar thing does sound like a bug. I'll try to reproduce it.

The place for Requests for Enhancements is either on the SourceForge project page (RFE), or here, or the 'Suggestions for Feedback' forum (for Gallery suggestions).