IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

xbrl: raptorxmlxbrl: command not found error Options · View
abhi
Posted: Thursday, July 30, 2015 2:29:28 AM
Rank: Newbie

Joined: 7/30/2015
Posts: 5
Location: United States
I am trying to execute the valSECfilings.py given at https://github.com/altova/sec-xbrl#valsecfilings through command - "python valSECfilings.py -y 2014 -m 7". When I run the above command I see following on my screen

(1809, 'validation jobs queued up for RaptorXML+XBRL')
('Partition:', 1)
('Running batch of', 20, 'validation jobs...')
xbrl: raptorxmlxbrl: command not found
('Partition:', 2)
('Running batch of', 20, 'validation jobs...')
xbrl: raptorxmlxbrl: command not found
('Partition:', 3)
('Running batch of', 20, 'validation jobs...')
xbrl: raptorxmlxbrl: command not found
('Partition:', 4)
('Running batch of', 20, 'validation jobs...')
xbrl: raptorxmlxbrl: command not found


This is the command in the python file that executes raptorxmlxbrl command:
Code:
result = call(["raptorxmlxbrl", "xbrl", "--listfile", joblist] )


where joblist = "valSECfilings.jobs" and this can be checked in the code file as well present in the link that I have posted in the beginning.

My RaptorXML server is running but I don't know why the command not found message is coming. What could be a possible reason?
vlad
Posted: Thursday, July 30, 2015 11:04:15 AM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
Did you install RaptorXML or RaptorXML+XBRL server? The second is required.

If you've installed a correct server, then second idea would be to provide the exact file path to it, i.e. instead of

call(["raptorxmlxbrl", ...

do

call(["/path/to/raptorxml+xbrl-install-dir/bin/raptorxmlxbrl",
abhi
Posted: Thursday, July 30, 2015 1:12:29 PM
Rank: Newbie

Joined: 7/30/2015
Posts: 5
Location: United States
I have installed RaptorXML+XBRL server. Normally what is the path where it gets installed? I have CentOS 6
abhi
Posted: Thursday, July 30, 2015 1:13:55 PM
Rank: Newbie

Joined: 7/30/2015
Posts: 5
Location: United States
vlad wrote:
Did you install RaptorXML or RaptorXML+XBRL server? The second is required.

If you've installed a correct server, then second idea would be to provide the exact file path to it, i.e. instead of

call(["raptorxmlxbrl", ...

do

call(["/path/to/raptorxml+xbrl-install-dir/bin/raptorxmlxbrl",


I have installed RaptorXML+XBRL server. Normally what is the path where it gets installed? I have CentOS 6
abhi
Posted: Thursday, July 30, 2015 1:28:02 PM
Rank: Newbie

Joined: 7/30/2015
Posts: 5
Location: United States
vlad wrote:
Did you install RaptorXML or RaptorXML+XBRL server? The second is required.

If you've installed a correct server, then second idea would be to provide the exact file path to it, i.e. instead of

call(["raptorxmlxbrl", ...

do

call(["/path/to/raptorxml+xbrl-install-dir/bin/raptorxmlxbrl",


I did the way you mentioned but now I am getting this:

('Partition:', 29)
('Running batch of', 20, 'validation jobs...')
Altova RaptorXML+XBRL Server 2015 rel. 4 sp1
Copyright (c) 1998-2015 Altova GmbH. All rights reserved. Use of this software is subject to the license agreement at http://www.altova.
com/server_software_license_agreement.html

Usage:
raptorxmlxbrl --h | --help | --version | <command> [options] [arguments]
('Partition:', 30)
('Running batch of', 20, 'validation jobs...')
Altova RaptorXML+XBRL Server 2015 rel. 4 sp1
Copyright (c) 1998-2015 Altova GmbH. All rights reserved. Use of this software is subject to the license agreement at http://www.altova.
com/server_software_license_agreement.html

Usage:
raptorxmlxbrl --h | --help | --version | <command> [options] [arguments]
('Partition:', 31)
('Running batch of', 20, 'validation jobs...')
Altova RaptorXML+XBRL Server 2015 rel. 4 sp1
Copyright (c) 1998-2015 Altova GmbH. All rights reserved. Use of this software is subject to the license agreement at http://www.altova.
com/server_software_license_agreement.html

Usage:
raptorxmlxbrl --h | --help | --version | <command> [options] [arguments]
('Partition:', 32)
('Running batch of', 20, 'validation jobs...')
Altova RaptorXML+XBRL Server 2015 rel. 4 sp1
Copyright (c) 1998-2015 Altova GmbH. All rights reserved. Use of this software is subject to the license agreement at http://www.altova.
com/server_software_license_agreement.html

Usage:
raptorxmlxbrl --h | --help | --version | <command> [options] [arguments]
abhi
Posted: Thursday, July 30, 2015 2:09:41 PM
Rank: Newbie

Joined: 7/30/2015
Posts: 5
Location: United States
vlad wrote:
Did you install RaptorXML or RaptorXML+XBRL server? The second is required.

If you've installed a correct server, then second idea would be to provide the exact file path to it, i.e. instead of

call(["raptorxmlxbrl", ...

do

call(["/path/to/raptorxml+xbrl-install-dir/bin/raptorxmlxbrl",


When I execute this command from within my python script:

Code:
result = call(["/opt/Altova/RaptorXMLXBRLServer2015/bin/raptorxmlxbrl xbrl", "--listfile", joblist],shell=True )



I get this error message on my screen:

Quote:
Error: No value for mandatory argument 'FILE' specified.
Usage:
raptorxmlxbrl valxbrl [options] FILE...

valxbrl can be abbreviated with: xbrl

vlad
Posted: Friday, July 31, 2015 12:53:22 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
It will be difficult to answer your question in this forum - there are too many missing details. Contact Altova Support for real help.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.