Greetings
I installed - with what I thought was no issues.
and after completing the excellently written how to - went to visit the URL i set.
I am able to see the home page - but after entry of the login/pass - i see a 500 error.
any advice would be greatly appreciated.
INFO LOG:
tail info.log
2008-08-31 03:28:50,266 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.EnomalismUser"
2008-08-31 03:28:50,266 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.EnomalismGroup"
2008-08-31 03:28:50,266 turbogears.identity.soprovider INFO Succesfully loaded "turbogears.identity.soprovider.TG_Permission"
2008-08-31 03:28:50,266 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.VisitIdentity"
2008-08-31 03:28:50,268 turbogears.identity INFO Identity visit plugin initialised
2008-08-31 03:28:50,269 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.EnomalismUser"
2008-08-31 03:28:50,269 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.EnomalismGroup"
2008-08-31 03:28:50,269 turbogears.identity.soprovider INFO Succesfully loaded "turbogears.identity.soprovider.TG_Permission"
2008-08-31 03:28:50,269 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.VisitIdentity"
2008-08-31 03:28:50,470 cherrypy.msg INFO HTTP: Serving HTTP on http://0.0.0.0:8080/
DEBUG LOG:
HostName LOG:
Error 500 States:
500 Internal error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Now a copy of the config file:
I installed - with what I thought was no issues.
and after completing the excellently written how to - went to visit the URL i set.
I am able to see the home page - but after entry of the login/pass - i see a 500 error.
any advice would be greatly appreciated.
INFO LOG:
tail info.log
2008-08-31 03:28:50,266 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.EnomalismUser"
2008-08-31 03:28:50,266 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.EnomalismGroup"
2008-08-31 03:28:50,266 turbogears.identity.soprovider INFO Succesfully loaded "turbogears.identity.soprovider.TG_Permission"
2008-08-31 03:28:50,266 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.VisitIdentity"
2008-08-31 03:28:50,268 turbogears.identity INFO Identity visit plugin initialised
2008-08-31 03:28:50,269 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.EnomalismUser"
2008-08-31 03:28:50,269 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.EnomalismGroup"
2008-08-31 03:28:50,269 turbogears.identity.soprovider INFO Succesfully loaded "turbogears.identity.soprovider.TG_Permission"
2008-08-31 03:28:50,269 turbogears.identity.soprovider INFO Succesfully loaded "enomalism2.model.VisitIdentity"
2008-08-31 03:28:50,470 cherrypy.msg INFO HTTP: Serving HTTP on http://0.0.0.0:8080/
DEBUG LOG:
tail debug.log
2008-08-31 03:28:50,150 enomalism2.controllers INFO Registering web controller module rest_api_ref.
2008-08-31 03:28:50,151 enomalism2.model INFO We are hooking ConfigEditorModel.get_widgets
2008-08-31 03:28:50,152 enomalism2.model INFO We are replacing <unbound method ConfigEditorModel.get_widgets> with <function hook_cfg_get_widgets at 0x1c4f5f0>
2008-08-31 03:28:50,152 enomalism2.model INFO We are hooking ConfigEditorModel.get_template
2008-08-31 03:28:50,153 enomalism2.model INFO We are replacing <unbound method ConfigEditorModel.get_template> with <function hook_cfg_get_template at 0x1c4f6e0>
2008-08-31 03:28:50,154 enomalism2.model INFO We are hooking ConfigEditorModel.get_defaults
2008-08-31 03:28:50,155 enomalism2.model INFO We are replacing <unbound method ConfigEditorModel.get_defaults> with <function hook_cfg_get_defaults at 0x1c4f7d0>
2008-08-31 03:28:50,155 enomalism2.model INFO We are hooking ConfigEditorModel.save_values
2008-08-31 03:28:50,156 enomalism2.model INFO We are replacing <unbound method ConfigEditorModel.save_values> with <function hook_cfg_save_values at 0x1c4f8c0>
2008-08-31 03:28:50,210 enomalism2.controllers INFO Registering web controller module Config_Editor.
2008-08-31 03:28:50,150 enomalism2.controllers INFO Registering web controller module rest_api_ref.
2008-08-31 03:28:50,151 enomalism2.model INFO We are hooking ConfigEditorModel.get_widgets
2008-08-31 03:28:50,152 enomalism2.model INFO We are replacing <unbound method ConfigEditorModel.get_widgets> with <function hook_cfg_get_widgets at 0x1c4f5f0>
2008-08-31 03:28:50,152 enomalism2.model INFO We are hooking ConfigEditorModel.get_template
2008-08-31 03:28:50,153 enomalism2.model INFO We are replacing <unbound method ConfigEditorModel.get_template> with <function hook_cfg_get_template at 0x1c4f6e0>
2008-08-31 03:28:50,154 enomalism2.model INFO We are hooking ConfigEditorModel.get_defaults
2008-08-31 03:28:50,155 enomalism2.model INFO We are replacing <unbound method ConfigEditorModel.get_defaults> with <function hook_cfg_get_defaults at 0x1c4f7d0>
2008-08-31 03:28:50,155 enomalism2.model INFO We are hooking ConfigEditorModel.save_values
2008-08-31 03:28:50,156 enomalism2.model INFO We are replacing <unbound method ConfigEditorModel.save_values> with <function hook_cfg_save_values at 0x1c4f8c0>
2008-08-31 03:28:50,210 enomalism2.controllers INFO Registering web controller module Config_Editor.
HostName LOG:
tail -n 20 salv*
/usr/lib/python2.5/site-packages/TurboGears-1.0.6-py2.5.egg/turbogears/widgets/base.py:498: UserWarning: You have declared an empty WidgetsList
warnings.warn("You have declared an empty WidgetsList")
/usr/lib/python2.5/site-packages/TurboGears-1.0.6-py2.5.egg/turbogears/widgets/base.py:498: UserWarning: You have declared an empty WidgetsList
warnings.warn("You have declared an empty WidgetsList")
Error 500 States:
500 Internal error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Now a copy of the config file:
[global]
# This is where all of your settings go for your development environment
# Settings that are the same for both development and production
# (such as template engine, encodings, etc.) all go in
# enomalism2/config/app.cfg
# DATABASE
sqlobject.dburi="mysql://user:password@localhost/enomalism2"
# SERVER
# Some server parameters that you may want to tweak
server.socket_port=8080
# Enable the debug output at the end on pages.
# log_debug_info_filter.on = False
server.environment="production"
autoreload.package="enomalism2"
# Auto-Reload after code modification
# autoreload.on = True
# Set to True if you'd like to abort execution if a controller gets an
# unexpected parameter. False by default
tg.strict_parameters = True
enomalism2.baseurl="http://ourhostnamehere:8080/rest/"
# If you want to force the external facing IP address, you can set it here:
# Note, this is a good idea for any internet clustered machine, and fixing
# it later on is more problematic.
enomalism2.ip_addr="x.x.x.x"
#The UUID of THIS machine.
enomalism2.self="UUIDHERE"
enomalism2.modules=['enomalism2.modules.core']
enomalism2.logo_url='/static/images/logo_enterprise.gif'
#Folder where we store data for packaging.
enomalism2.tempdir='/tmp/'
enomalism2.drivestorage='file'
enomalism2.storagetarget='file:///xen/'
#enomalism2.storagetarget='lvm:///VolGroup00'
enomalism2.repodir='/opt/enomalism2/repo'
#Add large files support for uploading ISO images.
server.max_request_body_size = 1024000000
# Directory with gettext files
i18n.locale_dir="/opt/enomalism2/locales"
# LOGGING
# Logging configuration generally follows the style of the standard
# Python logging module configuration. Note that when specifying
# log format messages, you need to use *() for formatting variables.
# Deployment independent log configuration is in enomalism2/config/log.cfg
[logging]
[[handlers]]
[[[debug_out]]]
class='FileHandler'
formatter='full_content'
args="('logs/debug.log', 'a+')"
[[[info_out]]]
class='FileHandler'
formatter='full_content'
args="('logs/info.log', 'a+')"
[[[access_out]]]
level='INFO'
class='FileHandler'
formatter='full_content'
args="('logs/access.log', 'a+')"
[[loggers]]
[[[enomalism2]]]
level='DEBUG'
qualname='enomalism2'
handlers=['debug_out']
[[[allinfo]]]
level='INFO'
handlers=['info_out']
[[[access]]]
level='INFO'
qualname='turbogears.access'
handlers=['access_out']
propagate=0
# This is where all of your settings go for your development environment
# Settings that are the same for both development and production
# (such as template engine, encodings, etc.) all go in
# enomalism2/config/app.cfg
# DATABASE
sqlobject.dburi="mysql://user:password@localhost/enomalism2"
# SERVER
# Some server parameters that you may want to tweak
server.socket_port=8080
# Enable the debug output at the end on pages.
# log_debug_info_filter.on = False
server.environment="production"
autoreload.package="enomalism2"
# Auto-Reload after code modification
# autoreload.on = True
# Set to True if you'd like to abort execution if a controller gets an
# unexpected parameter. False by default
tg.strict_parameters = True
enomalism2.baseurl="http://ourhostnamehere:8080/rest/"
# If you want to force the external facing IP address, you can set it here:
# Note, this is a good idea for any internet clustered machine, and fixing
# it later on is more problematic.
enomalism2.ip_addr="x.x.x.x"
#The UUID of THIS machine.
enomalism2.self="UUIDHERE"
enomalism2.modules=['enomalism2.modules.core']
enomalism2.logo_url='/static/images/logo_enterprise.gif'
#Folder where we store data for packaging.
enomalism2.tempdir='/tmp/'
enomalism2.drivestorage='file'
enomalism2.storagetarget='file:///xen/'
#enomalism2.storagetarget='lvm:///VolGroup00'
enomalism2.repodir='/opt/enomalism2/repo'
#Add large files support for uploading ISO images.
server.max_request_body_size = 1024000000
# Directory with gettext files
i18n.locale_dir="/opt/enomalism2/locales"
# LOGGING
# Logging configuration generally follows the style of the standard
# Python logging module configuration. Note that when specifying
# log format messages, you need to use *() for formatting variables.
# Deployment independent log configuration is in enomalism2/config/log.cfg
[logging]
[[handlers]]
[[[debug_out]]]
class='FileHandler'
formatter='full_content'
args="('logs/debug.log', 'a+')"
[[[info_out]]]
class='FileHandler'
formatter='full_content'
args="('logs/info.log', 'a+')"
[[[access_out]]]
level='INFO'
class='FileHandler'
formatter='full_content'
args="('logs/access.log', 'a+')"
[[loggers]]
[[[enomalism2]]]
level='DEBUG'
qualname='enomalism2'
handlers=['debug_out']
[[[allinfo]]]
level='INFO'
handlers=['info_out']
[[[access]]]
level='INFO'
qualname='turbogears.access'
handlers=['access_out']
propagate=0


aim