Re: [Arsperl-users] Will ARSperl 1.91 with ARS 7.6.03

2011-02-09 Thread Thilo Stapff
ARSperl 1.91 won't compile with ARS 7.6.3. You might download the latest developer version via CVS. See the paragraph "Anonymous CVS Access" at http://sourceforge.net/scm/?type=cvs&group_id=116013 If this would be too complicated, I can send you a zip package instead. Be aware that there's a kn

Re: [Arsperl-users] Compiling arsperl against 7.5 libraries with 64 bit Perl

2011-01-11 Thread Thilo Stapff
Eric, yes, this is the correct place. See the paragraph "Anonymous CVS Access" at http://sourceforge.net/scm/?type=cvs&group_id=116013 for how to download the latest developer version (there hasn't been an official 1.92 release) via CVS. If this would be too complicated, I can send you a zip p

Re: [Arsperl-users] Problem compiling ARS.o under Solaris 10

2010-08-10 Thread Thilo Stapff
, one of the topmost result leads to a thread from the ARSperl list: http://www.mail-archive.com/arsperl-users@arsperl.org/msg00068.html Regards, Thilo Stapff On 10.08.2010 18:46, Ervin, Steven wrote: > I’m having issues compiling ARSperl-1.91 under Solaris 10. The problem > does

Re: [Arsperl-users] Need Help: Qualification String "LIKE"

2010-07-08 Thread Thilo Stapff
Use the field ID instead of "User Ident", e.g. '536870912' LIKE "%-N-%" Regards, Thilo Stapff On 08.07.2010 17:05, Chinh Do wrote: > I need to search all fields that have this string "-N-" in the middle, > for examples, "123-N-abc&qu

Re: [Arsperl-users] Bulk transaction

2010-05-21 Thread Thilo Stapff
> > my $r = ars_SetEntry($connection, $schema, $entryId, 0, "10", > "This is a invalid incident, is just a test, "); > > #my @results = ars_EndBulkEntryTransaction( $connection, 1 ); > ars_Logoff($connection); > > print Dumper(@results); &

Re: [Arsperl-users] Bulk transaction

2010-05-21 Thread Thilo Stapff
ction" in the C API guide. Best regards, Thilo Stapff On 20.05.2010 19:56, German Valenzuela wrote: > Hi > > somebody has used ars_BeginBulkEntryTransaction and > ars_EndBulkEntryTransaction? I'm trying to use, but an error occur, the > message is 'User is curr

Re: [Arsperl-users] ARSPerl with

2010-05-21 Thread Thilo Stapff
I have not tested it yet, but I see no reason why it shouldn't be possible. Having said that, there's no package avaible that is binary compatible to Perl 5.12, so you would have to compile it yourself. Best regards, Thilo Stapff On 20.05.2010 20:50, Chinh Do wrote: > Can

Re: [Arsperl-users] arsperl 1.91 x86_64 7.5

2009-12-08 Thread Thilo Stapff
It looks like arsperl doesn't find the libicu*bmc.so libraries. The directory where those libraries are located should probably be added to LD_LIBRARY_PATH. However, after fixing that, you might run into a different problem. As far as I know, compiling against the 64bit API on Linux produces a

Re: [Arsperl-users] [SPAM] ARSPerl on AIX

