[gold-users] error running gold-2.2.0.1

ingmar ingmar at ucar.edu
Thu Nov 18 12:07:53 MST 2010


Hello,
The one major difference is that my database is Oracle 11 not 
PostgreSQL, and I am using the Oracle::DBD.  I am of course wondering if 
this is the root of my issue.
Thanks,
-Ingmar Thompson NCAR

Here is a trace log when trying to do a gmkuser command...

2010-11-18 12:00:05.769 INFO  main::  New Connection Received
2010-11-18 12:00:05.771 TRACE Gold::Message::new  invoked with 
arguments: (connection => IO::Socket::INET=GLOB(0x2de4248))
2010-11-18 12:00:05.771 TRACE Gold::Message::receiveChunk  invoked with 
arguments: ()
2010-11-18 12:00:05.771 DEBUG Gold::Message::receiveChunk  Read message 
header (POST /SSSRMAP3 HTTP/1.1
Content-Type: text/xml; charset="utf-8"
Transfer-Encoding: chunked

).
2010-11-18 12:00:05.771 INFO  Gold::Message::receiveChunk  Read message 
payload (257, <?xml version="1.0" encoding="UTF-8"?>
<Envelope><Body><Request action="Create" 
actor="ingmar"><Object>User</Object><Set name="Name">hawk</Set><Set 
name="CommonName">Hawk, Henry</Set><Set 
name="EmailAddress">hawkw at ucar.edu</Set></Request></Body></Envelope>
).
2010-11-18 12:00:05.772 TRACE Gold::Message::unmarshallChunk  invoked 
with arguments: (<?xml version="1.0" encoding="UTF-8"?>
<Envelope><Body><Request action="Create" 
actor="ingmar"><Object>User</Object><Set name="Name">hawk</Set><Set 
name="CommonName">Hawk, Henry</Set><Set 
name="EmailAddress">hawkw at ucar.edu</Set></Request></Body></Envelope>
)
2010-11-18 12:00:05.773 TRACE Gold::Request::new  invoked with arguments: ()
2010-11-18 12:00:05.773 DEBUG Gold::Message::unmarshallChunk  Extracted 
the request ((Create, ingmar, [(User, , )], [], [(Name, hawk, ), 
(CommonName, Hawk, Henry, ), (EmailAddress, hawkw at ucar.edu, )], [], [], 
[], 0, 0, 100000, )).
2010-11-18 12:00:05.774 DEBUG Gold::Message::receiveChunk  Read message 
tail (0).
2010-11-18 12:00:05.774 TRACE Gold::Proxy::new  invoked with arguments: 
(request => Gold::Request=HASH(0x2d466f8))
2010-11-18 12:00:05.774 TRACE Gold::Database::new  invoked with 
arguments: ()
2010-11-18 12:00:05.813 TRACE Gold::Database::nextId  invoked with 
arguments: (Request)
2010-11-18 12:00:05.818 TRACE Gold::Database::nextId  generated new id 
276 for Request
2010-11-18 12:00:05.821 TRACE Gold::Proxy::prepare  invoked with 
arguments: (Gold::Request=HASH(0x2d466f8))
2010-11-18 12:00:05.823 TRACE Gold::Cache::objectExists  invoked with 
arguments: (User)
2010-11-18 12:00:05.833 ERROR Gold::Exception::new  User is not a valid 
object at /usr/local/gold/lib/Gold/Proxy.pm line 327
2010-11-18 12:00:05.838 ERROR main::__ANON__  Gold server error (740): 
User is not a valid object.
2010-11-18 12:00:05.838 TRACE Gold::Response::new  invoked with 
arguments: ()
2010-11-18 12:00:05.838 TRACE Gold::Response::failure  invoked with 
arguments: (740, User is not a valid object)
2010-11-18 12:00:05.838 TRACE Gold::Reply::new  invoked with arguments: 
(connection => IO::Socket::INET=GLOB(0x2de4248))
2010-11-18 12:00:05.838 TRACE Gold::Reply::sendChunk  invoked with 
arguments: (Gold::Chunk=HASH(0x2c5c1d0))
2010-11-18 12:00:05.839 TRACE Gold::Reply::marshallChunk  invoked with 
arguments: (Gold::Chunk=HASH(0x2c5c1d0))
2010-11-18 12:00:05.839 DEBUG Gold::Reply::sendChunk  Writing reply 
header (HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Transfer-Encoding: chunked
).
2010-11-18 12:00:05.839 INFO  Gold::Reply::sendChunk  Writing reply 
payload (210, <?xml version="1.0" encoding="UTF-8"?>
<Envelope><Body><Response 
actor="ingmar"><Status><Value>Failure</Value><Code>740</Code><Message>User 
is not a valid object</Message></Status></Response></Body></Envelope>
).
On 11/18/2010 10:59 AM, ingmar wrote:
> Hello,
> I am getting this error running Gold against this version of perl
>
> perl -v
>
>
> This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
> (with 40 registered patches, see perl -V for more detail)
>
>
> Copyright 1987-2009, Larry Wall
>
>
> Perl may be copied only under the terms of either the Artistic License 
> or the
> GNU General Public License, which may be found in the Perl 5 source kit.
>
>
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl".  If you have access to 
> the
> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
>
>
> This is the error I am getting when trying to use the gmkuser command.
>
> ./gmkuser -n "Hawk, Henry" -E "hawkw at ucar.edu" hawk
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> Use of uninitialized value in string eq at 
> /usr/local/gold/lib/Gold/Cache.pm line 519.
> User is not a valid object
>
> Is this a known issue with this version?
> Thanks,
> -Ingmar Thompson NCAR



More information about the gold-users mailing list