Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Cannot connect to a SQLite db using DBIx::Class

by parv (Priest)
on Aug 24, 2009 at 09:49 UTC ( #790779=note: print w/replies, xml ) Need Help??

in reply to Cannot connect to a SQLite db using DBIx::Class

Have you tried using PrintError set to a true value (in connect()), in the hope that the problem would be printed on the terminal (in which you run the program)?

Replies are listed 'Best First'.
Re^2: Cannot connect to a SQLite db using DBIx::Class
by bobf (Monsignor) on Aug 24, 2009 at 22:57 UTC

    I didn't have that set initially (the docs state that it is on by default), but I just reran it after explicitly setting it to true. Still no output.

    Thanks for the suggestion. Any other ideas? I'm at a loss.

      I haven't used DBIx*. In DBI, there is $errstr ($foo = DBI->connect() or die $DBI::errstr) variable to get the error text; and, trace() (DBI->trace( $level = 2 ); additionally may pass a file path to store output) to see how things are progressing.

      I fear you would report that even after setting a trace level, nothing is printed. In that case, something might be closing|fiddling with, at least, standard error.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://790779]
[Corion]: Nice to see that the kids have some understanding of important things that happen and the appropriate behaviour :)
[marto]: at times mine surprise me with this behavior :)
[Corion]: I mean, in a way it would be nicer+easier if they always where that obedient, but it's comforting to see that they are when it matters, at least for now ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2016-12-08 09:30 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (138 votes). Check out past polls.