No database module found on Windows?

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

pacosino
Posts: 4
Joined: Fri Nov 09, 2007 7:40 am

No database module found on Windows?

Post by pacosino »

I installed JDK, MySQL, Python, all last versions of Windows. I started afterwards the setup.bat file and I get the error message in the console:

Code: Select all

No database module found  ... Press return
What could be the problem? How can I configure to let OpenEMM know where MySQL is?
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Did you install the MySQL database module for Python 2.5 for Windows from
http://sourceforge.net/projects/mysql-python ?
OpenEMM Maintainer
pacosino
Posts: 4
Joined: Fri Nov 09, 2007 7:40 am

I installed that too now, and is ok until...

Post by pacosino »

...it asks me to introduce a pasword for mysql, it fails to connect. I have already a XAMPP server installed that uses 3306 port number. Is OpenEMM able to work with the MySQL version inside XAMPP, or if I install separate MySQL, actually the latest, I am able to configure on which port OpenEMM works with MySQL?
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Port 3306 is the default port of MySQL which is fine. OpenEMM and MySQL have to be on the same machine. But: Did you install mysql-python?
OpenEMM Maintainer
pacosino
Posts: 4
Joined: Fri Nov 09, 2007 7:40 am

Post by pacosino »

Yes, I did install that. Before that I wasn't able to get to the password, after installing that, I get there but I fail to connect using the root account. I tried reseting the root account in MySQL of the XAMPP, but still the same result.
pacosino
Posts: 4
Joined: Fri Nov 09, 2007 7:40 am

Post by pacosino »

I was able to setup succesfully at last to OpenEMM after reinstalling MySQL, but now when I use start.bat I get alot of messages of errors. How can I avoid this?

Code: Select all

Starting up .. home is C:\OpenEMM .. Found Codebase... found database.
LOGFILE write failed[(2, 'No such file or directory')]: '[14.11.2007  15:15:07]
2568 FATAL/except: CAUGHT EXCEPTION:\nTraceback (most recent call last):\n  File
 "C:\\OpenEMM\\bin\\scripts\\update.py", line 441, in <module>\n    agn.lock ()\
n  File "C:\\OpenEMM\\bin\\scripts\\agn.py", line 654, in lock\n    raise error
(report)\nerror: Try locking using file "Y:\\OpenEMM\\var\\lock\\update.lock"\nU
nable to create file: No such file or directory\nUnable to create file: No such
file or directory\n\n\n'
CAUGHT EXCEPTION:
Traceback (most recent call last):
  File "C:\OpenEMM\bin\scripts\update.py", line 441, in <module>
    agn.lock ()
  File "C:\OpenEMM\bin\scripts\agn.py", line 654, in lock
    raise error (report)
error: Try locking using file "Y:\OpenEMM\var\lock\update.lock"
Unable to create file: No such file or directory
Unable to create file: No such file or directory


LOGFILE write failed[(2, 'No such file or directory')]: '[14.11.2007  15:15:07]
2368 INFO/main: Starting up\n'
LOGFILE write failed[(2, 'No such file or directory')]: '[14.11.2007  15:15:07]
2368 FATAL/except: CAUGHT EXCEPTION:\nTraceback (most recent call last):\n  File
 "C:\\OpenEMM\\bin\\scripts\\bav-update.py", line 399, in <module>\n    agn.lock
 ()\n  File "C:\\OpenEMM\\bin\\scripts\\agn.py", line 654, in lock\n    raise er
ror (report)\nerror: Try locking using file "Y:\\OpenEMM\\var\\lock\\bav-update.
lock"\nUnable to create file: No such file or directory\nUnable to create file:
No such file or directory\n\n\n'
CAUGHT EXCEPTION:
Traceback (most recent call last):
  File "C:\OpenEMM\bin\scripts\bav-update.py", line 399, in <module>
    agn.lock ()
  File "C:\OpenEMM\bin\scripts\agn.py", line 654, in lock
    raise error (report)
error: Try locking using file "Y:\OpenEMM\var\lock\bav-update.lock"
Unable to create file: No such file or directory
Unable to create file: No such file or directory


LOGFILE write failed[(2, 'No such file or directory')]: '[14.11.2007  15:15:07]
1556 FATAL/except: CAUGHT EXCEPTION:\nTraceback (most recent call last):\n  File
 "C:\\OpenEMM\\bin\\scripts\\pickdist.py", line 186, in <module>\n    agn.lock (
)\n  File "C:\\OpenEMM\\bin\\scripts\\agn.py", line 654, in lock\n    raise erro
r (report)\nerror: Try locking using file "Y:\\OpenEMM\\var\\lock\\pickdist.lock
"\nUnable to create file: No such file or directory\nUnable to create file: No s
uch file or directory\n\n\n'
CAUGHT EXCEPTION:
Traceback (most recent call last):
  File "C:\OpenEMM\bin\scripts\pickdist.py", line 186, in <module>
    agn.lock ()
  File "C:\OpenEMM\bin\scripts\agn.py", line 654, in lock
    raise error (report)
error: Try locking using file "Y:\OpenEMM\var\lock\pickdist.lock"
Unable to create file: No such file or directory
Unable to create file: No such file or directory


LOGFILE write failed[(2, 'No such file or directory')]: '[14.11.2007  15:15:07]
2740 INFO/ADMIN: Initial setup for 5 threads completed\n'
LOGFILE write failed[(2, 'No such file or directory')]: '[14.11.2007  15:15:07]
2740 INFO/sender: Starting for ADMIN\n'
LOGFILE write failed[(2, 'No such file or directory')]: '[14.11.2007  15:15:07]
2740 INFO/QUEUE: Initial setup for 50 threads completed\n'
Exception in thread Spool ADMIN:
Traceback (most recent call last):
  File "C:\Python25\lib\threading.py", line 460, in __bootstrap
    self.run()
  File "C:\OpenEMM\bin\scripts\semu.py", line 579, in run
    self.spool.execute ()
  File "C:\OpenEMM\bin\scripts\semu.py", line 548, in execute
    flist = os.listdir (self.path)
WindowsError: [Error 3] The system cannot find the path specified: 'Y:\\OpenEMM\
\var\\spool\\ADMIN/*.*'

LOGFILE write failed[(2, 'No such file or directory')]: '[14.11.2007  15:15:07]
2740 INFO/sender: Starting for QUEUE\n'
Exception in thread Spool QUEUE:
Traceback (most recent call last):
  File "C:\Python25\lib\threading.py", line 460, in __bootstrap
    self.run()
  File "C:\OpenEMM\bin\scripts\semu.py", line 579, in run
    self.spool.execute ()
  File "C:\OpenEMM\bin\scripts\semu.py", line 548, in execute
    flist = os.listdir (self.path)
WindowsError: [Error 3] The system cannot find the path specified: 'Y:\\OpenEMM\
\var\\spool\\QUEUE/*.*'

Running, press return for termination:
Post Reply