-
Couldn't load subscription status.
- Fork 21
Open
Description
- fresh zope installation
- create new catalog
- hit find tab
- in the field besides modified enter any text (e.g. modified after lunch)
=> internal server error
traceback
2019-11-07 20:39:09 ERROR [Zope.SiteErrorLog:251][waitress] 1573155549.5665980.2757715629409838 http://localhost:8080/some_folder/animal_catalog/manage_catalogFoundItems
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 151, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 333, in publish_module
Module ZPublisher.WSGIPublisher, line 251, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZPublisher.WSGIPublisher, line 57, in call_object
Module Products.ZCatalog.ZCatalog, line 328, in manage_catalogFoundItems
Module Products.ZCatalog.ZCatalog, line 675, in ZopeFindAndApply
Module DateTime.DateTime, line 443, in __init__
Module DateTime.DateTime, line 754, in _parse_args
Module DateTime.DateTime, line 994, in _parse
File "<string>", line None
SyntaxError: lunch
2019-11-07 20:39:09 ERROR [waitress:363][waitress] Exception while serving /some_folder/animal_catalog/manage_catalogFoundItems
Traceback (most recent call last):
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 151, in transaction_pubevents
yield
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 333, in publish_module
response = _publish(request, new_mod_info)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 251, in publish
bind=1)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/mapply.py", line 85, in mapply
return debug(object, args, context)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 57, in call_object
return obj(*args)
File "/home/jugmac00/Tests/Zope/eggs/Products.ZCatalog-5.0.1-py3.6.egg/Products/ZCatalog/ZCatalog.py", line 328, in manage_catalogFoundItems
apply_path=path)
File "/home/jugmac00/Tests/Zope/eggs/Products.ZCatalog-5.0.1-py3.6.egg/Products/ZCatalog/ZCatalog.py", line 675, in ZopeFindAndApply
obj_mtime = DateTime(obj_mtime).timeTime()
File "/home/jugmac00/Tests/Zope/eggs/DateTime-4.3-py3.6.egg/DateTime/DateTime.py", line 443, in __init__
return self._parse_args(*args, **kw)
File "/home/jugmac00/Tests/Zope/eggs/DateTime-4.3-py3.6.egg/DateTime/DateTime.py", line 754, in _parse_args
yr, mo, dy, hr, mn, sc, tz = self._parse(arg, datefmt)
File "/home/jugmac00/Tests/Zope/eggs/DateTime-4.3-py3.6.egg/DateTime/DateTime.py", line 994, in _parse
raise SyntaxError(st)
DateTime.interfaces.SyntaxError: lunch
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jugmac00/Tests/Zope/eggs/waitress-1.3.1-py3.6.egg/waitress/channel.py", line 356, in service
task.service()
File "/home/jugmac00/Tests/Zope/eggs/waitress-1.3.1-py3.6.egg/waitress/task.py", line 172, in service
self.execute()
File "/home/jugmac00/Tests/Zope/eggs/waitress-1.3.1-py3.6.egg/waitress/task.py", line 440, in execute
app_iter = self.channel.server.application(environ, start_response)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/httpexceptions.py", line 30, in __call__
return self.application(environ, start_response)
File "/home/jugmac00/Tests/Zope/eggs/Paste-3.1.1-py3.6.egg/paste/translogger.py", line 69, in __call__
return self.application(environ, replacement_start_response)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 338, in publish_module
environ['REMOTE_USER'] = user.getUserName()
File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
self.gen.throw(type, value, traceback)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 209, in transaction_pubevents
reraise(*exc_info)
File "/home/jugmac00/Tests/Zope/eggs/six-1.12.0-py3.6.egg/six.py", line 692, in reraise
raise value.with_traceback(tb)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 151, in transaction_pubevents
yield
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 333, in publish_module
response = _publish(request, new_mod_info)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 251, in publish
bind=1)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/mapply.py", line 85, in mapply
return debug(object, args, context)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 57, in call_object
return obj(*args)
File "/home/jugmac00/Tests/Zope/eggs/Products.ZCatalog-5.0.1-py3.6.egg/Products/ZCatalog/ZCatalog.py", line 328, in manage_catalogFoundItems
apply_path=path)
File "/home/jugmac00/Tests/Zope/eggs/Products.ZCatalog-5.0.1-py3.6.egg/Products/ZCatalog/ZCatalog.py", line 675, in ZopeFindAndApply
obj_mtime = DateTime(obj_mtime).timeTime()
File "/home/jugmac00/Tests/Zope/eggs/DateTime-4.3-py3.6.egg/DateTime/DateTime.py", line 443, in __init__
return self._parse_args(*args, **kw)
File "/home/jugmac00/Tests/Zope/eggs/DateTime-4.3-py3.6.egg/DateTime/DateTime.py", line 754, in _parse_args
yr, mo, dy, hr, mn, sc, tz = self._parse(arg, datefmt)
File "/home/jugmac00/Tests/Zope/eggs/DateTime-4.3-py3.6.egg/DateTime/DateTime.py", line 994, in _parse
raise SyntaxError(st)
File "<string>", line None
SyntaxError: lunch
when you enter a number or try to guess a date format you get a different traceback
e.g. 10.10.2010
2019-11-07 20:41:22 ERROR [Zope.SiteErrorLog:251][waitress] 1573155682.67164590.1172741242200459 http://localhost:8080/some_folder/animal_catalog/manage_catalogFoundItems
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 151, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 333, in publish_module
Module ZPublisher.WSGIPublisher, line 251, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZPublisher.WSGIPublisher, line 57, in call_object
Module Products.ZCatalog.ZCatalog, line 328, in manage_catalogFoundItems
Module Products.ZCatalog.ZCatalog, line 723, in ZopeFindAndApply
Module Products.ZCatalog.ZCatalog, line 962, in mtime_match
TypeError: 'object' object is not callable
2019-11-07 20:41:22 ERROR [waitress:363][waitress] Exception while serving /some_folder/animal_catalog/manage_catalogFoundItems
Traceback (most recent call last):
File "/home/jugmac00/Tests/Zope/eggs/waitress-1.3.1-py3.6.egg/waitress/channel.py", line 356, in service
task.service()
File "/home/jugmac00/Tests/Zope/eggs/waitress-1.3.1-py3.6.egg/waitress/task.py", line 172, in service
self.execute()
File "/home/jugmac00/Tests/Zope/eggs/waitress-1.3.1-py3.6.egg/waitress/task.py", line 440, in execute
app_iter = self.channel.server.application(environ, start_response)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/httpexceptions.py", line 30, in __call__
return self.application(environ, start_response)
File "/home/jugmac00/Tests/Zope/eggs/Paste-3.1.1-py3.6.egg/paste/translogger.py", line 69, in __call__
return self.application(environ, replacement_start_response)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 333, in publish_module
response = _publish(request, new_mod_info)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 251, in publish
bind=1)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/mapply.py", line 85, in mapply
return debug(object, args, context)
File "/home/jugmac00/Tests/Zope/src/ZPublisher/WSGIPublisher.py", line 57, in call_object
return obj(*args)
File "/home/jugmac00/Tests/Zope/eggs/Products.ZCatalog-5.0.1-py3.6.egg/Products/ZCatalog/ZCatalog.py", line 328, in manage_catalogFoundItems
apply_path=path)
File "/home/jugmac00/Tests/Zope/eggs/Products.ZCatalog-5.0.1-py3.6.egg/Products/ZCatalog/ZCatalog.py", line 723, in ZopeFindAndApply
or mtime_match(ob, obj_mtime, obj_mspec))
File "/home/jugmac00/Tests/Zope/eggs/Products.ZCatalog-5.0.1-py3.6.egg/Products/ZCatalog/ZCatalog.py", line 962, in mtime_match
if mtime is _marker():
TypeError: 'object' object is not callable
Metadata
Metadata
Assignees
Labels
No labels