Can't access the main marp replay site.

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

Moderators: mahlemiut, seymour, QRS

fraser
Button Slapper
Button Slapper
Posts: 18
Joined: Sat Jun 07, 2008 2:43 am

Can't access the main marp replay site.

Post 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
User avatar
Zhorik
MARP Seer
MARP Seer
Posts: 788
Joined: Mon Sep 27, 2004 8:16 pm

Re: Can't access the main marp replay site.

Post 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.
User avatar
The TJT
MARPaholic
MARPaholic
Posts: 2479
Joined: Wed Mar 06, 2002 10:56 am
Location: 20 Grand Palace

Re: Can't access the main marp replay site.

Post 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
Alessandro.S
MARP Serf
MARP Serf
Posts: 160
Joined: Sat Oct 27, 2007 4:12 pm
Location: Italy

Re: Can't access the main marp replay site.

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

Re: Can't access the main marp replay site.

Post 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.
- Barry Rodewald
MARP Assistant Web Maintainer
Image
User avatar
mahlemiut
Editor
Posts: 4186
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Re: Can't access the main marp replay site.

Post 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...
- Barry Rodewald
MARP Assistant Web Maintainer
Image
User avatar
mahlemiut
Editor
Posts: 4186
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Re: Can't access the main marp replay site.

Post 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.
- Barry Rodewald
MARP Assistant Web Maintainer
Image
ZeroMax
Button Masher
Button Masher
Posts: 54
Joined: Wed Jun 20, 2007 4:23 pm

Re: Can't access the main marp replay site.

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

Re: Can't access the main marp replay site.

Post by mahlemiut »

Ok, will look into it a bit later.

EDIT: Fixed, hopefully. Let me know how it works.
- Barry Rodewald
MARP Assistant Web Maintainer
Image
kranser
MARP Knight
MARP Knight
Posts: 333
Joined: Wed Mar 13, 2002 11:23 am
Location: London, UK

Re: Can't access the main marp replay site.

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

Re: Can't access the main marp replay site.

Post 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
fraser
Button Slapper
Button Slapper
Posts: 18
Joined: Sat Jun 07, 2008 2:43 am

Re: Can't access the main marp replay site.

Post 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
User avatar
Udirnel
Button Masher
Button Masher
Posts: 50
Joined: Sun Aug 20, 2006 6:43 pm
Location: España

Re: Can't access the main marp replay site.

Post 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
Alessandro.S
MARP Serf
MARP Serf
Posts: 160
Joined: Sat Oct 27, 2007 4:12 pm
Location: Italy

Re: Can't access the main marp replay site.

Post 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)
fraser
Button Slapper
Button Slapper
Posts: 18
Joined: Sat Jun 07, 2008 2:43 am

Re: Can't access the main marp replay site.

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