Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with undefined 'Mergedinto' #19

Open
scamille opened this issue Nov 18, 2012 · 0 comments
Open

Crash with undefined 'Mergedinto' #19

scamille opened this issue Nov 18, 2012 · 0 comments

Comments

@scamille
Copy link

I was trying to migrate http://code.google.com/p/simulationcraft/ to Github.

http://code.google.com/p/simulationcraft/issues/detail?id=100 has a "Mergedinto: -" flag/status, where I assume that the Issue number it originally pointed at got lost.

Now google-code-issues-migrator runs into a problem on line 117/118:

if comment.updates.mergedIntoUpdate:
        return "_This issue is a duplicate of #%d_" % (options.base_id + int(comment.updates.mergedIntoUpdate.text))

Traceback:

File "migrateissues.py", line 118, in format_comment
    return "_This issue is a duplicate of #%d_" % (options.base_id + int(comment.updates.mergedIntoUpdate.text))
ValueError: invalid literal for int() with base 10: '-'

When trying to convert the false Mergedinto Number to int.

I've no Python experience at all, otherwise I try solving it myself. But I hope the problem-description is detailed enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant