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/14 16:43:00 UTC
[allura:tickets] Re: #7864 Error on google code import with paginated
comments
Yes, make sure you get the newer version of pyflakes as specified in requirements.txt in this branch.
---
** [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:** Thu Apr 09, 2015 02:40 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.