Johan Hendriks schreef op 2013-09-27 11:21:
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/ [1] 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__

[2]app_iter = self.application(environ, sr_checker)
 Module repoze.who.middleware:85 in __call__

[2]self.add_metadata(environ, classification, identity)
 Module repoze.who.middleware:179 in add_metadata

[2]plugin.add_metadata(environ, identity)
 Module repoze.who.plugins.sa:210 in add_metadata

[2]identity['user'] = self.get_user(identity['repoze.who.userid'] )
 Module repoze.who.plugins.sa:64 in get_user

[2]return query.one()
 Module sqlalchemy.orm.query:1744 in one

[2]ret = list(self)
 Module baruwa.lib.caching_query:77 in __iter__

[2]return Query.__iter__(self)
 Module sqlalchemy.orm.query:1787 in __iter__

[2]return self._execute_and_instances(context)
 Module sqlalchemy.orm.query:1800 in _execute_and_instances

[2]close_with_result=True)
 Module sqlalchemy.orm.query:1791 in _connection_from_session

[2]**kw)
 Module sqlalchemy.orm.session:690 in connection

[2]close_with_result=close_with_result)
 Module sqlalchemy.orm.session:694 in _connection_for_bind

[2]return self.transaction._connection_for_bind(engine)
 Module sqlalchemy.orm.session:248 in _connection_for_bind

[2]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
                'MAILSCANNER HAS DETECTED A POSSIBLE FRAUD ATTEMPT FROM
"192.168.1.247:5000" CLAIMING TO BE BARUWA WARNING: NUMERICAL LINKS
ARE OFTEN MALICIOUS: http://192.168.1.247:5000/ [3]'

                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


Links:
------
[1] http://localhost:5000/
[2] https://webmail.schavemaker.com/roundcube/#NOP
[3] http://192.168.1.247:5000/

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

No one.
Well i installed mailwatch again, all is fine :D



--
Johan Hendriks
Support
Schavemaker Transport

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

Reply via email to