Hello all !
I think i am getting closer to why messages do not get into the database.
Wehn i try to do the steps in 5f i get the following error
Step 5f: Test using builtin server
Now that Baruwa itself is installed and the basics are configured, we
can test it out using the Paste server. It's bundled with Pylons so you
have it already, simply run:
paster serve --reload /etc/baruwa/production.ini
Now open http://localhost:5000/ to see how it works! You can try to
login with the username and password you provided when you populated the
database.
This is the error that gets mailed.
I did search the mailing list and some else got it to.
But he was able to get by this switching to apache, but i already use
apache?
Does some one knows how to overcome this?
Module weberror.errormiddleware:*162* in |__call__|
>> <https://webmail.schavemaker.com/roundcube/#NOP>app_iter =
self.application(environ, sr_checker)
Module repoze.who.middleware:*85* in |__call__|
>>
<https://webmail.schavemaker.com/roundcube/#NOP>self.add_metadata(environ,
classification, identity)
Module repoze.who.middleware:*179* in |add_metadata|
>>
<https://webmail.schavemaker.com/roundcube/#NOP>plugin.add_metadata(environ,
identity)
Module repoze.who.plugins.sa:*210* in |add_metadata|
>> <https://webmail.schavemaker.com/roundcube/#NOP>identity['user'] =
self.get_user(identity['repoze.who.userid'] )
Module repoze.who.plugins.sa:*64* in |get_user|
>> <https://webmail.schavemaker.com/roundcube/#NOP>return query.one()
Module sqlalchemy.orm.query:*1744* in |one|
>> <https://webmail.schavemaker.com/roundcube/#NOP>ret = list(self)
Module baruwa.lib.caching_query:*77* in |__iter__|
>> <https://webmail.schavemaker.com/roundcube/#NOP>return
Query.__iter__(self)
Module sqlalchemy.orm.query:*1787* in |__iter__|
>> <https://webmail.schavemaker.com/roundcube/#NOP>return
self._execute_and_instances(context)
Module sqlalchemy.orm.query:*1800* in |_execute_and_instances|
>> <https://webmail.schavemaker.com/roundcube/#NOP>close_with_result=True)
Module sqlalchemy.orm.query:*1791* in |_connection_from_session|
>> <https://webmail.schavemaker.com/roundcube/#NOP>**kw)
Module sqlalchemy.orm.session:*690* in |connection|
>>
<https://webmail.schavemaker.com/roundcube/#NOP>close_with_result=close_with_result)
Module sqlalchemy.orm.session:*694* in |_connection_for_bind|
>> <https://webmail.schavemaker.com/roundcube/#NOP>return
self.transaction._connection_for_bind(engine)
Module sqlalchemy.orm.session:*248* in |_connection_for_bind|
>> <https://webmail.schavemaker.com/roundcube/#NOP>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 '*/*'
HTTP_ACCEPT_ENCODING 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE 'nl,en-us;q=0.7,en;q=0.3'
HTTP_CONNECTION 'keep-alive'
HTTP_COOKIE
'baruwa=b9a021f963cdffaf330be45b22a4461d7086d1410c02af33245b488eb0235db1530e0c4d;
baruwaauth="3fd34c0531238125185b072628377383524000a4admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin
object at 0x8166ca0d0>,!userid_type:unicode"'
HTTP_HOST '192.168.1.247:5000'
HTTP_REFERER 'http://192.168.1.247:5000/'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0)
Gecko/20100101 Firefox/24.0'
PATH_INFO '/js/baruwa/dates.js'
REMOTE_ADDR '192.168.1.129'
REMOTE_USER_DATA 'userid_type:unicode'
REMOTE_USER_TOKENS
['<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at
0x8166ca0d0>', '']
REQUEST_METHOD 'GET'
SERVER_NAME '192.168.1.247'
SERVER_PORT '5000'
SERVER_PROTOCOL 'HTTP/1.1'
WSGI Variables
application <baruwa.lib.auth.middleware.BaruwaPAM object at 0x80cdbed10>
paste.cookies (<SimpleCookie:
baruwa='b9a021f963cdffaf330be45b22a4461d7086d1410c02af33245b488eb0235db1530e0c4d'
baruwaauth='3fd34c0531238125185b072628377383524000a4admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin
object at 0x8166ca0d0>,!userid_type:unicode'>,
'baruwa=b9a021f963cdffaf330be45b22a4461d7086d1410c02af33245b488eb0235db1530e0c4d;
baruwaauth="3fd34c0531238125185b072628377383524000a4admin!<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin
object at 0x8166ca0d0>,!userid_type:unicode"')
paste.httpserver.thread_pool <paste.httpserver.ThreadPool object at
0x805fb9fd0>
paste.registry <paste.registry.Registry object at 0x811704ad0>
paste.throw_errors True
repoze.who.application <beaker.middleware.SessionMiddleware object at
0x80cdbe9d0>
repoze.who.logger <logging.Logger object at 0x80f603fd0>
repoze.who.plugins {'authorization_md':
<repoze.what.middleware.AuthorizationMetadata object at 0x80cdbecd0>,
'form': <FriendlyFormPlugin 34575506128>, 'baruwa_pop3_auth':
<baruwa.lib.auth.pop3auth.BaruwaPOPAuthPlugin object at 0x80f504050>,
'baruwa_smtp_auth': <baruwa.lib.auth.smtpauth.BaruwaSMTPAuthPlugin
object at 0x80f4f9f10>, 'baruwa_radius_auth':
<baruwa.lib.auth.radiusauth.BaruwaRadiusAuthPlugin object at
0x80cdd0d90>, 'sa_auth':
<repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at
0x80cdd00d0>, 'auth_tkt': <AuthTktCookiePlugin 34617612176>,
'baruwa_imap_auth': <baruwa.lib.auth.imapauth.BaruwaIMAPAuthPlugin
object at 0x80f520790>, 'sa_md':
<repoze.who.plugins.sa.SQLAlchemyUserMDPlugin object at 0x80f520b50>,
'baruwa_ldap_auth': <BaruwaLDAPAuthPlugin 34575548752>}
webob._parsed_query_vars (GET([]), '')
wsgi process 'Multithreaded'
regards
Johan
_______________________________________________
http://pledgie.com/campaigns/12056