something happened
: No module named _mysql
File "index.cgi", line 23, in
import database
File "/home/dooglus/replay.marpirc.net/database.py", line 4, in
import MySQLdb
File "pythonlib/MySQLdb.py", line 19, in
from _mysql import *
mahlemiut wrote: ↑Fri Mar 29, 2024 6:08 am
If it can't find MySQL, then it seems like a server issue. Not much can be done.
Is Dooglus still active around here? Something might have changed on one of Dreamhost's updates, could be a simple fix somewhere. If not, if you know his login you can let me know and I can look (or you can) - I don't want to change his password on him so I can
I have sent an e-mail to Zwaxy, but no response so far (he's not particularly active)
I can upload or modify files on the server if need be, although I am no Python/MySQL expert.
I'm not familiar with his code at all, a few things seem to have been changed around the time the site stopped working, such as maybe pythonlib/ and pythonlib.old.
The whole instance actually was moved to a new shared server, it seems. With an OS update, so something there may have been broken. I don't know if there was something specific in here that was relied on (python and mysql specifically) - https://help.dreamhost.com/hc/en-us/art ... untu-Focal
ChrisP wrote: ↑Wed Apr 03, 2024 10:02 pm
On behalf of those of us who love MARP, let me say that if the site disappeared it would be an enormous loss. GL with the issues, hoping for the best.
MARP is a priceless patrimony in the arcade scene, and shall not disappear for any reason....
mahlemiut wrote: ↑Tue Apr 02, 2024 7:06 pm
I have sent an e-mail to Zwaxy, but no response so far (he's not particularly active)
I can upload or modify files on the server if need be, although I am no Python/MySQL expert.
We have precise indication of files, and code lines in them, that are failing...could be, in the luckyest scenario, a matter of paths...any chance of having a look at them...?! I'd try to help.....
In any case, Dreamhost has a pretty responsive tech support.....
mahlemiut wrote: ↑Wed Apr 03, 2024 6:20 pm
Going from Python 2.x to 3.x could be the main issue here, I seem to remember they are not all that compatible with each other.
Seems python 2 is still there, they just updated the versions of both 2 and 3. It's possible a slight change broke something though. The bigger issue may be the update to MySQL 8? I'm not familiar with his code so I don't know how it's being used exactly.
Wes Copeland, "wc" on the Donkey Kong Forum, and in charge there since Jeff Harrist passed away, indicates that if he can be of assistance with a Python or SQL issue he is willing.
Without being able to look at the source code or a shell...
MySQLdb is not a built-in python package -- it has to be installed via pip.
Most likely scenario is one of two things:
1) The script was running via a python virtual environment that had the MySQLdb package installed, and post-change, an alias or something didn't get ported.
2) Python was changed or updated, and the post-change version doesn't have the MySQLdb package installed.
Weehawk wrote: ↑Mon Apr 08, 2024 5:30 pm
Wes Copeland, "wc" on the Donkey Kong Forum, and in charge there since Jeff Harrist passed away, indicates that if he can be of assistance with a Python or SQL issue he is willing.
I hope he'll fix here....and it woudn't be a bad idea to consider to ask him to be in charge of the site (Python + MySQL) mantenance....unless someone in MARP with enough expertise (Zerstorung ?) offers to....