arthur-debert/google-code-issues-migrator — Issue #6: api route not recognized
Author: rc
Created: 2012-01-24 16:56:47+00:00
State: open

Hi,

trying your script, I keep getting the "api route not recognized" error when it tries posting the issues to github. The exact message is:

INFO:root:will post issue:158 - Primer review request
INFO:root:issue did not exist
DEBUG:root:URL: 'https://github.com/api/v2/json/issues/open/sfepy' POST_DATA: 'login=rc&token=631a541a48309f10e6d6f90e6d52c5bf&body=%3Cpre%3E%0AThe+analytic+solution+in+the+primer+example+of+tensile+test+of+asphalt%2C+is+not+seems+to+be+an+actual+analytic+solution%2C+as+it+depends+on+the+nodal+forces.+So+the+result+of+the+solution+varies+with+mesh+refinement.+For+the+same+geometry+and+material+property%2C+analytic+solution+will+not+differ%2C+even+for+extensive+mesh+refinement.+it+will+always+be+the+same.+the+analytic+solution+is+derived+from+solid+mechanics+and+there%27s+no+function+of+mesh+or+element.+for+that+specific+example%2C+Analytic+solution+would+be+based+on+solid+mechanics+knowledge%2C+getting+the+vertical+and+horizontal+stress+at+the+center+of+the+disk+due+to+application+of+1mm+displacement+at+the+top.%0D%0A%0A%3C%2Fpre%3E%3C%2Fbr%3EOriginal+link%3A+http%3A%2F%2Fcode.google.com%2Fp%2Fsfepy%2Fissues%2Fdetail%3Fid%3D158&title=158+-+Primer+review+request+' RESPONSE_TEXT: '{"error":"api route not recognized"}'

It seems that github now uses API v3, so it would be great, if you had time and will to update your tool. Thanks!

Also, when reading the google issues, it says (for example):

INFO:root:Issue #158: Primer review request
INFO:root:GET http://code.google.com/p/sfepy/issues/detail?id=158
INFO:root:got comments 0

The text "comments 0" is there for every issue, even if there are comments. (This might be ok, as I do not know what would be posted to github.)