OK, I've managed to get rid of these by switching to Apache as the web server.....

Please excuse the unnecessary list noise.

Chris

On 05/06/13 18:53, Chris Malton wrote:
So.... I've just spent most of today installing baruwa.... and I seem to be tripping over the final hurdle....
This ever so slightly irritates me - as I'm so close, yet so far.

The OS: Debian 7
The instructions followed: http://topdog-software.com/oss/baruwa/2.0.1/docs/baruwa.pdf

The error is, to all intents and purposes, the same as http://comments.gmane.org/gmane.mail.virus.mailscanner.baruwa.user/2495
So, below, is the traceback:

URL: *Baruwa warning: numerical links are often malicious:* http://10.10.1.29:5000/css/text.css
Module weberror.errormiddleware:*162* in |__call__|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>app_iter = self.application(environ, sr_checker)
Module repoze.who.middleware:*85* in |__call__|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>self.add_metadata(environ, classification, identity)
Module repoze.who.middleware:*179* in |add_metadata|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>plugin.add_metadata(environ, identity)
Module repoze.who.plugins.sa:*210* in |add_metadata|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>identity['user'] = self.get_user(identity['repoze.who.userid'])
Module repoze.who.plugins.sa:*64* in |get_user|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>return query.one()
Module sqlalchemy.orm.query:*2209* in |one|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>ret = list(self)
Module baruwa.lib.caching_query:*77* in |__iter__|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>return Query.__iter__(self)
Module sqlalchemy.orm.query:*2252* in |__iter__|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>return self._execute_and_instances(context)
Module sqlalchemy.orm.query:*2265* in |_execute_and_instances|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>close_with_result=True)
Module sqlalchemy.orm.query:*2256* in |_connection_from_session|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>**kw)
Module sqlalchemy.orm.session:*771* in |connection|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>close_with_result=close_with_result)
Module sqlalchemy.orm.session:*775* in |_connection_for_bind|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>return self.transaction._connection_for_bind(engine)
Module sqlalchemy.orm.session:*279* in |_connection_for_bind|
>> <imap://[email protected]:993/fetch%3EUID%3E/Junk%20E-Mail%3E13#>if self.session.twophase and self._parent is None:
*AttributeError: 'NoneType' object has no attribute 'twophase'*
CGI Variables
AUTH_TYPE       'cookie'
CONTENT_LENGTH  '0'
HTTP_ACCEPT     'text/css,*/*;q=0.1'
HTTP_ACCEPT_CHARSET     'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
HTTP_ACCEPT_ENCODING    'gzip,deflate,sdch'
HTTP_ACCEPT_LANGUAGE    'en-US,en;q=0.8'
HTTP_CACHE_CONTROL      'max-age=0'
HTTP_CONNECTION         'keep-alive'
HTTP_COOKIE 'baruwa=b07a9838d4e57d154f8dbb11cb12349441cf09b675e57bb3f2f84983849c55b9d8563a34; baruwaauth="648ec1e022e10b1497c2240218d99b3951af6ddbmailscanner_admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x3390f10>,!userid_type:unicode"'
HTTP_HOST       '10.10.1.29:5000'
HTTP_REFERER '*Baruwa warning: numerical links are often malicious:* http://10.10.1.29:5000/' HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31'
PATH_INFO       '/css/text.css'
REMOTE_ADDR     '10.10.62.10'
REMOTE_USER_DATA        'userid_type:unicode'
REMOTE_USER_TOKENS ['<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x3390f10>', '']
REQUEST_METHOD  'GET'
SERVER_NAME     '0.0.0.0'
SERVER_PORT     '5000'
SERVER_PROTOCOL         'HTTP/1.1'

WSGI Variables
application     <baruwa.lib.auth.middleware.BaruwaPAM object at 0x1a22590>
paste.cookies (<SimpleCookie: baruwa='b07a9838d4e57d154f8dbb11cb12349441cf09b675e57bb3f2f84983849c55b9d8563a34' baruwaauth='648ec1e022e10b1497c2240218d99b3951af6ddbmailscanner_admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x3390f10>,!userid_type:unicode'>, 'baruwa=b07a9838d4e57d154f8dbb11cb12349441cf09b675e57bb3f2f84983849c55b9d8563a34; baruwaauth="648ec1e022e10b1497c2240218d99b3951af6ddbmailscanner_admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x3390f10>,!userid_type:unicode"') paste.httpserver.thread_pool <paste.httpserver.ThreadPool object at 0x1b811d0>
paste.registry  <paste.registry.Registry object at 0x59dc150>
paste.throw_errors      True
repoze.who.application <beaker.middleware.SessionMiddleware object at 0x3c2b990>
repoze.who.logger       <logging.Logger object at 0x3d85b10>
repoze.who.plugins {'authorization_md': <repoze.what.middleware.AuthorizationMetadata object at 0x1a22650>, 'form': <FriendlyFormPlugin 63141968>, 'baruwa_pop3_auth': <baruwa.lib.auth.pop3auth.BaruwaPOPAuthPlugin object at 0x3cb7e10>, 'baruwa_smtp_auth': <baruwa.lib.auth.smtpauth.BaruwaSMTPAuthPlugin object at 0x3cb7d10>, 'baruwa_radius_auth': <baruwa.lib.auth.radiusauth.BaruwaRadiusAuthPlugin object at 0x3c7cb50>, 'sa_auth': <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0x3c37a10>, 'auth_tkt': <AuthTktCookiePlugin 64480208>, 'baruwa_imap_auth': <baruwa.lib.auth.imapauth.BaruwaIMAPAuthPlugin object at 0x3d29950>, 'sa_md': <repoze.who.plugins.sa.SQLAlchemyUserMDPlugin object at 0x3d33810>, 'baruwa_ldap_auth': <BaruwaLDAPAuthPlugin 63143632>}
webob._parsed_query_vars        (GET([]), '')
wsgi process    'Multithreaded'


Anyone able to shed any light on this?

Thanks in advance.

Regards,

Chris


_______________________________________________
http://pledgie.com/campaigns/12056

_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to