Applet fails on second upload

JayLevitt

Joined: 2004-05-11
Posts: 6
Posted: Tue, 2004-05-11 17:36

The second time I use the applet in a session, I get "Problem..." in the window instead of the filename when I "Add File". I'm not sure if the applet == the remote or not, so I'm posting this here too.

In the Apache log, when this happens, I get:

[Sun May 09 23:33:19 2004] [error] [client 192.168.1.151] File does not exist: /srv/www/htdocs/www.jay.fm/gallery/com

This is the correct path to my gallery dir, although of course there is no file or directory "com" there.. I'm guessing that's the beginning of a Java object name
that's being cut off?

I also see other errors like:

[Sun May 09 23:33:06 2004] [error] [client 192.168.1.151] File does not exist: /srv/www/htdocs/www.jay.fm/gallery/java/metadata-extractor-2.1.jar
[Sun May 09 23:33:06 2004] [error] [client 192.168.1.151] File does not exist: /srv/www/htdocs/www.jay.fm/gallery/java/JSX1.0.7.4.jar
[Sun May 09 23:33:07 2004] [error] [client 192.168.1.151] File does not exist: /srv/www/htdocs/www.jay.fm/gallery/JSX

Server:
Gallery 1.4.3-pl1
Apache 2.0.48 w/mod_rewrite
Mandrake 9.0
PHP 4.3.5 w/Turck MMcache 2.4.6

Client:
IE6SP1
Sun JRE 1.4.2 or 1.4.4, not sure which gets loaded

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-05-11 22:36

The 404 errors are unrelated, please see this bug.

When you say

Quote:
The second time I use the applet in a session

do you mean that you upload a batch of pictures, close the applet window and upload another batch, or upload a batch, then immediately add new picture to the applet and upload those?

 
JayLevitt

Joined: 2004-05-11
Posts: 6
Posted: Wed, 2004-05-12 04:39

No, the "com" not-found errors definitely happen each time I see "Problem..." in the applet. I can watch them happening. The others, maybe not related.

The failcase is:
- Upload a batch of pictures
- Immediately "add picture"

But once I do that, even closing and reopening the applet doesn't seem to help; as I recall, I have to close the parent IE window.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-05-13 00:31

OK, moving to the GR forum.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2004-05-13 00:37

Really this time :)

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-05-13 00:40

Oops, I can't move it; that's fine.

Can you try to upload a batch, then upload again (and see it fail) and then attach the log file (to see the Java console where the log is, right-click on the Java icon in the system tray and select console).

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-05-13 00:40

Thanks Andrew ;-)

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-05-18 22:45

I've fixed this in GR 1.4-b13, and the fix will appear in Gallery 1.4.4-b129.