albums not showing up

LORDs_diakonos

Joined: 2004-07-28
Posts: 11
Posted: Wed, 2005-03-30 16:59

I am trying to upload photos using the java big applet. Th eapplet is not pulling the albums it is just hanging. Here is the stack trace
Exception in thread "Thread-8" java.lang.IllegalArgumentException: new child is an ancestor

at javax.swing.tree.DefaultMutableTreeNode.insert(Unknown Source)

at javax.swing.tree.DefaultMutableTreeNode.add(Unknown Source)

at com.gallery.GalleryRemote.GalleryComm2$AlbumListTask.list22(GalleryComm2.java:805)

at com.gallery.GalleryRemote.GalleryComm2$AlbumListTask.runTask(GalleryComm2.java:613)

at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:290)

at java.lang.Thread.run(Unknown Source)
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.4.4
Apache version: 2.0.48
PHP version (don't just say PHP 4, please): 4.3.3
Graphics Toolkit: imagemajic
Operating system: Suse Linux 9.0
Web browser/version (if applicable): All of them

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2005-03-30 17:16

[Moved to Gallery Remote]

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2005-03-30 17:23

That looks like a corrupted Gallery, where an album appears in different places in the hierarchy. I don't really know how to diagnose and fix this. Can the Gallery support help out?

 
LORDs_diakonos

Joined: 2004-07-28
Posts: 11
Posted: Wed, 2005-03-30 18:36

Yes I came to the same conclussion but how do I find out which one :-)

 
LORDs_diakonos

Joined: 2004-07-28
Posts: 11
Posted: Thu, 2005-03-31 17:00

I tried it with gallery remote full version and the same thing is happening. Can anyone help me here as it it kind of an urgent to get it fixed as it is our production Photo app here. Thanks

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2005-03-31 17:34

[Moved back to Troubleshooting]

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2005-03-31 18:04

LORDs_diakonos, what happens if you do a form based upload, with debug mode enabled ( FAQ Gallery:c.31 ) ?

 
LORDs_diakonos

Joined: 2004-07-28
Posts: 11
Posted: Fri, 2005-04-01 14:38

it works fine. I only tried one album but we have like 267 albumns here is the output

Processing status...

- Adding tuxhammer.png
Resizing/compressing original image
No resizing required
File /srv/photo.nbbc.edu/htdocs/albums/publications/tuxhammer.png type 3.

Executing:

'/usr/bin/convert' -quality 90 -size 300x300 +profile '*' '/srv/photo.nbbc.edu/htdocs/albums/publications/tuxhammer.png' -geometry 300x300 '/srv/photo.nbbc.edu/htdocs/albums/publications/tuxhammer.thumb.png'

Results:

none

Debug messages::

Status: 0 (expected 0)

Executing:

'/usr/bin/jhead' '/tmp/galleryOtYrxM'

Results:

Not JPEG: /tmp/galleryOtYrxM

Debug messages::

Status: 0 (expected 0)
- Resizing tuxhammer

Executing:

'/usr/bin/convert' -quality 90 -size 640x640 +profile '*' '/srv/photo.nbbc.edu/htdocs/albums/publications/tuxhammer.png' -geometry 640x640 '/srv/photo.nbbc.edu/htdocs/albums/publications/tuxhammer.sized.png'

Results:

none

Debug messages::

Status: 0 (expected 0)

Executing:

'/usr/bin/jhead' '/srv/photo.nbbc.edu/htdocs/albums/publications/tuxhammer.png'

Results:

Not JPEG: /srv/photo.nbbc.edu/htdocs/albums/publications/tuxhammer.png

Debug messages::

Status: 0 (expected 0)

Executing:

'/usr/bin/jhead' '/srv/photo.nbbc.edu/htdocs/albums/publications/tuxhammer.png'

Results:

Not JPEG: /srv/photo.nbbc.edu/htdocs/albums/publications/tuxhammer.png

Debug messages::

Status: 0 (expected 0)
No email sent as no valid email addresses were found

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Fri, 2005-04-01 14:51

That looks like a valid upload, doesn't it appear after you have finished uploading?

 
LORDs_diakonos

Joined: 2004-07-28
Posts: 11
Posted: Fri, 2005-04-01 14:55

Yes my problem is I cannot use the full applet to upload cause it is having trouble reading the albums. It just hangs as it reads the albums. The gallery remote guy said it sounds like a corrupted album. I don't know how to find or fix this.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Fri, 2005-04-01 15:46

Well, the debug result you provided looks like a valid upload, but still the image doesn't display after it finished? What is the url?

 
LORDs_diakonos

Joined: 2004-07-28
Posts: 11
Posted: Fri, 2005-04-01 16:53

The image does display. It is only internal. The problem is the full applet

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Fri, 2005-04-01 17:02

Right. Hmm, if the applet is the only thing showing problems, i'll need to move it back to the GR forum.

Paour??

 
LORDs_diakonos

Joined: 2004-07-28
Posts: 11
Posted: Fri, 2005-04-01 17:08

The applet is the thing showing problems but it related to a bad album or corrupted album but i am not sure which one. I hav elike 267 albums.

 
galleryhelpplease

Joined: 2005-11-23
Posts: 1
Posted: Wed, 2005-11-23 18:41

we're you ever able to resolve this issue? i am having the same problem.

>>update: make sure your top-level album has a title. this worked for me.