Page 1 of 2
Can't access the main marp replay site.
Posted: Thu Jul 03, 2008 1:10 pm
by fraser
Just thought i'd see if it's something wrong at my end,as i haven't seen any mention here of problems with the marp website.
fraser
Re: Can't access the main marp replay site.
Posted: Thu Jul 03, 2008 1:46 pm
by Zhorik
I was having problems with the site last night and am still having problems today. I chatted with mahlemiut last night and he was aware there are problems. It's not just you.
Re: Can't access the main marp replay site.
Posted: Thu Jul 03, 2008 5:21 pm
by The TJT
something happened
: No module named regex
File "index.cgi", line 24, in
import database
File "/home/marp/web/database.py", line 7, in
import regex
Re: Can't access the main marp replay site.
Posted: Thu Jul 03, 2008 6:59 pm
by Alessandro.S
Has been like that for the last 24 hours or so.
Before the missing regex module error, the DNS entry for marp.retrogames.com wasn't found by my ISP's resolver.
Re: Can't access the main marp replay site.
Posted: Thu Jul 03, 2008 8:20 pm
by mahlemiut
My guess is that it's another one of those ZTNet upgrades that simply screwed something up.
I've sent a note to Zwaxy, hopefully he'll see it in good time.
Re: Can't access the main marp replay site.
Posted: Thu Jul 03, 2008 8:31 pm
by mahlemiut
Ok, from my snooping, Python has indeed been upgraded to 2.5.2, and according to the official documentation, the regex and regsub modules are gone.
They've been depreciated since 2.0, so probably should have seen this one coming...
Re: Can't access the main marp replay site.
Posted: Fri Jul 04, 2008 4:44 am
by mahlemiut
I've substituted each regex and regsub function for the newer re versions. There seems to be no syntactical differences that affect MARP's code, so I've just changed use of regex.compile to re.compile, regex.match to re.match and regsub.gsub to re.sub. Everythings seems to be working, but let me know if something seems broken.
Re: Can't access the main marp replay site.
Posted: Fri Jul 04, 2008 6:46 am
by ZeroMax
Hi, i get some errors whilst trying to submit new recordings.
This is what i get....
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:
* value: No module named regex
* traceback:
File "/sites/retrogames.com/marp/main.py", line 476, in main
import upload
File "/sites/retrogames.com/marp/upload.py", line 1, in
import os, md5, posix, posixpath, re, regex, regsub, string, sys, time
Re: Can't access the main marp replay site.
Posted: Fri Jul 04, 2008 7:22 am
by mahlemiut
Ok, will look into it a bit later.
EDIT: Fixed, hopefully. Let me know how it works.
Re: Can't access the main marp replay site.
Posted: Fri Jul 04, 2008 8:50 am
by kranser
mahlemiut wrote:Ok, will look into it a bit later.
EDIT: Fixed, hopefully. Let me know how it works.
It works okay for me now - I can view the main site and the Upload list. Not tried to upload yet.
Kranser.
Re: Can't access the main marp replay site.
Posted: Fri Jul 04, 2008 10:53 am
by Phil Lamat
Can't submit :
File "/sites/retrogames.com/marp/main.py", line 476, in main import upload File "/sites/retrogames.com/marp/upload.py", line 6, in from scores import insert_high_score, update_pos_and_percent_for_tourn File "/sites/retrogames.com/marp/scores.py", line 3, in import regsub, string close failed: [Errno 27] File too large
Re: Can't access the main marp replay site.
Posted: Fri Jul 04, 2008 11:02 am
by fraser
Same results here !
File "/sites/retrogames.com/marp/main.py", line 476, in main import upload File "/sites/retrogames.com/marp/upload.py", line 6, in from scores import insert_high_score, update_pos_and_percent_for_tourn File "/sites/retrogames.com/marp/scores.py", line 3, in import regsub, string close failed: [Errno 27] File too large
The upload was only 127KB .
fraser
Re: Can't access the main marp replay site.
Posted: Fri Jul 04, 2008 3:20 pm
by Udirnel
Oops, now I get this error message:
"something happened
: (1040, 'Too many connections')
File "index.cgi", line 25, in
database.initialise()
File "/sites/retrogames.com/marp/database.py", line 107, in initialise
reinitialise()
File "/sites/retrogames.com/marp/database.py", line 114, in reinitialise
DB = MySQLdb.connect(host = marp_site.db_host, user = marp_site.user, passwd = marp_site.password)
File "/var/lib/python-support/python2.5/MySQLdb/__init__.py", line 74, in Connect
return Connection(*args, **kwargs)
File "/var/lib/python-support/python2.5/MySQLdb/connections.py", line 170, in __init__
super(Connection, self).__init__(*args, **kwargs2)"
May be it's a normal error according to line ": (1040, 'Too many connections')", but it never happened to me before.
Am I doing anything wrong?
Udirnel
Re: Can't access the main marp replay site.
Posted: Fri Jul 04, 2008 6:00 pm
by Alessandro.S
Just had this one:
Code: Select all
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:
* value: No module named regsub
* traceback:
Content-Type: text/html
something happened
: local variable 'traceback' referenced before assignment
File "index.cgi", line 34, in
main.main(cmd_line)
File "/sites/retrogames.com/marp/main.py", line 576, in main
traceback.print_tb(trace)
Re: Can't access the main marp replay site.
Posted: Fri Jul 04, 2008 8:10 pm
by fraser
This is the error i'm now getting when uploading my 417900 score for powj ;
please fill in your 'prefix' name
illegal version
Even though they are already entered, prefix name :afr