This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
colcrunch's profile picture

Pastebin get duplicate

Started by colcrunch, 19 September 2014 - 01:46 AM
colcrunch #1
Posted 19 September 2014 - 03:46 AM
after moving my computer, when I go to get code from pastebin I get "Duplicate entry '2147483647' for key 'PRIMARY'" instead of the code when I try to edit it.

Help?
Edited on 19 September 2014 - 01:46 AM
KingofGamesYami #2
Posted 19 September 2014 - 04:01 AM
What is the pastebin ID? I'm guessing someone messed it up somehow.

Uh, nvr. Apparently pastebin changed something in their api… a fix is here:
http://www.computercraft.info/forums2/index.php?/topic/20397-pastebin-download-program-fix/
Edited on 19 September 2014 - 02:03 AM
colcrunch #3
Posted 19 September 2014 - 04:48 AM
That seems to be grabbing the html of the page, rather than the contents of the paste.
Lyqyd #4
Posted 19 September 2014 - 03:29 PM
It's not an API problem, it's a bug in their raw.php.

Edit: The bug has already been fixed. Pastebin's raw.php functions correctly again.