Page 1 of 1

Submitting trouble

Posted: Tue Feb 12, 2008 4:37 am
by Phil Lamat
Message error when I try to submit :
exception! Please copy and paste the text from this page into a mail message to Zwaxy, telling him what you were doing when this happened. And what drugs/medication you were on:

type: exceptions.UnicodeDecodeError
value: 'ascii' codec can't decode byte 0xe9 in position 411: ordinal not in range(128)
traceback:

File "/sites/retrogames.com/marp/main.py", line 477, in main
upload.do_upload(cmd_line)
File "/sites/retrogames.com/marp/upload.py", line 256, in do_upload
position = insert_high_score(short, score, prefix, version, 0, the_udt, md5_dir + "/" + basename, desc)
File "/sites/retrogames.com/marp/scores.py", line 92, in insert_high_score
version, date, file, clean_for_dangerous_tags(note), 0, 0)
File "/sites/retrogames.com/marp/database.py", line 190, in insert_allscores
return run_query(query, debug)
File "/sites/retrogames.com/marp/database.py", line 86, in run_query
cursor.execute(query)
File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 146, in execute
query = query.encode(charset)


And if try to re-submit, I'm told that file already exists, but it doesn't appear nor in "up" neither in "loads".
Am I the only one with this problem ?

Re: Submitting trouble

Posted: Tue Feb 12, 2008 5:55 am
by Phil Lamat
Mmmmm...
Wonder what ASCII code was wrong in desc box ;
or maybe trouble became of that :
there was still an hidden uopoko input which hadn't been moved to uopokoj :
http://marp.retrogames.com/inp/c/7/5/ph ... mame70.zip

So trouble may be from trying to upload a lower score ?
even if message error seems different there

Re: Submitting trouble

Posted: Tue Feb 12, 2008 7:15 am
by mahlemiut
Probably an accented letter or something. 0xE9 is, according to Windows Character Map "e with acute" (é).

Re: Submitting trouble

Posted: Tue Feb 12, 2008 11:28 am
by Phil Lamat
Don't remember, but it's probable (I had put something in French for Snoopy).
Simply I was surprised desc box didn't take that, and would refuse upload just because of that

Re: Submitting trouble

Posted: Tue Feb 12, 2008 5:51 pm
by mahlemiut
Well, it is 0xe9 on the usual Western code page also, so exactly why it throws a Unicode exception, I don't know. It certainly doesn't mind accepting Japanese... that being said, not many Japanese applications use Unicode anyway. I guess straight Shift-JIS is ok. :)

Re: Submitting trouble

Posted: Thu Feb 14, 2008 5:12 am
by BeeJay
I hit the same problem trying to submit my Galturbo recording when I put in my original comments "so close to ¼ a million" and it objected to the extended Ascii ¼ character.

I did send an e-mail to Zwax at the time.

Cheers,
BeeJay.