An error can occur on attempting to dumpprivkey, which does not explain that you need to first unlock your wallet. To unlock your PTS wallet for a bit, you can use this command in the console / debug window:
walletpassphrase <your_password> 9999999 true
Then you can try dumpprivkey.