Windows 2008R2 Server FAIL to Install

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

Moderator: moderator

mrp
Posts: 2
Joined: Fri Jul 23, 2010 5:11 am

Windows 2008R2 Server FAIL to Install

Post by mrp »

OS: Windows 2008 R2 Server
Mysql: MySQL Server 5.1

Installed:
python-2.6.5.amd64.msi
MySQL-python-1.2.2.win-amd64-py2.6.exe
jdk-6u21-windows-x64.exe



Running setup.bat ...Results:

Starting up .. home is C:\OpenEMM .. C:\Python26\lib\site-packages\MySQLdb\__ini
t__.py:34: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
found codebase .. CAUGHT EXCEPTION:
Traceback (most recent call last):
File "C:\OpenEMM\bin\openemm.py", line 177, in <module>
for mskey in sorted ([_r for _r in agn.winregList (bkey) if type (_r) in typ
es.StringTypes]):
TypeError: 'NoneType' object is not iterable


......
Going to try Phplist while i will wait for someone to help here
as i am total NEW to OpenEMM.

Thank you.
mrp
Posts: 2
Joined: Fri Jul 23, 2010 5:11 am

0.o

Post by mrp »

anyone installed it on windows server?
daymoss
Posts: 1
Joined: Mon Aug 02, 2010 6:44 am

Post by daymoss »

I have same problem.
Looks like its MySQL fault.
openemm.py from line 170 to 177 refers to windows registry for locating MySQL

Code: Select all

for version in ['5.0', '5.1']:
   mskey = r'SOFTWARE\MySQL AB\MySQL Server %s' % version
   mysqlhome = agn.winregFind (mskey, 'Location')
   if not mysqlhome is None:
      break
if mysqlhome is None:
   bkey = r'SOFTWARE\MySQL AB'
   for mskey in sorted ([_r for _r in agn.winregList (bkey) if type (_r) in types.StringTypes]):
But in that location in registry there is no MySQL key located
Im using Windows 7 x64 so it might be x64 MySQL version problem


PS. Sorry for bad english
Post Reply