Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
gob encode/decode errors
641 views
Skip to first unread message
Matt
unread,
Jul 26, 2011, 12:29:00 PM
7/26/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
When I gob decode I get no warnings, but on loading the file back in I
see
"DecodeValue of unassignable value" and "attempt to decode into a non-
pointer" messages.
Can anyone explain these, or give me a good strategy to debug (I added
debug.go to the gob Makefile but it generates a lot of output).
Thanks,
--Matt H
roger peppe
unread,
Jul 26, 2011, 12:31:16 PM
7/26/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Matt, golang-nuts
have you got a small program that demonstrates the issue?
(most likely cause: you're not passing a pointer to Decode)
Reply all
Reply to author
Forward
0 new messages