Attach a small block of stderr.log
I just made all that operations I talked about (list my certificates)

-----Original Message-----
From: Alexander Klink [mailto:[email protected]] 
Sent: Monday, May 25, 2009 6:50 PM
To: [email protected]
Subject: Re: [OpenXPKI-users] troubles with private key download

Hi Elvira,

On Thu, May 21, 2009 at 09:25:06AM +0400, Chudnovskaya Elvira wrote:
> I got another bug in my web interface when tried to load Certificate.
> 
> External Dynamic => root => my certificates:
> 
> System error
> error:        Can't use an undefined value as an ARRAY reference at
> /openxpki/htdocs/service/api/certs_requested_by_user.html line 71.

[...]

> Do you know cause of what this can be?

Once again, a look at the stderr.log file would be helpful, the
undefined value here is the result from a 'list_my_certificates'
API call, so it would be interesting to see whether that throws
an error or so ...?

HTH,
Best regards,
  Alex
-- 
Dipl.-Math. Alexander Klink | IT-Security Engineer
        [email protected] | working @ urn:oid:1.3.6.1.4.1.11417

----------------------------------------------------------------------------
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

2009-05-26 09:19:28.291386 DEBUG:16 PID:88210 
OpenXPKI::Service::Default::__is_valid_message (line 151): message is valid
2009-05-26 09:19:28.292863 DEBUG:1 PID:88210 
OpenXPKI::Service::Default::__handle_message (line 159): start
2009-05-26 09:19:28.293883 DEBUG:64 PID:88210 
OpenXPKI::Service::Default::__handle_message (line 166): message: $VAR1 = {
          'PARAMS' => {
                        'COMMAND' => 'list_my_certificates',
                        'PARAMS' => {
                                      'LIMIT' => '5',
                                      'START' => '0'
                                    }
                      },
          'SERVICE_MSG' => 'COMMAND'
        };

2009-05-26 09:19:28.294384 DEBUG:1 PID:88210 
OpenXPKI::Service::Default::__handle_COMMAND (line 571): start
2009-05-26 09:19:28.294963 DEBUG:16 PID:88210 
OpenXPKI::Service::Default::__handle_COMMAND (line 577): executing access 
control before doing anything else
2009-05-26 09:19:28.295912 DEBUG:99 PID:88210 OpenXPKI::Server::ACL::authorize 
(line 261): user:realm:activity:owner - 
rcb3Cmlp:CYBORG:Service::list_my_certificates:
2009-05-26 09:19:28.298459 DEBUG:16 PID:88210 
OpenXPKI::Exception::__fake_stacktrace_new (line 128): fake_stacktrace_new 
called
2009-05-26 09:19:28.299382 DEBUG:1 PID:88210 
OpenXPKI::Service::Default::__handle_COMMAND (line 585): Permission denied for 
Service::list_my_certificates.
2009-05-26 09:19:28.301397 DEBUG:16 PID:88210 
OpenXPKI::Exception::__fake_stacktrace_new (line 128): fake_stacktrace_new 
called
2009-05-26 09:19:28.303930 DEBUG:128 PID:88210 OpenXPKI::Service::__get_error 
(line 133): $VAR1 = {
          'EXCEPTION' => bless( {
                                'egid' => '777 777',
                                'euid' => '777',
                                'gid' => '777 777',
                                'message' => 
'I18N_OPENXPKI_SERVICE_DEFAULT_COMMAND_PERMISSION_DENIED',
                                'params' => {
                                            'EXCEPTION' => bless( {
                                                                  'egid' => 
'777 777',
                                                                  'euid' => 
'777',
                                                                  'gid' => '777 
777',
                                                                  'message' => 
'I18N_OPENXPKI_SERVER_ACL_AUTHORIZE_ILLEGAL_AUTH_ROLE',
                                                                  'params' => {
                                                                              
'ACTIVITY' => 'Service::list_my_certificates',
                                                                              
'AFFECTED_ROLE' => '',
                                                                              
'AUTH_ROLE' => 'rcb3Cmlp',
                                                                              
'PKI_REALM' => 'CYBORG'
                                                                            },
                                                                  'pid' => 
88210,
                                                                  'time' => 
1243315168,
                                                                  'trace' => 
bless( {}, 'Devel::StackTrace' ),
                                                                  'uid' => '777'
                                                                }, 
'OpenXPKI::Exception' )
                                          },
                                'pid' => 88210,
                                'time' => 1243315168,
                                'trace' => bless( {}, 'Devel::StackTrace' ),
                                'uid' => '777'
                              }, 'OpenXPKI::Exception' )
        };

