Re: [PyWrapper-devel] Startup problem
Status: Alpha
Brought to you by:
jatorre
|
From: Skofic A. M. (IPGRI) <m.s...@cg...> - 2006-11-16 10:17:24
|
Sorry, I tried again to save the server settings in the system
ConfigTool and I get the following error:
500 Internal Server Error
The server encountered an unexpected condition which prevented it
from fulfilling the request.
Traceback (most recent call last):
File "/Library/WebServer/Services/pywrapper/lib/cherrypy/
_cprequest.py", line 539, in respond
cherrypy.response.body = self.handler()
File "/Library/WebServer/Services/pywrapper/lib/cherrypy/
_cprequest.py", line 110, in __call__
return self.callable(*self.args, **self.kwargs)
File "/Library/WebServer/Services/pywrapper/webapp/configtool/
cfgtool.py", line 204, in system
cfgObj.__save__()
File "/Library/WebServer/Services/pywrapper/lib/biocase/
configuration.py", line 318, in __save__
sect.__save__()
File "/Library/WebServer/Services/pywrapper/lib/biocase/
configuration.py", line 120, in __save__
fpw.write("%s = %i\n" % (name.encode('utf-8'), options[name]))
TypeError: int argument required
Powered by CherryPy 3.0.0beta2
The config.ini was as follows:
#
------------------------------------------------------------------------
--------
# INSTALLATION WIDE CONFIGURATION
# PLEASE ADJUST THESE SETTINGS TO YOUR ENVIRONMENT
#
------------------------------------------------------------------------
--------
[Server]
webapp = True
adminpassword = ACDC
graphviz_dot = /usr/local/graphviz-2.9/bin/dot
host = http://localhost:8080
webroot = /pywrapper
# time in minutes. 0 forces a reload every time
cacheExpiration = 60
[ConceptNameServer]
AliasList_1 = http://rs.tdwg.org/tapir/cns/alias.txt
AliasList_2 =
AliasList_3 =
[Webapps]
# time in minutes
sessionExpiration = 60
After I get the error it is like this:
AliasList_1 = http://rs.tdwg.org/tapir/cns/alias.txt
AliasList_2 =
AliasList_3 =
boolProps_1 = webapp
intProps_1 = cacheExpiration
intProps_2 = sessionExpiration
#
------------------------------------------------------------------------
--------
# INSTALLATION WIDE CONFIGURATION
# PLEASE ADJUST THESE SETTINGS TO YOUR ENVIRONMENT
#
------------------------------------------------------------------------
--------
[Server]
adminpassword = ACDC
boolProps_1 = webapp
I don't think this has to do with svn, except if there are other
files that affect this process.
On Nov 16, 2006, at 10:51 , Javier de la Torre wrote:
> Milko,
>
> This lines you get them when you have a conflict on subversion.
> That means that you edited these files and then markus edited them
> too and commit it to the svn server. When you have updated SVN
> detects that you have a conflict and create a set of files with the
> differet versions conflicting and with comments for you to decide
> what you wanna do... is not a pywrapper error is just that you have
> a crash in svn.
>
> Simply delete all these files and update to restore them again...
>
> Javi
>
> On 16/11/2006, at 10:46, Skofic A. Milko (IPGRI) wrote:
>
>> I just looked at the configuration file in the server and here it is:
>>
>> #
>> ---------------------------------------------------------------------
>> -----------
>> # INSTALLATION WIDE CONFIGURATION
>> # PLEASE ADJUST THESE SETTINGS TO YOUR ENVIRONMENT
>> #
>> ---------------------------------------------------------------------
>> -----------
>>
>> [Server]
>> adminpassword = ACDC
>> graphviz_dot =
>> host = http://tapir.grinfo.net:8080
>> webapp = True
>> webroot = /pywrapper
>> # time in minutes. 0 forces a reload every time
>> cacheExpiration = 60
>>
>> [ConceptNameServer]
>> AliasList_1 = http://rs.tdwg.org/tapir/cns/alias.txt
>> AliasList_2 = http://eurisco.ecpgr.org/models/alias.txt
>> AliasList_3 =
>>
>> [Webapps]
>> <<<<<<< .mine
>> sessionExpiration = 3600
>> =======
>> # time in minutes
>> sessionExpiration = 60
>> >>>>>>> .r983
>>
>> From the error messages it looks as if it doesn't like the
>> <<<<<<< .mine lines...
>
|