Message10442

Author asalabaev
Recipients asalabaev, helix84, public.marvin, zyasoft
Date 2015-11-09.13:02:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447074148.19.0.000396017686217.issue2392@psf.upfronthosting.co.za>
In-reply-to
Content
And (sorry for spamming) today the error occurred from another python code:

  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/urllib.py", line 89, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/urllib.py", line 222, in retrieve
    fp = self.open(url, data)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/urllib.py", line 190, in open
    return getattr(self, name)(url)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/urllib.py", line 190, in open
    return getattr(self, name)(url)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/urllib.py", line 278, in open_http
    user_passwd, host = splituser(host)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/urllib.py", line 1047, in splituser
    _userprog = re.compile('^(.*)@(.*)$')
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/re.py", line 188, in compile
    return _compile(pattern, flags)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/re.py", line 239, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/re.py", line 239, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/sre_compile.py", line 516, in compile
    code = _code(p, flags)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/sre_compile.py", line 500, in _code
    _compile(code, p.data, flags)
  File "/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/jython2.5.3/Lib/sre_compile.py", line 182, in _compile
    raise ValueError, ("unsupported operand type", op)
ValueError: ('unsupported operand type', 'at')

Hope this helps. The jython is a so great tool, there's one thing that worries. I wonder if it is possible to rewrite the re with java regex package and if it can be more stable. Does it make any sense? I can offer my help in whatever you find useful to resolve this annoying issue
History
Date User Action Args
2015-11-09 13:02:28asalabaevsetmessageid: <1447074148.19.0.000396017686217.issue2392@psf.upfronthosting.co.za>
2015-11-09 13:02:28asalabaevsetrecipients: + asalabaev, zyasoft, public.marvin, helix84
2015-11-09 13:02:28asalabaevlinkissue2392 messages
2015-11-09 13:02:26asalabaevcreate