|
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?
|
|
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",
|
|
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
|
|
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
|
|
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]
|
|
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
|
|
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.
|
|
guest |