Re: Trying to setup new current

Hunter Matthews <[email protected]> 23 Oct 2002 11:26:27 -0400
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
Well, at least I now know where current's getting that prce reference
from. I never thought to look for re usage in the config file.

I've never seen this error before - I think its due to Mindaugas setup
of re, but I've been surprised beofore.

Can ANYONE else tell me if they've seen this failure before?
Specifically in configfile and its use of pcre?
("import re")


On Wed, 2002-10-23 at 07:02, Mindaugas Riauba wrote:
> > >   1.0.6 works without problems. Thanks. So what could be the problem why
> > > 1.4 series does not work? And maybe I could do something about it?
> >
> > 1.4.2 was released yesterday, and as far as we know it DOES work.
> 
>   No luck yet. Errors almost the same but a bit different.
> 
>   Mindaugas
> 
> [Wed Oct 23 12:59:15 2002] [error] PythonHandler current_apache: Traceback
> (inne
> rmost last):
> [Wed Oct 23 12:59:15 2002] [error] PythonHandler current_apache:   File
> "/usr/li
> b/python1.5/site-packages/mod_python/apache.py", line 181, in Dispatch
>     module = import_module(module_name, _req)
> [Wed Oct 23 12:59:15 2002] [error] PythonHandler current_apache:   File
> "/usr/li
> b/python1.5/site-packages/mod_python/apache.py", line 335, in import_module
>     module = imp.load_module(mname, f, p, d)
> [Wed Oct 23 12:59:15 2002] [error] PythonHandler current_apache:   File
> "/usr/sh
> are/current/current_apache.py", line 26, in ?
>     import xmlrpclib
> [Wed Oct 23 12:59:15 2002] [error] PythonHandler current_apache:   File
> "/usr/li
> b/python1.5/site-packages/xmlrpclib.py", line 28, in ?
>     import urllib, xmllib
> [Wed Oct 23 12:59:15 2002] [error] PythonHandler current_apache:   File
> "/usr/li
> b/python1.5/site-packages/xmllib.py", line 21, in ?
>     entityref = re.compile('&(?P<name>' + _Name + ')[^-a-zA-Z0-9._:]')
> [Wed Oct 23 12:59:15 2002] [error] PythonHandler current_apache:   File
> "/usr/li
> b/python1.5/site-packages/re.py", line 79, in compile
>     code=pcre_compile(pattern, flags, groupindex)
> [Wed Oct 23 12:59:15 2002] [error] PythonHandler current_apache: pcre.error:
> ('\
> \ at end of pattern', 1821)
> 
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache: Traceback
> (inne
> rmost last):
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache:   File
> "/usr/li
> b/python1.5/site-packages/mod_python/apache.py", line 181, in Dispatch
>     module = import_module(module_name, _req)
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache:   File
> "/usr/li
> b/python1.5/site-packages/mod_python/apache.py", line 335, in import_module
>     module = imp.load_module(mname, f, p, d)
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache:   File
> "/usr/sh
> are/current/current_apache.py", line 34, in ?
>     from logger import *
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache:   File
> "/usr/sh
> are/current/logger.py", line 16, in ?
>     import config
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache:   File
> "config.
> py", line 27, in ?
>     import configfile
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache:   File
> "/usr/sh
> are/current/configfile.py", line 176, in ?
>     class ConfigParser:
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache:   File
> "/usr/sh
> are/current/configfile.py", line 389, in ConfigParser
>     SECTCRE = re.compile(
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache:   File
> "/usr/li
> b/python1.5/site-packages/re.py", line 79, in compile
>     code=pcre_compile(pattern, flags, groupindex)
> [Wed Oct 23 12:59:36 2002] [error] PythonHandler current_apache: pcre.error:
> ('b
> ack reference to non-existent subpattern', 18)
> 
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server
> 
> 
-- 
Hunter Matthews                          Unix / Network Administrator
Office: BioScience 145/244               Duke Univ. Biology Department
Key: F0F88438 / FFB5 34C0 B350 99A4 BB02  9779 A5DB 8B09 F0F8 8438
Never take candy from strangers. Especially on the internet.