fogbugz importer not working?
I get this when I try to run the importer... I don't see this soap client in the package.. do I need some dependencies from somewhere? it's not mentioned in the docs.
Traceback (most recent call last):
File "fb2youtrack.py", line 9, in <module>
from fbugz.fbSOAPClient import FBClient
ImportError: No module named fbugz.fbSOAPClient
Please sign in to leave a comment.
Yes, you can email it to anna.zhdan@jetbrains.com
Sent! Thanks for looking at it.
the version of the importer available on the download site is giving me the attachment error discussed above... the last version attached to this thread gives me
Traceback (most recent call last):
File "fb2youtrack.py", line 228, in <module>
main()
File "fb2youtrack.py", line 27, in main
fb2youtrack(target_url, target_login, target_password, source_url, source_login, source_password, project_names, max_issue_id)
File "fb2youtrack.py", line 204, in fb2youtrack
issues_to_import.append(_to_yt_issue(issue, subsystem_names, version_names))
File "fb2youtrack.py", line 70, in _to_yt_issue
issue.assigneeName = fb_issue.assignee.replace(' ', "_")
AttributeError: 'NoneType' object has no attribute 'replace'
any suggestions? I really can not switch without importing.
thanks
Please, try to use attached version
Attachment(s):
youtrack-python-api-3.0.2-100.zip
Thanks for your help Anna, I did get significantly farther using the last version you linked but after 170 cases were imported and a few cases failed to import gracefully with the message:
Failed to import issue [ 3-552 ].
Reason :
<item id="552" imported="false"><error fieldName="comment.author" value="FogBugz">Value is unknown</error><error fieldName="comment.author" value="FogBugz">Value is unknown</error></item>
the script failed again on creating an attachment with this error output:
Traceback (most recent call last):
File "fb2youtrack.py", line 296, in <module>
main()
File "fb2youtrack.py", line 28, in main
fb2youtrack(target_url, target_login, target_password, source_url, source_login, source_password, project_names, max
_issue_id)
File "fb2youtrack.py", line 277, in fb2youtrack
target.createAttachmentFromAttachment(full_issue_id, attach)
File "C:\Users\stejsks\Desktop\python\youtrack\connection.py", line 105, in createAttachmentFromAttachment
group=a.group if hasattr(a, 'group') else '')
File "C:\Users\stejsks\Desktop\python\youtrack\connection.py", line 139, in createAttachment
raise e
urllib2.HTTPError: HTTP Error 404: Not Found
The vast majority of the cases that successfully imported did have attachments and they are properly attached to the youtrack issue.
Hi Spencer,
Anna is on vacation for 2 weeks. So the problem can be resolve after she is back.
I created the respective issue http://youtrack.jetbrains.net/issue/JT-11021.
Sorry for the inconvenience.
Regards,
Alexander