incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #7124 Validate Trac URLs before importing
Date Wed, 05 Feb 2014 21:46:04 GMT
Got this when trying to run a trac wiki import:

21:43:56,170 ERROR [taskd:forgeimporters.base.import_tool:52f2b099d8be352dc973da38:allura.model.monq_model]
Error "global name 'urlopen' is not defined" on job <MonQTask 52f2b099d8be352dc973da38
(busy) P:10 forgeimporters.base.import_tool pid 12628 project:/p/testit/
app:admin user:admin1>
Traceback (most recent call last):
  File "/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/model/", line 267,
in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeImporters/forgeimporters/", line
131, in import_tool
    mount_point=mount_point, mount_label=mount_label, **kw)
  File "/nfs/home/dbrondsema/tracwikiimporter/tracwikiimporter/", line 116, in
    WikiExporter(trac_url, options).export(f)
  File "/nfs/home/dbrondsema/tracwikiimporter/tracwikiimporter/scripts/wiki_from_trac/",
line 103, in export
    for title in self.page_list():
  File "/nfs/home/dbrondsema/tracwikiimporter/tracwikiimporter/scripts/wiki_from_trac/",
line 131, in page_list
    r = self.fetch(url)
  File "/nfs/home/dbrondsema/tracwikiimporter/tracwikiimporter/scripts/wiki_from_trac/",
line 126, in fetch
    return urlopen(url)
NameError: global name 'urlopen' is not defined


** [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:** Wed Feb 05, 2014 05:36 PM UTC
**Owner:** Cory Johns

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


Sent from because is subscribed to

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