You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2015/04/06 17:42:34 UTC

[allura:tickets] #7864 Error on google code import with paginated comments

- **labels**: import, google-code, sf-current --> import, google-code, sf-current, sf-2



---

** [tickets:#7864] Error on google code import with paginated comments**

**Status:** in-progress
**Milestone:** unreleased
**Labels:** import google-code sf-current sf-2 
**Created:** Mon Mar 30, 2015 03:50 PM UTC by Dave Brondsema
**Last Updated:** Mon Mar 30, 2015 08:48 PM UTC
**Owner:** Dave Brondsema

Importing https://code.google.com/p/usbloader-gui/issues/detail?id=1769 fails with the following error.

I suspect it is due to the comment pagination which we probably don't handle at all.

~~~~
Traceback (most recent call last):
  File "/var/local/allura/ForgeImporters/forgeimporters/base.py", line 131, in import_tool
    mount_point=mount_point, mount_label=mount_label, **kw)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 123, in import_tool
    self.process_fields(ticket, issue)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 164, in process_fields
    ticket.mod_date = dateutil.parser.parse(issue.get_issue_mod_date())
  File "/var/local/allura/ForgeImporters/forgeimporters/google/__init__.py", line 309, in get_issue_mod_date
    last_update = Comment(comments[-1], self.project_name)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/__init__.py", line 391, in __init__
    tag.find('span', 'author').find(True, 'userlink'))
AttributeError: 'NoneType' object has no attribute 'find'
~~~~


---

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

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.