Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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)
Replies are listed 'Best First'.
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 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?

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2015-10-10 02:18 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls