ERROR: data.configure(): list index out of range
Lars Täuber
taeuber at bbaw.de
Fri Jun 5 09:50:43 CEST 2015
Hi Christian,
here is a debug output:
2015-06-05 08:54:03,671 DEBUG: --------------- BEGIN environ ---------------
2015-06-05 08:54:03,672 DEBUG: mod_wsgi.listener_port: 443
2015-06-05 08:54:03,672 DEBUG: mod_wsgi.listener_host:
2015-06-05 08:54:03,672 DEBUG: CONTEXT_DOCUMENT_ROOT: /var/www/html/bbaw.de
2015-06-05 08:54:03,672 DEBUG: SERVER_SOFTWARE: Apache/2.4.7 (Ubuntu)
2015-06-05 08:54:03,672 DEBUG: SCRIPT_NAME: /mail/config-v1.1.xml
2015-06-05 08:54:03,672 DEBUG: mod_wsgi.enable_sendfile: 0
2015-06-05 08:54:03,672 DEBUG: mod_wsgi.handler_script:
2015-06-05 08:54:03,672 DEBUG: SERVER_SIGNATURE: <address>Apache/2.4.7 (Ubuntu) Server at autoconfig.bbaw.de Port 443</address>
2015-06-05 08:54:03,673 DEBUG: REQUEST_METHOD: GET
2015-06-05 08:54:03,673 DEBUG: PATH_INFO:
2015-06-05 08:54:03,673 DEBUG: SERVER_PROTOCOL: HTTP/1.1
2015-06-05 08:54:03,673 DEBUG: QUERY_STRING: emailaddress=XXXXX%2540bbaw.de
2015-06-05 08:54:03,673 DEBUG: SSL_TLS_SNI: autoconfig.bbaw.de
2015-06-05 08:54:03,673 DEBUG: HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
2015-06-05 08:54:03,673 DEBUG: HTTP_CONNECTION: keep-alive
2015-06-05 08:54:03,673 DEBUG: SERVER_NAME: autoconfig.bbaw.de
2015-06-05 08:54:03,674 DEBUG: REMOTE_ADDR: xxx.yyy.zzz.aaa
2015-06-05 08:54:03,674 DEBUG: mod_wsgi.queue_start: 1433487243666606
2015-06-05 08:54:03,674 DEBUG: mod_wsgi.request_handler: wsgi-script
2015-06-05 08:54:03,674 DEBUG: wsgi.url_scheme: https
2015-06-05 08:54:03,674 DEBUG: mod_wsgi.callable_object: application
2015-06-05 08:54:03,674 DEBUG: SERVER_PORT: 443
2015-06-05 08:54:03,674 DEBUG: wsgi.multiprocess: True
2015-06-05 08:54:03,674 DEBUG: mod_wsgi.input_chunked: 0
2015-06-05 08:54:03,675 DEBUG: SERVER_ADDR: 194.95.188.79
2015-06-05 08:54:03,675 DEBUG: DOCUMENT_ROOT: /var/www/html/bbaw.de
2015-06-05 08:54:03,675 DEBUG: mod_wsgi.process_group:
2015-06-05 08:54:03,675 DEBUG: SCRIPT_FILENAME: /usr/share/pyshared/automx_wsgi.py
2015-06-05 08:54:03,675 DEBUG: SERVER_ADMIN: postmaster at bbaw.de
2015-06-05 08:54:03,675 DEBUG: wsgi.input: <mod_wsgi.Input object at 0x7f03e35a4930>
2015-06-05 08:54:03,675 DEBUG: HTTP_HOST: autoconfig.bbaw.de
2015-06-05 08:54:03,675 DEBUG: CONTEXT_PREFIX:
2015-06-05 08:54:03,676 DEBUG: wsgi.multithread: False
2015-06-05 08:54:03,676 DEBUG: REQUEST_URI: /mail/config-v1.1.xml?emailaddress=XXXXX%2540bbaw.de
2015-06-05 08:54:03,676 DEBUG: HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
2015-06-05 08:54:03,676 DEBUG: wsgi.version: (1, 0)
2015-06-05 08:54:03,676 DEBUG: GATEWAY_INTERFACE: CGI/1.1
2015-06-05 08:54:03,676 DEBUG: wsgi.run_once: False
2015-06-05 08:54:03,676 DEBUG: wsgi.errors: <mod_wsgi.Log object at 0x7f03e35a44b0>
2015-06-05 08:54:03,677 DEBUG: REMOTE_PORT: 49706
2015-06-05 08:54:03,677 DEBUG: HTTP_ACCEPT_LANGUAGE: de,en-US;q=0.7,en;q=0.3
2015-06-05 08:54:03,677 DEBUG: REQUEST_SCHEME: https
2015-06-05 08:54:03,677 DEBUG: mod_wsgi.version: (3, 4)
2015-06-05 08:54:03,677 DEBUG: mod_wsgi.application_group: automx.bbaw.de|/mail/config-v1.1.xml
2015-06-05 08:54:03,677 DEBUG: mod_wsgi.script_reloading: 1
2015-06-05 08:54:03,677 DEBUG: wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f03e3598eb8>
2015-06-05 08:54:03,677 DEBUG: HTTP_ACCEPT_ENCODING: gzip, deflate
2015-06-05 08:54:03,677 DEBUG: --------------- END environ ---------------
2015-06-05 08:54:03,678 DEBUG: Request GET: QUERY_STRING: emailaddress=XXXXX%2540bbaw.de
2015-06-05 08:54:03,678 DEBUG: Entering data.configure()
2015-06-05 08:54:03,680 ERROR: Traceback (most recent call last):
File "/usr/share/pyshared/automx_wsgi.py", line 203, in application
data.configure(emailaddress, cn, password)
File "/usr/lib/python2.7/dist-packages/automx/config.py", line 136, in configure
domain = emailaddress.split("@")[1]
IndexError: list index out of range
2015-06-05 08:54:03,680 DEBUG: Response:
Does this help or is this fixed in a newer version than ours? It seems the "%2540" should have been a "@" in the email address.
Thanks
Lars
Thu, 4 Jun 2015 14:53:41 +0200
Lars Täuber <taeuber at bbaw.de> ==> automx-users at sys4.de :
> I'm using the version shipped with Ubuntu 14.04 LTS.
> It's a 0.10.0-2.
>
> I should update.
>
> Lars
>
>
> Thu, 4 Jun 2015 14:25:20 +0200
> Christian Rößner <c at roessner.co> ==> Lars Täuber <taeuber at bbaw.de> :
> >
> > > Am 04.06.2015 um 14:10 schrieb Lars Täuber <taeuber at bbaw.de>:
> > >
> > > Next time this happens again I'll post the logs.
> >
> > BTW: Which version of automx are you currently using?
> >
> > You can checkout the current master-branch on Github, as it is quite stable (and we will soon release a new minor bugfix-release).
> >
> > Christian
> >
> > >
> > > Thanks
> > > Lars
> > >
> > > PS: Das ".de" suggerierte mir eine deutsche Liste. Sorry.
> > >
> > > Thu, 4 Jun 2015 13:56:37 +0200
> > > Christian Rößner <c at roessner-network-solutions.com> ==> Lars Täuber <taeuber at bbaw.de> :
> > >> Hi,
> > >>
> > >>> Am 04.06.2015 um 11:21 schrieb Lars Täuber <taeuber at bbaw.de>:
> > >>>
> > >>> Hallo!
> > >>>
> > >>> Auch nach Nachinstallation von memcache, tritt der Fehler wieder auf.
> > >>> Leider lässt sich das Verhalten nicht mit automx-test nachvollziehen.
> > >>>
> > >>> Hat jemand noch 'n Tipp? Python ist nicht so meine Stärke.
> > >>
> > >> da die Liste international ist, antworte ich mal auf Englisch.
> > >>
> > >> English:
> > >>
> > >> Did you enable logging for automx? Also Debugging?
> > >>
> > >> [automx]
> > >> ...
> > >> debug = yes
> > >> logfile = /var/log/automx/automx.log
> > >>
> > >> Make sure that the user running automx-wsgi has proper write permissions to the log file. Maybe we can see what happened after investigating the logs.
> > >>
> > >> Christian
> > >>
> > >>>
> > >>> Dank und Grüße
> > >>> Lars
> > >>>
> > >>> Wed, 3 Jun 2015 10:25:02 +0200
> > >>> Lars Täuber <taeuber at bbaw.de> ==> automx-users at sys4.de :
> > >>>> Hallo,
> > >>>>
> > >>>> was bedeutet diese Fehlermeldung?
> > >>>> ERROR: data.configure(): list index out of range
> > >>>>
> > >>>> Hier werden die Informationen aus einem LDAP gelesen.
> > >>>> Diese Informationen werden laut automx-test allerdings korrekt abgefragt und beantwortet.
> > >>>> Dennoch gibt es Clients (Thunderbird), die die Konfiguration nicht korrekt auswerten.
> > >>>>
> > >>>> Danke
> > >>>> Lars
> > >>
> >
>
>
--
Informationstechnologie
Berlin-Brandenburgische Akademie der Wissenschaften
Jägerstraße 22-23 10117 Berlin
Tel.: +49 30 20370-352 http://www.bbaw.de
More information about the automx-users
mailing list