OpenEMM Support :: View topic - openemm.py ob...
来源:百度文库 编辑:神马文学网 时间:2024/04/25 20:56:04
Windows 2003 server
When I try to run setup.bat (c:/openemm)
in comand line that error happens.
Can someone help me pls?
Thanks
The result is:
C:\OpenEMM>setup.bat
Starting up .. home is C:\OpenEMM .. found codebase .. CAUGHT EXCEPTION:
Traceback (most recent call last):
File "C:\OpenEMM\bin\openemm.py", line 177, in
for mskey in sorted ([_r for _r in agn.winregList (bkey) if type (_r) in typ
es.StringTypes]):
TypeError: 'NoneType' object is not iterable Back to top ma
Site Admin
Joined: 03 Aug 2006
Posts: 925
Location: Munich, Germany
Posted: Thu Jan 21, 2010 9:18 am Post subject:
We do not use Windows 2003 but recommend to comment this and the next two lines. However, in this case the MySQL tools must be detectable via the default path. Otherwise, OpenEMM can not find MySQL.
_________________
The OpenEMM Team Back to top ynchan
Joined: 25 Jan 2010
Posts: 1
Posted: Mon Jan 25, 2010 9:04 am Post subject:
How did you install MySQL? I encountered this error because I had used the MySQL no-install option.
It that case just comment out the whole section
Code: #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]):
# if 'server' in mskey.lower ():
# mysqlhome = agn.winregFind ('%s\\%s' % (bkey, mskey), 'Location')
and add in this line
Code: mysqlhome = 'D:\mysql-5.1.42-win32'
Note: just change it to where ever your mysql home directory is.
When I try to run setup.bat (c:/openemm)
in comand line that error happens.
Can someone help me pls?
Thanks
The result is:
C:\OpenEMM>setup.bat
Starting up .. home is C:\OpenEMM .. found codebase .. CAUGHT EXCEPTION:
Traceback (most recent call last):
File "C:\OpenEMM\bin\openemm.py", line 177, in
for mskey in sorted ([_r for _r in agn.winregList (bkey) if type (_r) in typ
es.StringTypes]):
TypeError: 'NoneType' object is not iterable
Site Admin
Joined: 03 Aug 2006
Posts: 925
Location: Munich, Germany
Posted: Thu Jan 21, 2010 9:18 am Post subject:
We do not use Windows 2003 but recommend to comment this and the next two lines. However, in this case the MySQL tools must be detectable via the default path. Otherwise, OpenEMM can not find MySQL.
_________________
The OpenEMM Team Back to top ynchan
Joined: 25 Jan 2010
Posts: 1
Posted: Mon Jan 25, 2010 9:04 am Post subject:
How did you install MySQL? I encountered this error because I had used the MySQL no-install option.
It that case just comment out the whole section
Code: #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]):
# if 'server' in mskey.lower ():
# mysqlhome = agn.winregFind ('%s\\%s' % (bkey, mskey), 'Location')
and add in this line
Code: mysqlhome = 'D:\mysql-5.1.42-win32'
Note: just change it to where ever your mysql home directory is.
OpenEMM Support :: View topic - openemm.py ob...
Hibernate Forums - View topic - 下面的这种sql如何处理?
View topic - STK1000 and BSP 2.0.0 Unknown Architecture 0x11 :: AVR Freaks
support
Support! Support! My Kingdom for Support!
.py .pyc .pyo
support center
独身女人喜欢ob>c
Topic: 论说文写作:结构
Finding Thesis Topic
Topic: 论说文写作:结构
py相遇是缘2
Our View
Flickriver view
Molecules View
pic-view
Technical Articles - ESRI Support
Web browser standards support
AGRU PIPING SUPPORT INSTALLATION
请用“今天”写一生(py)
SIMPLE TECHNIQUES TO SUPPORT ASCENSION
Layered Technologies Helpdesk :: Support Port...
ActiveX Support In SWT-dev
DeZhi Mainframe User Support Site