---
** [tickets:#7864] Error on google code import with paginated comments**
**Status:** open
**Milestone:** unreleased
**Labels:** import google-code sf-current
**Created:** Mon Mar 30, 2015 03:50 PM UTC by Dave Brondsema
**Last Updated:** Mon Mar 30, 2015 03:50 PM UTC
**Owner:** nobody
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 [email protected] 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.