collective / collective/funnelweb
Failures when trying to generate illegal content give uninformative error messages
- Dominant language
- Python
- Stars
- 14
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I don't know what this one was, but a similar error was generated when I tried to create Document objects inside the Plone "news" folder - which obviously needs "News Item" objects. I suspect that here it is trying to create a Folder - but we can't tell from the message. Please dump the type and source URL before aborting.
```
File "bin/funnelweb", line 115, in
funnelweb.runner.runner({'ploneupload': {'target': 'http://admin:0oFz2RwZ@localhost:12000/otn/news'}, 'template1': {'text': 'html //div[@id="dal_content"]/div[@class="content"]', 'image': 'html //div[@id="dal_content"]/div[@class="content"]/table//img', 'image-caption': 'html //div[@id="dal_content"]/div[@class="content"]/table//font', 'title': 'html //div[@id="dal_content"]/div[@class="content"]/h3'}, 'titleguess': {'condition': 'python:True'}, 'changetype': {'value': "python:{'Document':'News Item'}.get(item['_type'],item['_type'])"}, 'crawler': {'url': 'http://oceantrackingnetwork.org/news'}})
File "/home/derek/aptana/buildout-cache/eggs/funnelweb-1.0b3-py2.6.egg/funnelweb/runner/__init__.py", line 55, in runner
transmogrifier(u'transmogrify.config.funnelweb', **overrides)
File "/home/derek/aptana/buildout-cache/eggs/collective.transmogrifier-1.2-py2.6.egg/collective/transmogrifier/transmogrifier.py", line 62, in __call__
for item in pipeline:
File "/home/derek/aptana/buildout-cache/eggs/transmogrify.webcrawler-1.0b3-py2.6.egg/transmogrify/webcrawler/staticcreator.py", line 34, in __iter__
for item in self.previous:
File "/home/derek/aptana/buildout-cache/eggs/transmogrify.ploneremote-1.0b1-py2.6.egg/transmogrify/ploneremote/remoteprune.py", line 88, in __iter__
for item in self.previous:
File "/home/derek/aptana/buildout-cache/eggs/transmogrify.ploneremote-1.0b1-py2.6.egg/transmogrify/ploneremote/remoteredirector.py", line 27, in __iter__
for item in self.previous:
File "/home/derek/aptana/buildout-cache/eggs/transmogrify.ploneremote-1.0b1-py2.6.egg/transmogrify/ploneremote/remoteworkflowupdater.py", line 41, in __iter__
for item in self.previous:
File "/home/derek/aptana/buildout-cache/eggs/collective.transmogrifier-1.2-py2.6.egg/collective/transmogrifier/sections/inserter.py", line 19, in __iter__
for item in self.previous:
File "/home/derek/aptana/buildout-cache/eggs/transmogrify.ploneremote-1.0b1-py2.6.egg/transmogrify/ploneremote/remotenavigationexcluder.py", line 34, in __iter__
for item in self.previous:
File "/home/derek/aptana/buildout-cache/eggs/transmogrify.ploneremote-1.0b1-py2.6.egg/transmogrify/ploneremote/remoteschemaupdater.py", line 33, in __iter__
for item in self.previous:
File "/home/derek/aptana/buildout-cache/eggs/transmogrify.ploneremote-1.0b1-py2.6.egg/transmogrify/ploneremote/remoteconstructor.py", line 74, in __iter__
pproxy.invokeFactory(type_, id)
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
headers
xmlrpclib.ProtocolError:
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.