2009-11-11 Thread Thilo Stapff
It looks like most of the syntax errors are caused by C++ style comments in supportrev.c (i.e. //... instead of /* */). I don't know if this applies to your AIX/xlc version, but there seems to be a -qcpluscmt compiler flag to handle this. Just google for "xlc qcpluscmt". Moreover, try ch

Re: [Arsperl-users] Trouble Setting Drop Down Menu Items with ARSperl

2009-11-09 Thread Thilo Stapff
This is probably a message defined in a filter somewhere (since the message number is 1). I suppose that when you select a "Ticket Owner" in the Remedy client, other fields are probably set as well (invisible to the user). You might want to do an active link/filter log of that action to see

[Arsperl-users] ADV: Yet another free ARS workflow analyzer

2009-11-04 Thread Thilo Stapff
probably have more than 2000 workflow objects (also counting forms and fields) to be documented. The freeware version of arXtract can be downloaded from http://www.apprologic.com Have fun and kind regards, Thilo Stapff ApproLogic GmbH Waldstr. 92 D-63128 Dietzenbach Phone: +49 6074 48118

Re: [Arsperl-users] Creating a definition file

2009-07-20 Thread Thilo Stapff
The table of contents at http://arsperl.sourceforge.net/manual/toc.html does not represent in any way the current status of the arsperl manual. See http://arsperl.cvs.sourceforge.net/viewvc/*checkout*/arsperl/ARSperl/html/manual/toc.html?revision=1.29 for an up-to-date version. To build web ser

Re: [Arsperl-users] ARS Perl for Windows

2009-07-15 Thread Thilo Stapff
e: > Thilo, > Do you know if there are any plans to put 1.91 in a ppd as well? > > -----Original Message- > From: Thilo Stapff [mailto:thilo.sta...@apprologic.de] > Sent: Tuesday, July 14, 2009 11:17 AM > To: ARSperl User Discussion > Subject: Re: [Arsperl-users] ARS

Re: [Arsperl-users] ARS Perl for Windows

2009-07-14 Thread Thilo Stapff
You can download a ppm file from http://sourceforge.net/projects/arsperl/files/ Open the "All files -> arsperl -> 1.90" tree item and download "ARSperl_190_701.zip", which is ARSperl 1.90 compiled against the 7.0.1 ARS API, but should work nonetheless with a 7.1 server. If you want to compile

Re: [Arsperl-users] Segfaults on Debian Lenny

2009-07-13 Thread Thilo Stapff
You might replace line 243 of "AES.xs": ctrl = (ARControlStruct *)safemalloc(sizeof(ARControlStruct)); by ctrl = (ARControlStruct *)MALLOCNN(sizeof(ARControlStruct)); I don't know if this would help, but it might be worth a try. Regards, Thilo Tim Skirvin wrote: > Is anybody else

Re: [Arsperl-users] 1.90 - Query Sort

2009-07-12 Thread Thilo Stapff
The ars_GetListEntry function has those parameters too. Moreover, if no such parameters are passed, the sort order of the form should indeed be used. I once made the mistake of putting the return values from ars_GetListEntry into a hash, which has the effect that the sorting information gets l

Re: [Arsperl-users] Problems writing to join tables - no entry ID to return

2009-07-08 Thread Thilo Stapff
This is a problem of the underlying C API, so it cannot be fixed in ARSperl. That being said, I've encountered this situation too. Here's how I worked around it: Create a filter on "Submit" on the join form containing a "Message" action of type "Note". The message text should contain informatio

Re: [Arsperl-users] ars_DeleteEntry

2009-03-31 Thread Thilo Stapff
Just as a note, the speed of mass deletions can be vastly increased by using ars_Begin(End)BulkEntryTransaction. Of course, deleting by SQL will probably still be a magnitude faster. jeff murphy wrote: > Yes, although it'll take probably a long time to delete them all. You > might be better of

Re: [Arsperl-users] Newbie - ARS - Creating Ticket

2009-02-28 Thread Thilo Stapff
Your script should probably look something like this: my $ctrl = ars_Login( $server, $user, $passwd ); die "Login Error: $ars_errstr\n" if ! $ctrl; my %fieldValues = ( 10038 => "stormgt", # PersonID 10003 => "stormgt", # FirstName 10001 => "stormgt", # Last Na

Re: [Arsperl-users] ARSperl 1.91 vs ARS 7.1

2009-01-22 Thread Thilo Stapff
The libicu*bmc.so files should probably be in the "api/lib" directory. At least they have to be available somewhere on your machine. Moreover, they must be found, which means that you might have to run the "ldconfig" command on the directory where they are located, or add the directory to the L

Re: [Arsperl-users] Get schema id from form name without arschema

2008-12-02 Thread Thilo Stapff
s_CreateEntry/ars_SetEntry calls) would probably be much better if it used ARGetMultipleEntries. I'm currently working on this, so it will be definitely implemented in the next release. Thilo Stapff Carey Matthew Black wrote: > Franklin Lee, > > Note: This post may sound "negative"

Re: [Arsperl-users] Field id works but field name does not in query

2008-11-25 Thread Thilo Stapff
ars_LoadQualifier doesn't work with field names. According to the manual it should work with field labels, which of course are view-dependent. In this case the view name has to be passed to ars_LoadQualifier in the "displayTag" parameter (see the manual page). Problems with field labels have bee

Re: [Arsperl-users] ARSPerl on Windows 2003 server (again)

2008-10-29 Thread Thilo Stapff
irgendwelchen Gründen nicht möglich sein sollte, kann ich Ihnen die Datei auch gerne per Mail senden, sie ist allerdings 14MB groß. Viele Grüße Thilo Stapff ApproLogic GmbH Waldstr. 92 63128 Dietzenbach Tel: 06074-4811814 Fax: 06074-4811816 EMail: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: > He

Re: [Arsperl-users] Problem installing ARSPerl on Linux

2008-10-28 Thread Thilo Stapff
some rather trivial changes to the ARSnparm.pm file yourself. To see what has changed, look at http://arsperl.cvs.sourceforge.net/viewvc/arsperl/ARSperl/ARSnparm.pm?r1=1.3&r2=1.4&sortby=date or, more generally at http://arsperl.cvs.sourceforge.net/viewvc/arsperl/ARSperl/ Regards,

Re: [Arsperl-users] Remedy Field Labels

2008-10-09 Thread Thilo Stapff
t the labels for button fields are not stored in property "20", but "110". There are also some other special cases for other field types. Regards, Thilo Stapff Burton Simonds wrote: > Is it possible to programically find the label names for the fields? > While I k

Re: [Arsperl-users] ars_GetListVUI not working?

2008-09-29 Thread Thilo Stapff
; vui = [536870912] > GetVUI failed: at ./get-vui-info.pl line 58. > --snip-- > > So you can see, the rest is working ok... > > It's Friday evening here, 18:35, so I'm heading home, but I read (and > respond) on Monday to mails. > > Cheers, > > rob urban > &

Re: [Arsperl-users] ars_GetListVUI not working?

2008-09-26 Thread Thilo Stapff
(, externer Mitarbeiter) > [mailto:[EMAIL PROTECTED] > Sent: Friday, September 26, 2008 9:38 AM > To: ARSperl User Discussion > Subject: Re: [Arsperl-users] ars_GetListVUI not working? > > Oops, sorry. It's v1.84. > > rob urban > > -Ursprüngliche Nachricht---

Re: [Arsperl-users] ars_GetListVUI not working?

2008-09-26 Thread Thilo Stapff
Hi Rob, I asked about the version of arsperl. Thilo Urban, Robert (, externer Mitarbeiter) wrote: > Hi Thilo, > > I'm using v7.1 patch 004. > > rob urban > > -Ursprüngliche Nachricht- > Von: Thilo Stapff [mailto:[EMAIL PROTECTED] > Gesendet: Donn

Re: [Arsperl-users] ars_GetListVUI not working?

2008-09-25 Thread Thilo Stapff
It should definitely work this way. What version of ARSperl are you using? Urban, Robert (, externer Mitarbeiter) wrote: > Hi Folks, > > I'm trying to get > > (@views = ars_GetListVUI($ARS, $schema, 0)) || die $ars_errstr; > > to work.I've also tried: > > (@views = ars_GetLis

Re: [Arsperl-users] ars_APIVersion - wrong returns?

2008-09-24 Thread Thilo Stapff
Up to version 1.90 ars_APIVersion was returning the value of AR_EXPORT_VERSION (from arstruct.h) instead of AR_CURRENT_API_VERSION. This has been changed with version 1.91. You didn't mention what ARSperl version you are using, but it probably can't be 1.91 (or else I'd be very surprised). Reg

Re: [Arsperl-users] ars_SetContainer

2008-09-18 Thread Thilo Stapff
f a bug and > then a fix? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Stapff > Sent: Thursday, September 18, 2008 12:03 PM > To: ARSperl User Discussion > Subject: Re: [Arsperl-users] ars_SetContainer > > The

Re: [Arsperl-users] ars_SetContainer

2008-09-18 Thread Thilo Stapff
'value_dataType' => 'null', > 'value' => undef, > 'dataType' => 1, > 'type' => 32784, >

Re: [Arsperl-users] ars_CreateContainer

2008-09-18 Thread Thilo Stapff
st], ['packingList'] ); Regards, Thilo Stapff LJ Longwing wrote: > Hey...I'm new to this list...so please go easy on me. > > ARS 7.1 Patch 2 > ARSPerl 1.90 > ActivePerl-5.8.8.819 > Windows 2003 > > I've been using ARSPerl for quite some time, but

Re: [Arsperl-users] ARSperl 1.91 make test errors

2008-09-09 Thread Thilo Stapff
As I said, I don't have any experience with 64-bit systems. So I don't even know if it really is a solution. That being said, you would probably have to compile ARSperl against the 32-bit Perl, and then specifically invoke that one to run ARSperl. Regards, Thilo Stapff Vaughan,

Re: [Arsperl-users] ARSperl 1.91 make test errors

2008-09-09 Thread Thilo Stapff
ch of course collides with the condition above. A possible solution might be to compile a Perl interpreter with -m32 and use that one for ARSperl. Regards, Thilo Stapff Vaughan, Mark wrote: > I have added the ‘-m32’ switch as suggested in another thread, but I > still get the same error

Re: [Arsperl-users] Make test errors for ARSperl-1.91 on Solaris 10

2008-09-05 Thread Thilo Stapff
To get more detailed output from the test script, run the following command (from the ARSperl directory): perl -Iblib/arch -Iblib/lib t/31createschema.t I'd be very interested in this, too. Regards, Thilo Stapff Andrews, Anthony wrote: > Axton, > > I had the admin who is us

Re: [Arsperl-users] Make test errors for ARSperl-1.91 on Solaris 10

2008-09-04 Thread Thilo Stapff
The "make test" output looks like everything works fine, except for the ars_SetVUI function. As long as you don't use these, there should be no problems. Regards, Thilo Stapff Andrews, Anthony wrote: > I took the first bit of your advice and did a search for that file to &

Re: [Arsperl-users] Compiling ARSPerl-1.91 on RHEL 64bit

2008-08-29 Thread Thilo Stapff
This is what I wrote some months ago to someone else (Geoffrey Endresen) who appeared to have the same problem: -- I don't have any experience with 64 bit systems so I can only take a guess here. To me, the situation looks as follows: The Remedy API libraries are 32 bit, so A

Re: [Arsperl-users] Attachments via ars_CreateEntry

2008-07-16 Thread Thilo Stapff
Yes, it's possible. First, construct a data structure for the attachment: my %attachStruct = ( name => $name, size => length($buffer), buffer => $buffer, ); In this example the $buffer variable contains the attachment data. Alternatively the data structure might only refer to a file

Re: [Arsperl-users] API problem: hostname : RPC: Rpcbind failure - RPC: Authentication error) (ARERR #90)

2008-07-15 Thread Thilo Stapff
passed as parameters to the ars_Login function, e.g. my $ctrl = ars_Login($server,$username,$passwd, "", "", 2090,390621); Regards, Thilo Stapff Urban, Robert (Allianz ASIC München, externer Mitarbeiter) wrote: > Hi Folks, > > I have a problem that I don't thi

Re: [Arsperl-users] compiling ARSperl 1.91 with 7.1 on RHEL5, still warnings, not working

2008-06-05 Thread Thilo Stapff
ch of course collides with the condition above. A possible solution might be to compile a Perl interpreter with -m32 and use that one for ARSperl. Regards, Thilo Stapff Geoffrey Endresen wrote: > I would not be concerned about the warnings if the actual code worked, > but I still keep

Re: [Arsperl-users] Compiling ARSPerl-1.91 on RHEL 64bit

2008-05-16 Thread Thilo Stapff
I suspect that this would work only if the Perl interpreter was also compiled as a 32-bit program. Thilo Axton wrote: > You can run both 32-bit and 64-bit programs on 64-bit linux. Compile > arsperl 32-bit by setting the CPPFLAGS to include -m32: > > $ export CPPFLAGS="${CPPFLAGS} -m32" > >

Re: [Arsperl-users] ARSperl 1.90 Installation Error

2008-05-07 Thread Thilo Stapff
ARS.so > \ >-L/opt1/app/dbsmwvztdd03/api/lib -lpthread -licuucbmc -licui18nbmc > \ > > ld: warning: file /opt1/app/dbsmwvztdd03/api/lib/libar.a(ar.o): wrong > ELF class: ELFCLASS32 > ld: fatal: file /opt1/app/dbsmwvztdd03/api/lib/libicuucbmc.so: wrong ELF > class:

Re: [Arsperl-users] ARSperl 1.90 Installation Error

2008-05-06 Thread Thilo Stapff
It looks like you are trying to compile ARSperl against the 7.1 API which doesn't work with ARSperl 1.90. (I'm deducing this from the AR_SERVER_INFO_DB_MAX_ATTACH_SIZE constant in the error message; correct me if I'm wrong about this.) ARSperl 1.90 can be compiled with the 7.0 API, which should

Re: [Arsperl-users] Problem compiling ARSperl 1.90 on linux RHEL5 with ARS 7.0

2008-05-02 Thread Thilo Stapff
There's an error in line 114 of Makefile.PL: $ARS_LIBS .= " -lpthread -licuuc -licui18n"; which should be changed to $ARS_LIBS .= " -lpthread -licuucbmc -licui18nbmc"; Additionally, as Jeff already wrote, the unicode libraries might be missing on your system

Re: [Arsperl-users] ars_SetEntry API Call and Windows Vista - not working]

2008-04-11 Thread Thilo Stapff
rds, > Richard > > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Stapff > Sent: Friday, April 11, 2008 1:44 PM > To: ARSperl User Discussion > Subject: Re: [Arsperl-users] ars_SetEntry API Call

Re: [Arsperl-users] ars_SetEntry API Call and Windows Vista - not working]

2008-04-11 Thread Thilo Stapff
ink you can find a Vista PC and see if you can compile the > 1.90 version for Perl 5.8? Just to give it a try. > > > Thanks, > Richard > > [EMAIL PROTECTED] > +31 30 689 7876 > > > > > > -Original Message- > From: [EMAIL PROTECTED]

Re: [Arsperl-users] ars_SetEntry API Call and Windows Vista - not working

2008-04-11 Thread Thilo Stapff
Did you compile it yourself or did you use the binary distribution? If it's the binary version, would it be possible for you to compile it from source code? There seem to be all sorts of binary incompatibilities. At least the second problem (ARSperl compiled for Perl 5.8 not working with 5.10)

Re: [Arsperl-users] ARSPerl-1.9 for remedy 7.1v on Solaris 10

2008-04-10 Thread Thilo Stapff
tion aborted at t/01import.t line 7. > t/01import..dubious > > Regards, > Ragini > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Stapff > Sent: Wednesday, April 09, 2008 6:29 PM > To: ARSperl User Discuss

Re: [Arsperl-users] ARSPerl-1.9 for remedy 7.1v on Solaris 10

2008-04-09 Thread Thilo Stapff
It looks like you are trying to compile ARSperl against the 7.1 API, which doesn't work with ARSperl 1.90. ARSperl 1.90 can be compiled with the 7.0 API, which should run against a 7.1 server without problems. (If you don't have the libraries, you can download them from http://arswiki.org/proj

Re: [Arsperl-users] ARS 1.90 Can't load ARS.dll

2008-03-06 Thread Thilo Stapff
th Texas Computing & IT Center > http://itsm.unt.edu/ > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Stapff >> Sent: Tuesday, March 04, 2008 11:17 AM >> To: ARSperl User Discussion >&g

Re: [Arsperl-users] ARS 1.90 Can't load ARS.dll

2008-03-05 Thread Thilo Stapff
these files. > > I copied the arxxx70.dll files to the "E:\Remedy\AREmail\dsmrdcrd02" > folder but that made no difference. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Stapff > Sent: Wednesday, Mar

Re: [Arsperl-users] ARS 1.90 Can't load ARS.dll

2008-03-05 Thread Thilo Stapff
-- The DLLs need to be in a directory that is contained in your system's PATH variable, exactly as if they were .exe files. -- The user tool itself is not needed. -- You might, however, need the icu...32.dll files from the user tool directory. Thilo HEWITT, DARRYL wrote: > I am still getti

Re: [Arsperl-users] ARS 1.90 Can't load ARS.dll

2008-03-04 Thread Thilo Stapff
This doesn't match my experience. Admittedly I haven't worked with ARS 7.1 very much, but in the few cases I've tested this, I had no problems whatsoever. Thilo strauss wrote: > My experience is that you cannot get any data from a 7.1 server with > ARSPerl_190_701. The 7.1 API changed in way

