MLDBM error

Discussion in 'Perl Misc' started by Mark Ng, Nov 30, 2004.

  1. Mark Ng

    Mark Ng Guest

    Hi,

    I got a file that was created using MLDBM (DB_File Storable) a couple of
    years ago. Now, when I tried to load it I get this error:

    MLDBM error: Second level tie failed, "" at data.pm line 290

    Any suggestions on how I can read the file ?

    I am using perl 5.8.4 on Debian.


    Thanks,
    mark
    Mark Ng, Nov 30, 2004
    #1
    1. Advertising

  2. Mark Ng

    Mark Ng Guest

    On Mon, 29 Nov 2004 23:13:54 -0500, Bob Walton wrote:

    >
    > Just a guess: The problem is probably with the DB_File end of things --
    > DMB-type files tend not to be portable across platforms/versions or
    > perhaps even nominally similar computers (depending on what compilation
    > options were used for each system). You may need to go back to the same
    > platform/version where the file was written in order to read it, and
    > there generate an ASCII dump of the key/value pairs to bring to your
    > current system to regenerate the DB_File file.


    Yes, found a machine with Perl 5.6 and it worked perfectly.

    > DBM-type files are not a
    > good choice for archiving data.


    Yes, definitely.


    mark
    Mark Ng, Nov 30, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff Mott

    MLDBM

    Jeff Mott, Aug 12, 2003, in forum: Perl Misc
    Replies:
    4
    Views:
    87
    simonis
    Aug 13, 2003
  2. Brian Greenfield

    HoH and MLDBM problems

    Brian Greenfield, Aug 26, 2003, in forum: Perl Misc
    Replies:
    4
    Views:
    131
    Bob Walton
    Sep 17, 2003
  3. JS

    mldbm error

    JS, Oct 31, 2003, in forum: Perl Misc
    Replies:
    3
    Views:
    205
    Ben Morrow
    Oct 31, 2003
  4. Replies:
    0
    Views:
    109
  5. Using MLDBM on objects?

    , Jul 1, 2005, in forum: Perl Misc
    Replies:
    2
    Views:
    162
    Anno Siegel
    Jul 1, 2005
Loading...

Share This Page