Dear Jeff,
I think this is great. I tried to install AnyData
and DBD::AnyData.
Unfortunately I seem to have hit some problems with the
XML format, which is the one I am most interested in.
On Windows NT I did the usual for both your modules.
perl makefile.PL; nmake; nmake test; nmake install
The failure was that make test from anyData shows
AnyData
XML ...
and then it hangs. By editing anyData.pm
I am able to determine that it never returns
from the following line in adExport
return $ad->{parser}->export($ad->{storage},$tfile,$tflags);
I could not follow it any deeper.
I copied test.pl to tolkin_test.pl and started editing it
and running it manually.
By removing the XML format I was able to get all
the other formats to pass (except HTMLtable).
So I suspected a problem with my XML::Twig install.
On Windows NT I did the usual, but now for Twig 2.02
perl makefile.PL; nmake; nmake test; nmake install
But some of the Twig tests failed.
Is this the problem?
Here is the output of nmake test on Twig:
C:\temp\XML-Twig-2.02>nmake test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\Perl\bin\Perl.exe -Mblib -IC:\Perl\lib -IC:\Perl\lib -e "use
Test::Ha
rness qw(&runtests $verbose); $verbose=0; runtests @ARGV;" t\test1.t
t\test2.t t
\test3.t t\test4.t t\test5.t
Using C:/temp/XML-Twig-2.02/blib
t\test1.............ok
t\test2.............Use of uninitialized value in substitution (s///) at
t\test2
.t line 14.
t\test2.............ok 1/15Couldn't open test2_1.xml:
No such file or directory at t\test2.t line 37
t\test2.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-15
Failed 14/15 tests, 6.67% okay
t\test3.............ok
t\test4.............ok
t\test5.............ok
Failed Test Status Wstat Total Fail Failed List of failed
----------------------------------------------------------------------------
---
t\test2.t 255 65280 15 14 93.33% 2-15
Failed 1/5 test scripts, 80.00% okay. 14/231 subtests failed, 93.94% okay.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff'
Stop.
But the file test2_1.xml is there. SO I do not understand what is
happening.
07/26/00 10:42a 1,453 test2_1.xml
1 File(s) 1,453 bytes
829,442,048 bytes free
Unmfortunately
http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Packages
shows that XML::Twig is not available.
I also tried to install XML::Parser myself
and got a problem compiling. But it *seems* that Twig only needs
the XML::Parser interface, not any of the code. Is that true?
2. A separate question. While attempting to diagnose the problem
I see that the new method in XML.pm says:
if ($self->{col_names}) {
## something goes here :-)
}
This looks like it needs to be fixed for me to provide my own names,
which I need to do. Is that correct?
3. I replied to the email lists, rather than just Jeff, in case
another user or developer hit a problem like this, or could
benefit from my experience. But I would be willing to move
this discussion elsewhere if we can agree on where.
Thanks,
Steve
--
Steven Tolkin [EMAIL PROTECTED] 617-563-0516
Fidelity Investments 82 Devonshire St. V10D Boston MA 02109
There is nothing so practical as a good theory. Comments are by me,
not Fidelity Investments, its subsidiaries or affiliates.
> -----Original Message-----
> From: Jeff Zucker [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 1:29 PM
> To: dbi-users; [EMAIL PROTECTED]; [EMAIL PROTECTED]