A G3Remote - v0.1.8 [12/12/10]

rak

Joined: 2010-08-09
Posts: 44
Posted: Tue, 2011-02-08 22:44

Hmm not sure why that's happening.

Do you get any error messages or a traceback log?

 
sr83

Joined: 2010-03-06
Posts: 7
Posted: Wed, 2011-02-23 13:08

Does this tool work with FLV files?

 
Erytheia

Joined: 2011-02-26
Posts: 1
Posted: Sat, 2011-02-26 08:02

Is there any chance to get a CLI-Program?

for example a

g3remote.exe -u "Username" -p "Password" -r "Restkey" -i "D:\picture\mypic.jpg" -a "My Album" -n "Picture Name" -d "Description" upload

so the exe will automatic login, select an Album (or create it, when it not exist"), upload a picture with given name and description.

 
wph

Joined: 2011-04-24
Posts: 3
Posted: Tue, 2011-04-26 05:02

I installed the program (1.8) from source - installed appropriate python libraries (py 2.6).

I get the uploadpanel error (as above) although it doesn't seem to harm anything.

More importantly, I get the error as lised above:

response, content = self.REST.uploadItem(a, i[j]['type'], i[j]['filelocation'], j, i[j]['title'], i[j]['description'])
File "/home/sjsipila/Downloads/g3remote-v0.1.3/rest.py", line 133, in uploadItem
content = json.loads(content)
File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

I tried some debugging and I find that the response strings are being returned except that the format is that of a regular html document

<html><head></head><body> etc etc ect</body></html> followed by {url:......}

I find if I disable the json.loads(content) line the file uploads OK - except I don't know if it will retrieve the url from the content when examining tags

I'm concerned that further down the program after the upload not all information is properly parsed from content.

1) can you tell me what json.loads(content) is supposed to do?
2) Am I safe if I disable this line?

Thankyou

 
the0ne
the0ne's picture

Joined: 2011-05-02
Posts: 83
Posted: Mon, 2011-06-20 16:40

a new version of the gallery-contrib git remote module is available which implements the necessary protocol to make g3 compatible to the good old gallery-remote again. personally i found it to be faster than ever!
http://gallery.menalto.com/node/102641

you can find more information about the gallery remote module here:
http://codex.gallery2.org/Gallery3:Modules:remote

 
rgawenda
rgawenda's picture

Joined: 2011-03-14
Posts: 4
Posted: Tue, 2011-06-21 09:41

I desperately need that

Quote:
Is there any chance to get a CLI-Program?

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Thu, 2011-10-06 02:48

Anyone used this lately? I keep getting a key error in the log file and it won't load...