RE: [Arsperl-users] ars_GetEntry and DATE Fields
Brought to you by:
jeffmurphy
|
From: Barr, S. <sc...@am...> - 2005-07-19 00:24:29
|
What version of GCC are you using? We are using gcc version 2.95.3 =
20010315...
The reason I ask is that I also had to remove this line from the =
following line from Makefile.PL (around Line 97)
> #$AUTODEFINES .=3D " -Wno-unused-variable -Wuninitialized " if =
$Config{'cc'} eq "gcc";
It was complaining about the -Wno-unused-variable not being a valid =
option.
If there is anything I can do to help in terms of testing just let me =
know. :)
Thank you VERY much for all the work and attention! :)
-Scott
Remedy Team
Ph : (206) 266-0217
Remedy Team Office Hours:=20
Monday, Tuesday and Friday from 14:00 till 15:00 PST.
* Be sure to sign up to Remedy-News@ to keep up to date on changes to =
the Remedy service!
* SDE's should sign up to Remedy-Hackers@ for technical help and =
assistance.
-----Original Message-----
From: ars...@ar... =
[mailto:ars...@ar...] On Behalf Of Liam Strand
Sent: Monday, July 18, 2005 4:07 PM
To: ars...@ar...
Subject: RE: [Arsperl-users] ars_GetEntry and DATE Fields
Scratch that last one...=20
I'm getting similar errors on make test, although more are working:
make test
PERL_DL_NONLAZY=3D1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect..........ok
t/01import...........ok
t/02export...........Use of uninitialized value in subroutine entry at
t/02export.t line 30.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) or string at
t/02export.t line 45.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) or string at
t/02export.t line 45.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) or string at
t/02export.t line 45.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) or string at
t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) or string at
t/02export.t line 45.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) or string at
t/02export.t line 45.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) or string at
t/02export.t line 45.
t/02export...........ok
t/09qualifier........ok
t/10alink............ok
t/10entry............ok
t/10getescalation....ok
t/10getftinfo........ok
t/10getlist..........NOK 9# Failed test (t/10getlist.t at line 54)
Use of uninitialized value in concatenation (.) or string at
t/10getlist.t line 54.
# GetListVUI ()
# Looks like you failed 1 tests of 9.
t/10getlist..........dubious
Test returned status 0 (wstat 11, 0xb)
Scalar found where operator expected at (eval 136) line 1, near "'int'
$__val"
(Missing operator before $__val?)
DIED. FAILED test 9
Failed 1/9 tests, 88.89% okay
t/11entry............ok
t/12lotsoffields.....ok
t/13join.............defined(%hash) is deprecated at t/13join.t line 68.
(Maybe you should just omit the defined()?)
t/13join.............ok
t/20merge............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
t/10getlist.t 0 11 9 1 11.11% 9
Failed 1/13 test scripts, 92.31% okay. 1/166 subtests failed, 99.40%
okay.
make: *** [test_dynamic] Error 255=20
Liam Strand / ICS
661.224.2700
www.yesICS.com
=20
Confidential:
This message is intended for the sole use of the individual/client to
whom it is addressed. This message may contain or have attached
programs, information and methodologies which are proprietary, and their
expression in this document is copyrighted with all rights reserved by
Intelligent Computing Services Inc. If the reader of this message is not
the intended recipient, please notify the sender immediately at the
number above.=20
-----Original Message-----
From: Barr, Scott [mailto:sc...@am...]=20
Sent: Monday, July 18, 2005 3:58 PM
To: ars...@ar...
Subject: RE: [Arsperl-users] ars_GetEntry and DATE Fields
Well this is groovie!
I am trying to compile the 1.84 package against 5.1.2 p1280 (API v9)
remedy libs... In my environment, described below, 1.82 is just fine and
dandy but dead as a duck for 1.84
First off, there are several things that, at first glance, need to have
#if AR_EXPOERT_VERSION tags around them...
e.g.
ARS.xs
> // ARArchiveInfoStruct infoStruct;
>
> // hv_store(RETVAL, =20
> // "archiveInfo",=20
< // strlen("archiveInfo") ,
> // perl_ARArchiveInfoStruct(ctrl, &infoStruct), 0);
>
> //#if AR_EXPORT_VERSION >=3D 8L
> // &infoStruct,
> //#endif
Support.c
> //hv_store(hash, "option", strlen("option") ,=20
> newSViv(in->option), 0);
And when I run make test I get this:
[scbarr@devrmdy-0101 /opt/ar/ARSperl-1.84]$ sudo make test amazon.com
authorized use only. scbarr@devrmdy-0101 Password:
PERL_DL_NONLAZY=3D1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=3D0; runtests @ARGV;' =
t/*.t
t/00connect.........ok t/01import..........NOK 1FAILED test 1
Failed 1/1 tests, 0.00% okay
t/02export..........Use of uninitialized value in subroutine entry at
t/02export.t line 30.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 45.
t/02export..........ok
t/09qualifier.......NOK 4FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/10alink...........NOK 3FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10entry...........not ok ([ERROR] Form does not exist on server
(ARSperl Test) (ARERR #303)) t/10entry...........dubious
Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED
tests 2-10
Failed 9/10 tests, 10.00% okay
t/10getescalation...NOK 3FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10getftinfo.......ok
t/10getlist.........Can't locate Test/More.pm in @INC (@INC contains:
blib/arch blib/lib /usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at
t/10getlist.t line 7.
BEGIN failed--compilation aborted at t/10getlist.t line 7.
t/10getlist.........dubious
Test returned status 2 (wstat 512, 0x200) t/11entry...........ok
t/12lotsoffields....NOK 104FAILED tests 2-104
Failed 103/104 tests, 0.96% okay
t/13join............defined(%hash) is deprecated at t/13join.t line 68.
(Maybe you should just omit the defined()?)
t/13join............NOK 7FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
t/20merge...........NOK 5FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
Failed Test Status Wstat Total Fail Failed List of failed
------------------------------------------------------------------------
-------
t/01import.t 1 1 100.00% 1
t/09qualifier.t 4 3 75.00% 2-4
t/10alink.t 4 2 50.00% 3-4
t/10entry.t 255 65280 10 9 90.00% 2-10
t/10getescalati 4 2 50.00% 3-4
t/10getlist.t 2 512 ?? ?? % ??
t/12lotsoffield 104 103 99.04% 2-104
t/13join.t 7 6 85.71% 2-7
t/20merge.t 5 4 80.00% 2-5
Failed 9/13 test scripts, 30.77% okay. 130/157 subtests failed, 17.20%
okay.
make: *** [test_dynamic] Error 29-Scott
Remedy Team
Ph : (206) 266-0217
Remedy Team Office Hours:=20
Monday, Tuesday and Friday from 14:00 till 15:00 PST.
* Be sure to sign up to Remedy-News@ to keep up to date on changes to
the Remedy service!
* SDE's should sign up to Remedy-Hackers@ for technical help and
assistance.
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Liam Strand
Sent: Monday, July 18, 2005 11:44 AM
To: ars...@ar...
Subject: RE: [Arsperl-users] ars_GetEntry and DATE Fields
Scott -
I tried this out and it looks like Date fields do not work in ARSPerl
v1.82... If you upgrade to v1.84 it works like a champ.=20
Hope this helps...
Liam Strand / ICS
661.224.2700
www.yesICS.com
=20
Confidential:
This message is intended for the sole use of the individual/client to
whom it is addressed. This message may contain or have attached
programs, information and methodologies which are proprietary, and their
expression in this document is copyrighted with all rights reserved by
Intelligent Computing Services Inc. If the reader of this message is not
the intended recipient, please notify the sender immediately at the
number above.=20
-----Original Message-----
From: Barr, Scott [mailto:sc...@am...]
Sent: Monday, July 18, 2005 10:56 AM
To: ars...@ar...
Subject: [Arsperl-users] ars_GetEntry and DATE Fields
ARS Perl v.1.82
ARS v 5.1.2 p1389
Redhat Linux 2.4.25-1.5asmp
That's data type 13... Not Date Time fields...
Anyone have any issues or know of lack of support for DATE fields?
For what ever reason when I do an ars_GetEntry on a table with DATE
fields I get values for all the other fields but no values for DATE data
type fields.
There is a FieldID entry in the Perl Hash but no value. I can get the
value via SQL or the WUT but it's a big N-O when using ARS Perl.
-Scott
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|