[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#922042: x2gobroker: traceback when run as WSGI process from apache



Package: x2gobroker
Version: 0.0.4.0-3

wget -O - http://127.0.0.1/x2gobroker/ yields a 500 Internal Server
Error. /var/log/apache2/error.log shows the following:

> [Mon Feb 11 15:11:09.414511 2019] [wsgi:error] [pid 3329:tid 140065770424064] [remote 127.0.0.1:49220] mod_wsgi (pid=3329): Failed to exec Python script file '/usr/bin/x2gobroker'.
> [Mon Feb 11 15:11:09.414551 2019] [wsgi:error] [pid 3329:tid 140065770424064] [remote 127.0.0.1:49220] mod_wsgi (pid=3329): Exception occurred processing WSGI script '/usr/bin/x2gobroker'.
> [Mon Feb 11 15:11:09.414696 2019] [wsgi:error] [pid 3329:tid 140065770424064] [remote 127.0.0.1:49220] Traceback (most recent call last):
> [Mon Feb 11 15:11:09.414710 2019] [wsgi:error] [pid 3329:tid 140065770424064] [remote 127.0.0.1:49220]   File "/usr/bin/x2gobroker", line 304, in <module>
> [Mon Feb 11 15:11:09.414713 2019] [wsgi:error] [pid 3329:tid 140065770424064] [remote 127.0.0.1:49220]     logger_broker.setLevel(logging.DEBUG)
> [Mon Feb 11 15:11:09.414722 2019] [wsgi:error] [pid 3329:tid 140065770424064] [remote 127.0.0.1:49220] NameError: name 'logger_broker' is not defined
I am using a freshly installed Debian testing VM, with unstable added in
sources.list to be able to install x2gobroker. I used the following
command to install the packages: apt install apache2 x2gobroker
x2gobroker-wsgi. To get this result I also had to change the default
apache configuration which would otherwise yield a 403 Forbidden error
(reported in a bug report to the x2gobroker-wsgi package).


Reply to: