arsperl-users Mailing List for ARSperl (Page 58)
Brought to you by:
jeffmurphy
You can subscribe to this list here.
| 1996 |
Jan
(6) |
Feb
(7) |
Mar
(16) |
Apr
(5) |
May
(21) |
Jun
(5) |
Jul
(5) |
Aug
(13) |
Sep
(4) |
Oct
(12) |
Nov
(7) |
Dec
(24) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1997 |
Jan
(38) |
Feb
(65) |
Mar
(32) |
Apr
(37) |
May
(47) |
Jun
(45) |
Jul
(28) |
Aug
(38) |
Sep
(41) |
Oct
(81) |
Nov
(21) |
Dec
(45) |
| 1998 |
Jan
(18) |
Feb
(26) |
Mar
(44) |
Apr
(34) |
May
(36) |
Jun
(44) |
Jul
(31) |
Aug
(34) |
Sep
(56) |
Oct
(40) |
Nov
(20) |
Dec
(25) |
| 1999 |
Jan
(49) |
Feb
(50) |
Mar
(33) |
Apr
(51) |
May
(54) |
Jun
(43) |
Jul
(91) |
Aug
(34) |
Sep
(120) |
Oct
(102) |
Nov
(101) |
Dec
(25) |
| 2000 |
Jan
(55) |
Feb
(105) |
Mar
(44) |
Apr
(89) |
May
(123) |
Jun
(51) |
Jul
(98) |
Aug
(120) |
Sep
(101) |
Oct
(77) |
Nov
(58) |
Dec
(39) |
| 2001 |
Jan
(36) |
Feb
(50) |
Mar
(57) |
Apr
(62) |
May
(81) |
Jun
(55) |
Jul
(46) |
Aug
(51) |
Sep
(37) |
Oct
(60) |
Nov
(38) |
Dec
(41) |
| 2002 |
Jan
(70) |
Feb
(41) |
Mar
(49) |
Apr
(55) |
May
(93) |
Jun
(48) |
Jul
(88) |
Aug
(52) |
Sep
(92) |
Oct
(63) |
Nov
(37) |
Dec
(63) |
| 2003 |
Jan
(62) |
Feb
(78) |
Mar
(101) |
Apr
(90) |
May
(104) |
Jun
(31) |
Jul
(29) |
Aug
(66) |
Sep
(50) |
Oct
(114) |
Nov
(111) |
Dec
(49) |
| 2004 |
Jan
(19) |
Feb
(68) |
Mar
(59) |
Apr
(30) |
May
(54) |
Jun
(33) |
Jul
(115) |
Aug
(69) |
Sep
(33) |
Oct
(80) |
Nov
(25) |
Dec
(47) |
| 2005 |
Jan
(34) |
Feb
(26) |
Mar
(28) |
Apr
(57) |
May
(53) |
Jun
(59) |
Jul
(42) |
Aug
(25) |
Sep
(26) |
Oct
(33) |
Nov
(20) |
Dec
(2) |
| 2006 |
Jan
(35) |
Feb
(15) |
Mar
(14) |
Apr
(7) |
May
(22) |
Jun
(22) |
Jul
(22) |
Aug
(3) |
Sep
(7) |
Oct
(20) |
Nov
(25) |
Dec
(8) |
| 2007 |
Jan
(44) |
Feb
(26) |
Mar
(24) |
Apr
(34) |
May
(23) |
Jun
(61) |
Jul
(18) |
Aug
(39) |
Sep
(28) |
Oct
(31) |
Nov
(31) |
Dec
(23) |
| 2008 |
Jan
(18) |
Feb
(5) |
Mar
(18) |
Apr
(15) |
May
(17) |
Jun
(18) |
Jul
(13) |
Aug
(10) |
Sep
(71) |
Oct
(25) |
Nov
(5) |
Dec
(14) |
| 2009 |
Jan
(3) |
Feb
(6) |
Mar
(19) |
Apr
(5) |
May
(2) |
Jun
(5) |
Jul
(23) |
Aug
|
Sep
|
Oct
(2) |
Nov
(15) |
Dec
(7) |
| 2010 |
Jan
(5) |
Feb
(6) |
Mar
|
Apr
|
May
(10) |
Jun
|
Jul
(9) |
Aug
(6) |
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2011 |
Jan
(16) |
Feb
(24) |
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(4) |
Sep
(1) |
Oct
|
Nov
(13) |
Dec
|
| 2012 |
Jan
(17) |
Feb
(14) |
Mar
(14) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(7) |
Oct
(14) |
Nov
(4) |
Dec
(4) |
| 2013 |
Jan
(1) |
Feb
(12) |
Mar
(7) |
Apr
(5) |
May
|
Jun
|
Jul
(1) |
Aug
(21) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
(4) |
| 2014 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(27) |
Jun
|
Jul
(8) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(4) |
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Richard H. <rl...@ls...> - 2005-04-27 15:17:54
|
Carey, -----Original Message----- But in my local version of the ARSPerl docs I see some statements like: The online docs say this about the openForm() method " The vui parameter currently does nothing, but it will eventually alter the field labels that you can pass into form->get() form->set(), etc. The form parameter is the name of the form you wish to open (e.g. "User"). Upon successful completion this call returns a new ARS::form object. " So this feature may depend on the version of the OO layer your using. (or maybe the docs are just stale.) The way I read this is that the VUI acts as a "mask" to filter which fields are visible. The usual rules about field ids and labels still apply. Still makes me cuss sometimes when *almost* all the external/internal labels are the same and just one or two are "subtly" different (different caps, spacing etc)!!! Cheers, Richard. |
|
From: Mark V. <mva...@ev...> - 2005-04-27 15:15:57
|
Carey,
Here are the two ways with <s> meaning single quote (')and <d> meaning
double quote ("):
Using surrounding single quotes:
<s>(\<s>Login Name\<s> =3D <d>some user<d>)<s>
Using surrounding double quotes:
<d>(<s>Login Name<s> =3D \<d>some user\<d>)<d>
I hope this helps :)
Mark
Mark Vaughan
Programmer III
=20
Direct: +1 303 802 2426
Cell: +1 303 601 4434
Fax: +1 303 802 1420
mar...@ev...
Evolving Systems, Inc.=20
9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
www.evolving.com
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Carey Matthew
Black
Sent: Wednesday, April 27, 2005 8:50 AM
To: ars...@ar...
Subject: Re: [Arsperl-users] question regarding the query() method
Mark,
That was my first thought too. But is it very hard to read the following
Perl:
-query =3D> '("Login Name" =3D "some_user")'
Is that:
<single>(<single><single>Login Name<single><single> =3D
<double>someuser<double>)<single>
or
<single>(<double>Login Name<double> =3D <double>someuser<double>)<single>=
or=20
<single>(<double>Login Name<double> =3D
<single><single>someuser<single><single>)<single>
or
etc...
All I can say is that my cursor appears to count the values as one
double quote around the Login Name field name. (not sure if that is a
function of the many layers of email processing or not.)
But it is hard to read it that way when you know what should be there
given ARS syntax and Perl syntax. Which is why I was trying to break
down the way it should be instead of just point fixing this query
condition.
It would actually be a nice add to the ARSPerl docs to include a
search example using:
Field labels (yea.. that takes some work)
Field DB names
Field ID values
And the host of "values" too. (Char, Integer, Data/Time, Real, etc..)
Would there be any interest in having a "ARSPerl sample form" with
some sample scripts that go with it?
--=20
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS =3D Action Request System(Remedy)
Solution =3D People + Process + Tools
Fast, Accurate, Cheap.... Pick two.
Never ascribe to malice, that which can be explained by incompetence.
http://www.fellowshipchurch.com
On 4/27/05, Mark Vaughan <mva...@ev...> wrote:
> I believe the "Login Name" should be surrounded by single quotes, not
> double quotes.
>=20
> Mark Vaughan
>=20
> Programmer III
>=20
> Direct: +1 303 802 2426
>=20
> Cell: +1 303 601 4434
>=20
> Fax: +1 303 802 1420
>=20
> mar...@ev...
>=20
> Evolving Systems, Inc.
>=20
> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
>=20
> www.evolving.com
>=20
>=20
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...] On Behalf Of the sign will be
> that life is awesome
> Sent: Wednesday, April 27, 2005 4:16 AM
> To: ars...@ar...
> Subject: [Arsperl-users] question regarding the query() method
>=20
> I'm trying to figure out how to properly use qualifiers via the OO
> query()
> method on the SHR:People form. my code is below :
>=20
> my @entries =3D $remedy_form->query(
> -query =3D> '("Login Name" =3D "some_user")'
> );
>=20
> this returns an array of field headers but no entries.
>=20
> i've verified that the 'Login Name' field exists under that name in
the
> form
>=20
> 'Login Name' =3D> 240000005
>=20
> I suspect that I'm not understanding how to properly phrase a remedy
> query
> and apologize if that is the case here. invoking query() with no
> arguments
> properly returns all entry IDs for the form and i can properly perform
a
> get() on the form handle to retrieve the entry - i just can't seem to
> properly
> format a filter on the query itself.
>=20
> does anyone see anything boneheaded i'm doing here? i've tried
various
> quoting
> styles for the query, such as "(\"Login Name\" =3D \"some_user\")",
'Login
> name'
> and 'Login' instead of 'Login Name' and omitting the spaces between
the
> field
> name and the '=3D' in the query as well as removing the parentheses
around
> the
> query but none of those seem to work for me. directly using
> ars_GetListEntry
> acts identically.
>=20
> one thing i've noted ( not sure if this is something the C API deals
> with or
> not ) is that you can specify any field name in the qualifier, whether
> it
> exists or not, and no error is thrown.
>=20
> the deconstructed qualifier as returned by ars_perl_qualifier() looks
> like
>=20
> $VAR1 =3D {
> 'oper' =3D> 'rel_op',
> 'rel_op' =3D> {
> 'left' =3D> {
> 'value' =3D> 'Login Name'
> },
> 'right' =3D> {
> 'value' =3D> 'some_user'
> },
> 'oper' =3D> '=3D=3D'
> }
> };
>=20
> using the standard $all qualifier of "1=3D1" returns
>=20
> $VAR1 =3D {
> 'oper' =3D> 'rel_op',
> 'rel_op' =3D> {
> 'left' =3D> {
> 'value' =3D> 1
> },
> 'right' =3D> {
> 'value' =3D> 1
> },
> 'oper' =3D> '=3D=3D'
> }
> };
>=20
> ( using "1=3D1" returns all entries properly, as does "1<2" and other
> queries
> of that nature, so i think i've at least got the basic syntax down.
> what i'm
> probably not understanding are what types of arguments i'm supposed to
> feed
> to the qualifier constructor, tho the examples i've seen in the
mailing
> list
> seem to match up with what i'm trying to do )
>=20
> a little stumped :) - thanks much for any help!
>=20
> - tom
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix=
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this e-mail and you are not a named
addressee, please inform Evolving Systems TIS at ti...@ev... and
then delete the e-mail from your system. If you are not a named
addressee you must not use, disclose, distribute, copy, print or rely on
this e-mail. To ensure regulatory compliance and for the protection of
our clients and business, Evolving Systems may monitor and read e-mails
sent to and from its servers. Although Evolving Systems routinely
screens for viruses, addressees should scan this e-mail and any
attachments for viruses. Evolving Systems makes no representation or
warranty as to the absence of viruses in this e-mail or any attachments.
>=20
> Registered Office: 9777 Mt. Pyramid Ct Suite 100, Englewood, CO 80112
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
This e-mail and any attachments may be confidential and/or legally privil=
eged. If you have received this e-mail and you are not a named addressee,=
please inform Evolving Systems TIS at ti...@ev... and then delete t=
he e-mail from your system. If you are not a named addressee you must not=
use, disclose, distribute, copy, print or rely on this e-mail. To ensure=
regulatory compliance and for the protection of our clients and business=
, Evolving Systems may monitor and read e-mails sent to and from its serv=
ers. Although Evolving Systems routinely screens for viruses, addressees =
should scan this e-mail and any attachments for viruses. Evolving Systems=
makes no representation or warranty as to the absence of viruses in this=
e-mail or any attachments.=20
Registered Office: 9777 Mt. Pyramid Ct Suite 100, Englewood, CO 80112
|
|
From: Richard H. <rl...@ls...> - 2005-04-27 15:03:59
|
Folks,
There's a nice way to prevent the "sea" of backslashing and excess
quotes, namely to use Perl's "q" and "qq" operators. For example, Kelly's
definition of $qualString could be written:
my $qualString = q{
'Status' = 0 OR 'Completed Date' = $NULL$ OR 'Completed Date' ....
};
Doing this allows you to cut n paste queries you've tried out in the Remedy
GUI straight into your Perl code.
Cheers,
Richard.
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Kelly Logan
Here's a code snippet of mine:
-------------------------------
my $qualString = '\'Status\' = 0 OR \'Completed Date\' = $NULL$ OR
\'Completed Date\' > $TIMESTAMP$ - (32*24*60*60)';
|
|
From: Carey M. B. <bla...@gm...> - 2005-04-27 15:03:59
|
Sean, Ok.. So ars_GetListEntry does not use field Labels, but the OO ARS::form()->query() does, because the form() object is view aware. An interesting bit of info to keep in mind. But in my local version of the ARSPerl docs I see some statements like: The online docs say this about the openForm() method " The vui parameter currently does nothing, but it will eventually alter the field labels that you can pass into form->get() form->set(), etc. The form parameter is the name of the form you wish to open (e.g. "User"). Upon successful completion this call returns a new ARS::form object. " So this feature may depend on the version of the OO layer your using. (or maybe the docs are just stale.) But just as a side note on when you choose what name to use in your programming, think about stability of your code too. Field Labels are the most likely name to change over time. Field DB names are the next most likely name to change. Field ID's almost NEVER change. (only lately possible via a "unsupported utility", and it has it's limitations.) So if you can read the "ugly" field ID's in your code, then you are much less likely to have your scripts break "randomly" at some point down the road. I guess you could also create a special view (maybe call it "ARSPerl") and just as a development rule never change the labels on that view, and always reference that view in your code. But that seems like a waste full overhead instead of just using a field ID. (You could even build a local hash to translate the local "field name" to the fields' id too.) --=20 Carey Matthew Black Remedy Skilled Professional (RSP) ARS =3D Action Request System(Remedy) Solution =3D People + Process + Tools Fast, Accurate, Cheap.... Pick two. Never ascribe to malice, that which can be explained by incompetence. http://www.fellowshipchurch.com On 4/27/05, Sean Garrison <msg...@co...> wrote: > It is because your query is bad -- it should be 'Login Name' =3D "Some Us= er" >=20 > If you are creating it in perl it should be "'Login Name' =3D \"Some User= \"" >=20 > Fields are always surrounded in single quotes while character data is in > double quotes. >=20 > Please note -- you must use the label of the field and not the database n= ame > when creating your query. This has got me several times because everythi= ng > else seems to use the database name. >=20 > Thanks, >=20 > Sean >=20 > -----Original Message----- > From: ars...@ar... > [mailto:ars...@ar...] On Behalf Of the sign will be th= at > life is awesome > Sent: Wednesday, April 27, 2005 6:16 AM > To: 'ars...@ar...' > Subject: [Arsperl-users] question regarding the query() method >=20 > I'm trying to figure out how to properly use qualifiers via the OO query(= ) > method on the SHR:People form. my code is below : >=20 > my @entries =3D $remedy_form->query( > -query =3D> '("Login Name" =3D "some_user")' > ); >=20 > this returns an array of field headers but no entries. >=20 > i've verified that the 'Login Name' field exists under that name in the f= orm >=20 > 'Login Name' =3D> 240000005 >=20 > I suspect that I'm not understanding how to properly phrase a remedy quer= y > and apologize if that is the case here. invoking query() with no argumen= ts > properly returns all entry IDs for the form and i can properly perform a > get() on the form handle to retrieve the entry - i just can't seem to > properly > format a filter on the query itself. >=20 > does anyone see anything boneheaded i'm doing here? i've tried various > quoting > styles for the query, such as "(\"Login Name\" =3D \"some_user\")", 'Logi= n > name' > and 'Login' instead of 'Login Name' and omitting the spaces between the > field > name and the '=3D' in the query as well as removing the parentheses aroun= d the > query but none of those seem to work for me. directly using > ars_GetListEntry > acts identically. >=20 > one thing i've noted ( not sure if this is something the C API deals with= or > not ) is that you can specify any field name in the qualifier, whether it > exists or not, and no error is thrown. >=20 > the deconstructed qualifier as returned by ars_perl_qualifier() looks lik= e >=20 > $VAR1 =3D { > 'oper' =3D> 'rel_op', > 'rel_op' =3D> { > 'left' =3D> { > 'value' =3D> 'Login Name' > }, > 'right' =3D> { > 'value' =3D> 'some_user' > }, > 'oper' =3D> '=3D=3D' > } > }; >=20 > using the standard $all qualifier of "1=3D1" returns >=20 > $VAR1 =3D { > 'oper' =3D> 'rel_op', > 'rel_op' =3D> { > 'left' =3D> { > 'value' =3D> 1 > }, > 'right' =3D> { > 'value' =3D> 1 > }, > 'oper' =3D> '=3D=3D' > } > }; >=20 > ( using "1=3D1" returns all entries properly, as does "1<2" and other que= ries > of that nature, so i think i've at least got the basic syntax down. what > i'm > probably not understanding are what types of arguments i'm supposed to fe= ed > to the qualifier constructor, tho the examples i've seen in the mailing l= ist > seem to match up with what i'm trying to do ) >=20 > a little stumped :) - thanks much for any help! >=20 > - tom >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Carey M. B. <bla...@gm...> - 2005-04-27 14:50:56
|
Mark,
That was my first thought too. But is it very hard to read the following Pe=
rl:
-query =3D> '("Login Name" =3D "some_user")'
Is that:
<single>(<single><single>Login Name<single><single> =3D
<double>someuser<double>)<single>
or
<single>(<double>Login Name<double> =3D <double>someuser<double>)<single>
or=20
<single>(<double>Login Name<double> =3D
<single><single>someuser<single><single>)<single>
or
etc...
All I can say is that my cursor appears to count the values as one
double quote around the Login Name field name. (not sure if that is a
function of the many layers of email processing or not.)
But it is hard to read it that way when you know what should be there
given ARS syntax and Perl syntax. Which is why I was trying to break
down the way it should be instead of just point fixing this query
condition.
It would actually be a nice add to the ARSPerl docs to include a
search example using:
Field labels (yea.. that takes some work)
Field DB names
Field ID values
And the host of "values" too. (Char, Integer, Data/Time, Real, etc..)
Would there be any interest in having a "ARSPerl sample form" with
some sample scripts that go with it?
--=20
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS =3D Action Request System(Remedy)
Solution =3D People + Process + Tools
Fast, Accurate, Cheap.... Pick two.
Never ascribe to malice, that which can be explained by incompetence.
http://www.fellowshipchurch.com
On 4/27/05, Mark Vaughan <mva...@ev...> wrote:
> I believe the "Login Name" should be surrounded by single quotes, not
> double quotes.
>=20
> Mark Vaughan
>=20
> Programmer III
>=20
> Direct: +1 303 802 2426
>=20
> Cell: +1 303 601 4434
>=20
> Fax: +1 303 802 1420
>=20
> mar...@ev...
>=20
> Evolving Systems, Inc.
>=20
> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
>=20
> www.evolving.com
>=20
>=20
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...] On Behalf Of the sign will be
> that life is awesome
> Sent: Wednesday, April 27, 2005 4:16 AM
> To: ars...@ar...
> Subject: [Arsperl-users] question regarding the query() method
>=20
> I'm trying to figure out how to properly use qualifiers via the OO
> query()
> method on the SHR:People form. my code is below :
>=20
> my @entries =3D $remedy_form->query(
> -query =3D> '("Login Name" =3D "some_user")'
> );
>=20
> this returns an array of field headers but no entries.
>=20
> i've verified that the 'Login Name' field exists under that name in the
> form
>=20
> 'Login Name' =3D> 240000005
>=20
> I suspect that I'm not understanding how to properly phrase a remedy
> query
> and apologize if that is the case here. invoking query() with no
> arguments
> properly returns all entry IDs for the form and i can properly perform a
> get() on the form handle to retrieve the entry - i just can't seem to
> properly
> format a filter on the query itself.
>=20
> does anyone see anything boneheaded i'm doing here? i've tried various
> quoting
> styles for the query, such as "(\"Login Name\" =3D \"some_user\")", 'Logi=
n
> name'
> and 'Login' instead of 'Login Name' and omitting the spaces between the
> field
> name and the '=3D' in the query as well as removing the parentheses aroun=
d
> the
> query but none of those seem to work for me. directly using
> ars_GetListEntry
> acts identically.
>=20
> one thing i've noted ( not sure if this is something the C API deals
> with or
> not ) is that you can specify any field name in the qualifier, whether
> it
> exists or not, and no error is thrown.
>=20
> the deconstructed qualifier as returned by ars_perl_qualifier() looks
> like
>=20
> $VAR1 =3D {
> 'oper' =3D> 'rel_op',
> 'rel_op' =3D> {
> 'left' =3D> {
> 'value' =3D> 'Login Name'
> },
> 'right' =3D> {
> 'value' =3D> 'some_user'
> },
> 'oper' =3D> '=3D=3D'
> }
> };
>=20
> using the standard $all qualifier of "1=3D1" returns
>=20
> $VAR1 =3D {
> 'oper' =3D> 'rel_op',
> 'rel_op' =3D> {
> 'left' =3D> {
> 'value' =3D> 1
> },
> 'right' =3D> {
> 'value' =3D> 1
> },
> 'oper' =3D> '=3D=3D'
> }
> };
>=20
> ( using "1=3D1" returns all entries properly, as does "1<2" and other
> queries
> of that nature, so i think i've at least got the basic syntax down.
> what i'm
> probably not understanding are what types of arguments i'm supposed to
> feed
> to the qualifier constructor, tho the examples i've seen in the mailing
> list
> seem to match up with what i'm trying to do )
>=20
> a little stumped :) - thanks much for any help!
>=20
> - tom
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> This e-mail and any attachments may be confidential and/or legally privil=
eged. If you have received this e-mail and you are not a named addressee, p=
lease inform Evolving Systems TIS at ti...@ev... and then delete the e=
-mail from your system. If you are not a named addressee you must not use, =
disclose, distribute, copy, print or rely on this e-mail. To ensure regulat=
ory compliance and for the protection of our clients and business, Evolving=
Systems may monitor and read e-mails sent to and from its servers. Althoug=
h Evolving Systems routinely screens for viruses, addressees should scan th=
is e-mail and any attachments for viruses. Evolving Systems makes no repres=
entation or warranty as to the absence of viruses in this e-mail or any att=
achments.
>=20
> Registered Office: 9777 Mt. Pyramid Ct Suite 100, Englewood, CO 80112
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Mark V. <mva...@ev...> - 2005-04-27 14:34:15
|
I believe the "Login Name" should be surrounded by single quotes, not double quotes. Mark Vaughan Programmer III =20 Direct: +1 303 802 2426 Cell: +1 303 601 4434 Fax: +1 303 802 1420 mar...@ev... Evolving Systems, Inc.=20 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112 www.evolving.com -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of the sign will be that life is awesome Sent: Wednesday, April 27, 2005 4:16 AM To: ars...@ar... Subject: [Arsperl-users] question regarding the query() method I'm trying to figure out how to properly use qualifiers via the OO query() method on the SHR:People form. my code is below : my @entries =3D $remedy_form->query( -query =3D> '("Login Name" =3D "some_user")' ); this returns an array of field headers but no entries. i've verified that the 'Login Name' field exists under that name in the form 'Login Name' =3D> 240000005 I suspect that I'm not understanding how to properly phrase a remedy query and apologize if that is the case here. invoking query() with no arguments properly returns all entry IDs for the form and i can properly perform a get() on the form handle to retrieve the entry - i just can't seem to properly format a filter on the query itself. does anyone see anything boneheaded i'm doing here? i've tried various quoting styles for the query, such as "(\"Login Name\" =3D \"some_user\")", 'Logi= n name' and 'Login' instead of 'Login Name' and omitting the spaces between the field name and the '=3D' in the query as well as removing the parentheses aroun= d the query but none of those seem to work for me. directly using ars_GetListEntry acts identically. one thing i've noted ( not sure if this is something the C API deals with or not ) is that you can specify any field name in the qualifier, whether it exists or not, and no error is thrown. the deconstructed qualifier as returned by ars_perl_qualifier() looks like $VAR1 =3D { 'oper' =3D> 'rel_op', 'rel_op' =3D> { 'left' =3D> { 'value' =3D> 'Login Name' }, 'right' =3D> { 'value' =3D> 'some_user' }, 'oper' =3D> '=3D=3D' } }; using the standard $all qualifier of "1=3D1" returns $VAR1 =3D { 'oper' =3D> 'rel_op', 'rel_op' =3D> { 'left' =3D> { 'value' =3D> 1 }, 'right' =3D> { 'value' =3D> 1 }, 'oper' =3D> '=3D=3D' } }; ( using "1=3D1" returns all entries properly, as does "1<2" and other queries of that nature, so i think i've at least got the basic syntax down. what i'm probably not understanding are what types of arguments i'm supposed to feed to the qualifier constructor, tho the examples i've seen in the mailing list seem to match up with what i'm trying to do ) a little stumped :) - thanks much for any help! - tom ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users This e-mail and any attachments may be confidential and/or legally privil= eged. If you have received this e-mail and you are not a named addressee,= please inform Evolving Systems TIS at ti...@ev... and then delete t= he e-mail from your system. If you are not a named addressee you must not= use, disclose, distribute, copy, print or rely on this e-mail. To ensure= regulatory compliance and for the protection of our clients and business= , Evolving Systems may monitor and read e-mails sent to and from its serv= ers. Although Evolving Systems routinely screens for viruses, addressees = should scan this e-mail and any attachments for viruses. Evolving Systems= makes no representation or warranty as to the absence of viruses in this= e-mail or any attachments.=20 Registered Office: 9777 Mt. Pyramid Ct Suite 100, Englewood, CO 80112 |
|
From: Sean G. <msg...@co...> - 2005-04-27 14:11:17
|
It is because your query is bad -- it should be 'Login Name' =3D "Some =
User"
If you are creating it in perl it should be "'Login Name' =3D \"Some =
User\""
Fields are always surrounded in single quotes while character data is in
double quotes.
Please note -- you must use the label of the field and not the database =
name
when creating your query. This has got me several times because =
everything
else seems to use the database name.
Thanks,
Sean=20
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of the sign will be =
that
life is awesome
Sent: Wednesday, April 27, 2005 6:16 AM
To: 'ars...@ar...'
Subject: [Arsperl-users] question regarding the query() method
I'm trying to figure out how to properly use qualifiers via the OO =
query()
method on the SHR:People form. my code is below :
my @entries =3D $remedy_form->query(
-query =3D> '("Login Name" =3D "some_user")'
);
this returns an array of field headers but no entries.
i've verified that the 'Login Name' field exists under that name in the =
form
'Login Name' =3D> 240000005
I suspect that I'm not understanding how to properly phrase a remedy =
query
and apologize if that is the case here. invoking query() with no =
arguments
properly returns all entry IDs for the form and i can properly perform a
get() on the form handle to retrieve the entry - i just can't seem to
properly
format a filter on the query itself.
does anyone see anything boneheaded i'm doing here? i've tried various
quoting
styles for the query, such as "(\"Login Name\" =3D \"some_user\")", =
'Login
name'
and 'Login' instead of 'Login Name' and omitting the spaces between the
field
name and the '=3D' in the query as well as removing the parentheses =
around the
query but none of those seem to work for me. directly using
ars_GetListEntry
acts identically.
one thing i've noted ( not sure if this is something the C API deals =
with or
not ) is that you can specify any field name in the qualifier, whether =
it
exists or not, and no error is thrown.
the deconstructed qualifier as returned by ars_perl_qualifier() looks =
like
$VAR1 =3D {
'oper' =3D> 'rel_op',
'rel_op' =3D> {
'left' =3D> {
'value' =3D> 'Login Name'
},
'right' =3D> {
'value' =3D> 'some_user'
},
'oper' =3D> '=3D=3D'
}
};
using the standard $all qualifier of "1=3D1" returns
$VAR1 =3D {
'oper' =3D> 'rel_op',
'rel_op' =3D> {
'left' =3D> {
'value' =3D> 1
},
'right' =3D> {
'value' =3D> 1
},
'oper' =3D> '=3D=3D'
}
};
( using "1=3D1" returns all entries properly, as does "1<2" and other =
queries
of that nature, so i think i've at least got the basic syntax down. =
what
i'm
probably not understanding are what types of arguments i'm supposed to =
feed
to the qualifier constructor, tho the examples i've seen in the mailing =
list
seem to match up with what i'm trying to do )
a little stumped :) - thanks much for any help!
- tom
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Kelly L. <kel...@ra...> - 2005-04-27 14:03:16
|
Good day Tom,
I'm not as hep on the OO code, but in general you need to translate a =
text
qualifier into the functional code that Remedy uses.
Here's a code snippet of mine:
-------------------------------
my $qualString =3D '\'Status\' =3D 0 OR \'Completed Date\' =3D $NULL$ OR
\'Completed Date\' > $TIMESTAMP$ - (32*24*60*60)';
my $qual =3D ars_LoadQualifier($ctl, $cmsPlanServicesForm, $qualString) =
||
terminalExit("ERROR: failed in ars_LoadQualifier()\n$ars_errstr");
if (defined($qual)) {
%entries =3D ars_GetListEntry($ctl, $cmsPlanServicesForm, $qual, 0,
0);
} else {
terminalExit("failed in ars_LoadQualifier for
$qualString\n$ars_errstr");
}
-------------------------------
I just use the $qualString for convenience sake.
After you 'load' the qualifier, you use that encoded string in your =
query.
Note also the $ars_errstr - This is always worth checking if you think
something went wrong.
Hope that helps. Feel free to contact me for details on this.
Kelly Logan
Cybernetic Solutions, Inc.
(313) 586-8334
kel...@cy...
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of the sign will be =
that
life is awesome
Sent: 04/27/2005 6:16 AM
To: ars...@ar...
Subject: [Arsperl-users] question regarding the query() method
I'm trying to figure out how to properly use qualifiers via the OO =
query()
method on the SHR:People form. my code is below :
my @entries =3D $remedy_form->query(
-query =3D> '("Login Name" =3D "some_user")'
);
this returns an array of field headers but no entries.
i've verified that the 'Login Name' field exists under that name in the =
form
'Login Name' =3D> 240000005
I suspect that I'm not understanding how to properly phrase a remedy =
query
and apologize if that is the case here. invoking query() with no =
arguments
properly returns all entry IDs for the form and i can properly perform a
get() on the form handle to retrieve the entry - i just can't seem to
properly format a filter on the query itself.
does anyone see anything boneheaded i'm doing here? i've tried various
quoting styles for the query, such as "(\"Login Name\" =3D =
\"some_user\")",
'Login name' and 'Login' instead of 'Login Name' and omitting the spaces
between the field name and the '=3D' in the query as well as removing =
the
parentheses around the query but none of those seem to work for me.
directly using ars_GetListEntry acts identically.
one thing i've noted ( not sure if this is something the C API deals =
with or
not ) is that you can specify any field name in the qualifier, whether =
it
exists or not, and no error is thrown.
the deconstructed qualifier as returned by ars_perl_qualifier() looks =
like
$VAR1 =3D {
'oper' =3D> 'rel_op',
'rel_op' =3D> {
'left' =3D> {
'value' =3D> 'Login Name'
},
'right' =3D> {
'value' =3D> 'some_user'
},
'oper' =3D> '=3D=3D'
}
};
using the standard $all qualifier of "1=3D1" returns
$VAR1 =3D {
'oper' =3D> 'rel_op',
'rel_op' =3D> {
'left' =3D> {
'value' =3D> 1
},
'right' =3D> {
'value' =3D> 1
},
'oper' =3D> '=3D=3D'
}
};
( using "1=3D1" returns all entries properly, as does "1<2" and other =
queries
of that nature, so i think i've at least got the basic syntax down. =
what
i'm probably not understanding are what types of arguments i'm supposed =
to
feed to the qualifier constructor, tho the examples i've seen in the =
mailing
list seem to match up with what i'm trying to do )
a little stumped :) - thanks much for any help!
- tom
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans! =
Take
this survey and enter to win a one-year sub to SourceForge.net Plus =
IDC's
2005 look-ahead and a copy of this survey Click here to start!
http://www.idcswdc.com/cgi-bin/survey?id=3D105hix
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Zandi P. S T. AFRL/I. <Pat...@rl...> - 2005-04-27 13:48:13
|
Thanks.. I was not sure the patches had the COMPLETE api .. Built in.. If I compile the 6.3 on the 512 box.. Do I have to recode ? -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of Alex Agle Sent: Wednesday, April 27, 2005 9:40 AM To: ars...@ar... Subject: Re: [Arsperl-users] Compile --failed for target test_dynamic Hi Patrick, No real comments on question 1, except to say that I have seen the tests fail before, while my perl scripts have worked fine. For question 2, if you go to supportweb.remedy.com, search for patches and find 5.1.2 patch 1389 (or whatever the latest patch is now). Download the Solaris installer, and install only the API. You may want to rename your existing API directory, so that you can have multiple copies of the API to work with. Also, you may want to experiment with getting ARS Perl compiled with a 6.x version API. It still works against a 5.1.2 server. There may be a slight performance hit as the 6.x API negotiates with the server to determine that it needs to communicate as a 5.1.2 client, but if I remember right, you're using SunFire 280Rs, which are fast. For question 3, ... no comments :-) Alex On Tue, Apr 26, 2005 at 09:09:11PM -0000, Zandi Patrick S TSgt AFRL/IFOS wrote: > OK, Solaris 9 ARS 5.12 .. Perl 5.8.6 Apache 2.0.54 1. Is this normal > ? > 2. is there a place to get the complete up to date 5.12 API ? > 3. any other comments except my character are acceptable.. =8 - P > > t/09qualifier........ok > > t/10alink............FAILED tests 3-4 > > Failed 2/4 tests, 50.00% okay > t/10entry............ok > > t/10getescalation....FAILED tests 3-4 > > Failed 2/4 tests, 50.00% okay > t/10getftinfo........ok > > t/10getlist..........NOK 2# Failed test (t/10getlist.t at line 20) > > Use of uninitialized value in concatenation (.) or string at > t/10getlist.t line 20. > # GetListEscalation (-1) > t/10getlist..........ok 9/9# Looks like you failed 1 tests of 9. > > t/10getlist..........dubious > > Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 2 > 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/01import.t 1 1 100.00% 1 > t/10alink.t 4 2 50.00% 3-4 > t/10getescalation.t 4 2 50.00% 3-4 > t/10getlist.t 1 256 9 1 11.11% 2 > Failed 4/13 test scripts, 69.23% okay. 6/166 subtests failed, 96.39% okay. > *** Error code 29 > make: Fatal error: Command failed for target `test_dynamic' > > Patrick Zandi, TSgt, USAF > Remedy Developer/Oracle Grid Services Manager/Customer Support Manager > Rome Research Site, Rome New York > 315-330-3911 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey Click here to > start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users -- O--------------O--O---------------------------------O | Alex Agle \/ Systems Support Specialist III | O---------------/\ Georgia Institute of Technology | |(404)894-6165 //\\ ITS-Collaborative Applications | | Atlanta, GA //\/\\ alex.agle(@)oit.gatech.edu | O------------O-\/\/-O-------------------------------O ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Alex A. <ale...@oi...> - 2005-04-27 13:41:20
|
Hi Patrick, No real comments on question 1, except to say that I have seen the tests fail before, while my perl scripts have worked fine. For question 2, if you go to supportweb.remedy.com, search for patches and find 5.1.2 patch 1389 (or whatever the latest patch is now). Download the Solaris installer, and install only the API. You may want to rename your existing API directory, so that you can have multiple copies of the API to work with. Also, you may want to experiment with getting ARS Perl compiled with a 6.x version API. It still works against a 5.1.2 server. There may be a slight performance hit as the 6.x API negotiates with the server to determine that it needs to communicate as a 5.1.2 client, but if I remember right, you're using SunFire 280Rs, which are fast. For question 3, ... no comments :-) Alex On Tue, Apr 26, 2005 at 09:09:11PM -0000, Zandi Patrick S TSgt AFRL/IFOS wrote: > OK, Solaris 9 ARS 5.12 .. Perl 5.8.6 Apache 2.0.54 > 1. Is this normal ? > 2. is there a place to get the complete up to date 5.12 API ? > 3. any other comments except my character are acceptable.. =8 - P > > t/09qualifier........ok > > t/10alink............FAILED tests 3-4 > > Failed 2/4 tests, 50.00% okay > t/10entry............ok > > t/10getescalation....FAILED tests 3-4 > > Failed 2/4 tests, 50.00% okay > t/10getftinfo........ok > > t/10getlist..........NOK 2# Failed test (t/10getlist.t at line 20) > > Use of uninitialized value in concatenation (.) or string at t/10getlist.t > line 20. > # GetListEscalation (-1) > t/10getlist..........ok 9/9# Looks like you failed 1 tests of 9. > > t/10getlist..........dubious > > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 2 > 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/01import.t 1 1 100.00% 1 > t/10alink.t 4 2 50.00% 3-4 > t/10getescalation.t 4 2 50.00% 3-4 > t/10getlist.t 1 256 9 1 11.11% 2 > Failed 4/13 test scripts, 69.23% okay. 6/166 subtests failed, 96.39% okay. > *** Error code 29 > make: Fatal error: Command failed for target `test_dynamic' > > Patrick Zandi, TSgt, USAF > Remedy Developer/Oracle Grid Services Manager/Customer Support Manager > Rome Research Site, Rome New York > 315-330-3911 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users -- O--------------O--O---------------------------------O | Alex Agle \/ Systems Support Specialist III | O---------------/\ Georgia Institute of Technology | |(404)894-6165 //\\ ITS-Collaborative Applications | | Atlanta, GA //\/\\ alex.agle(@)oit.gatech.edu | O------------O-\/\/-O-------------------------------O |
|
From: Carey M. B. <bla...@gm...> - 2005-04-27 13:17:17
|
Tom,
ARS "Advanced Search Bar" syntax goes something like this:
Field names (Current View's Label, or fields DB name) should be in
single quotes. (Or you can use the field ID too.)
Literal strings should be in double quotes.
integers are NOT quoted (double or single)
Spacing really does not matter that much. (Extra white space is
welcome, but sometimes "2AND" may not parse as well as "2 AND". So try
to use some white space or at least parentheses.)
API search strings only differ by this one simple (and easy to trip
over) difference:
The fields DATABASE NAME (Each field has multiple English names,
one for the DB name that is guaranteed to be unique on the form, and
one per view where the field is included for the users reference.)
should be in single quotes.
So if the field id is 240000005 and the fields DB name is 'Login Name'
the following two syntax should do the same thing:
'Login Name' =3D "some user"
vs.
'240000005' =3D "some user"
However, if the fields label (view dependent name) is actually 'Login
Name' and the field's DB name is 'Login' then the first example above
would fail and the second one should work. (and 'Login' =3D "some user"
should also work.)
BTW: Some people like to use the qq function to make keeping track of
the quotes a bit easier.
$query_String =3D qq/('Login Name' =3D "some_user")/
Then try to use:
-query =3D> $query_String
Date time fields are "integer" in nature. (you have likely already
found this.) So 'Create Date' > 0 really means 'Create Date' >
"1/1/1970 12:00:00 AM" (In the client Timezone.) [ Well that is how
the User tool work. The API might be less TZ sensitive.]
Selection fields are "integer in nature. (you have likely already found thi=
s.)=20
'Status' =3D 1 can also be written as 'Status' =3D "Assigned"
Oh, one final thing... I never use the OO interface. It is just one
more thing to "fight with" IMHO. Perl is just to easy to over
complicate with multiple layers in Perl. ARSPerl is fairly straight
forward as a whole. So if the OO interface just does not get the job
done... try the "real ARSPerl" functions. I bet you will have no
problems with them.
I also do not have a copy of your "SHR:People" form so please confirm
field details with your Remedy Administrator via the Admin tool.
HTH.
--=20
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS =3D Action Request System(Remedy)
Solution =3D People + Process + Tools
Fast, Accurate, Cheap.... Pick two.
Never ascribe to malice, that which can be explained by incompetence.
http://www.fellowshipchurch.com
On 4/27/05, the sign will be that life is awesome <ix...@on...> wrote:
> I'm trying to figure out how to properly use qualifiers via the OO query(=
)
> method on the SHR:People form. my code is below :
>=20
> my @entries =3D $remedy_form->query(
> -query =3D> '("Login Name" =3D "some_user")'
> );
>=20
> this returns an array of field headers but no entries.
>=20
> i've verified that the 'Login Name' field exists under that name in the f=
orm
>=20
> 'Login Name' =3D> 240000005
>=20
> I suspect that I'm not understanding how to properly phrase a remedy quer=
y
> and apologize if that is the case here. invoking query() with no argumen=
ts
> properly returns all entry IDs for the form and i can properly perform a
> get() on the form handle to retrieve the entry - i just can't seem to pro=
perly
> format a filter on the query itself.
>=20
> does anyone see anything boneheaded i'm doing here? i've tried various q=
uoting
> styles for the query, such as "(\"Login Name\" =3D \"some_user\")", 'Logi=
n name'
> and 'Login' instead of 'Login Name' and omitting the spaces between the f=
ield
> name and the '=3D' in the query as well as removing the parentheses aroun=
d the
> query but none of those seem to work for me. directly using ars_GetListE=
ntry
> acts identically.
>=20
> one thing i've noted ( not sure if this is something the C API deals with=
or
> not ) is that you can specify any field name in the qualifier, whether it
> exists or not, and no error is thrown.
>=20
> the deconstructed qualifier as returned by ars_perl_qualifier() looks lik=
e
>=20
> $VAR1 =3D {
> 'oper' =3D> 'rel_op',
> 'rel_op' =3D> {
> 'left' =3D> {
> 'value' =3D> 'Login Name'
> },
> 'right' =3D> {
> 'value' =3D> 'some_user'
> },
> 'oper' =3D> '=3D=3D'
> }
> };
>=20
> using the standard $all qualifier of "1=3D1" returns
>=20
> $VAR1 =3D {
> 'oper' =3D> 'rel_op',
> 'rel_op' =3D> {
> 'left' =3D> {
> 'value' =3D> 1
> },
> 'right' =3D> {
> 'value' =3D> 1
> },
> 'oper' =3D> '=3D=3D'
> }
> };
>=20
> ( using "1=3D1" returns all entries properly, as does "1<2" and other que=
ries
> of that nature, so i think i've at least got the basic syntax down. what=
i'm
> probably not understanding are what types of arguments i'm supposed to fe=
ed
> to the qualifier constructor, tho the examples i've seen in the mailing l=
ist
> seem to match up with what i'm trying to do )
>=20
> a little stumped :) - thanks much for any help!
>=20
> - tom
|
|
From: <ix...@on...> - 2005-04-27 10:16:59
|
I'm trying to figure out how to properly use qualifiers via the OO query()
method on the SHR:People form. my code is below :
my @entries = $remedy_form->query(
-query => '("Login Name" = "some_user")'
);
this returns an array of field headers but no entries.
i've verified that the 'Login Name' field exists under that name in the form
'Login Name' => 240000005
I suspect that I'm not understanding how to properly phrase a remedy query
and apologize if that is the case here. invoking query() with no arguments
properly returns all entry IDs for the form and i can properly perform a
get() on the form handle to retrieve the entry - i just can't seem to properly
format a filter on the query itself.
does anyone see anything boneheaded i'm doing here? i've tried various quoting
styles for the query, such as "(\"Login Name\" = \"some_user\")", 'Login name'
and 'Login' instead of 'Login Name' and omitting the spaces between the field
name and the '=' in the query as well as removing the parentheses around the
query but none of those seem to work for me. directly using ars_GetListEntry
acts identically.
one thing i've noted ( not sure if this is something the C API deals with or
not ) is that you can specify any field name in the qualifier, whether it
exists or not, and no error is thrown.
the deconstructed qualifier as returned by ars_perl_qualifier() looks like
$VAR1 = {
'oper' => 'rel_op',
'rel_op' => {
'left' => {
'value' => 'Login Name'
},
'right' => {
'value' => 'some_user'
},
'oper' => '=='
}
};
using the standard $all qualifier of "1=1" returns
$VAR1 = {
'oper' => 'rel_op',
'rel_op' => {
'left' => {
'value' => 1
},
'right' => {
'value' => 1
},
'oper' => '=='
}
};
( using "1=1" returns all entries properly, as does "1<2" and other queries
of that nature, so i think i've at least got the basic syntax down. what i'm
probably not understanding are what types of arguments i'm supposed to feed
to the qualifier constructor, tho the examples i've seen in the mailing list
seem to match up with what i'm trying to do )
a little stumped :) - thanks much for any help!
- tom
|
|
From: <ix...@on...> - 2005-04-27 09:37:59
|
Hello all,
( using Remedy server v6.3, ARSPerl v1.83, Solaris 5.8, gcc 2.95.3 )
I'm new to the list ( and to Remedy ). I've been writing some backend code
to tie Remedy in to some of our other production systems with varying degrees
of success ( everything that i really need working works - create, remove and
update of records ) .. i'm walking through the ARSPerl interface trying to see
what I can make use of and can't seem to get
ars_GetListSchema();
to work properly. I don't know if this is due to some ignorance on my part
or whether the function isn't acting quite right. The code I'm currently
using is :
my $connection = ARS->new(
'-server' => 'remedy-server-name',
'-username' => 'remedy-user-name',
'-password' => 'remedy-user-password',
'-catch' => {
ARS::AR_RETURN_ERROR => "main::mycatch",
ARS::AR_RETURN_WARNING => "main::mycatch",
ARS::AR_RETURN_FATAL => "main::mycatch"
},
'-ctrl' => undef,
'-debug' => 0
);
( my @schemas = ARS::ars_GetListSchema( $connection->{'ctrl'}, 0, ARS::AR_LIST_SCHEMA_ALL | ARS::AR_HIDDEN_INCREMENT ) );
print Dumper( \@schemas );
this results in the return of an empty array
i've received other errors with different invocations of the function and
the OO method availableSchemas() returns
fieldPropList is not of type ARPropListPtr at /path/to/perl/lib/perl5/site_perl/5.8.6/sun4-solaris/ARSOOsup.pm line 122.
using the following code
( my @schemas = $connection->availableSchemas(
-changedsince => 0,
-schematype => ARS::AR_LIST_SCHEMA_ALL | ARS::AR_HIDDEN_INCREMENT
) );
has anyone had similar trouble?
( second post coming regarding the query() method )
thanks much for any information!
- tom
|
|
From: Zandi P. S T. AFRL/I. <Pat...@rl...> - 2005-04-26 21:14:00
|
OK, Solaris 9 ARS 5.12 .. Perl 5.8.6 Apache 2.0.54
1. Is this normal ?
2. is there a place to get the complete up to date 5.12 API ?
3. any other comments except my character are acceptable.. =8 - P
t/09qualifier........ok
t/10alink............FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10entry............ok
t/10getescalation....FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10getftinfo........ok
t/10getlist..........NOK 2# Failed test (t/10getlist.t at line 20)
Use of uninitialized value in concatenation (.) or string at t/10getlist.t
line 20.
# GetListEscalation (-1)
t/10getlist..........ok 9/9# Looks like you failed 1 tests of 9.
t/10getlist..........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
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/01import.t 1 1 100.00% 1
t/10alink.t 4 2 50.00% 3-4
t/10getescalation.t 4 2 50.00% 3-4
t/10getlist.t 1 256 9 1 11.11% 2
Failed 4/13 test scripts, 69.23% okay. 6/166 subtests failed, 96.39% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
Patrick Zandi, TSgt, USAF
Remedy Developer/Oracle Grid Services Manager/Customer Support Manager
Rome Research Site, Rome New York
315-330-3911
|
|
From: jeff m. <jcm...@je...> - 2005-04-22 15:24:47
|
On Fri, 2005-04-22 at 10:02 -0400, Meier, Lori wrote: > Jeff - > > That fixed the perl issue. Now when I run the "make", I get > perl5.005 apparently doesnt like the way the line above that one (988) looks. vi +988 ARS.xs and change "void ars_GetListSchema(..." to: void ars_GetListSchema(... jeff > Skip blib/lib/artypes.ph (unchanged) > /usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 /usr/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/perl5/5.00503/ExtUtils/typemap -typemap typemap ARS.xs >xstmp.c && mv xstmp.c ARS.c > Error: Cannot parse function definition from ' ARControlStruct * ctrl' in ARS.xs, line 989 > *** Error code 1 > make: Fatal error: Command failed for target `ARS.c' > > > -----Original Message----- > From: ars...@ar... > [mailto:ars...@ar...]On Behalf Of jeff murphy > Sent: Friday, April 22, 2005 9:36 AM > To: ars...@ar... > Subject: Re: [Arsperl-users] Error Compiling ARSperl 1.83 > > > > try changing > > open ($ar_fh, '<', $ar_fname) or > > to > > > open ($ar_fh, '<'. $ar_fname) or > > > > > On Fri, 2005-04-22 at 09:27 -0400, Meier, Lori wrote: > > Hello, > > > > I am trying to compile ARSperl 1.83 using ARS 6.3 api libraries, perl 5.005_03 > > on Sun 5.8. > > > > When I run perl Makefile.PL, I get > > > > Too many arguments for open at Makefile.PL line 651, near "$ar_fname) " > > Execution of Makefile.PL aborted due to compilation errors. > > > > Any help on getting this compile will be greatly appreciated. > > > > Thank you, > > Lori > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > > _______________________________________________ > > Arsperl-users mailing list > > Ars...@ar... > > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Meier, L. <lor...@ci...> - 2005-04-22 14:05:51
|
Jeff - That fixed the perl issue. Now when I run the "make", I get Skip blib/lib/artypes.ph (unchanged) /usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 = /usr/perl5/5.00503/ExtUtils/xsubpp -typemap = /usr/perl5/5.00503/ExtUtils/typemap -typemap typemap ARS.xs >xstmp.c && = mv xstmp.c ARS.c Error: Cannot parse function definition from ' ARControlStruct * = ctrl' in ARS.xs, line 989 *** Error code 1 make: Fatal error: Command failed for target `ARS.c' -----Original Message----- From: ars...@ar... [mailto:ars...@ar...]On Behalf Of jeff murphy Sent: Friday, April 22, 2005 9:36 AM To: ars...@ar... Subject: Re: [Arsperl-users] Error Compiling ARSperl 1.83 try changing=20 open ($ar_fh, '<', $ar_fname) or to open ($ar_fh, '<'. $ar_fname) or On Fri, 2005-04-22 at 09:27 -0400, Meier, Lori wrote: > Hello, >=20 > I am trying to compile ARSperl 1.83 using ARS 6.3 api libraries, perl = 5.005_03 > on Sun 5.8. >=20 > When I run perl Makefile.PL, I get >=20 > Too many arguments for open at Makefile.PL line 651, near "$ar_fname) = " > Execution of Makefile.PL aborted due to compilation errors. >=20 > Any help on getting this compile will be greatly appreciated. >=20 > Thank you, > Lori >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real = users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users >=20 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: jeff m. <jcm...@je...> - 2005-04-22 13:36:49
|
try changing open ($ar_fh, '<', $ar_fname) or to open ($ar_fh, '<'. $ar_fname) or On Fri, 2005-04-22 at 09:27 -0400, Meier, Lori wrote: > Hello, > > I am trying to compile ARSperl 1.83 using ARS 6.3 api libraries, perl 5.005_03 > on Sun 5.8. > > When I run perl Makefile.PL, I get > > Too many arguments for open at Makefile.PL line 651, near "$ar_fname) " > Execution of Makefile.PL aborted due to compilation errors. > > Any help on getting this compile will be greatly appreciated. > > Thank you, > Lori > > > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Meier, L. <lor...@ci...> - 2005-04-22 13:29:20
|
Hello, I am trying to compile ARSperl 1.83 using ARS 6.3 api libraries, perl = 5.005_03 on Sun 5.8. When I run perl Makefile.PL, I get Too many arguments for open at Makefile.PL line 651, near "$ar_fname) " Execution of Makefile.PL aborted due to compilation errors. Any help on getting this compile will be greatly appreciated. Thank you, Lori |
|
From: Misi M. <mi...@rr...> - 2005-04-20 14:58:47
|
Mark,
I did a 'make clean', 'perl Makefile.PL' multiple times to start from
scratch. I even deleted the directory and started all over. This did not
help...
I had to do the manual steps to get it installed ok.
Best Regards - Misi, RRR AB, http://www.rrr.se
> Misi,
> I saw something in a previous message:
>> # ls -l /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS
>> total 0
>
> This tells me that the directory already exists. I checked on my system
> and could not get the .ix file to be generated when the directory existed
> either. I did a 'make clean' followed by 'perl Makefile.PL' and, finally,
> by 'make'. The file then showed up.
>
> I hope this helps,
> Mark Vaughan
>
> Programmer III
>
>
>
> Direct: +1 303 802 2426
>
> Cell: +1 303 601 4434
>
> Fax: +1 303 802 1420
>
> mar...@ev...
>
> Evolving Systems, Inc.
>
> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
>
> www.evolving.com
>
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky
> Sent: Friday, April 15, 2005 1:10 AM
> To: ars...@ar...
> Subject: RE: [Arsperl-users] Install problems 1.83 on Solaris 8...
>
> Hi Mark,
>
> The command you suggested created the autosplit.ix. Is there some problem
> in my Makefile!?
>
> "make test" was more successfull, and I got it to work.
>
> The "make install" did only copy the autosplit.ix, and I had to manually
> copy the following files to
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/:
> _h2ph_pre.ph
> ARS.pm
> ARSar-h.pm
> ARSarerrno-h.pm
> ARSnparm.pm
> ARSnt-h.pm
> ARSnterrno-h.pm
> ARSOOform.pm
> ARSOOmsgs.pm
> ARSOOsup.pm
>
> Best Regards - Misi, RRR AB, http://www.rrr.se
>
>> It doesn't appear to be running the autosplit correctly.
>>
>> Does the file show up if you do (from the ARSperl-1.83 dir):
>> perl -e 'use AutoSplit;autosplit("ARS.pm","blib/lib/auto",0,1,1)'
>>
>> If this command works correctly you should see:
>> AutoSplitting ARS.pm (blib/lib/auto/ARS)
>>
>> and the file blib/lib/auto/ARS/autosplit.ix should now exist.
>> This should remove that 'make test' error about autosplit.ix
>>
>> Mark
>>
>> Mark Vaughan
>>
>> Programmer III
>>
>>
>>
>> Direct: +1 303 802 2426
>>
>> Cell: +1 303 601 4434
>>
>> Fax: +1 303 802 1420
>>
>> mar...@ev...
>>
>> Evolving Systems, Inc.
>>
>> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
>>
>> www.evolving.com
>>
>>
>> -----Original Message-----
>> From: ars...@ar...
>> [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky
>> Sent: Thursday, April 14, 2005 12:48 PM
>> To: ars...@ar...
>> Subject: RE: [Arsperl-users] Install problems 1.83 on Solaris 8...
>>
>> Hi Mark and Jeff,
>>
>> I am trying to compile against the 6.3 API.
>>
>> I see no errors when doing a make (after getting all the packages right
>> anyhow...).
>>
>> This is the complete output from "make":
>>
>> # make
>> cp artypes.ph blib/lib/artypes.ph
>> /usr/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
>> /usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap ARS.xs >
>> ARS.xsc && mv ARS.xsc ARS.c
>> gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
>> -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
>> -DVERSION=\"1.83\" -DXS_VERSION=\"1.83\" -fPIC
>> "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452
>> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50
>> ARS.c
>> gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
>> -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
>> -DVERSION=\"1.83\" -DXS_VERSION=\"1.83\" -fPIC
>> "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452
>> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50
>> support.c
>> gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
>> -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
>> -DVERSION=\"1.83\" -DXS_VERSION=\"1.83\" -fPIC
>> "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452
>> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50
>> supportrev.c
>> Running Mkbootstrap for ARS ()
>> chmod 644 ARS.bs
>> rm -f blib/arch/auto/ARS/ARS.so
>> LD_RUN_PATH="/usr/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib ARS.o
>> support.o supportrev.o /opt/arsystem/api/lib/libar.a -o
>> blib/arch/auto/ARS/ARS.so -L/opt/arsystem/api/lib -lpthread
>> chmod 755 blib/arch/auto/ARS/ARS.so
>> cp ARS.bs blib/arch/auto/ARS/ARS.bs
>> chmod 644 blib/arch/auto/ARS/ARS.bs
>> # pwd
>> /data/urbekl/ARSperl-1.83
>> # ls -l /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS
>> total 0
>> #
>>
>> Thanks - Misi, RRR AB, http://www.rrr.se
>>
>>> Misi,
>>> I just installed the 1.83 with the 6.0 api (from 6.3 ARServer), but I'm
>>> using Perl 5.6.1, but it shouldn't matter.
>>>
>>> Did the 'make complete okay? It should have put the autosplit.ix file
>>> in /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS.
>>> Are you running the 'make test' from your install directory (presumably
>>> '/data/urbekl/ARSperl-1.83')?
>>> I ran into the 'RPC: Can't encode arguments) (ARERR #91)' error when I
>>> did not define ARTCPPORT to that matching the AR Server.
>>>
>>> I hope this helps,
>>> Mark
>>>
>>> Mark Vaughan
>>>
>>> Programmer III
>>>
>>>
>>>
>>> Direct: +1 303 802 2426
>>>
>>> Cell: +1 303 601 4434
>>>
>>> Fax: +1 303 802 1420
>>>
>>> mar...@ev...
>>>
>>> Evolving Systems, Inc.
>>>
>>> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
>>>
>>> www.evolving.com
>>>
>>> -----Original Message-----
>>> From: ars...@ar...
>>> [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky
>>> Sent: Thursday, April 14, 2005 12:03 PM
>>> To: ars...@ar...
>>> Subject: [Arsperl-users] Install problems 1.83 on Solaris 8...
>>>
>>> Hi,
>>>
>>> I am having problems doing "make test" on Solaris 8 with ARSPerl 1.83
>>> and
>>> ARAPI version 6.3.
>>>
>>> "make test" gives me a lot of errors, but I did a "make install"
>>> anyway.
>>> This is what happens when i try to use ARS:
>>> # perl
>>> use ARS;
>>> Can't locate auto/ARS/autosplit.ix in @INC (@INC contains:
>>> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
>>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>>> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .)
>>> at
>>> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
>>> at ARS.pm line 64
>>>
>>> This is some of the output from "make test":
>>> # make test
>>> ...
>>> t/10getlist..........Can't locate auto/ARS/autosplit.ix in @INC (@INC
>>> contains: /data/urbekl/ARSperl-1.83/blib/lib
>>> /data/urbekl/ARSperl-1.83/blib/arch
>>> /usr/local/lib/perl5/5.8.5/sun4-solaris
>>> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
>>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>>> /usr/local/lib/perl5/site_perl/5.8.5
>>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>>> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .
>>> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
>>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>>> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .)
>>> at
>>> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
>>> at ARS.pm line 64
>>> t/10getlist..........NOK 2# Failed test (t/10getlist.t at line 20)
>>> # GetListEscalation (-1) [ERROR] RPC call failed (RPC: Can't encode
>>> arguments) (ARERR #91)
>>> t/10getlist..........NOK 4# Failed test (t/10getlist.t at line 28)
>>> # GetListFilter (-1) [ERROR] RPC call failed (RPC: Can't encode
>>> arguments)
>>> (ARERR #91)
>>> t/10getlist..........NOK 6# Failed test (t/10getlist.t at line 36)
>>> # GetListSchema [ERROR] RPC call failed (RPC: Can't encode arguments)
>>> (ARERR #91)
>>> t/10getlist..........ok 9/9# Looks like you failed 3 tests of 9.
>>> t/10getlist..........dubious
>>> Test returned status 3 (wstat 768, 0x300)
>>> DIED. FAILED tests 2, 4, 6
>>> Failed 3/9 tests, 66.67% okay
>>> ...
>>> Failed Test Stat Wstat Total Fail Failed List of Failed
>>> ------------------------------------------------------------------------
>>> -------
>>> t/02export.t 0 139 ?? ?? % ??
>>> t/10alink.t 0 139 ?? ?? % ??
>>> t/10entry.t 22 5632 10 18 180.00% 2-10
>>> t/10getlist.t 3 768 9 3 33.33% 2 4 6
>>> t/12lotsoffields.t 104 102 98.08% 3-104
>>> t/13join.t 7 5 71.43% 3-7
>>> t/20merge.t 5 2 40.00% 4 6
>>> Failed 7/13 test scripts, 46.15% okay. 119/154 subtests failed, 22.73%
>>> okay.
>>> make: *** [test_dynamic] Error 29
>>> #
>>>
>>> These are the system specific things i installed prior to arsperl:
>>> binutils-2.11.2-sol8-sparc-local
>>> gcc_small-3.4.2-sol8-sparc-local
>>> libiconv-1.8-sol8-sparc-local
>>> make-3.80-sol8-sparc-local
>>> perl-5.8.5-sol8-sparc-local
>>> SUNWarc
>>> SUNWhea
>>> SUNWlibm
>>>
>>> Best Regards - Misi, RRR AB, http://www.rrr.se
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> SF email is sponsored by - The IT Product Guide
>>> Read honest & candid reviews on hundreds of IT Products from real
>>> users.
>>> Discover which products truly live up to the hype. Start reading now.
>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>> _______________________________________________
>>> Arsperl-users mailing list
>>> Ars...@ar...
>>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> SF email is sponsored by - The IT Product Guide
>>> Read honest & candid reviews on hundreds of IT Products from real
>>> users.
>>> Discover which products truly live up to the hype. Start reading now.
>>> http://ads.osdn.com/?ad_ide95&alloc_id 396&opÌk
>>> _______________________________________________
>>> Arsperl-users mailing list
>>> Ars...@ar...
>>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>>
>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> Arsperl-users mailing list
>> Ars...@ar...
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_ide95&alloc_id 396&opÌk
>> _______________________________________________
>> Arsperl-users mailing list
>> Ars...@ar...
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Mark V. <mva...@ev...> - 2005-04-15 14:29:38
|
Misi, I saw something in a previous message: > # ls -l /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS > total 0 This tells me that the directory already exists. I checked on my system = and could not get the .ix file to be generated when the directory = existed either. I did a 'make clean' followed by 'perl Makefile.PL' = and, finally, by 'make'. The file then showed up. I hope this helps, Mark Vaughan Programmer III =20 Direct: +1 303 802 2426 Cell: +1 303 601 4434 Fax: +1 303 802 1420 mar...@ev... Evolving Systems, Inc.=20 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112 www.evolving.com -----Original Message----- From: ars...@ar... = [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky Sent: Friday, April 15, 2005 1:10 AM To: ars...@ar... Subject: RE: [Arsperl-users] Install problems 1.83 on Solaris 8... Hi Mark, The command you suggested created the autosplit.ix. Is there some = problem in my Makefile!? "make test" was more successfull, and I got it to work. The "make install" did only copy the autosplit.ix, and I had to manually copy the following files to /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/: _h2ph_pre.ph ARS.pm ARSar-h.pm ARSarerrno-h.pm ARSnparm.pm ARSnt-h.pm ARSnterrno-h.pm ARSOOform.pm ARSOOmsgs.pm ARSOOsup.pm Best Regards - Misi, RRR AB, http://www.rrr.se > It doesn't appear to be running the autosplit correctly. > > Does the file show up if you do (from the ARSperl-1.83 dir): > perl -e 'use AutoSplit;autosplit("ARS.pm","blib/lib/auto",0,1,1)' > > If this command works correctly you should see: > AutoSplitting ARS.pm (blib/lib/auto/ARS) > > and the file blib/lib/auto/ARS/autosplit.ix should now exist. > This should remove that 'make test' error about autosplit.ix > > Mark > > Mark Vaughan > > Programmer III > > > > Direct: +1 303 802 2426 > > Cell: +1 303 601 4434 > > Fax: +1 303 802 1420 > > mar...@ev... > > Evolving Systems, Inc. > > 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112 > > www.evolving.com > > > -----Original Message----- > From: ars...@ar... > [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky > Sent: Thursday, April 14, 2005 12:48 PM > To: ars...@ar... > Subject: RE: [Arsperl-users] Install problems 1.83 on Solaris 8... > > Hi Mark and Jeff, > > I am trying to compile against the 6.3 API. > > I see no errors when doing a make (after getting all the packages = right > anyhow...). > > This is the complete output from "make": > > # make > cp artypes.ph blib/lib/artypes.ph > /usr/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp = -typemap > /usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap ARS.xs > > ARS.xsc && mv ARS.xsc ARS.c > gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include = -fno-strict-aliasing > -pipe -I/usr/local/include -D_LARGEFILE_SOURCE = -D_FILE_OFFSET_BITS=3D64 -O > -DVERSION=3D\"1.83\" -DXS_VERSION=3D\"1.83\" -fPIC > "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 = -DARS452 > -DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D5 = -DPERL_BASEREV_IS=3D50 ARS.c > gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include = -fno-strict-aliasing > -pipe -I/usr/local/include -D_LARGEFILE_SOURCE = -D_FILE_OFFSET_BITS=3D64 -O > -DVERSION=3D\"1.83\" -DXS_VERSION=3D\"1.83\" -fPIC > "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 = -DARS452 > -DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D5 = -DPERL_BASEREV_IS=3D50 > support.c > gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include = -fno-strict-aliasing > -pipe -I/usr/local/include -D_LARGEFILE_SOURCE = -D_FILE_OFFSET_BITS=3D64 -O > -DVERSION=3D\"1.83\" -DXS_VERSION=3D\"1.83\" -fPIC > "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 = -DARS452 > -DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D5 = -DPERL_BASEREV_IS=3D50 > supportrev.c > Running Mkbootstrap for ARS () > chmod 644 ARS.bs > rm -f blib/arch/auto/ARS/ARS.so > LD_RUN_PATH=3D"/usr/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib = ARS.o > support.o supportrev.o /opt/arsystem/api/lib/libar.a -o > blib/arch/auto/ARS/ARS.so -L/opt/arsystem/api/lib -lpthread > chmod 755 blib/arch/auto/ARS/ARS.so > cp ARS.bs blib/arch/auto/ARS/ARS.bs > chmod 644 blib/arch/auto/ARS/ARS.bs > # pwd > /data/urbekl/ARSperl-1.83 > # ls -l /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS > total 0 > # > > Thanks - Misi, RRR AB, http://www.rrr.se > >> Misi, >> I just installed the 1.83 with the 6.0 api (from 6.3 ARServer), but = I'm >> using Perl 5.6.1, but it shouldn't matter. >> >> Did the 'make complete okay? It should have put the autosplit.ix = file >> in /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS. >> Are you running the 'make test' from your install directory = (presumably >> '/data/urbekl/ARSperl-1.83')? >> I ran into the 'RPC: Can't encode arguments) (ARERR #91)' error when = I >> did not define ARTCPPORT to that matching the AR Server. >> >> I hope this helps, >> Mark >> >> Mark Vaughan >> >> Programmer III >> >> >> >> Direct: +1 303 802 2426 >> >> Cell: +1 303 601 4434 >> >> Fax: +1 303 802 1420 >> >> mar...@ev... >> >> Evolving Systems, Inc. >> >> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112 >> >> www.evolving.com >> >> -----Original Message----- >> From: ars...@ar... >> [mailto:ars...@ar...] On Behalf Of Misi = Mladoniczky >> Sent: Thursday, April 14, 2005 12:03 PM >> To: ars...@ar... >> Subject: [Arsperl-users] Install problems 1.83 on Solaris 8... >> >> Hi, >> >> I am having problems doing "make test" on Solaris 8 with ARSPerl 1.83 >> and >> ARAPI version 6.3. >> >> "make test" gives me a lot of errors, but I did a "make install" = anyway. >> This is what happens when i try to use ARS: >> # perl >> use ARS; >> Can't locate auto/ARS/autosplit.ix in @INC (@INC contains: >> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5 >> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris >> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl = .) >> at >> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160. >> at ARS.pm line 64 >> >> This is some of the output from "make test": >> # make test >> ... >> t/10getlist..........Can't locate auto/ARS/autosplit.ix in @INC (@INC >> contains: /data/urbekl/ARSperl-1.83/blib/lib >> /data/urbekl/ARSperl-1.83/blib/arch >> /usr/local/lib/perl5/5.8.5/sun4-solaris >> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5 >> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris >> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris >> /usr/local/lib/perl5/site_perl/5.8.5 >> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris >> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl . >> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5 >> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris >> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl = .) >> at >> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160. >> at ARS.pm line 64 >> t/10getlist..........NOK 2# Failed test (t/10getlist.t at line = 20) >> # GetListEscalation (-1) [ERROR] RPC call failed (RPC: Can't encode >> arguments) (ARERR #91) >> t/10getlist..........NOK 4# Failed test (t/10getlist.t at line = 28) >> # GetListFilter (-1) [ERROR] RPC call failed (RPC: Can't encode >> arguments) >> (ARERR #91) >> t/10getlist..........NOK 6# Failed test (t/10getlist.t at line = 36) >> # GetListSchema [ERROR] RPC call failed (RPC: Can't encode arguments) >> (ARERR #91) >> t/10getlist..........ok 9/9# Looks like you failed 3 tests of 9. >> t/10getlist..........dubious >> Test returned status 3 (wstat 768, 0x300) >> DIED. FAILED tests 2, 4, 6 >> Failed 3/9 tests, 66.67% okay >> ... >> Failed Test Stat Wstat Total Fail Failed List of Failed >> = ------------------------------------------------------------------------ >> ------- >> t/02export.t 0 139 ?? ?? % ?? >> t/10alink.t 0 139 ?? ?? % ?? >> t/10entry.t 22 5632 10 18 180.00% 2-10 >> t/10getlist.t 3 768 9 3 33.33% 2 4 6 >> t/12lotsoffields.t 104 102 98.08% 3-104 >> t/13join.t 7 5 71.43% 3-7 >> t/20merge.t 5 2 40.00% 4 6 >> Failed 7/13 test scripts, 46.15% okay. 119/154 subtests failed, = 22.73% >> okay. >> make: *** [test_dynamic] Error 29 >> # >> >> These are the system specific things i installed prior to arsperl: >> binutils-2.11.2-sol8-sparc-local >> gcc_small-3.4.2-sol8-sparc-local >> libiconv-1.8-sol8-sparc-local >> make-3.80-sol8-sparc-local >> perl-5.8.5-sol8-sparc-local >> SUNWarc >> SUNWhea >> SUNWlibm >> >> Best Regards - Misi, RRR AB, http://www.rrr.se >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real = users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick >> _______________________________________________ >> Arsperl-users mailing list >> Ars...@ar... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real = users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_ide95&alloc_id 396&op=CCk >> _______________________________________________ >> Arsperl-users mailing list >> Ars...@ar... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real = users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real = users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id 396&op=CCk > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Misi M. <mi...@rr...> - 2005-04-15 07:14:37
|
Hi Mark,
The command you suggested created the autosplit.ix. Is there some problem
in my Makefile!?
"make test" was more successfull, and I got it to work.
The "make install" did only copy the autosplit.ix, and I had to manually
copy the following files to
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/:
_h2ph_pre.ph
ARS.pm
ARSar-h.pm
ARSarerrno-h.pm
ARSnparm.pm
ARSnt-h.pm
ARSnterrno-h.pm
ARSOOform.pm
ARSOOmsgs.pm
ARSOOsup.pm
Best Regards - Misi, RRR AB, http://www.rrr.se
> It doesn't appear to be running the autosplit correctly.
>
> Does the file show up if you do (from the ARSperl-1.83 dir):
> perl -e 'use AutoSplit;autosplit("ARS.pm","blib/lib/auto",0,1,1)'
>
> If this command works correctly you should see:
> AutoSplitting ARS.pm (blib/lib/auto/ARS)
>
> and the file blib/lib/auto/ARS/autosplit.ix should now exist.
> This should remove that 'make test' error about autosplit.ix
>
> Mark
>
> Mark Vaughan
>
> Programmer III
>
>
>
> Direct: +1 303 802 2426
>
> Cell: +1 303 601 4434
>
> Fax: +1 303 802 1420
>
> mar...@ev...
>
> Evolving Systems, Inc.
>
> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
>
> www.evolving.com
>
>
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky
> Sent: Thursday, April 14, 2005 12:48 PM
> To: ars...@ar...
> Subject: RE: [Arsperl-users] Install problems 1.83 on Solaris 8...
>
> Hi Mark and Jeff,
>
> I am trying to compile against the 6.3 API.
>
> I see no errors when doing a make (after getting all the packages right
> anyhow...).
>
> This is the complete output from "make":
>
> # make
> cp artypes.ph blib/lib/artypes.ph
> /usr/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
> /usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap ARS.xs >
> ARS.xsc && mv ARS.xsc ARS.c
> gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
> -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
> -DVERSION=\"1.83\" -DXS_VERSION=\"1.83\" -fPIC
> "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452
> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50 ARS.c
> gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
> -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
> -DVERSION=\"1.83\" -DXS_VERSION=\"1.83\" -fPIC
> "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452
> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50
> support.c
> gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
> -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
> -DVERSION=\"1.83\" -DXS_VERSION=\"1.83\" -fPIC
> "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452
> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50
> supportrev.c
> Running Mkbootstrap for ARS ()
> chmod 644 ARS.bs
> rm -f blib/arch/auto/ARS/ARS.so
> LD_RUN_PATH="/usr/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib ARS.o
> support.o supportrev.o /opt/arsystem/api/lib/libar.a -o
> blib/arch/auto/ARS/ARS.so -L/opt/arsystem/api/lib -lpthread
> chmod 755 blib/arch/auto/ARS/ARS.so
> cp ARS.bs blib/arch/auto/ARS/ARS.bs
> chmod 644 blib/arch/auto/ARS/ARS.bs
> # pwd
> /data/urbekl/ARSperl-1.83
> # ls -l /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS
> total 0
> #
>
> Thanks - Misi, RRR AB, http://www.rrr.se
>
>> Misi,
>> I just installed the 1.83 with the 6.0 api (from 6.3 ARServer), but I'm
>> using Perl 5.6.1, but it shouldn't matter.
>>
>> Did the 'make complete okay? It should have put the autosplit.ix file
>> in /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS.
>> Are you running the 'make test' from your install directory (presumably
>> '/data/urbekl/ARSperl-1.83')?
>> I ran into the 'RPC: Can't encode arguments) (ARERR #91)' error when I
>> did not define ARTCPPORT to that matching the AR Server.
>>
>> I hope this helps,
>> Mark
>>
>> Mark Vaughan
>>
>> Programmer III
>>
>>
>>
>> Direct: +1 303 802 2426
>>
>> Cell: +1 303 601 4434
>>
>> Fax: +1 303 802 1420
>>
>> mar...@ev...
>>
>> Evolving Systems, Inc.
>>
>> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
>>
>> www.evolving.com
>>
>> -----Original Message-----
>> From: ars...@ar...
>> [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky
>> Sent: Thursday, April 14, 2005 12:03 PM
>> To: ars...@ar...
>> Subject: [Arsperl-users] Install problems 1.83 on Solaris 8...
>>
>> Hi,
>>
>> I am having problems doing "make test" on Solaris 8 with ARSPerl 1.83
>> and
>> ARAPI version 6.3.
>>
>> "make test" gives me a lot of errors, but I did a "make install" anyway.
>> This is what happens when i try to use ARS:
>> # perl
>> use ARS;
>> Can't locate auto/ARS/autosplit.ix in @INC (@INC contains:
>> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .)
>> at
>> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
>> at ARS.pm line 64
>>
>> This is some of the output from "make test":
>> # make test
>> ...
>> t/10getlist..........Can't locate auto/ARS/autosplit.ix in @INC (@INC
>> contains: /data/urbekl/ARSperl-1.83/blib/lib
>> /data/urbekl/ARSperl-1.83/blib/arch
>> /usr/local/lib/perl5/5.8.5/sun4-solaris
>> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>> /usr/local/lib/perl5/site_perl/5.8.5
>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .
>> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
>> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
>> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .)
>> at
>> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
>> at ARS.pm line 64
>> t/10getlist..........NOK 2# Failed test (t/10getlist.t at line 20)
>> # GetListEscalation (-1) [ERROR] RPC call failed (RPC: Can't encode
>> arguments) (ARERR #91)
>> t/10getlist..........NOK 4# Failed test (t/10getlist.t at line 28)
>> # GetListFilter (-1) [ERROR] RPC call failed (RPC: Can't encode
>> arguments)
>> (ARERR #91)
>> t/10getlist..........NOK 6# Failed test (t/10getlist.t at line 36)
>> # GetListSchema [ERROR] RPC call failed (RPC: Can't encode arguments)
>> (ARERR #91)
>> t/10getlist..........ok 9/9# Looks like you failed 3 tests of 9.
>> t/10getlist..........dubious
>> Test returned status 3 (wstat 768, 0x300)
>> DIED. FAILED tests 2, 4, 6
>> Failed 3/9 tests, 66.67% okay
>> ...
>> Failed Test Stat Wstat Total Fail Failed List of Failed
>> ------------------------------------------------------------------------
>> -------
>> t/02export.t 0 139 ?? ?? % ??
>> t/10alink.t 0 139 ?? ?? % ??
>> t/10entry.t 22 5632 10 18 180.00% 2-10
>> t/10getlist.t 3 768 9 3 33.33% 2 4 6
>> t/12lotsoffields.t 104 102 98.08% 3-104
>> t/13join.t 7 5 71.43% 3-7
>> t/20merge.t 5 2 40.00% 4 6
>> Failed 7/13 test scripts, 46.15% okay. 119/154 subtests failed, 22.73%
>> okay.
>> make: *** [test_dynamic] Error 29
>> #
>>
>> These are the system specific things i installed prior to arsperl:
>> binutils-2.11.2-sol8-sparc-local
>> gcc_small-3.4.2-sol8-sparc-local
>> libiconv-1.8-sol8-sparc-local
>> make-3.80-sol8-sparc-local
>> perl-5.8.5-sol8-sparc-local
>> SUNWarc
>> SUNWhea
>> SUNWlibm
>>
>> Best Regards - Misi, RRR AB, http://www.rrr.se
>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> Arsperl-users mailing list
>> Ars...@ar...
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_ide95&alloc_id 396&opÌk
>> _______________________________________________
>> Arsperl-users mailing list
>> Ars...@ar...
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id 396&opÌk
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Mark V. <mva...@ev...> - 2005-04-14 20:20:37
|
It doesn't appear to be running the autosplit correctly.
Does the file show up if you do (from the ARSperl-1.83 dir):
perl -e 'use AutoSplit;autosplit("ARS.pm","blib/lib/auto",0,1,1)'
If this command works correctly you should see:
AutoSplitting ARS.pm (blib/lib/auto/ARS)
and the file blib/lib/auto/ARS/autosplit.ix should now exist.
This should remove that 'make test' error about autosplit.ix
Mark
Mark Vaughan
Programmer III
=20
Direct: +1 303 802 2426
Cell: +1 303 601 4434
Fax: +1 303 802 1420
mar...@ev...
Evolving Systems, Inc.=20
9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
www.evolving.com
-----Original Message-----
From: ars...@ar... =
[mailto:ars...@ar...] On Behalf Of Misi Mladoniczky
Sent: Thursday, April 14, 2005 12:48 PM
To: ars...@ar...
Subject: RE: [Arsperl-users] Install problems 1.83 on Solaris 8...
Hi Mark and Jeff,
I am trying to compile against the 6.3 API.
I see no errors when doing a make (after getting all the packages right
anyhow...).
This is the complete output from "make":
# make
cp artypes.ph blib/lib/artypes.ph
/usr/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap ARS.xs >
ARS.xsc && mv ARS.xsc ARS.c
gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 =
-O =20
-DVERSION=3D\"1.83\" -DXS_VERSION=3D\"1.83\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452=20
-DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D5 -DPERL_BASEREV_IS=3D50 =
ARS.c
gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 =
-O =20
-DVERSION=3D\"1.83\" -DXS_VERSION=3D\"1.83\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452=20
-DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D5 -DPERL_BASEREV_IS=3D50 =
support.c
gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 =
-O =20
-DVERSION=3D\"1.83\" -DXS_VERSION=3D\"1.83\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452=20
-DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D5 -DPERL_BASEREV_IS=3D50 =
supportrev.c
Running Mkbootstrap for ARS ()
chmod 644 ARS.bs
rm -f blib/arch/auto/ARS/ARS.so
LD_RUN_PATH=3D"/usr/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib ARS.o
support.o supportrev.o /opt/arsystem/api/lib/libar.a -o
blib/arch/auto/ARS/ARS.so -L/opt/arsystem/api/lib -lpthread
chmod 755 blib/arch/auto/ARS/ARS.so
cp ARS.bs blib/arch/auto/ARS/ARS.bs
chmod 644 blib/arch/auto/ARS/ARS.bs
# pwd
/data/urbekl/ARSperl-1.83
# ls -l /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS
total 0
#
Thanks - Misi, RRR AB, http://www.rrr.se
> Misi,
> I just installed the 1.83 with the 6.0 api (from 6.3 ARServer), but =
I'm
> using Perl 5.6.1, but it shouldn't matter.
>
> Did the 'make complete okay? It should have put the autosplit.ix file
> in /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS.
> Are you running the 'make test' from your install directory =
(presumably
> '/data/urbekl/ARSperl-1.83')?
> I ran into the 'RPC: Can't encode arguments) (ARERR #91)' error when I
> did not define ARTCPPORT to that matching the AR Server.
>
> I hope this helps,
> Mark
>
> Mark Vaughan
>
> Programmer III
>
>
>
> Direct: +1 303 802 2426
>
> Cell: +1 303 601 4434
>
> Fax: +1 303 802 1420
>
> mar...@ev...
>
> Evolving Systems, Inc.
>
> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
>
> www.evolving.com
>
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky
> Sent: Thursday, April 14, 2005 12:03 PM
> To: ars...@ar...
> Subject: [Arsperl-users] Install problems 1.83 on Solaris 8...
>
> Hi,
>
> I am having problems doing "make test" on Solaris 8 with ARSPerl 1.83
> and
> ARAPI version 6.3.
>
> "make test" gives me a lot of errors, but I did a "make install" =
anyway.
> This is what happens when i try to use ARS:
> # perl
> use ARS;
> Can't locate auto/ARS/autosplit.ix in @INC (@INC contains:
> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .)
> at
> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
> at ARS.pm line 64
>
> This is some of the output from "make test":
> # make test
> ...
> t/10getlist..........Can't locate auto/ARS/autosplit.ix in @INC (@INC
> contains: /data/urbekl/ARSperl-1.83/blib/lib
> /data/urbekl/ARSperl-1.83/blib/arch
> /usr/local/lib/perl5/5.8.5/sun4-solaris
> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .
> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .)
> at
> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
> at ARS.pm line 64
> t/10getlist..........NOK 2# Failed test (t/10getlist.t at line 20)
> # GetListEscalation (-1) [ERROR] RPC call failed (RPC: Can't encode
> arguments) (ARERR #91)
> t/10getlist..........NOK 4# Failed test (t/10getlist.t at line 28)
> # GetListFilter (-1) [ERROR] RPC call failed (RPC: Can't encode
> arguments)
> (ARERR #91)
> t/10getlist..........NOK 6# Failed test (t/10getlist.t at line 36)
> # GetListSchema [ERROR] RPC call failed (RPC: Can't encode arguments)
> (ARERR #91)
> t/10getlist..........ok 9/9# Looks like you failed 3 tests of 9.
> t/10getlist..........dubious
> Test returned status 3 (wstat 768, 0x300)
> DIED. FAILED tests 2, 4, 6
> Failed 3/9 tests, 66.67% okay
> ...
> Failed Test Stat Wstat Total Fail Failed List of Failed
> =
------------------------------------------------------------------------
> -------
> t/02export.t 0 139 ?? ?? % ??
> t/10alink.t 0 139 ?? ?? % ??
> t/10entry.t 22 5632 10 18 180.00% 2-10
> t/10getlist.t 3 768 9 3 33.33% 2 4 6
> t/12lotsoffields.t 104 102 98.08% 3-104
> t/13join.t 7 5 71.43% 3-7
> t/20merge.t 5 2 40.00% 4 6
> Failed 7/13 test scripts, 46.15% okay. 119/154 subtests failed, 22.73%
> okay.
> make: *** [test_dynamic] Error 29
> #
>
> These are the system specific things i installed prior to arsperl:
> binutils-2.11.2-sol8-sparc-local
> gcc_small-3.4.2-sol8-sparc-local
> libiconv-1.8-sol8-sparc-local
> make-3.80-sol8-sparc-local
> perl-5.8.5-sol8-sparc-local
> SUNWarc
> SUNWhea
> SUNWlibm
>
> Best Regards - Misi, RRR AB, http://www.rrr.se
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real =
users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real =
users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Misi M. <mi...@rr...> - 2005-04-14 18:52:37
|
Hi Mark and Jeff,
I am trying to compile against the 6.3 API.
I see no errors when doing a make (after getting all the packages right
anyhow...).
This is the complete output from "make":
# make
cp artypes.ph blib/lib/artypes.ph
/usr/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap ARS.xs >
ARS.xsc && mv ARS.xsc ARS.c
gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.83\" -DXS_VERSION=\"1.83\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50 ARS.c
gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.83\" -DXS_VERSION=\"1.83\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50
support.c
gcc -B/usr/ccs/bin/ -c -I/opt/arsystem/api/include -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.83\" -DXS_VERSION=\"1.83\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" -g -DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50
supportrev.c
Running Mkbootstrap for ARS ()
chmod 644 ARS.bs
rm -f blib/arch/auto/ARS/ARS.so
LD_RUN_PATH="/usr/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib ARS.o
support.o supportrev.o /opt/arsystem/api/lib/libar.a -o
blib/arch/auto/ARS/ARS.so -L/opt/arsystem/api/lib -lpthread
chmod 755 blib/arch/auto/ARS/ARS.so
cp ARS.bs blib/arch/auto/ARS/ARS.bs
chmod 644 blib/arch/auto/ARS/ARS.bs
# pwd
/data/urbekl/ARSperl-1.83
# ls -l /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS
total 0
#
Thanks - Misi, RRR AB, http://www.rrr.se
> Misi,
> I just installed the 1.83 with the 6.0 api (from 6.3 ARServer), but I'm
> using Perl 5.6.1, but it shouldn't matter.
>
> Did the 'make complete okay? It should have put the autosplit.ix file
> in /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS.
> Are you running the 'make test' from your install directory (presumably
> '/data/urbekl/ARSperl-1.83')?
> I ran into the 'RPC: Can't encode arguments) (ARERR #91)' error when I
> did not define ARTCPPORT to that matching the AR Server.
>
> I hope this helps,
> Mark
>
> Mark Vaughan
>
> Programmer III
>
>
>
> Direct: +1 303 802 2426
>
> Cell: +1 303 601 4434
>
> Fax: +1 303 802 1420
>
> mar...@ev...
>
> Evolving Systems, Inc.
>
> 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112
>
> www.evolving.com
>
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky
> Sent: Thursday, April 14, 2005 12:03 PM
> To: ars...@ar...
> Subject: [Arsperl-users] Install problems 1.83 on Solaris 8...
>
> Hi,
>
> I am having problems doing "make test" on Solaris 8 with ARSPerl 1.83
> and
> ARAPI version 6.3.
>
> "make test" gives me a lot of errors, but I did a "make install" anyway.
> This is what happens when i try to use ARS:
> # perl
> use ARS;
> Can't locate auto/ARS/autosplit.ix in @INC (@INC contains:
> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .)
> at
> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
> at ARS.pm line 64
>
> This is some of the output from "make test":
> # make test
> ...
> t/10getlist..........Can't locate auto/ARS/autosplit.ix in @INC (@INC
> contains: /data/urbekl/ARSperl-1.83/blib/lib
> /data/urbekl/ARSperl-1.83/blib/arch
> /usr/local/lib/perl5/5.8.5/sun4-solaris
> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .
> /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
> /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .)
> at
> /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
> at ARS.pm line 64
> t/10getlist..........NOK 2# Failed test (t/10getlist.t at line 20)
> # GetListEscalation (-1) [ERROR] RPC call failed (RPC: Can't encode
> arguments) (ARERR #91)
> t/10getlist..........NOK 4# Failed test (t/10getlist.t at line 28)
> # GetListFilter (-1) [ERROR] RPC call failed (RPC: Can't encode
> arguments)
> (ARERR #91)
> t/10getlist..........NOK 6# Failed test (t/10getlist.t at line 36)
> # GetListSchema [ERROR] RPC call failed (RPC: Can't encode arguments)
> (ARERR #91)
> t/10getlist..........ok 9/9# Looks like you failed 3 tests of 9.
> t/10getlist..........dubious
> Test returned status 3 (wstat 768, 0x300)
> DIED. FAILED tests 2, 4, 6
> Failed 3/9 tests, 66.67% okay
> ...
> Failed Test Stat Wstat Total Fail Failed List of Failed
> ------------------------------------------------------------------------
> -------
> t/02export.t 0 139 ?? ?? % ??
> t/10alink.t 0 139 ?? ?? % ??
> t/10entry.t 22 5632 10 18 180.00% 2-10
> t/10getlist.t 3 768 9 3 33.33% 2 4 6
> t/12lotsoffields.t 104 102 98.08% 3-104
> t/13join.t 7 5 71.43% 3-7
> t/20merge.t 5 2 40.00% 4 6
> Failed 7/13 test scripts, 46.15% okay. 119/154 subtests failed, 22.73%
> okay.
> make: *** [test_dynamic] Error 29
> #
>
> These are the system specific things i installed prior to arsperl:
> binutils-2.11.2-sol8-sparc-local
> gcc_small-3.4.2-sol8-sparc-local
> libiconv-1.8-sol8-sparc-local
> make-3.80-sol8-sparc-local
> perl-5.8.5-sol8-sparc-local
> SUNWarc
> SUNWhea
> SUNWlibm
>
> Best Regards - Misi, RRR AB, http://www.rrr.se
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Mark V. <mva...@ev...> - 2005-04-14 18:27:35
|
Misi, I just installed the 1.83 with the 6.0 api (from 6.3 ARServer), but I'm using Perl 5.6.1, but it shouldn't matter. Did the 'make complete okay? It should have put the autosplit.ix file in /data/urbekl/ARSperl-1.83/blib/lib/auto/ARS. Are you running the 'make test' from your install directory (presumably '/data/urbekl/ARSperl-1.83')? I ran into the 'RPC: Can't encode arguments) (ARERR #91)' error when I did not define ARTCPPORT to that matching the AR Server. I hope this helps, Mark Mark Vaughan Programmer III =20 Direct: +1 303 802 2426 Cell: +1 303 601 4434 Fax: +1 303 802 1420 mar...@ev... Evolving Systems, Inc.=20 9777 Mt. Pyramid Court, Suite 100, Englewood, CO USA 80112 www.evolving.com -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of Misi Mladoniczky Sent: Thursday, April 14, 2005 12:03 PM To: ars...@ar... Subject: [Arsperl-users] Install problems 1.83 on Solaris 8... Hi, I am having problems doing "make test" on Solaris 8 with ARSPerl 1.83 and ARAPI version 6.3. "make test" gives me a lot of errors, but I did a "make install" anyway. This is what happens when i try to use ARS: # perl use ARS; Can't locate auto/ARS/autosplit.ix in @INC (@INC contains: /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5 /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160. at ARS.pm line 64 This is some of the output from "make test": # make test ... t/10getlist..........Can't locate auto/ARS/autosplit.ix in @INC (@INC contains: /data/urbekl/ARSperl-1.83/blib/lib /data/urbekl/ARSperl-1.83/blib/arch /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5 /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl . /usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5 /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160. at ARS.pm line 64 t/10getlist..........NOK 2# Failed test (t/10getlist.t at line 20) # GetListEscalation (-1) [ERROR] RPC call failed (RPC: Can't encode arguments) (ARERR #91) t/10getlist..........NOK 4# Failed test (t/10getlist.t at line 28) # GetListFilter (-1) [ERROR] RPC call failed (RPC: Can't encode arguments) (ARERR #91) t/10getlist..........NOK 6# Failed test (t/10getlist.t at line 36) # GetListSchema [ERROR] RPC call failed (RPC: Can't encode arguments) (ARERR #91) t/10getlist..........ok 9/9# Looks like you failed 3 tests of 9. t/10getlist..........dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 2, 4, 6 Failed 3/9 tests, 66.67% okay ... Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------ ------- t/02export.t 0 139 ?? ?? % ?? t/10alink.t 0 139 ?? ?? % ?? t/10entry.t 22 5632 10 18 180.00% 2-10 t/10getlist.t 3 768 9 3 33.33% 2 4 6 t/12lotsoffields.t 104 102 98.08% 3-104 t/13join.t 7 5 71.43% 3-7 t/20merge.t 5 2 40.00% 4 6 Failed 7/13 test scripts, 46.15% okay. 119/154 subtests failed, 22.73% okay. make: *** [test_dynamic] Error 29 # These are the system specific things i installed prior to arsperl: binutils-2.11.2-sol8-sparc-local gcc_small-3.4.2-sol8-sparc-local libiconv-1.8-sol8-sparc-local make-3.80-sol8-sparc-local perl-5.8.5-sol8-sparc-local SUNWarc SUNWhea SUNWlibm Best Regards - Misi, RRR AB, http://www.rrr.se ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Jeff M. <jcm...@je...> - 2005-04-14 18:23:35
|
what did "make" say? |