2009-05-26 09:19:28.304900 DEBUG:2 PID:88210 OpenXPKI::Service::__get_error 
(line 135): setup errors array
2009-05-26 09:19:28.305448 DEBUG:2 PID:88210 OpenXPKI::Service::__get_error 
(line 154): normalize error list
2009-05-26 09:19:28.306401 DEBUG:1 PID:88210 OpenXPKI::Service::__get_error 
(line 182): return serialized error list
2009-05-26 09:19:28.308413 DEBUG:128 PID:88210 OpenXPKI::Service::talk (line 
54): talk: $VAR1 = {
          'LIST' => [
                    {
                      'LABEL' => 
'I18N_OPENXPKI_SERVICE_DEFAULT_COMMAND_PERMISSION_DENIED',
                      'PARAMS' => {
                                    'EXCEPTION' => bless( {
                                                          'egid' => '777 777',
                                                          'euid' => '777',
                                                          'gid' => '777 777',
                                                          'message' => 
'I18N_OPENXPKI_SERVER_ACL_AUTHORIZE_ILLEGAL_AUTH_ROLE',
                                                          'params' => {
                                                                      
'ACTIVITY' => 'Service::list_my_certificates',
                                                                      
'AFFECTED_ROLE' => '',
                                                                      
'AUTH_ROLE' => 'rcb3Cmlp',
                                                                      
'PKI_REALM' => 'CYBORG'
                                                                    },
                                                          'pid' => 88210,
                                                          'time' => 1243315168,
                                                          'trace' => bless( {}, 
'Devel::StackTrace' ),
                                                          'uid' => '777'
                                                        }, 
'OpenXPKI::Exception' )
                                  }
                    }
                  ],
          'SERVICE_MSG' => 'ERROR'
        };

2009-05-26 09:19:28.311392 DEBUG:1 PID:88210 OpenXPKI::Exception::full_message 
(line 65): exception thrown: 
I18N_OPENXPKI_SERVER_ACL_AUTHORIZE_ILLEGAL_AUTH_ROLE; __PKI_REALM__ => CYBORG; 
__AFFECTED_ROLE__ => ; __ACTIVITY__ => Service::list_my_certificates; 
__AUTH_ROLE__ => rcb3Cmlp
2009-05-26 09:19:28.312902 DEBUG:1 PID:88210 OpenXPKI::Exception::full_message 
(line 65): exception thrown: 
I18N_OPENXPKI_SERVER_ACL_AUTHORIZE_ILLEGAL_AUTH_ROLE; __PKI_REALM__ => CYBORG; 
__AFFECTED_ROLE__ => ; __ACTIVITY__ => Service::list_my_certificates; 
__AUTH_ROLE__ => rcb3Cmlp
2009-05-26 09:19:28.313406 DEBUG:1 PID:88210 
OpenXPKI::Serialization::Simple::__write_data (line 90): implicit 
stringification of
2009-05-26 09:19:28.314925 DEBUG:1 PID:88210 OpenXPKI::Exception::full_message 
(line 65): exception thrown: 
I18N_OPENXPKI_SERVER_ACL_AUTHORIZE_ILLEGAL_AUTH_ROLE; __PKI_REALM__ => CYBORG; 
__AFFECTED_ROLE__ => ; __ACTIVITY__ => Service::list_my_certificates; 
__AUTH_ROLE__ => rcb3Cmlp
2009-05-26 09:19:28.315908 DEBUG:1 PID:88210 OpenXPKI::Transport::Simple::write 
(line 50): start
2009-05-26 09:19:28.316721 DEBUG:2 PID:88210 OpenXPKI::Transport::Simple::write 
(line 52): send message
2009-05-26 09:19:28.317412 DEBUG:4 PID:88210 OpenXPKI::Transport::Simple::write 
(line 73): sending last message
2009-05-26 09:19:28.317926 DEBUG:8 PID:88210 
OpenXPKI::Transport::Simple::__send (line 215): print message via STDOUT
2009-05-26 09:19:28.318534 DEBUG:8 PID:88210 
OpenXPKI::Transport::Simple::__send (line 217): print completed
2009-05-26 09:19:28.318953 DEBUG:4 PID:88210 
OpenXPKI::Transport::Simple::__send (line 219): wrote message - type::=last
length::=357
HASH
348
4
LIST
ARRAY
301
0
HASH
290
5
LABEL
SCALAR
55
I18N_OPENXPKI_SERVICE_DEFAULT_COMMAND_PERMISSION_DENIED
6
PARAMS
HASH
198
9
EXCEPTION
SCALAR
174
I18N_OPENXPKI_SERVER_ACL_AUTHORIZE_ILLEGAL_AUTH_ROLE; __PKI_REALM__ => CYBORG; 
__AFFECTED_ROLE__ => ; __ACTIVITY__ => Service::list_my_certificates; 
__AUTH_ROLE__ => rcb3Cmlp
11
SERVICE_MSG
SCALAR
5
ERROR

2009-05-26 09:19:28.319909 DEBUG:1 PID:88210 OpenXPKI::Transport::Simple::write 
(line 96): end
2009-05-26 09:19:28.324421 DEBUG:1 PID:88210 OpenXPKI::Transport::Simple::read 
(line 103): start
2009-05-26 09:19:28.324916 DEBUG:2 PID:88210 OpenXPKI::Transport::Simple::read 
(line 105): read new message
2009-05-26 09:19:28.325442 DEBUG:4 PID:88210 OpenXPKI::Transport::Simple::read 
(line 116): read type line
2009-05-26 09:19:28.326403 DEBUG:4 PID:88210 
OpenXPKI::Transport::Simple::__receive (line 228): start
2009-05-26 09:19:28.326930 DEBUG:8 PID:88210 
OpenXPKI::Transport::Simple::__receive (line 251): read via STDIN
2009-05-26 09:19:28.452602 DEBUG:8 PID:88210 
OpenXPKI::Transport::Simple::__receive (line 269): read 0 bytes -
2009-05-26 09:19:28.454035 DEBUG:8 PID:88210 
OpenXPKI::Transport::Simple::__receive (line 273): connection closed
2009-05-26 09:19:28.455607 DEBUG:16 PID:88210 
OpenXPKI::Exception::__fake_stacktrace_new (line 128): fake_stacktrace_new 
called
2009-05-26 09:19:28.458090 DEBUG:1 PID:88210 OpenXPKI::Exception::full_message 
(line 65): exception thrown: 
I18N_OPENXPKI_TRANSPORT_SIMPLE_CLIENT_READ_CLOSED_CONNECTION
2009-05-26 09:19:28.567197 DEBUG:1 PID:88210 
OpenXPKI::Crypto::Backend::OpenSSL::Config::__cleanup_files (line 640): start
2009-05-26 09:19:28.568688 DEBUG:2 PID:88210 
OpenXPKI::Crypto::Backend::OpenSSL::Config::__cleanup_files (line 643): return 
if no files must be deleted
2009-05-26 09:19:28.570173 DEBUG:1 PID:88210 OpenXPKI::Crypto::CLI::DEMOLISH 
(line 276): start
2009-05-26 09:19:28.570748 DEBUG:1 PID:88210 OpenXPKI::Crypto::CLI::cleanup 
(line 259): start
2009-05-26 09:19:28.571698 DEBUG:1 PID:88210 OpenXPKI::Crypto::CLI::cleanup 
(line 272): end
2009-05-26 09:19:28.572111 DEBUG:1 PID:88210 OpenXPKI::Crypto::CLI::DEMOLISH 
(line 279): end
2009-05-26 09:19:28.585197 DEBUG:1 PID:88210 OpenXPKI::Server::DESTROY (line 
152): start
2009-05-26 09:19:28.587195 DEBUG:1 PID:88210 OpenXPKI::Crypto::CLI::DEMOLISH 
(line 276): start
2009-05-26 09:19:28.587693 DEBUG:1 PID:88210 OpenXPKI::Crypto::CLI::cleanup 
(line 259): start
2009-05-26 09:19:28.588683 DEBUG:1 PID:88210 OpenXPKI::Crypto::CLI::cleanup 
(line 272): end
2009-05-26 09:19:28.589245 DEBUG:1 PID:88210 OpenXPKI::Crypto::CLI::DEMOLISH 
(line 279): end
2009-05-26 09:19:28.594187 DEBUG:1 PID:88210 
OpenXPKI::Crypto::Backend::OpenSSL::Config::__cleanup_files (line 640): start
2009-05-26 09:19:28.594723 DEBUG:2 PID:88210 
OpenXPKI::Crypto::Backend::OpenSSL::Config::__cleanup_files (line 643): return 
if no files must be deleted
2009-05-26 09:19:28.734897 DEBUG:1 PID:88210 
OpenXPKI::Server::DBI::DBH::DESTROY (line 472): start
2009-05-26 09:19:28.736339 DEBUG:2 PID:88210 
OpenXPKI::Server::DBI::DBH::DESTROY (line 478): call finish on all statement 
handles to avoid warnings by DBI
2009-05-26 09:19:28.736864 DEBUG:1 PID:88210 
OpenXPKI::Server::DBI::DBH::DESTROY (line 472): start
2009-05-26 09:19:28.737270 DEBUG:2 PID:88210 
OpenXPKI::Server::DBI::DBH::DESTROY (line 478): call finish on all statement 
handles to avoid warnings by DBI
2009-05-26 09:19:28.738306 DEBUG:1 PID:88210 
OpenXPKI::Server::DBI::DBH::DESTROY (line 472): start
2009-05-26 09:19:28.738851 DEBUG:2 PID:88210 
OpenXPKI::Server::DBI::DBH::DESTROY (line 478): call finish on all statement 
handles to avoid warnings by DBI
2009-05-26 09:19:28.739372 DEBUG:4 PID:88210 
OpenXPKI::Server::DBI::DBH::DESTROY (line 488): found open database handle, so 
enforcing rollback
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to