[4suite-dev] 4ss_manager fails on Windows
Håkon Solberg
hakon at sentinel.no
Mon Jun 4 09:50:17 MDT 2007
Hi,
I'm a first time user and trying to create an ss repository on Windows XP
with Python25.
I downloaded the latest release of 4Suite (1.0.2), but I could find 4ss/4rdf
in the installation files. So I decided to download the latest source code
from CVS, and compiled with VS 2003. It compiled fine.
When running 4ss_manager init, I get the following error:
C:\temp>4ss_manager init
Traceback (most recent call last):
File "<string>", line 6, in <module>
File
"c:\python25\lib\site-packages\4Suite_XML-1.0.2-py2.5-win32.egg\Ft\Lib\Co
mmandLine\CommandLineApp.py", line 86, in main
return cls().run_commands(script_name, script_args)
File
"c:\python25\lib\site-packages\4Suite_XML-1.0.2-py2.5-win32.egg\Ft\Lib\Co
mmandLine\CommandLineApp.py", line 108, in run_commands
status = cmd.run(options, args)
File
"c:\python25\lib\site-packages\4Suite_XML-1.0.2-py2.5-win32.egg\Ft\Lib\Co
mmandLine\Command.py", line 102, in run
return self.function(options, arguments)
File "C:\Python25\Lib\site-packages\Ft\Server\Server\Commands\Init.py",
line 7 2, in CommandLineInit
properties = ConfigFile.Read(options.get('config-file'))
File "c:\python25\lib\site-packages\Ft\Server\Server\Lib\ConfigFile.py",
line 43, in Read
fileName = GetFileName(fileName)
File "c:\python25\lib\site-packages\Ft\Server\Server\Lib\ConfigFile.py",
line 30, in GetFileName
'4ss.conf'))
File "C:\Python25\lib\ntpath.py", line 90, in join
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
It seems that GetConfigVar('SYSCONFDIR') in ConfigFile.py returns 'None',
and therefore the script halts with an error.
Haakon
More information about the 4suite-dev
mailing list