incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <brond...@users.sf.net>
Subject [allura:tickets] #7124 Validate Trac URLs before importing
Date Wed, 05 Feb 2014 15:40:03 GMT
~~~~
ERROR: tracwikiimporter.tests.test_importer:TestWikiExporter.test_page_list__special_chars
  vim +184 tracwikiimporter/tests/test_importer.py  # test_page_list__special_chars
    exp = WikiExporterFunnyPages('http://example.com/trac/', Mock())
  vim +98  tracwikiimporter/scripts/wiki_from_trac/extractors.py  # __init__
    self.base_url = TracURLValidator().to_python(base_url)
  vim +419 /var/local/env-allura/lib/python2.7/site-packages/FormEncode-1.2.4-py2.7.egg/formencode/api.py
 # to_python
    value = tp(value, state)
  vim +43  /home/dbrondsema/dbrondsema-1019/forge/ForgeImporters/forgeimporters/trac/__init__.py
 # _to_python
    raise fev.Invalid(self.message('unavailable', state), value, state)
Invalid: This project is unavailable for import

ERROR: tracwikiimporter.tests.test_importer:TestWikiExporter.test_url_canonicalization
  vim +169 tracwikiimporter/tests/test_importer.py  # test_url_canonicalization
    self.assertEqual(WikiExporter('http://foo.com/wiki/bar/', None).base_url,
  vim +98  tracwikiimporter/scripts/wiki_from_trac/extractors.py  # __init__
    self.base_url = TracURLValidator().to_python(base_url)
  vim +419 /var/local/env-allura/lib/python2.7/site-packages/FormEncode-1.2.4-py2.7.egg/formencode/api.py
 # to_python
    value = tp(value, state)
  vim +43  /home/dbrondsema/dbrondsema-1019/forge/ForgeImporters/forgeimporters/trac/__init__.py
 # _to_python
    raise fev.Invalid(self.message('unavailable', state), value, state)
Invalid: This project is unavailable for import
~~~~


---

** [tickets:#7124] Validate Trac URLs before importing**

**Status:** in-progress
**Labels:** import 
**Created:** Fri Jan 31, 2014 06:19 PM UTC by Cory Johns
**Last Updated:** Tue Feb 04, 2014 11:22 PM UTC
**Owner:** Cory Johns

https://sourceforge.net/nf/admin/task_manager/view/52ebe3f21be1ce2af7b78b31

Validate Trac URLs so we don't get 404s or spurious NoneType errors during import.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message