Timeline for Is there a convenient way to copy/paste text-interspersed SE code snippets into Mathematica?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 16, 2013 at 0:40 | comment | added | rm -rf♦ | For some reason, I wasn't pinged by this comment from you back in August. Anyway, the reason it failed for you is because this question was originally on meta (which is where I wrote this answer) and then it was migrated here. The suggested command pointed to the original, but since it was deleted, you couldn't retrieve it using the API (This was something I had mentioned in the post). In any case, my answer used v1.0 of the API, which was bound to fail at some point since they've deprecated it. I updated my answer today with a new version (using API v2.0), which is when I saw this comment. | |
Aug 23, 2012 at 8:53 | comment | added | jVincent |
@R.M I ran the code posted in the answer and the suggested command StackAPI`GetCode["http://meta.mathematica.stackexchange.com/a/307/5"] , which returned a set of errors from StringCases and StringReplace . Seems like the call to the API is failing, returning {"answers" -> {}, "page" -> 1, "pagesize" -> 30, "total" -> 0} from the Import.
|
|
Aug 22, 2012 at 13:57 | comment | added | rm -rf♦ | could you share the exact call you made that failed? What error did you get? A bunch of badly formed string boxes? | |
Aug 22, 2012 at 13:53 | history | answered | jVincent | CC BY-SA 3.0 |