Video/others uploading not working ?

DigitalScribe

Joined: 2006-11-02
Posts: 5
Posted: Thu, 2006-11-02 10:31

I tried to use Remote to upload some rather large video (which works through the browser) and the Remote java program just hangs and says: "preparing to upload..."

I waited for a long time and nothing happened. I think that Gallery is well suited for other than pictures hosting as well. What should I do so that Remote would upload other files as well ? I've tried deactivating thumbnail preview and everything, the server's configured and running smoothly and there are no problems with file size limitting or stuff like this. It's my own server and I can do everything I want with it and tried everything I could imagine.

Any hint ?

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2006-11-02 10:38

Could you post the GR log? FAQ: Log, what log?

--
Gallery Remote developer

 
DigitalScribe

Joined: 2006-11-02
Posts: 5
Posted: Thu, 2006-11-02 11:01

Reading the log nothing apears out of place. No errors reported.
It seems that it just hangs (the uploading thread) because when pressing cancel (after a looong time) it says:

57875|ERROR| |Thread would not terminate properly: killing it1

So I was thinking that by assuming that the file is always a picture the application manages to get into trouble somewhere inside a hidden thread.

  22859|INFO |GalComm2  |Fetched albums
  22859|TRACE|StatusBar |level: 1 - Fetched albums - 0
  22859|INFO |GalComm2  |execution time for AlbumList: 9875
  22859|TRACE|StatusBar |level: 0 - Fetch complete - 0
  22875|TRACE|StatusBar |level: 0 - Select a Gallery URL and click Log in... - 0
  28172|TRACE|MainFrame |updatePicturesList: current album:           AudioVideoSection
  28234|TRACE|StatusBar |level: 0 - No selection - 0
  29468|TRACE|MainFrame |updatePicturesList: current album:                MyVideoAlbum
  29500|TRACE|StatusBar |level: 0 - No selection - 0
  30547|INFO |MainFrame |Command selected Browse
  30547|TRACE|StatusBar |level: 0 - Select pictures and/or whole folders to add to the list - 0
  33125|TRACE|MainFrame |Adding 1 pictures to album                MyVideoAlbum
  33125|TRACE|Album     |addPictures: [D:\my_path\my_big_file.avi]
  33125|TRACE|Album     |addPictures (expanded): [D:\my_path\my_big_file.avi]
  33125|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[type=0,index0=0,index1=0]
  33125|TRACE|MainFrame |updatePicturesList: current album:                MyVideoAlbum (1)
  33125|TRACE|ThumbCache|preloadThumbnails
  33140|TRACE|StatusBar |level: 0 - 1 pictures / 307,050 K - 0
  33203|TRACE|StatusBar |level: 0 - 1 pictures / 307,050 K - 0
  34672|INFO |MainFrame |Command selected Upload
  34672|INFO |MainFrame |uploadPictures starting
  34703|TRACE|GalComm2  |Still logged in to removed
  34703|INFO |GalComm2  |Preparing to upload...
  34703|TRACE|GalComm2  |add-item parameters: [HTTPClient.NVPair[name=cmd,value=add-item], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=set_albumName,value=1322], HTTPClient.NVPair[name=caption,value=my_big_file.avi], HTTPClient.NVPair[name=force_filename,value=my_big_file.avi], null]
  34703|TRACE|GalComm2  |Overriding form data: [HTTPClient.NVPair[name=g2_form[cmd],value=add-item], HTTPClient.NVPair[name=g2_form[protocol_version],value=2.3], HTTPClient.NVPair[name=g2_form[set_albumName],value=1322], HTTPClient.NVPair[name=g2_form[caption],value=my_big_file.avi], HTTPClient.NVPair[name=g2_form[force_filename],value=my_big_file.avi], null, HTTPClient.NVPair[name=g2_controller,value=remote.GalleryRemote]]
  34703|TRACE|StatusBar |level: 0 - 1 pictures / 307,050 K - 0
  57875|ERROR|          |Thread would not terminate properly: killing it
  57890|TRACE|StatusBar |level: 0 - 1 pictures / 307,050 K - 0

For pictures it works just great and it's faster and painless then uploading through the web browser. It would be great if it could work for other files as well (not especialy one or other kind of file).

 
DigitalScribe

Joined: 2006-11-02
Posts: 5
Posted: Thu, 2006-11-02 13:14

I've also tried with smaller .avi files with the same result. Size of the file does not matter.

 
DigitalScribe

Joined: 2006-11-02
Posts: 5
Posted: Fri, 2006-11-10 13:32

With the latest Gallery Remote update I can upload video files. Thanks for the changes !

 
cbozic

Joined: 2007-01-13
Posts: 2
Posted: Sat, 2007-01-13 03:02

I am using Gallery Remote version 1.5.1-b30 and am currently unable to upload some larger AVI files (but can through the web interface) as mentioned above.

 
DigitalScribe

Joined: 2006-11-02
Posts: 5
Posted: Sat, 2007-01-13 11:22

Back to square one. It was fun while it lasted :-)
With the latests version I have troubles again with video files and larger picture files.
No log yet.