Your comments
yeah, this is tough. Fixed the 'a' thing, it was me messing up and removing a quote somewhere.
Still getting this error though:
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh /Users/Telecart/Downloads/Ubooquity/PageBuilder/DC\ Comics/Detective\ Comics\ \(Vol.\ 2\)/cvinfo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 134 0 134 0 0 440 0 --:--:-- --:--:-- --:--:-- 440
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 134 0 134 0 0 789 0 --:--:-- --:--:-- --:--:-- 792
jq: error (at <stdin>:1): Cannot index array with string "name"
jq: error (at <stdin>:1): Cannot index array with string "publisher"
jq: error (at <stdin>:1): Cannot index array with string "start_year"
Downloading image
that version of jq works, but sed -i '' doesn't seem to solve it, here's the error I see:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1455 0 1455 0 0 1884 0 --:--:-- --:--:-- --:--:-- 1884
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 138 0 138 0 0 698 0 --:--:-- --:--:-- --:--:-- 700
jq: error (at <stdin>:1): Cannot index array with string "name"
jq: error (at <stdin>:1): Cannot index array with string "publisher"
jq: error (at <stdin>:1): Cannot index array with string "start_year"
sed: 1: "s/\*\*DESCRIPTION\*\*/D ...": bad flag in substitute command: 'a'
Downloading image
btw, this is my jq:
/usr/local/bin/jq: Mach-O 64-bit executable x86_64
and this is the one you packaged:
jq: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
and my uname -a
Darwin Telecarts-MacBook-Pro.local 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
yep! That started doing something, however I was getting some errors.
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh /Users/Telecart/Downloads/Ubooquity/PageBuilder/DC\ Comics/Detective\ Comics\ \(Vol.\ 2\)/cvinfo
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh: line 9: /Users/Telecart/Downloads/Ubooquity/PageBuilder/jq: cannot execute binary file
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1455 0 1455 0 0 2012 0 --:--:-- --:--:-- --:--:-- 2012
(23) Failed writing body
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 138 0 138 0 0 580 0 --:--:-- --:--:-- --:--:-- 582
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh: line 12: /Users/Telecart/Downloads/Ubooquity/PageBuilder/jq: cannot execute binary file
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh: line 13: /Users/Telecart/Downloads/Ubooquity/PageBuilder/jq: cannot execute binary file
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh: line 14: /Users/Telecart/Downloads/Ubooquity/PageBuilder/jq: cannot execute binary file
sed: 1: "/Users/Telecart/Downloads/U ...": unterminated substitute in regular expression
sed: 1: "/Users/Telecart/Downloads/U ...": unterminated substitute in regular expression
sed: 1: "/Users/Telecart/Downloads/U ...": unterminated substitute in regular expression
Downloading image
/Users/Telecart/Downloads/Ubooquity/PageBuilder/imageGet.sh: line 47: wget: command not found
/Users/Telecart/Downloads/Ubooquity/PageBuilder/imageGet.sh: line 58: wget: command not found
so, it looks like some resources weren't working correctly, specifically jq and wget.
I started by installing wget. To do that on a clean OSX El Capitan (this is not my usual machine), I needed to install Homebrew, then XCode command line tools, then openSSL (which is no longer packaged with MacOS/OSX), and then install wget.
That worked, in that it was now downloading a zero bytes image, but not spewing a command not found error for wget.
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh /Users/Telecart/Downloads/Ubooquity/PageBuilder/DC\ Comics/Detective\ Comics\ \(Vol.\ 2\)/cvinfo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1455 0 1455 0 0 1962 0 --:--:-- --:--:-- --:--:-- 1963
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 138 0 138 0 0 666 0 --:--:-- --:--:-- --:--:-- 669
jq: error (at <stdin>:1): Cannot index array with string "name"
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh: line 13: /Users/Telecart/Downloads/Ubooquity/PageBuilder/jq: cannot execute binary file
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh: line 14: /Users/Telecart/Downloads/Ubooquity/PageBuilder/jq: cannot execute binary file
sed: 1: "/Users/Telecart/Downloads/U ...": unterminated substitute in regular expression
sed: 1: "/Users/Telecart/Downloads/U ...": unterminated substitute in regular expression
sed: 1: "/Users/Telecart/Downloads/U ...": unterminated substitute in regular expression
Downloading image
Then I went on to jq. I simply couldn't figure out why it wasn't executable. It's an x86 machine and everything should be fine, so I went ahead and installed jq using homebrew, and removed the path to the specific jq instance ($my_dir/) in PageBuilder.sh.
Trying it again, I'm hitting this unfamiliar error - "Cannot index array with string..."
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh /Users/Telecart/Downloads/Ubooquity/PageBuilder/DC\ Comics/Detective\ Comics\ \(Vol.\ 2\)/cvinfo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1455 0 1455 0 0 7066 0 --:--:-- --:--:-- --:--:-- 7063
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 138 0 138 0 0 529 0 --:--:-- --:--:-- --:--:-- 530
jq: error (at <stdin>:1): Cannot index array with string "name"
jq: error (at <stdin>:1): Cannot index array with string "publisher"
jq: error (at <stdin>:1): Cannot index array with string "start_year"
sed: 1: "/Users/Telecart/Downloads/U ...": unterminated substitute in regular expression
sed: 1: "/Users/Telecart/Downloads/U ...": unterminated substitute in regular expression
sed: 1: "/Users/Telecart/Downloads/U ...": unterminated substitute in regular expression
Downloading image
Feel like I'm almost there, after which I can write instructions for any other mac miscreants out there. Any thoughts on that?
Hmm, nope... Again, these are blank directories otherwise, are there any other resources it needs?
/Users/Telecart/Downloads/Ubooquity/PageBuilder/PageBuilder.sh /Users/Telecart/Downloads/Ubooquity/PageBuilder/DC\ Comics/Detective\ Comics\ \(Vol.\ 2\)/CVInfo
No cvinfo file found
From quickly playing around with PageBuilder.sh though it does seem to give me "No cvinfo file found" when I run it directly on a directory that contains a cvinfo. It's just a test directory so I don't know if it needs anything else though.
I'm on OSX, I first did chmod 755 to the .sh so I could execute it, then I put a cvinfo file in a folder and executed it as such:
PageBuilder.sh /Users/Telecart/Downloads/Ubooquity/PageBuilder/DC\ Comics/Detective\ Comics\ \(Vol.\ 2\)
No cvinfo file found
Yay! Excited to mess about with this! NYCC is coming up so won't have time this weekend.
:sniffs:
Yep, magic.
Oh noes! That blows. Let us know if we can help with anything..!
Customer support service by UserEcho
Mac guy thinks he knows what to do :)
Nothing like sleeping on a problem.
At NYCC2016 this weekend though so won't be able to touch it till Monday most likely.
Will update if I succeed!