Re: [Arsperl-users] Compiling ARS perl on AIX

2008-03-03 Thread Thilo Stapff
I'm no AIX expert, but according to Google, "xdr_sizeof" and "__rpc_createerr" are symbols from libnsl. So the first thing I would try is to append "-lnsl" to the $ARS_LIBS variable in Makefile.PL. This was included for earlier versions of the ARS API (see the "if ($ARSVERSION >= ...)" blocks i

Re: [Arsperl-users] Where to find download for ARSPERL/AIX 5.3

2008-01-22 Thread Thilo Stapff
Where did you find those files? I don't know about any binary distributions of ARSperl for AIX. This probably means you need to download the source code distribution from http://sourceforge.net/projects/arsperl/ and compile it yourself. Thilo Covert, Jack wrote: > Anybody? The files I’ve fou

Re: [Arsperl-users] Solaris compile problems with 1.90 * GetEntryBLOB core dumps

2007-12-19 Thread Thilo Stapff
S.xs" from loc.u.filename = locFile; to loc.u.filename = strdup(locFile); and compile again. (The line number refers to ARS.xs in version 1.90 and might be different in 1.85) Regards, Thilo Stapff Allan Yates wrote: > I have a Solaris server: > > # uname -a > SunOS

Re: [Arsperl-users] ARSPerl 1.9 will not run with API 7.0

2007-12-11 Thread Thilo Stapff
://sourceforge.net/mailarchive/forum.php?forum_name=arsperl-users or http://groups.google.com/group/arslist/topics?gvc=2 Regards, Thilo Stapff Frassl, Maurice wrote: > Hi! > > Tried it but the same problems! > > If I make a test I got the following: > ># /usr/ccs/b

Re: [Arsperl-users] ARSPerl 1.9 will not run with API 7.0

2007-12-11 Thread Thilo Stapff
It looks like ARSperl doesn't find the BMC unicode libraries, probably because of an error in Makefile.PL Try to change line 114 in Makefile.PL: $ARS_LIBS .= " -lpthread -licuuc -licui18n"; to $ARS_LIBS .= " -lpthread -licuucbmc -licui18nbmc"; and compile agai

Re: [Arsperl-users] ARSPerl scripts and ARS 7.1

2007-11-21 Thread Thilo Stapff
sm.unt.edu/ > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Stapff >> Sent: Wednesday, November 21, 2007 8:17 AM >> To: ARSperl User Discussion >> Subject: Re: [Arsperl-users] ARSPerl scripts and ARS 7.1

Re: [Arsperl-users] ARSPerl scripts and ARS 7.1

2007-11-21 Thread Thilo Stapff
I didn't have any problems running ARSperl scripts (compiled for ARS 7.0 API) against an ARS 7.1 server. Can't say anything about ITSM 7, though. Do you get any kind of meaningful error message in $ars_errstr? strauss wrote: > Has anyone figured out how to get their ARSPerl CGI scripts to run

Re: [Arsperl-users] Cannot connect to remote server

2007-11-13 Thread Thilo Stapff
> > As far as I understood, we should be able to connect eventhough we are > using the 7.0 API and are using 6.3 on our Remedy server. > I'm not sure about this. It should certainly work to run the 6.3 API against a 7.0 server, but not necessarily the other way round. Regards, Thilo --

Re: [Arsperl-users] Parse arx file

2007-11-13 Thread Thilo Stapff
Here's a subroutine that splits a line in ARX format to an array of values. It works for the basic data types such as character, integer etc. More complicated data like attachments, diary and currency would of course need some further processing. use Text::Balanced qw( extract_delimited ); su

Re: [Arsperl-users] Need assitance in Installing ARSperl

2007-10-24 Thread Thilo Stapff
Generally, you have to use same compiler (or compiler version) for ARSperl that the perl interpreter itself was compiled with. You can check this by executing "perl -V". VS, Shreyas wrote: > Hi All, > > Can you please assist me in installing ARSperl as I am getting the > following error. > >

Re: [Arsperl-users] Problem from web or cron

2007-10-18 Thread Thilo Stapff
06010' might be a selection field. If this is the case, specify the corresponding integer values of "Problem" and "Informational" here as well. Regards, Thilo Stapff Brad O'Hara wrote: > COMMAND LINE: > Started at Wed Oct 17 14:35:00 EDT 2007 > &g

Re: [Arsperl-users] Inserting a date in ARSPerl

2007-10-17 Thread Thilo Stapff
The BMC "Form and Application Objects" Guide says: Users can enter dates from January 1, 4713 B.C. to January 1, A.D. 2440588 is the difference (in days) between January 1, 1970 AD and January 1, 4713 BC. I don't know why they chose 4713 BC as the starting year. Regard

Re: [Arsperl-users] Inserting a date in ARSPerl

2007-10-17 Thread Thilo Stapff
Unfortunately, date fields (unlike date/time fields) are only supported since ARSperl version 1.90 The value has to be an integer which can be computed from an epoch timestamp by int( $epoch_time / 86400 ) + 2440588 Regards, Thilo Stapff Pittman, Timothy wrote: > I have been hav

Re: [Arsperl-users] need to import data from all forms at once

2007-09-28 Thread Thilo Stapff
al Message - > From: Thilo Stapff > To: arsperl-users@arsperl.org > At: 9/27 13:24:44 > > The import tool can be automated. See the chapter "Using the Remedy > Import command line interface" in the AR 6.3 Advanced Development Guide. > > Regards, > Thilo Sta

Re: [Arsperl-users] need to import data from all forms at once

2007-09-27 Thread Thilo Stapff
The import tool can be automated. See the chapter "Using the Remedy Import command line interface" in the AR 6.3 Advanced Development Guide. Regards, Thilo Stapff STAN HOLODNAK, BLOOMBERG/ 731 LEXIN wrote: > We are moving ARS 6.3 Server from Informix to Oracle. I already expo

Re: [Arsperl-users] Help! Error in compiling ARSperl scripts using Perlapp in Solaris 8 (Activestate PDK 7.0.0)

2007-09-19 Thread Thilo Stapff
The "perl58delta" manual page says: Binary Incompatibility Perl 5.8 is not binary compatible with earlier releases of Perl. You have to recompile your XS modules. So it's probably indeed a version compatibility problem. Regards, Thilo Stapff Ye, Kuixiang

Re: [Arsperl-users] Testing connection

2007-09-11 Thread Thilo Stapff
use strict; use warnings; my $c = ars_Login($rserver,$ruser,$rpass); if ($c) { print "connected succesfully to Remedy Server"; }else{ print "failed miserably: $ars_errstr"; } If the server uses a specified TCP port instead of the portmapper, the login statement should look like this: my $

Re: [Arsperl-users] how to get list of users connected to Remed

2007-09-07 Thread Thilo Stapff
Is there anything in the admin tool list of 30 people that could give a hint to the number 20, maybe something like "20 fixed, 10 floating"? STAN HOLODNAK, BLOOMBERG/ 731 LEXIN wrote: > Mark what do you mean by deriver tool? > When I login with Admin account to the Manage User licenses, I see 3

Re: [Arsperl-users] Problem with 7.x enum list with gaps

2007-08-27 Thread Thilo Stapff
For the 'Enum With Gaps' field, you have to use $field->{limit}{enumLimits}{customList} instead of $field->{limit}{enumLimits}{regularList} Regards, Thilo Michiel Beijen wrote: > Excuse me, here is my message one more time. sf.net keeps sending > messages to me that they've blocked an

Re: [Arsperl-users] Errors opening a form

2007-08-23 Thread Thilo Stapff
ted the whole behaviour might indeed appear quite mysterious. Regards, Thilo Stapff Peter Farr wrote: > The reason I switched to the OO version of the interface was because the > old style one did not return any data. I could do calls like > ars_GetListField, ars_GetFieldByName and ars_G

Re: [Arsperl-users] Errors opening a form

2007-08-23 Thread Thilo Stapff
As Jarl already explained, this is a problem with the new (since ARS 7.0) "custom" enum lists. ARSperl 1.90 supports them, so this is definitely a problem with the OO interface. Regards, Thilo Jeff Murphy wrote: > Peter Farr wrote: >> Damn! I do not have any control over the Remedy side so I

Re: [Arsperl-users] ARSPerl newbie: How to list field values from a form?

2007-08-09 Thread Thilo Stapff
does not like the die parameter if you got an error. You may miss > the clean-up part. > > - > Jarl > > On 8/9/07, Thilo Stapff <[EMAIL PROTECTED]> wrote: >> ars_GetListEntry needs at least one more parameter (firstRetrieve, >> usually = 0): >> &

Re: [Arsperl-users] ARSPerl newbie: How to list field values from a form?

