Hello,
I am a fairly new user to Ubuntu 14.04 (keep that in mind) and have had quite the frustrating install of OSF. I was able to troubleshoot the virtuoso errors and have it most of the way there, but still seem to be having some web services issues.
I am currently having permissions issues with getting my ontologies loaded into my drupal site. I have seen several threads about this, and my issue is similar, but I can't even get past the first step listed in most of those threads because I can't successfully use any of the pmt commands. I had previously been getting a series of WS-AUTH-VALIDATION-103 errors in the terminal, then decided to just try reinstalling the PMT. I had many connection errors and that "could not find dev.zip" message. I was able to reinstall it by naming version 3.0.0 specifically.
Since reinstalling the PMT, I now get something like the error below when I try to list the existing groups or do any other command shown in the -help documentation.
------------------------------------
andi@katkin:~$ sudo pmt --list-groups
[sudo] password for andi:
Can't list groupsForbidden<?xml version="1.0" encoding="utf-8"?> <error> <id>WS-AUTH-VALIDATION-101</id> <webservice>/ws/auth/lister/</webservice> <name>Unauthorized Request</name> <description>Your request cannot be authorized for this web service call</description> <debugInformation></debugInformation> <level>Fatal</level> </error>
Debug file: /tmp/42f48ffa5f795ac708d03246dc08d2b4.error
----------------------------------
Here is the debug file text:
----------------------------------
StructuredDynamics\osf\php\api\ws\auth\lister\AuthListerQuery::__set_state(array(
'endpoint' => 'auth/lister/',
'method' => 'get',
'mime' => 'resultset',
'timeout' => 0,
'resultset' => NULL,
'supportedMimes' =>
array (
0 => 'text/xml',
1 => 'application/json',
2 => 'application/rdf+xml',
3 => 'application/rdf+n3',
4 => 'application/iron+json',
5 => 'application/iron+csv',
6 => 'resultset',
),
'httpStatus' => '403',
'httpStatusMessage' => 'Forbidden',
'httpStatusMessageDescription' => '<?xml version="1.0" encoding="utf-8"?> <error> <id>WS-AUTH-VALIDATION-101</id> <webservice>/ws/auth/lister/</webservice> <name>Unauthorized Request</name> <description>Your request cannot be authorized for this web service call</description> <debugInformation></debugInformation> <level>Fatal</level> </error> ',
'appID' => 'administer',
'apiKey' => 'some-key',
'params' =>
array (
'mode' => 'groups',
'target_webservice' => 'all',
'interface' => 'default',
),
'error' =>
StructuredDynamics\osf\framework\QuerierError::__set_state(array(
'id' => 'WS-AUTH-VALIDATION-101',
'level' => 'fatal',
'webservice' => '/ws/auth/lister/',
'name' => 'Unauthorized Request',
'description' => 'Your request cannot be authorized for this web service call',
'debugInfo' => '',
)),
))
-----------------------------------------
When attempting to upload in drupal I also get this message:
Do you have any idea why I can't use the PMT commands?
Thanks for the help,
Andi