Re: fetchrow_array warning and error in cleanup



On Fri, Jan 04, 2008 at 10:13:52AM +0100, COUPRIE Kees wrote:

I'm using Perl 5.6.0 build 623 (Activestate), DBI 1.48 and DBD-ORACLE
1.12 on a Windows XP box. Not exactly the newest versions, I know, but
the company I work for is quite paranoid when it comes to using "new"
software, so I'm afraid that I'm stuck with these versions.

So far so good. The issue is that at the end of each query, after that
last record has been fetched, I get the following warning:

DBD::Oracle::st fetchrow_array warning: (err=0, errstr=undef,
state=undef) at C:\<path_to_script>.pl line <linenumber>.

That's a harmless warning caused by DBD::Oracle being too old relative to DBI.
Workaround by setting PrintWarn dbh attribute false.

Then at the very end of the script, even after the disconnect, I get:

(in cleanup) Can't call method "FETCH" on an undefined value at
C:/Perl/site/lib/Win32/TieRegistry.pm line 1486 during global destruction.

Old problem. I can't remember off-hand if upgrading DBI, or
Win32::TieRegistry will help. Check the archives.

Tim.
.



Relevant Pages

  • Re: Wolverhampton/Birmingham?
    ... Also St Johns Wort doesnt send your brain on a holiday like most of the ... effect I didn't mind at all) ... The problem i have, and was hoping meds would kill it, is i am paranoid to the point of distraction about a range of things, at the moment it's the b*st*rd children who were throwing bricks at our windows in August, and then once at me, and now i'm near enough convinced that they are out to get me. ...
    (uk.people.support.depression)
  • Re: locked out of XP, need file access
    ... J. Yoon wrote: ... > I'm locked out of my own Windows XP box. ... > Being a paranoid, ... > I have not provided myself with any password hints ...
    (Security-Basics)
  • Re: What is SP2 doing - apart from trashing everybodys PC??
    ... Yes, you are indeed paranoid. ... install SP2 without any adverse installation issues. ... Windows XP Service Pack 2 Checklist ...
    (microsoft.public.windowsxp.hardware)
  • Re: Mapping source instructions to machine instructions
    ... The only real option left is to say goodbye to Windows. ... What goes completly against ReactOs is that it takes resources also to "spread the word", and that Windows will allways win on the propaganda terms when adressing endusers. ... So seems to me, that unless a fundamental change in the _culture_, and in the politics, no OS other then windows will be able to win the OS war. ... I am bit paranoid, but an OS that act the way windows does, makes me paranoid. ...
    (alt.lang.asm)
  • RE: SP2 Paranoia
    ... >If you are paranoid, maybe you shouldnâ?Tt upgrade... ... >How to optimize Windows XP, 2000, ME ... It came with a system restore ... >> Norton Ghost and yesterday decided to do the backup ...
    (microsoft.public.windowsxp.help_and_support)