Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

SQLite Error Database Disk image is Malformed error while run perl script in padre editor.

by Anonymous Monk
on Jul 05, 2019 at 13:52 UTC ( [id://11102451]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I am getting "SQLite Error Database Disk image is Malformed" error when try to run perl script using padre editor. Also script file Is not getting loaded when open in the editor.

Please help. Thanks.

  • Comment on SQLite Error Database Disk image is Malformed error while run perl script in padre editor.

Replies are listed 'Best First'.
Re: SQLite Error Database Disk image is Malformed error while run perl script in padre editor.
by NetWallah (Canon) on Jul 05, 2019 at 16:33 UTC
    What version of sqlite are you on ? The current version is 3.28. See Sqlite releases.

    Some options to deal with the "Malformed" error are discussed in this article.
    Many more can be found via a Google search.

                    "From there to here, from here to there, funny things are everywhere." -- Dr. Seuss

Re: SQLite Error Database Disk image is Malformed error while run perl script in padre editor.
by LanX (Saint) on Jul 05, 2019 at 14:53 UTC
    Better try isolating the problem by differential tests with elements taken out of the equation.

    Elements are

    • Script
    • SQLite
    • Padre

    > Please help. Thanks

    Done! YW :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Re: SQLite Error Database Disk image is Malformed error while run perl script in padre editor.
by Anonymous Monk on Jul 05, 2019 at 15:42 UTC

    I am trying to run the simple script, say Hello world using Padre editor but i am getting "SQLite Error Database Disk image is Malformed" error.
    It was working until i made some changes in my another script which uses sqlite database. so i am wondering what could be the root cause.
    Padre is not even opening in script file in the editor now.

    Thanks.

        Exact error i am getting is:

        DBD::SQLite::db selectcol_arrayref failed: database disk image is malf +ormed at (eval 1907) line 49.
        Thanks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-25 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found