user1960836
user1960836

Reputation: 1782

funnelweb IndexError

I am trying to upload imported pages to plone using funnelweb. I have made a few posts regarding funnelweb, I guess I could mail the creators of the add-on to help solve this problem, but I think that others might need help with the same particular problem. Therefor it is more useful for everyone if the post is public, and not through mail :-)

Now to my problem. To upload the imported pages to plone, I have typed:

bin/funnelweb ploneupload:target://admin:password@localhost:8080/Wiki

I get the follwing error:

    Traceback (most recent call last):
  File "bin/funnelweb", line 116, in <module>
    mr.migrator.runner.runner({},"funnelweb.remote")
  File "/home/magiq/Plone/buildout-cache/eggs/mr.migrator-1.0.1-py2.7.egg/mr/migrator/runner/__init__.py", line 132, in runner
    transmogrifier(pipelineid, **overrides)
  File "/home/magiq/Plone/buildout-cache/eggs/collective.transmogrifier-1.3-py2.7.egg/collective/transmogrifier/transmogrifier.py", line 59, in __call__
    pipeline = constructPipeline(self, sections)       
  File "/home/magiq/Plone/buildout-cache/eggs/collective.transmogrifier-1.3-py2.7.egg/collective/transmogrifier/utils.py", line 52, in constructPipeline
    pipeline)
  File "/home/magiq/Plone/buildout-cache/eggs/transmogrify.webcrawler-1.2.1-py2.7.egg/transmogrify/webcrawler/webcrawler.py", line 169, in __init__
    if self.site_url[-1] != '/':
IndexError: string index out of range

Any suggestion about how to solve this? I guess it's a bug.

Does this add-on have a lot of bugs, or is it just that it doesn't do well with the newer version of plone?

Upvotes: 0

Views: 104

Answers (1)

Martijn Pieters
Martijn Pieters

Reputation: 1123420

You did not specify a source to funnel from. The error is thrown because there is no site url to crawl and upload.

Try:

bin/funnelweb --crawler:url=http://wiki.scandiatransplant.com --crawler:max=50 --ploneupload:target=http://admin:admin@localhost:8080/TestPage

Upvotes: 1

Related Questions