Submitting trouble

General discussion on MAME, MARP, or whatever else that doesn't belong in any of the other forums

Moderators: mahlemiut, seymour, QRS

Post Reply
User avatar
Phil Lamat
Regulation Coordinator
Posts: 2076
Joined: Wed Mar 06, 2002 9:19 am

Submitting trouble

Post 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 ?
User avatar
Phil Lamat
Regulation Coordinator
Posts: 2076
Joined: Wed Mar 06, 2002 9:19 am

Re: Submitting trouble

Post 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
User avatar
mahlemiut
Editor
Posts: 4191
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Re: Submitting trouble

Post by mahlemiut »

Probably an accented letter or something. 0xE9 is, according to Windows Character Map "e with acute" (é).
- Barry Rodewald
MARP Assistant Web Maintainer
Image
User avatar
Phil Lamat
Regulation Coordinator
Posts: 2076
Joined: Wed Mar 06, 2002 9:19 am

Re: Submitting trouble

Post 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
User avatar
mahlemiut
Editor
Posts: 4191
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Re: Submitting trouble

Post 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. :)
- Barry Rodewald
MARP Assistant Web Maintainer
Image
BeeJay
MARPaltunnel Wrists
MARPaltunnel Wrists
Posts: 588
Joined: Fri Jun 17, 2005 1:40 am

Re: Submitting trouble

Post 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.
Post Reply