2007-08-09 Thread Thilo Stapff
. die "ars_GetListEntry( $schema, $qs ): $ars_errstr\n" if $ars_errstr; You might also try using the field ID of "Category" instead of the field name in the qualifier string. Regards, Thilo Stapff Ravi wrote: > Hi:I am trying query a schema and print a field

Re: [Arsperl-users] Performance problems

2007-08-02 Thread Thilo Stapff
$field_ids[3] contains just the field id itself. The value of the field is in $entry{$field_id[3]}}. You should also note that gmtime returns the month as numbers 0..11 instead of 1..12. Anyway, an easier (and problably more reliable) method for date formatting would be to use a module from CPA

Re: [Arsperl-users] Performance problems

2007-08-02 Thread Thilo Stapff
In the "foreach" loop, you are executing a separate API call for every field. It should be much faster to fetch the whole entry with one call: %entry = ars_GetEntry( $ctrl, $ARSschema, $entry_id, $x1,..,$xn ); die "ars_GetEntry($ARSschema,$entry_id): $ars_errstr" if $ars_errstr; print d

Re: [Arsperl-users] Can you change the remedy user's password in ARSperl?

2007-07-31 Thread Thilo Stapff
If it works in the User Tool (which it might or might not do, depending on the field/entry permissions of the "Group" form), it should work via ARSperl as well: ars_SetEntry( $ctrl, $entryId, 0, 102 => 'new_password' ); Regards, Thilo Jeff Murphy wrote: > Van De Kerk, David - PHX wrote: >> >>

Re: [Arsperl-users] Download 1.90

2007-06-22 Thread Thilo Stapff
Did you try to repeat the download? BTW there's an updated version CVS which contains some bugfixes (mostly memory leaks), for downloading see http://sourceforge.net/cvs/?group_id=116013 If nothing of this works, I can send you a working copy, just let me know. Regards, Thilo Jarl Grøneng

Re: [Arsperl-users] What did I do wrong with NMake?

2007-06-21 Thread Thilo Stapff
derstanding was that I could copy the > nmake.exe and nmake.err into the C:\Perl\bin directory and the rest > would be handled by the path statement > > Thanks, > Bruce > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Sta

Re: [Arsperl-users] What did I do wrong with NMake?

2007-06-21 Thread Thilo Stapff
> > mt -manifest blib\arch\auto\ARS\ARS.dll.manifest -outputresource:blib\arch\auto\ARS\ARS.dll;2 > > (The "mt" command is installed with Visual Studio) Regards, Thilo Stapff Bruce Scott wrote: > Actually, I don't have Visual C (or any variant of C) currently > i

Re: [Arsperl-users] What did I do wrong with NMake?

2007-06-21 Thread Thilo Stapff
To run the Visual C compiler from the command line, some system variables need to be set, e.g INCLUDE, LIB, LIBPATH. I don't know exactly what variables are needed, but somewhere in your Visual Studio installation directory should be the "vcvars32.bat" script, which can be executed before runn

Re: [Arsperl-users] referenced symbol not found errors (ucnv_compareNames_3_2)

2007-05-17 Thread Thilo Stapff
The "make clean" problem is probably caused by line 305 of Makefile.PL: 'OBJECT' => q[ARS$(OBJ_EXT) support$(OBJ_EXT) supportrev$(OBJ_EXT) ].($ARSVERSION >= 5.0 ? q[supportrev_generated$(OBJ_EXT) ] : '').($WINDOWS ? '' : $ARS_STATIC_LIB), The last parenthesized expression seems to be the culpr

Re: [Arsperl-users] referenced symbol not found errors (ucnv_compareNames_3_2)

2007-05-17 Thread Thilo Stapff
Andrew, the "referenced symbol" problem is most likely caused by an error in Makefile.PL, line 114, which currently looks like this: $ARS_LIBS .= " -lpthread -licuuc -licui18n"; This should rather be $ARS_LIBS .= " -lpthread -licuucbmc -licui18nbmc"; This is already fixed in the newest

Re: [Arsperl-users] change status and write on diary

2007-05-16 Thread Thilo Stapff
The ars_SetEntry call should rather look like this: ars_SetEntry($c, "Form Name", $entryId, 0, $t{'Status'}, "Closed", ... The "0" after $entryId is the "getTime" parameter. If it has a nonzero value, it can be used to prevent the change if the entry has been changed by another user after the "

Re: [Arsperl-users] change status and write on diary

2007-05-15 Thread Thilo Stapff
my %entry = ( 7 => 3, # 7 = field id, 3 = radio button value 536870913 => "New diary entry.", ); ars_SetEntry( $ctrl, $form, $entryId, 0, %entry ); die "ars_SetEntry( $form, $entryId ): $ars_errstr\n" if $ars_errstr; Regards, Thilo Paizo wrote: > Hi Listeners, > > I would like

Re: [Arsperl-users] What's the download path for getting the

2007-05-11 Thread Thilo Stapff
You can also download it from arswiki.org, which is easier because they have a tar while containing only the API package: http://arswiki.org/projects/arapi/browser/releases Regards, Thilo STAN HOLODNAK, BLOOMBERG/ 731 LEXIN wrote: > Login to Remedy website http://www.bmc.com/remedy/ Go to Dow

Re: [Arsperl-users] Error running ARSperl 1.90 / ARSapi 7.0.1 on SLES9 Patch3 (2.6.5-7.283-smp)

2007-04-26 Thread Thilo Stapff
ries? (which ones?) > > Robert > > > - Ursprüngliche Mail > Von: Thilo Stapff <[EMAIL PROTECTED]> > An: ARSperl User Discussion > Gesendet: Donnerstag, den 26. April 2007, 11:00:14 Uhr > Betreff: Re: [Arsperl-users] Error running ARSperl 1.90 / ARSapi

Re: [Arsperl-users] Error running ARSperl 1.90 / ARSapi 7.0.1 on SLES9 Patch3 (2.6.5-7.283-smp)

2007-04-26 Thread Thilo Stapff
Access") Mit freundlichen Grüßen Thilo Stapff Robert Bürger wrote: > Hello, > > I get this error after running my script: > > Can't load > '/usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi/auto/ARS/ARS.so' > for module ARS: > /usr/lib/per

Re: [Arsperl-users] Error installing/using ARSperl 1.90 on Solaris 9 with Perl 5.8.3

2007-04-18 Thread Thilo Stapff
Try to replace the following lines in the source code: in file "supportrev_generated.h", line 339: void copyUIntArray( int size, unsigned int *dst, SV* src ); by void copyUIntArray( int size, ARInternalId *dst, SV* src ); in file "supportrev_generated.c", line 11925 (near end of file): v

Re: [Arsperl-users] Queries on 'HPD:HelpDesk' taking too long.

2007-04-16 Thread Thilo Stapff
I'd recommend not to use the OO interface. $f->openForm loads all field properties of HPD:Helpdesk, which is entirely unnecessary for your query. It might also be better to use one ars_GetListEntryWithFields call instead of ars_GetListEntry and separate ars_GetEntry calls. People have reported

Re: [Arsperl-users] ars_LoadQualifier blows in ARSPerl 1.85

2007-04-11 Thread Thilo Stapff
eEntry fails if the diary field is empty. Any idea why? -Stan > - Original Message - > From: Thilo Stapff > At: 4/10 13:35:32 > > I've seen this problem too but was never able to solve it. > > You might, however, use field IDs in the qualifier instead of labe

Re: [Arsperl-users] ars_LoadQualifier blows in ARSPerl 1.85 for Remedy 6.3

2007-04-10 Thread Thilo Stapff
I've seen this problem too but was never able to solve it. You might, however, use field IDs in the qualifier instead of labels, e.g. ... AND '536870913' = "037001" That way it has, so far, always worked. Regards, Thilo STAN HOLODNAK, BLOOMBERG/ 731 LEXIN wrote: > It runs OK some

Re: [Arsperl-users] Unable to Compile ARSPerl 1.90 on Windows 2000

2007-04-10 Thread Thilo Stapff
To run the Visual C compiler from the command line, some system variables need to be set, e.g INCLUDE, LIB, LIBPATH. I don't know exactly what variables are needed, but somewhere in your Visual Studio installation directory should be the "vcvars32.bat" script, which can be executed before runni

Re: [Arsperl-users] installation probleme on Solaris

2007-04-05 Thread Thilo Stapff
Apparently there's no compiler installed. See e.g. http://www.unixguide.net/sun/faq/5.37.shtml for an explanation. The easiest solution is probably to install gcc (as binary package from http://www.sunfreeware.com/). Regards Thilo Stapff Serouche Rahimpour wrote: > dear listers, &

Re: [Arsperl-users] Compile ARSperl 1.90 on HP-UX

2007-03-20 Thread Thilo Stapff
Yes, to get rid of a statically linked module you would have to recompile perl. How to check for statically linked modules? ... I don't know. Thilo Misi Mladoniczky schrieb: > Hi Thilo, > > Statically linked into the perl binary itself? That would make sence... > > How would I get rid of it

Re: [Arsperl-users] Compile ARSperl 1.90 on HP-UX

2007-03-15 Thread Thilo Stapff
Could it be that your perl interpreter contains an old statically linked ARSperl? This was necessary on HP with older ARS versions. Regards, Thilo Misi Mladoniczky wrote: > Hi, > > I am trying to get ARSperl 1.90 to work on HP-UX 11, either with the 6.3.0 > patch 021 API or the 7.0.1 patch 001

Re: [Arsperl-users] Error running 1.90 / 7.0.1 API

2007-03-14 Thread Thilo Stapff
Maybe it has to do with the different versions of gcc (and accordingly glibc) on the two systems. Unix has also a "ldd" utility to show library depencies. See "man lcc" for more information. Regards, Thilo Georg Grabler schrieb: > Hello, > > I'm experiencing problems on one of our testing linu

  1   2   >