Closed aidan-n closed 7 years ago
@aidan-n Try installing the curl
command on your system.
Note: it isn't actually in an infinite loop, it's just looping over every CUSIP it could find on the SEC's list that it downloaded. If you would like to skip this step entirely, follow the steps in the last paragraph in the 'Installation' section on the README (to touch the cusip_list.csv file).
So I installed curl. Now when starting over the installation process, this message appears:
go get -v github.com/aclindsa/moneygo
can't load package: package github.com/aclindsa/moneygo:
src/github.com/aclindsa/moneygo/security_templates.go:1:1: expected 'package', found 'EOF'
If possible, I'd like to install it with everything and not leave out security features, but maybe that's not going to be able to happen.
What disadvantages are there to skipping this stuff?
I suspect this is an issue due to a incorrectly-generated security_templates.go file from your previous failed run (before you installed curl). If you want to try re-generating everything, try removing security_templates.go and cusip_list.csv, then re-running the go generate
command (this could take up to a few hours). Otherwise, if you want to re-generate without any of the security templates, remove security_templates.go and ensure cusip_list.csv is present but an empty file, then re-run the go generate
command.
By leaving out the security templates (second option above), you'll have to manually populate any currency/security information (i.e. the CUSIPs, stock tickers for stocks or ISO4217 codes for currencies). This likely isn't a deal-breaker if you just want to play around - it just makes it more user-friendly to add a new stock ticker or currency.
Sidenote: I'd like to streamline how I generate the security templates, but I'm not sure about the legal ramifications of redistributing this information - so I'm sidestepping the issue for now by requiring everyone who uses my code to fetch it for themselves.
I'm going to update as I go along, in case it helps someone in the future.
First, I just deleted everything and cloned it again. And I have curl installed.
'pwd' means present working directory.
So enter: export GOPATH=[FULLPATH]/moneygo/
where [FULLPATH] is a placeholder for the full directory path up to moneygo.
Then enter
$ go get -v github.com/aclindsa/moneygo
Then, enter
$ go generate -v github.com/aclindsa/moneygo
And at this point I go outside.
I come back and it has ended with this:
npm WARN moneygo@0.0.1 No license field.
browserify -t [ babelify --presets [ react es2015 ] ] js/main.js -o static/bundle.js
rsync -a node_modules/react-widgets/dist/ static/react-widgets/
./scripts/gen_cusip_csv.sh > cusip_list.csv
./scripts/gen_security_list.py > security_templates.go
Traceback (most recent call last):
File "./scripts/gen_security_list.py", line 5, in <module>
from urllib import request
ImportError: cannot import name request
Makefile:15: recipe for target 'security_templates.go' failed
make: *** [security_templates.go] Error 1
src/github.com/aclindsa/moneygo/main.go:3: running "make": exit status 2
Running
go install -v github.com/aclindsa/moneygo
results in
can't load package: package github.com/aclindsa/moneygo:
src/github.com/aclindsa/moneygo/security_templates.go:1:1: expected 'package', found 'EOF'
So unfortunately the process did not complete.
Sorry, I missed that you updated your comment and thought you were still outside waiting!
This latest issue looks like a python3 vs python2 issue to me (and I have only tested with a system using python3 by default). I'll work on a patch to make both work and get you to test it.
Thanks for bearing with me as we work through this. By now I'm sure you can tell that this project hasn't been tested by too many others...
Haha. Alright I'm interested in testing the patch out. And to confirm, I do have python2 on default, with python3 existing but not default.
@aidan-n Just pushed commit 1a72568ebdcc6f3ec73257249092fc3963294d99 to fixup gen_security_list.py to work with both python 2 and 3, let me know if that works for you. You should be able to speed up the testing by deleting security_templates.go, but leaving the already-generated cusip_list.csv there, and re-running the go generate
command.
I did this to merge my branch with the new one:
git fetch origin
git checkout master
git merge origin/master
Then I tried deleting security_templates.go and leaving cusip_list.csv there, then running the generate command.
Got: 'can't load package: package github.com/aclindsa/moneygo: src/github.com/aclindsa/moneygo/security_templates.go:1:1: expected 'package', found 'EOF''
IDK if I'm going to just completely delete it and clone it again. '
Was there another error message earlier in the output than the one you just reported?
If you're worried you messed up the git state, you can do git reset --hard origin/master
. Re-cloning seems unnecessarily time-intensive since you'll have to completely regenerate cusip_list.csv.
I ended up recloning it, the generate command is running. For running the generate command back when cusip_list.csv existed, I think that was the only error message that appeared.
The generation command has finished after a brief 7 hours.
Running
$ go install -v github.com/aclindsa/moneygo
from PATH/moneygo
results in:
reports/src/github.com/aclindsa/moneygo/accounts_lua.go:4:2: cannot find package "context" in any of:
/usr/lib/go-1.6/src/context (from $GOROOT)
/PATH/moneygo/reports/src/context (from $GOPATH)
Please have a quick fix for this. Pls.
Here's a copy of the entire output for the generation command: ` PATH/moneygo$ go generate -v github.com/aclindsa/moneygo reports/src/github.com/aclindsa/moneygo/accounts.go reports/src/github.com/aclindsa/moneygo/accounts_lua.go reports/src/github.com/aclindsa/moneygo/balance_lua.go reports/src/github.com/aclindsa/moneygo/date_lua.go reports/src/github.com/aclindsa/moneygo/db.go reports/src/github.com/aclindsa/moneygo/errors.go reports/src/github.com/aclindsa/moneygo/gnucash.go reports/src/github.com/aclindsa/moneygo/imports.go reports/src/github.com/aclindsa/moneygo/main.go npm install npm WARN deprecated npmconf@2.0.9: this package has been reintegrated into npm and is now out of date with respect to npm npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
cldr-data@31.0.2 install PATH/moneygo/reports/src/github.com/aclindsa/moneygo/node_modules/cldr-data node install.js
GET https://github.com/unicode-cldr/cldr-core/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-dates-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-buddhist-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-chinese-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-coptic-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-dangi-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-ethiopic-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-hebrew-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-indian-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-islamic-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-japanese-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-persian-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-roc-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-localenames-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-misc-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-numbers-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-segments-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-units-modern/archive/31.0.1.zip
[========================================] 31710606/31710606 100% 0.0s
Received 30967K total.
Unpacking it into ./
moneygo@0.0.1 /PATH/moneygo/reports/src/github.com/aclindsa/moneygo
├─┬ babel-preset-es2015@6.24.1
│ ├── babel-plugin-check-es2015-constants@6.22.0
│ ├── babel-plugin-transform-es2015-arrow-functions@6.22.0
│ ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0
│ ├─┬ babel-plugin-transform-es2015-block-scoping@6.24.1
│ │ ├── babel-template@6.25.0
│ │ ├─┬ babel-traverse@6.25.0
│ │ │ └── globals@9.18.0
│ │ └─┬ babel-types@6.25.0
│ │ ├── esutils@2.0.2
│ │ └── to-fast-properties@1.0.3
│ ├─┬ babel-plugin-transform-es2015-classes@6.24.1
│ │ ├── babel-helper-define-map@6.24.1
│ │ ├── babel-helper-function-name@6.24.1
│ │ ├── babel-helper-optimise-call-expression@6.24.1
│ │ ├── babel-helper-replace-supers@6.24.1
│ │ └── babel-messages@6.23.0
│ ├── babel-plugin-transform-es2015-computed-properties@6.24.1
│ ├── babel-plugin-transform-es2015-destructuring@6.23.0
│ ├── babel-plugin-transform-es2015-duplicate-keys@6.24.1
│ ├── babel-plugin-transform-es2015-for-of@6.23.0
│ ├── babel-plugin-transform-es2015-function-name@6.24.1
│ ├── babel-plugin-transform-es2015-literals@6.22.0
│ ├── babel-plugin-transform-es2015-modules-amd@6.24.1
│ ├─┬ babel-plugin-transform-es2015-modules-commonjs@6.24.1
│ │ └── babel-plugin-transform-strict-mode@6.24.1
│ ├─┬ babel-plugin-transform-es2015-modules-systemjs@6.24.1
│ │ └── babel-helper-hoist-variables@6.24.1
│ ├── babel-plugin-transform-es2015-modules-umd@6.24.1
│ ├── babel-plugin-transform-es2015-object-super@6.24.1
│ ├─┬ babel-plugin-transform-es2015-parameters@6.24.1
│ │ ├── babel-helper-call-delegate@6.24.1
│ │ └── babel-helper-get-function-arity@6.24.1
│ ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1
│ ├── babel-plugin-transform-es2015-spread@6.22.0
│ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.24.1
│ │ └── babel-helper-regex@6.24.1
│ ├── babel-plugin-transform-es2015-template-literals@6.22.0
│ ├── babel-plugin-transform-es2015-typeof-symbol@6.23.0
│ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.24.1
│ │ └─┬ regexpu-core@2.0.0
│ │ ├── regenerate@1.3.2
│ │ ├── regjsgen@0.2.0
│ │ └─┬ regjsparser@0.1.5
│ │ └── jsesc@0.5.0
│ └─┬ babel-plugin-transform-regenerator@6.24.1
│ └── regenerator-transform@0.9.11
├─┬ babel-preset-react@6.24.1
│ ├── babel-plugin-syntax-jsx@6.18.0
│ ├── babel-plugin-transform-react-display-name@6.25.0
│ ├─┬ babel-plugin-transform-react-jsx@6.24.1
│ │ └── babel-helper-builder-react-jsx@6.24.1
│ ├── babel-plugin-transform-react-jsx-self@6.22.0
│ ├── babel-plugin-transform-react-jsx-source@6.22.0
│ └─┬ babel-preset-flow@6.23.0
│ └─┬ babel-plugin-transform-flow-strip-types@6.22.0
│ └── babel-plugin-syntax-flow@6.18.0
├─┬ babelify@7.3.0
│ ├─┬ babel-core@6.25.0
│ │ ├─┬ babel-code-frame@6.22.0
│ │ │ └─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── escape-string-regexp@1.0.5
│ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ └── ansi-regex@2.1.1
│ │ │ ├── strip-ansi@3.0.1
│ │ │ └── supports-color@2.0.0
│ │ ├─┬ babel-generator@6.25.0
│ │ │ ├─┬ detect-indent@4.0.0
│ │ │ │ └─┬ repeating@2.0.1
│ │ │ │ └─┬ is-finite@1.0.2
│ │ │ │ └── number-is-nan@1.0.1
│ │ │ ├── jsesc@1.3.0
│ │ │ └── trim-right@1.0.1
│ │ ├── babel-helpers@6.24.1
│ │ ├─┬ babel-register@6.24.1
│ │ │ ├─┬ home-or-tmp@2.0.0
│ │ │ │ ├── os-homedir@1.0.2
│ │ │ │ └── os-tmpdir@1.0.2
│ │ │ ├── mkdirp@0.5.1
│ │ │ └── source-map-support@0.4.15
│ │ ├── babylon@6.17.3
│ │ ├── convert-source-map@1.5.0
│ │ ├─┬ debug@2.6.8
│ │ │ └── ms@2.0.0
│ │ ├── json5@0.5.1
│ │ ├─┬ minimatch@3.0.4
│ │ │ └─┬ brace-expansion@1.1.8
│ │ │ ├── balanced-match@1.0.0
│ │ │ └── concat-map@0.0.1
│ │ ├── path-is-absolute@1.0.1
│ │ ├── private@0.1.7
│ │ ├── slash@1.0.0
│ │ └── source-map@0.5.6
│ └── object-assign@4.1.1
├── big.js@3.1.3
├─┬ browserify@14.4.0
│ ├── assert@1.4.1
│ ├─┬ browser-pack@6.0.2
│ │ ├─┬ combine-source-map@0.7.2
│ │ │ ├── convert-source-map@1.1.3
│ │ │ ├── inline-source-map@0.6.2
│ │ │ └── lodash.memoize@3.0.4
│ │ └── umd@3.0.1
│ ├─┬ browser-resolve@1.11.2
│ │ └── resolve@1.1.7
│ ├─┬ browserify-zlib@0.1.4
│ │ └── pako@0.2.9
│ ├─┬ buffer@5.0.6
│ │ ├── base64-js@1.2.0
│ │ └── ieee754@1.1.8
│ ├── cached-path-relative@1.0.1
│ ├─┬ concat-stream@1.5.2
│ │ ├─┬ readable-stream@2.0.6
│ │ │ └── string_decoder@0.10.31
│ │ └── typedarray@0.0.6
│ ├─┬ console-browserify@1.1.0
│ │ └── date-now@0.1.4
│ ├── constants-browserify@1.0.0
│ ├─┬ crypto-browserify@3.11.0
│ │ ├─┬ browserify-cipher@1.0.0
│ │ │ ├─┬ browserify-aes@1.0.6
│ │ │ │ └── buffer-xor@1.0.3
│ │ │ ├─┬ browserify-des@1.0.0
│ │ │ │ └── des.js@1.0.0
│ │ │ └── evp_bytestokey@1.0.0
│ │ ├─┬ browserify-sign@4.0.4
│ │ │ ├── bn.js@4.11.6
│ │ │ ├── browserify-rsa@4.0.1
│ │ │ ├─┬ elliptic@6.4.0
│ │ │ │ ├── brorand@1.1.0
│ │ │ │ ├── hash.js@1.0.3
│ │ │ │ ├── hmac-drbg@1.0.1
│ │ │ │ ├── minimalistic-assert@1.0.0
│ │ │ │ └── minimalistic-crypto-utils@1.0.1
│ │ │ └─┬ parse-asn1@5.1.0
│ │ │ └── asn1.js@4.9.1
│ │ ├── create-ecdh@4.0.0
│ │ ├─┬ create-hash@1.1.3
│ │ │ ├── cipher-base@1.0.3
│ │ │ └─┬ ripemd160@2.0.1
│ │ │ └── hash-base@2.0.2
│ │ ├── create-hmac@1.1.6
│ │ ├─┬ diffie-hellman@5.0.2
│ │ │ └── miller-rabin@4.0.0
│ │ ├── pbkdf2@3.0.12
│ │ ├── public-encrypt@4.0.0
│ │ └─┬ randombytes@2.0.5
│ │ └── safe-buffer@5.1.0
│ ├── defined@1.0.0
│ ├── deps-sort@2.0.0
│ ├── domain-browser@1.1.7
│ ├── duplexer2@0.1.4
│ ├── events@1.1.1
│ ├─┬ glob@7.1.2
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ └── wrappy@1.0.2
│ │ └── once@1.4.0
│ ├─┬ has@1.0.1
│ │ └── function-bind@1.1.0
│ ├── htmlescape@1.1.1
│ ├── https-browserify@1.0.0
│ ├── inherits@2.0.3
│ ├─┬ insert-module-globals@7.0.1
│ │ ├── is-buffer@1.1.5
│ │ └─┬ lexical-scope@1.2.0
│ │ └── astw@2.2.0
│ ├─┬ JSONStream@1.3.1
│ │ ├── jsonparse@1.3.1
│ │ └── through@2.3.8
│ ├─┬ labeled-stream-splicer@2.0.0
│ │ ├── isarray@0.0.1
│ │ └── stream-splicer@2.0.0
│ ├─┬ module-deps@4.1.1
│ │ ├── detective@4.5.0
│ │ └── stream-combiner2@1.1.1
│ ├── os-browserify@0.1.2
│ ├─┬ parents@1.0.1
│ │ └── path-platform@0.11.15
│ ├── path-browserify@0.0.0
│ ├── process@0.11.10
│ ├── punycode@1.4.1
│ ├── querystring-es3@0.2.1
│ ├── read-only-stream@2.0.0
│ ├─┬ readable-stream@2.2.11
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@1.0.0
│ │ ├── process-nextick-args@1.0.7
│ │ ├── safe-buffer@5.0.1
│ │ └── util-deprecate@1.0.2
│ ├─┬ resolve@1.3.3
│ │ └── path-parse@1.0.5
│ ├─┬ shasum@1.0.2
│ │ ├── json-stable-stringify@0.0.1
│ │ └── sha.js@2.4.8
│ ├─┬ shell-quote@1.6.1
│ │ ├── array-filter@0.0.1
│ │ ├── array-map@0.0.0
│ │ ├── array-reduce@0.0.0
│ │ └── jsonify@0.0.0
│ ├── stream-browserify@2.0.1
│ ├─┬ stream-http@2.7.2
│ │ ├── builtin-status-codes@3.0.0
│ │ └── to-arraybuffer@1.0.1
│ ├── string_decoder@1.0.2
│ ├─┬ subarg@1.0.0
│ │ └── minimist@1.2.0
│ ├─┬ syntax-error@1.3.0
│ │ └── acorn@4.0.13
│ ├── through2@2.0.3
│ ├── timers-browserify@1.4.2
│ ├── tty-browserify@0.0.0
│ ├─┬ url@0.11.0
│ │ ├── punycode@1.3.2
│ │ └── querystring@0.2.0
│ ├─┬ util@0.10.3
│ │ └── inherits@2.0.1
│ ├─┬ vm-browserify@0.0.4
│ │ └── indexof@0.0.1
│ └── xtend@4.0.1
├─┬ cldr-data@31.0.2
│ ├─┬ cldr-data-downloader@0.3.1
│ │ ├── adm-zip@0.4.4
│ │ ├─┬ mkdirp@0.5.0
│ │ │ └── minimist@0.0.8
│ │ ├─┬ nopt@3.0.6
│ │ │ └── abbrev@1.1.0
│ │ ├─┬ npmconf@2.0.9
│ │ │ ├─┬ config-chain@1.1.11
│ │ │ │ └── proto-list@1.2.4
│ │ │ ├── ini@1.3.4
│ │ │ ├── once@1.3.3
│ │ │ ├── osenv@0.1.4
│ │ │ ├── semver@4.3.6
│ │ │ └── uid-number@0.0.5
│ │ ├── progress@1.1.8
│ │ ├── q@1.0.1
│ │ ├─┬ request@2.74.0
│ │ │ ├── aws-sign2@0.6.0
│ │ │ ├── aws4@1.6.0
│ │ │ ├─┬ bl@1.1.2
│ │ │ │ └─┬ readable-stream@2.0.6
│ │ │ │ └── string_decoder@0.10.31
│ │ │ ├── caseless@0.11.0
│ │ │ ├─┬ combined-stream@1.0.5
│ │ │ │ └── delayed-stream@1.0.0
│ │ │ ├── extend@3.0.1
│ │ │ ├── forever-agent@0.6.1
│ │ │ ├─┬ form-data@1.0.1
│ │ │ │ └── async@2.4.1
│ │ │ ├─┬ har-validator@2.0.6
│ │ │ │ ├─┬ is-my-json-valid@2.16.0
│ │ │ │ │ ├── generate-function@2.0.0
│ │ │ │ │ ├─┬ generate-object-property@1.2.0
│ │ │ │ │ │ └── is-property@1.0.2
│ │ │ │ │ └── jsonpointer@4.0.1
│ │ │ │ └─┬ pinkie-promise@2.0.1
│ │ │ │ └── pinkie@2.0.4
│ │ │ ├─┬ hawk@3.1.3
│ │ │ │ ├── boom@2.10.1
│ │ │ │ ├── cryptiles@2.0.5
│ │ │ │ ├── hoek@2.16.3
│ │ │ │ └── sntp@1.0.9
│ │ │ ├─┬ http-signature@1.1.1
│ │ │ │ ├── assert-plus@0.2.0
│ │ │ │ ├─┬ jsprim@1.4.0
│ │ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ │ ├── extsprintf@1.0.2
│ │ │ │ │ ├── json-schema@0.2.3
│ │ │ │ │ └── verror@1.3.6
│ │ │ │ └─┬ sshpk@1.13.1
│ │ │ │ ├── asn1@0.2.3
│ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ ├── bcrypt-pbkdf@1.0.1
│ │ │ │ ├─┬ dashdash@1.14.1
│ │ │ │ │ └── assert-plus@1.0.0
│ │ │ │ ├── ecc-jsbn@0.1.1
│ │ │ │ ├─┬ getpass@0.1.7
│ │ │ │ │ └── assert-plus@1.0.0
│ │ │ │ ├── jsbn@0.1.1
│ │ │ │ └── tweetnacl@0.14.5
│ │ │ ├── is-typedarray@1.0.0
│ │ │ ├── isstream@0.1.2
│ │ │ ├── json-stringify-safe@5.0.1
│ │ │ ├─┬ mime-types@2.1.15
│ │ │ │ └── mime-db@1.27.0
│ │ │ ├── node-uuid@1.4.8
│ │ │ ├── oauth-sign@0.8.2
│ │ │ ├── qs@6.2.3
│ │ │ ├── stringstream@0.0.5
│ │ │ ├── tough-cookie@2.3.2
│ │ │ └── tunnel-agent@0.4.3
│ │ └─┬ request-progress@0.3.1
│ │ └── throttleit@0.0.2
│ └── glob@5.0.15
├─┬ d3@4.9.1
│ ├── d3-array@1.2.0
│ ├── d3-axis@1.0.7
│ ├── d3-brush@1.0.4
│ ├── d3-chord@1.0.4
│ ├── d3-collection@1.0.3
│ ├── d3-color@1.0.3
│ ├── d3-dispatch@1.0.3
│ ├── d3-drag@1.1.0
│ ├─┬ d3-dsv@1.0.5
│ │ ├─┬ commander@2.9.0
│ │ │ └── graceful-readlink@1.0.1
│ │ ├── iconv-lite@0.4.18
│ │ └── rw@1.3.3
│ ├── d3-ease@1.0.3
│ ├── d3-force@1.0.6
│ ├── d3-format@1.2.0
│ ├── d3-geo@1.6.4
│ ├── d3-hierarchy@1.1.4
│ ├── d3-interpolate@1.1.5
│ ├── d3-path@1.0.5
│ ├── d3-polygon@1.0.3
│ ├── d3-quadtree@1.0.3
│ ├── d3-queue@3.0.7
│ ├── d3-random@1.1.0
│ ├─┬ d3-request@1.0.5
│ │ └── xmlhttprequest@1.8.0
│ ├── d3-scale@1.0.6
│ ├── d3-selection@1.1.0
│ ├── d3-shape@1.1.1
│ ├── d3-time@1.0.6
│ ├── d3-time-format@2.0.5
│ ├── d3-timer@1.0.5
│ ├── d3-transition@1.1.0
│ ├── d3-voronoi@1.1.2
│ └── d3-zoom@1.2.0
├─┬ globalize@1.2.3
│ └── cldrjs@0.4.8
├── keymirror@0.1.1
├─┬ react@15.6.1
│ ├── create-react-class@15.6.0
│ ├─┬ fbjs@0.8.12
│ │ ├── core-js@1.2.7
│ │ ├─┬ isomorphic-fetch@2.2.1
│ │ │ ├─┬ node-fetch@1.7.1
│ │ │ │ ├── encoding@0.1.12
│ │ │ │ └── is-stream@1.1.0
│ │ │ └── whatwg-fetch@2.0.3
│ │ ├─┬ promise@7.2.0
│ │ │ └── asap@2.0.5
│ │ ├── setimmediate@1.0.5
│ │ └── ua-parser-js@0.7.12
│ ├─┬ loose-envify@1.3.1
│ │ └── js-tokens@3.0.1
│ └── prop-types@15.5.10
├── react-addons-update@15.6.0
├─┬ react-bootstrap@0.31.0
│ ├─┬ babel-runtime@6.23.0
│ │ ├── core-js@2.4.1
│ │ └── regenerator-runtime@0.10.5
│ ├── classnames@2.2.5
│ ├── dom-helpers@3.2.1
│ ├── invariant@2.2.2
│ ├── keycode@2.1.9
│ ├── react-overlays@0.7.0
│ ├── react-prop-types@0.4.0
│ ├── uncontrollable@4.1.0
│ └── warning@3.0.0
├── react-dom@15.6.1
├─┬ react-redux@5.0.5
│ ├── hoist-non-react-statics@1.2.0
│ ├── lodash@4.17.4
│ └── lodash-es@4.17.4
├─┬ react-widgets@3.4.8
│ ├── date-arithmetic@3.1.0
│ ├── deconstruct-number-format@0.0.1
│ ├── dom-helpers@2.4.0
│ ├─┬ format-number-with-string@0.0.2
│ │ └── format-number@2.0.2
│ └── warning@2.1.0
├─┬ redux@3.6.0
│ └── symbol-observable@1.0.4
└── redux-thunk@2.2.0
npm WARN moneygo@0.0.1 No license field. browserify -t [ babelify --presets [ react es2015 ] ] js/main.js -o static/bundle.js rsync -a node_moduluser@ubuntu:PATH/moneygo$ go generate -v github.com/aclindsa/moneygo reports/src/github.com/aclindsa/moneygo/accounts.go reports/src/github.com/aclindsa/moneygo/accounts_lua.go reports/src/github.com/aclindsa/moneygo/balance_lua.go reports/src/github.com/aclindsa/moneygo/date_lua.go reports/src/github.com/aclindsa/moneygo/db.go reports/src/github.com/aclindsa/moneygo/errors.go reports/src/github.com/aclindsa/moneygo/gnucash.go reports/src/github.com/aclindsa/moneygo/imports.go reports/src/github.com/aclindsa/moneygo/main.go npm install npm WARN deprecated npmconf@2.0.9: this package has been reintegrated into npm and is now out of date with respect to npm npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
cldr-data@31.0.2 install /PATH/moneygo/reports/src/github.com/aclindsa/moneygo/node_modules/cldr-data node install.js
GET https://github.com/unicode-cldr/cldr-core/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-dates-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-buddhist-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-chinese-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-coptic-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-dangi-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-ethiopic-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-hebrew-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-indian-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-islamic-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-japanese-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-persian-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-cal-roc-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-localenames-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-misc-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-numbers-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-segments-modern/archive/31.0.1.zip
GET https://github.com/unicode-cldr/cldr-units-modern/archive/31.0.1.zip
[========================================] 31710606/31710606 100% 0.0s
Received 30967K total.
Unpacking it into ./
moneygo@0.0.1 /PATH/moneygo/reports/src/github.com/aclindsa/moneygo
├─┬ babel-preset-es2015@6.24.1
│ ├── babel-plugin-check-es2015-constants@6.22.0
│ ├── babel-plugin-transform-es2015-arrow-functions@6.22.0
│ ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0
│ ├─┬ babel-plugin-transform-es2015-block-scoping@6.24.1
│ │ ├── babel-template@6.25.0
│ │ ├─┬ babel-traverse@6.25.0
│ │ │ └── globals@9.18.0
│ │ └─┬ babel-types@6.25.0
│ │ ├── esutils@2.0.2
│ │ └── to-fast-properties@1.0.3
│ ├─┬ babel-plugin-transform-es2015-classes@6.24.1
│ │ ├── babel-helper-define-map@6.24.1
│ │ ├── babel-helper-function-name@6.24.1
│ │ ├── babel-helper-optimise-call-expression@6.24.1
│ │ ├── babel-helper-replace-supers@6.24.1
│ │ └── babel-messages@6.23.0
│ ├── babel-plugin-transform-es2015-computed-properties@6.24.1
│ ├── babel-plugin-transform-es2015-destructuring@6.23.0
│ ├── babel-plugin-transform-es2015-duplicate-keys@6.24.1
│ ├── babel-plugin-transform-es2015-for-of@6.23.0
│ ├── babel-plugin-transform-es2015-function-name@6.24.1
│ ├── babel-plugin-transform-es2015-literals@6.22.0
│ ├── babel-plugin-transform-es2015-modules-amd@6.24.1
│ ├─┬ babel-plugin-transform-es2015-modules-commonjs@6.24.1
│ │ └── babel-plugin-transform-strict-mode@6.24.1
│ ├─┬ babel-plugin-transform-es2015-modules-systemjs@6.24.1
│ │ └── babel-helper-hoist-variables@6.24.1
│ ├── babel-plugin-transform-es2015-modules-umd@6.24.1
│ ├── babel-plugin-transform-es2015-object-super@6.24.1
│ ├─┬ babel-plugin-transform-es2015-parameters@6.24.1
│ │ ├── babel-helper-call-delegate@6.24.1
│ │ └── babel-helper-get-function-arity@6.24.1
│ ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1
│ ├── babel-plugin-transform-es2015-spread@6.22.0
│ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.24.1
│ │ └── babel-helper-regex@6.24.1
│ ├── babel-plugin-transform-es2015-template-literals@6.22.0
│ ├── babel-plugin-transform-es2015-typeof-symbol@6.23.0
│ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.24.1
│ │ └─┬ regexpu-core@2.0.0
│ │ ├── regenerate@1.3.2
│ │ ├── regjsgen@0.2.0
│ │ └─┬ regjsparser@0.1.5
│ │ └── jsesc@0.5.0
│ └─┬ babel-plugin-transform-regenerator@6.24.1
│ └── regenerator-transform@0.9.11
├─┬ babel-preset-react@6.24.1
│ ├── babel-plugin-syntax-jsx@6.18.0
│ ├── babel-plugin-transform-react-display-name@6.25.0
│ ├─┬ babel-plugin-transform-react-jsx@6.24.1
│ │ └── babel-helper-builder-react-jsx@6.24.1
│ ├── babel-plugin-transform-react-jsx-self@6.22.0
│ ├── babel-plugin-transform-react-jsx-source@6.22.0
│ └─┬ babel-preset-flow@6.23.0
│ └─┬ babel-plugin-transform-flow-strip-types@6.22.0
│ └── babel-plugin-syntax-flow@6.18.0
├─┬ babelify@7.3.0
│ ├─┬ babel-core@6.25.0
│ │ ├─┬ babel-code-frame@6.22.0
│ │ │ └─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── escape-string-regexp@1.0.5
│ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ └── ansi-regex@2.1.1
│ │ │ ├── strip-ansi@3.0.1
│ │ │ └── supports-color@2.0.0
│ │ ├─┬ babel-generator@6.25.0
│ │ │ ├─┬ detect-indent@4.0.0
│ │ │ │ └─┬ repeating@2.0.1
│ │ │ │ └─┬ is-finite@1.0.2
│ │ │ │ └── number-is-nan@1.0.1
│ │ │ ├── jsesc@1.3.0
│ │ │ └── trim-right@1.0.1
│ │ ├── babel-helpers@6.24.1
│ │ ├─┬ babel-register@6.24.1
│ │ │ ├─┬ home-or-tmp@2.0.0
│ │ │ │ ├── os-homedir@1.0.2
│ │ │ │ └── os-tmpdir@1.0.2
│ │ │ ├── mkdirp@0.5.1
│ │ │ └── source-map-support@0.4.15
│ │ ├── babylon@6.17.3
│ │ ├── convert-source-map@1.5.0
│ │ ├─┬ debug@2.6.8
│ │ │ └── ms@2.0.0
│ │ ├── json5@0.5.1
│ │ ├─┬ minimatch@3.0.4
│ │ │ └─┬ brace-expansion@1.1.8
│ │ │ ├── balanced-match@1.0.0
│ │ │ └── concat-map@0.0.1
│ │ ├── path-is-absolute@1.0.1
│ │ ├── private@0.1.7
│ │ ├── slash@1.0.0
│ │ └── source-map@0.5.6
│ └── object-assign@4.1.1
├── big.js@3.1.3
├─┬ browserify@14.4.0
│ ├── assert@1.4.1
│ ├─┬ browser-pack@6.0.2
│ │ ├─┬ combine-source-map@0.7.2
│ │ │ ├── convert-source-map@1.1.3
│ │ │ ├── inline-source-map@0.6.2
│ │ │ └── lodash.memoize@3.0.4
│ │ └── umd@3.0.1
│ ├─┬ browser-resolve@1.11.2
│ │ └── resolve@1.1.7
│ ├─┬ browserify-zlib@0.1.4
│ │ └── pako@0.2.9
│ ├─┬ buffer@5.0.6
│ │ ├── base64-js@1.2.0
│ │ └── ieee754@1.1.8
│ ├── cached-path-relative@1.0.1
│ ├─┬ concat-stream@1.5.2
│ │ ├─┬ readable-stream@2.0.6
│ │ │ └── string_decoder@0.10.31
│ │ └── typedarray@0.0.6
│ ├─┬ console-browserify@1.1.0
│ │ └── date-now@0.1.4
│ ├── constants-browserify@1.0.0
│ ├─┬ crypto-browserify@3.11.0
│ │ ├─┬ browserify-cipher@1.0.0
│ │ │ ├─┬ browserify-aes@1.0.6
│ │ │ │ └── buffer-xor@1.0.3
│ │ │ ├─┬ browserify-des@1.0.0
│ │ │ │ └── des.js@1.0.0
│ │ │ └── evp_bytestokey@1.0.0
│ │ ├─┬ browserify-sign@4.0.4
│ │ │ ├── bn.js@4.11.6
│ │ │ ├── browserify-rsa@4.0.1
│ │ │ ├─┬ elliptic@6.4.0
│ │ │ │ ├── brorand@1.1.0
│ │ │ │ ├── hash.js@1.0.3
│ │ │ │ ├── hmac-drbg@1.0.1
│ │ │ │ ├── minimalistic-assert@1.0.0
│ │ │ │ └── minimalistic-crypto-utils@1.0.1
│ │ │ └─┬ parse-asn1@5.1.0
│ │ │ └── asn1.js@4.9.1
│ │ ├── create-ecdh@4.0.0
│ │ ├─┬ create-hash@1.1.3
│ │ │ ├── cipher-base@1.0.3
│ │ │ └─┬ ripemd160@2.0.1
│ │ │ └── hash-base@2.0.2
│ │ ├── create-hmac@1.1.6
│ │ ├─┬ diffie-hellman@5.0.2
│ │ │ └── miller-rabin@4.0.0
│ │ ├── pbkdf2@3.0.12
│ │ ├── public-encrypt@4.0.0
│ │ └─┬ randombytes@2.0.5
│ │ └── safe-buffer@5.1.0
│ ├── defined@1.0.0
│ ├── deps-sort@2.0.0
│ ├── domain-browser@1.1.7
│ ├── duplexer2@0.1.4
│ ├── events@1.1.1
│ ├─┬ glob@7.1.2
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ └── wrappy@1.0.2
│ │ └── once@1.4.0
│ ├─┬ has@1.0.1
│ │ └── function-bind@1.1.0
│ ├── htmlescape@1.1.1
│ ├── https-browserify@1.0.0
│ ├── inherits@2.0.3
│ ├─┬ insert-module-globals@7.0.1
│ │ ├── is-buffer@1.1.5
│ │ └─┬ lexical-scope@1.2.0
│ │ └── astw@2.2.0
│ ├─┬ JSONStream@1.3.1
│ │ ├── jsonparse@1.3.1
│ │ └── through@2.3.8
│ ├─┬ labeled-stream-splicer@2.0.0
│ │ ├── isarray@0.0.1
│ │ └── stream-splicer@2.0.0
│ ├─┬ module-deps@4.1.1
│ │ ├── detective@4.5.0
│ │ └── stream-combiner2@1.1.1
│ ├── os-browserify@0.1.2
│ ├─┬ parents@1.0.1
│ │ └── path-platform@0.11.15
│ ├── path-browserify@0.0.0
│ ├── process@0.11.10
│ ├── punycode@1.4.1
│ ├── querystring-es3@0.2.1
│ ├── read-only-stream@2.0.0
│ ├─┬ readable-stream@2.2.11
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@1.0.0
│ │ ├── process-nextick-args@1.0.7
│ │ ├── safe-buffer@5.0.1
│ │ └── util-deprecate@1.0.2
│ ├─┬ resolve@1.3.3
│ │ └── path-parse@1.0.5
│ ├─┬ shasum@1.0.2
│ │ ├── json-stable-stringify@0.0.1
│ │ └── sha.js@2.4.8
│ ├─┬ shell-quote@1.6.1
│ │ ├── array-filter@0.0.1
│ │ ├── array-map@0.0.0
│ │ ├── array-reduce@0.0.0
│ │ └── jsonify@0.0.0
│ ├── stream-browserify@2.0.1
│ ├─┬ stream-http@2.7.2
│ │ ├── builtin-status-codes@3.0.0
│ │ └── to-arraybuffer@1.0.1
│ ├── string_decoder@1.0.2
│ ├─┬ subarg@1.0.0
│ │ └── minimist@1.2.0
│ ├─┬ syntax-error@1.3.0
│ │ └── acorn@4.0.13
│ ├── through2@2.0.3
│ ├── timers-browserify@1.4.2
│ ├── tty-browserify@0.0.0
│ ├─┬ url@0.11.0
│ │ ├── punycode@1.3.2
│ │ └── querystring@0.2.0
│ ├─┬ util@0.10.3
│ │ └── inherits@2.0.1
│ ├─┬ vm-browserify@0.0.4
│ │ └── indexof@0.0.1
│ └── xtend@4.0.1
├─┬ cldr-data@31.0.2
│ ├─┬ cldr-data-downloader@0.3.1
│ │ ├── adm-zip@0.4.4
│ │ ├─┬ mkdirp@0.5.0
│ │ │ └── minimist@0.0.8
│ │ ├─┬ nopt@3.0.6
│ │ │ └── abbrev@1.1.0
│ │ ├─┬ npmconf@2.0.9
│ │ │ ├─┬ config-chain@1.1.11
│ │ │ │ └── proto-list@1.2.4
│ │ │ ├── ini@1.3.4
│ │ │ ├── once@1.3.3
│ │ │ ├── osenv@0.1.4
│ │ │ ├── semver@4.3.6
│ │ │ └── uid-number@0.0.5
│ │ ├── progress@1.1.8
│ │ ├── q@1.0.1
│ │ ├─┬ request@2.74.0
│ │ │ ├── aws-sign2@0.6.0
│ │ │ ├── aws4@1.6.0
│ │ │ ├─┬ bl@1.1.2
│ │ │ │ └─┬ readable-stream@2.0.6
│ │ │ │ └── string_decoder@0.10.31
│ │ │ ├── caseless@0.11.0
│ │ │ ├─┬ combined-stream@1.0.5
│ │ │ │ └── delayed-stream@1.0.0
│ │ │ ├── extend@3.0.1
│ │ │ ├── forever-agent@0.6.1
│ │ │ ├─┬ form-data@1.0.1
│ │ │ │ └── async@2.4.1
│ │ │ ├─┬ har-validator@2.0.6
│ │ │ │ ├─┬ is-my-json-valid@2.16.0
│ │ │ │ │ ├── generate-function@2.0.0
│ │ │ │ │ ├─┬ generate-object-property@1.2.0
│ │ │ │ │ │ └── is-property@1.0.2
│ │ │ │ │ └── jsonpointer@4.0.1
│ │ │ │ └─┬ pinkie-promise@2.0.1
│ │ │ │ └── pinkie@2.0.4
│ │ │ ├─┬ hawk@3.1.3
│ │ │ │ ├── boom@2.10.1
│ │ │ │ ├── cryptiles@2.0.5
│ │ │ │ ├── hoek@2.16.3
│ │ │ │ └── sntp@1.0.9
│ │ │ ├─┬ http-signature@1.1.1
│ │ │ │ ├── assert-plus@0.2.0
│ │ │ │ ├─┬ jsprim@1.4.0
│ │ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ │ ├── extsprintf@1.0.2
│ │ │ │ │ ├── json-schema@0.2.3
│ │ │ │ │ └── verror@1.3.6
│ │ │ │ └─┬ sshpk@1.13.1
│ │ │ │ ├── asn1@0.2.3
│ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ ├── bcrypt-pbkdf@1.0.1
│ │ │ │ ├─┬ dashdash@1.14.1
│ │ │ │ │ └── assert-plus@1.0.0
│ │ │ │ ├── ecc-jsbn@0.1.1
│ │ │ │ ├─┬ getpass@0.1.7
│ │ │ │ │ └── assert-plus@1.0.0
│ │ │ │ ├── jsbn@0.1.1
│ │ │ │ └── tweetnacl@0.14.5
│ │ │ ├── is-typedarray@1.0.0
│ │ │ ├── isstream@0.1.2
│ │ │ ├── json-stringify-safe@5.0.1
│ │ │ ├─┬ mime-types@2.1.15
│ │ │ │ └── mime-db@1.27.0
│ │ │ ├── node-uuid@1.4.8
│ │ │ ├── oauth-sign@0.8.2
│ │ │ ├── qs@6.2.3
│ │ │ ├── stringstream@0.0.5
│ │ │ ├── tough-cookie@2.3.2
│ │ │ └── tunnel-agent@0.4.3
│ │ └─┬ request-progress@0.3.1
│ │ └── throttleit@0.0.2
│ └── glob@5.0.15
├─┬ d3@4.9.1
│ ├── d3-array@1.2.0
│ ├── d3-axis@1.0.7
│ ├── d3-brush@1.0.4
│ ├── d3-chord@1.0.4
│ ├── d3-collection@1.0.3
│ ├── d3-color@1.0.3
│ ├── d3-dispatch@1.0.3
│ ├── d3-drag@1.1.0
│ ├─┬ d3-dsv@1.0.5
│ │ ├─┬ commander@2.9.0
│ │ │ └── graceful-readlink@1.0.1
│ │ ├── iconv-lite@0.4.18
│ │ └── rw@1.3.3
│ ├── d3-ease@1.0.3
│ ├── d3-force@1.0.6
│ ├── d3-format@1.2.0
│ ├── d3-geo@1.6.4
│ ├── d3-hierarchy@1.1.4
│ ├── d3-interpolate@1.1.5
│ ├── d3-path@1.0.5
│ ├── d3-polygon@1.0.3
│ ├── d3-quadtree@1.0.3
│ ├── d3-queue@3.0.7
│ ├── d3-random@1.1.0
│ ├─┬ d3-request@1.0.5
│ │ └── xmlhttprequest@1.8.0
│ ├── d3-scale@1.0.6
│ ├── d3-selection@1.1.0
│ ├── d3-shape@1.1.1
│ ├── d3-time@1.0.6
│ ├── d3-time-format@2.0.5
│ ├── d3-timer@1.0.5
│ ├── d3-transition@1.1.0
│ ├── d3-voronoi@1.1.2
│ └── d3-zoom@1.2.0
├─┬ globalize@1.2.3
│ └── cldrjs@0.4.8
├── keymirror@0.1.1
├─┬ react@15.6.1
│ ├── create-react-class@15.6.0
│ ├─┬ fbjs@0.8.12
│ │ ├── core-js@1.2.7
│ │ ├─┬ isomorphic-fetch@2.2.1
│ │ │ ├─┬ node-fetch@1.7.1
│ │ │ │ ├── encoding@0.1.12
│ │ │ │ └── is-stream@1.1.0
│ │ │ └── whatwg-fetch@2.0.3
│ │ ├─┬ promise@7.2.0
│ │ │ └── asap@2.0.5
│ │ ├── setimmediate@1.0.5
│ │ └── ua-parser-js@0.7.12
│ ├─┬ loose-envify@1.3.1
│ │ └── js-tokens@3.0.1
│ └── prop-types@15.5.10
├── react-addons-update@15.6.0
├─┬ react-bootstrap@0.31.0
│ ├─┬ babel-runtime@6.23.0
│ │ ├── core-js@2.4.1
│ │ └── regenerator-runtime@0.10.5
│ ├── classnames@2.2.5
│ ├── dom-helpers@3.2.1
│ ├── invariant@2.2.2
│ ├── keycode@2.1.9
│ ├── react-overlays@0.7.0
│ ├── react-prop-types@0.4.0
│ ├── uncontrollable@4.1.0
│ └── warning@3.0.0
├── react-dom@15.6.1
├─┬ react-redux@5.0.5
│ ├── hoist-non-react-statics@1.2.0
│ ├── lodash@4.17.4
│ └── lodash-es@4.17.4
├─┬ react-widgets@3.4.8
│ ├── date-arithmetic@3.1.0
│ ├── deconstruct-number-format@0.0.1
│ ├── dom-helpers@2.4.0
│ ├─┬ format-number-with-string@0.0.2
│ │ └── format-number@2.0.2
│ └── warning@2.1.0
├─┬ redux@3.6.0
│ └── symbol-observable@1.0.4
└── redux-thunk@2.2.0
npm WARN moneygo@0.0.1 No license field. browserify -t [ babelify --presets [ react es2015 ] ] js/main.js -o static/bundle.js rsync -a node_modules/react-widgets/dist/ static/react-widgets/ ./scripts/gen_cusip_csv.sh > cusip_list.csv ^[ ./scripts/gen_security_list.py > security_templates.go reports/src/github.com/aclindsa/moneygo/ofx.go reports/src/github.com/aclindsa/moneygo/reports.go reports/src/github.com/aclindsa/moneygo/reports_lua.go reports/src/github.com/aclindsa/moneygo/securities.go reports/src/github.com/aclindsa/moneygo/securities_lua.go reports/src/github.com/aclindsa/moneygo/sessions.go reports/src/github.com/aclindsa/moneygo/transactions.go reports/src/github.com/aclindsa/moneygo/users.go reports/src/github.com/aclindsa/moneygo/util.go es/react-widgets/dist/ static/react-widgets/ ./scripts/gen_cusip_csv.sh > cusip_list.csv ^[ ./scripts/gen_security_list.py > security_templates.go reports/src/github.com/aclindsa/moneygo/ofx.go reports/src/github.com/aclindsa/moneygo/reports.go reports/src/github.com/aclindsa/moneygo/reports_lua.go reports/src/github.com/aclindsa/moneygo/securities.go reports/src/github.com/aclindsa/moneygo/securities_lua.go reports/src/github.com/aclindsa/moneygo/sessions.go reports/src/github.com/aclindsa/moneygo/transactions.go reports/src/github.com/aclindsa/moneygo/users.go reports/src/github.com/aclindsa/moneygo/util.go `
From the error message, it looks like you may only have go 1.6 installed. The 'context' package was moved into the standard library as of go 1.7: https://golang.org/doc/go1.7#context
You'll need to install go >= 1.7
Okay I installed 1.7
This is what happens now:
PATH/moneygo$ go install -v github.com/aclindsa/moneygo
can't load package: package github.com/aclindsa/moneygo:
../src/github.com/aclindsa/moneygo/security_templates.go:1:1: expected 'package', found 'EOF'
Not sure why, because
PATH/moneygo/reports/src/github.com/aclindsa/moneygo/security_templates.go
does exist.
What do you mean when you say that the security_templates.go file exists? Does it begin with something like:
package main
var SecurityTemplates = []Security{
...
I'm a little confused about the prefix on your path. Why does it begin 'PATH/moneygo/reports/src/...'? If 'PATH' is equal to the $GOPATH, as it is defined in the README, I would expect this path to instead be 'PATH/src/...' (omitting 'moneygo/reports').
I'm guessing here, but it sort of looks like it could be that the $GOPATH environment variable, which determines which directory the go generate
command uses, may not be the same directory you expect it to be. This could happen if you re-ran the export GOPATH=
pwd`` command inside a different directory than before (I usually only set $GOPATH once to avoid accidentally doing this, or even add it to .bashrc so I can forget about it).
'PATH' is equal to the rest of the full path, as in 'user/home/...' and so on.
I just tried running export GOPATH='pwd' in the moneygo folder, and then doing the install command. I also tried from the folder above moneygo.
Doing this in moneygo resulted in:
can't load package: package github.com/aclindsa/moneygo: cannot find package "github.com/aclindsa/moneygo" in any of:
/usr/local/go/src/github.com/aclindsa/moneygo (from $GOROOT)
/home/user/Desktop/git_repos/moneygo/src/github.com/aclindsa/moneygo (from $GOPATH)
Doing this in the folder above moneygo resulted in:
src/github.com/aclindsa/moneygo/security_templates.go:1:1: expected 'package', found 'EOF'
I found security_templates.go and it turns out that file is empty. This explains the error message that occurs when running from the folder above moneygo. So I think I ran the generate command in this folder, above moneygo.
I'm not sure why security_templates.go is empty, if you have any advice how to proceed from here I'd appreciated it. And if you can send me security_templates.go, that would also be really helpful.
Hopefully one day this program will be running on my computer haha.
For one installation of moneygo, $GOPATH should always remain set to the same path. Sorry if my previous comment was more confusing than it was helpful.
What happens if you do:
cd $GOPATH/src/github.com/aclindsa/moneygo
./scripts/gen_security_list.py > security_templates.go
This is manually running the step in go generate
that should be creating security_templates.go. If any errors are printed on stderr, or echoed into security_templates.go, maybe this will help debug your issue.
It returns this:
bash: cd: /src/github.com/aclindsa/moneygo: No such file or directory
Looks like $GOPATH isn't set. What happens if you set it to whatever it is for your moneygo checkout and try again?
There are two folders I might have ran the go commands from, so I'll try on both.
Folder1 (the folder above moneygo)
Setting the gopath was fine, and so was cd $GOPATH/src/github.com/aclindsa/moneygo
Doing this:
./scripts/gen_security_list.py > security_templates.go
resulted in:
Traceback (most recent call last):
File "./scripts/gen_security_list.py", line 5, in <module>
from urllib import request
ImportError: cannot import name request
Folder2: (the folder named moneygo) Setting the gopath was fine.
cd $GOPATH/src/github.com/aclindsa/moneygo
resulted in:
bash: cd: /home/user/Desktop/git_repos/moneygo/src/github.com/aclindsa/moneygo: No such file or directory
So the folder above moneygo is the right folder to run these commands from, assuming there is a right folder and I didn't mess something up for that. And it results in that error.
I believe this is an issue with python2/python3 compatibility. urllib for Python3 does have an importable function called request. urllib for Python2 does not.
To fix this, you could import requests
, which is its own library. For both Python 2&3, requests has a get() function that works like this: 'https://website.com/user'
Requests officially supports Python 2.6–2.7 & 3.3–3.7.
I got this information from the requests website: http://docs.python-requests.org/en/master/
Running python3 ./scripts/gen_security_list.py > security_templates.go
results in:
Traceback (most recent call last):
File "./scripts/gen_security_list.py", line 95, in <module>
main()
File "./scripts/gen_security_list.py", line 86, in main
cusip_list = get_cusip_list('cusip_list.csv')
File "./scripts/gen_security_list.py", line 75, in get_cusip_list
with open(filename, newline='') as csvfile:
FileNotFoundError: [Errno 2] No such file or directory: 'cusip_list.csv'
This is the same clone of the repo that I ran the generate command on (the second time), so I don't know why this happens.
The ImportError: cannot import name request
error should be fixed by 1a72568ebdcc6f3ec73257249092fc3963294d99 (I tested with python2 and that error went away for me). Can you confirm that the directory you ran that command in (Folder1) contains this commit?
I don't know what to tell you about the non-existence of cusip_list.csv when you ran with python3. Perhaps you were just confused about which directory you were in?
FYI, here is some more information about the GOPATH environment variable: https://golang.org/doc/code.html#GOPATH. I think understanding what it is and how it interacts with the go ...
commands might help.
I must not have that commit.
I'm definitely confused on which directory I'm supposed to run each command in, and could have messed something up with that.
Here's what I would do if I were you:
go get -v github.com/aclindsa/moneygo
go generate -v github.com/aclindsa/moneygo
and finally go install -v github.com/aclindsa/moneygo
It worked.
I can open moneygo on port 8080.
I might have immediately mistyped or forgotten my password, because it wasn't working. I made another account and works fine.
When I was setting up the program, I got up to this point:
$ go generate -v github.com/aclindsa/moneygo
My terminal got caught in an infinite loop saying