Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Storable binary image v5.39 more recent than I am (v2.6)

by jithint (Novice)
on Dec 01, 2009 at 10:20 UTC ( #810341=perlquestion: print w/ replies, xml ) Need Help??
jithint has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I'm using Storable module to store and retrieve data structures. When I run the script I get this error:

"Storable binary image v5.39 more recent than I am (v2.6)"

What does this mean and more importantly, is there any way to get around this? I found another thread here regarding this but it wasn't much help :(. Any help is appreciated.

Comment on Storable binary image v5.39 more recent than I am (v2.6)
Re: Storable binary image v5.39 more recent than I am (v2.6)
by Anonymous Monk on Dec 01, 2009 at 10:47 UTC
    You should upgrade/downgrade Storable until you find a version which will read your file, then serialize to ascii based format (like JSON), then install latest Storable (or your preference) and import your data back

    Burned by Storable

Re: Storable binary image v5.39 more recent than I am (v2.6)
by keszler (Priest) on Dec 01, 2009 at 11:00 UTC
    That message comes from Storable.xs, in the *magic_check function. The current version of Storable is 2.21. Internally it defines STORABLE_BIN_MAJOR and STORABLE_BIN_MINOR as 2 and 7 respectively. (So your v2.6 would be a slightly older version of Storable.

    The 5.39 comes from the Storable file you're trying to read. Since Storable hasn't gotten close to setting 5.39 as a version, I wonder if the Storable file was created on another system; one with incompatible byteorder or integer-long-pointer sizes.

      Hi I am getting the similar error, Please let me know how to fix it? Error: Storable binary image v34.114 more recent than I am (v2.7) at Storable.pm Thanks Dandu

        upgrade Storable to matching version that reads the file, upgrade storable all around, make sure you're using nstore, move away from storable to a text only format like JSON/YAML

        Which of these solutions do you have trouble using?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://810341]
Approved by keszler
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-12-20 03:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls