#7035 Trac wiki import errors on child pages with "," in name

v1.1.0
closed
General
Cory Johns
2015-08-20
2014-01-08
No

E.g importing from http://sourceforge.net/apps/trac/shareaza/wiki/ See http://sourceforge.net/apps/trac/shareaza/wiki/TitleIndex for a list of its pages. Error is:

Traceback (most recent call last):
  File "/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/model/monq_model.py", line 258, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeImporters/forgeimporters/base.py", line 122, in import_tool
    mount_point=mount_point, mount_label=mount_label, **kw)
  File "/var/local/env-allura/lib/python2.7/site-packages/tracwikiimporter/importer.py", line 118, in import_tool
    load_data(f.name, WikiFromTrac.parser(), options)
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeWiki/forgewiki/scripts/wiki_from_trac/loaders.py", line 54, in load_data
    import_wiki(cli, options.project, options.wiki, options, doc_txt)
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeWiki/forgewiki/scripts/wiki_from_trac/loaders.py", line 70, in import_wiki
    r = cli.call(url + '/' + title, **page)
  File "/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/lib/import_api.py", line 63, in call
    raise e
HTTPError: HTTP Error 403: Forbidden

Discussion

  • Dave Brondsema

    Dave Brondsema - 2014-01-10
    • Size: --> 1
     
  • Dave Brondsema

    Dave Brondsema - 2014-01-10
    • Milestone: forge-backlog --> forge-jan-24
     
  • Dave Brondsema

    Dave Brondsema - 2014-01-14
    • status: open --> in-progress
    • assigned_to: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2014-01-14
    • summary: Trac wiki import errors on child pages with "/" in name --> Trac wiki import errors on child pages with "," in name
     
  • Dave Brondsema

    Dave Brondsema - 2014-01-14

    Subpages are already handled. Turns out to be a URL escaping consistency issue.

     
  • Dave Brondsema

    Dave Brondsema - 2014-01-14
    • status: in-progress --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2014-01-14

    {allura,tracwikiimporter}:db/7035

     
  • Cory Johns

    Cory Johns - 2014-01-20
    • QA: Cory Johns
     
  • Cory Johns

    Cory Johns - 2014-01-24
    • status: code-review --> closed