rpesche / cryptopcash Goto Github PK
View Code? Open in Web Editor NEWA command line program to check cryptocurrency portifolio
License: GNU General Public License v3.0
A command line program to check cryptocurrency portifolio
License: GNU General Public License v3.0
If an invalid currency is added to cryptopcash, the application crash and an exception is raised.
Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/romain/cryptopcash/cryptopcash/__main__.py", line 5, in <module>
main()
File "/home/romain/cryptopcash/cryptopcash/cryptopcash.py", line 76, in main
cryptopcash.start_cryptopcash()
File "/home/romain/cryptopcash/cryptopcash/cryptopcash.py", line 41, in start_cryptopcash
self.main_ui.run()
File "/home/romain/cryptopcash/cryptopcash/ui/Main.py", line 49, in run
self.loop.run()
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 286, in run
self._run()
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 384, in _run
self.event_loop.run()
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 788, in run
self._loop()
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 825, in _loop
self._watch_files[fd]()
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/raw_display.py", line 404, in <lambda>
event_loop, callback, self.get_available_raw_input())
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/raw_display.py", line 502, in parse_input
callback(processed, processed_codes)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 411, in _update
self.process_input(keys)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/main_loop.py", line 511, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/container.py", line 595, in keypress
*self.calculate_padding_filler(size, True)), key)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/decoration.py", line 837, in keypress
return self._original_widget.keypress((maxcol,), key)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/container.py", line 1590, in keypress
key = self.focus.keypress(tsize, key)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/container.py", line 2271, in keypress
key = w.keypress((mc,) + size[1:], key)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/wimp.py", line 540, in keypress
self._emit('click')
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/widget.py", line 460, in _emit
signals.emit_signal(self, name, self, *args)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/signals.py", line 265, in emit
result |= self._call_callback(callback, user_arg, user_args, args)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/urwid/signals.py", line 295, in _call_callback
return bool(callback(*args_to_pass))
File "/home/romain/cryptopcash/cryptopcash/ui/AddHoldingDialog.py", line 30, in add_holding
coin = context.get_coin_info(symbol)
File "/home/romain/cryptopcash/cryptopcash/cryptopcash.py", line 59, in get_coin_info
return c.get_coin_info(symbol)
File "/home/romain/cryptopcash/cryptopcash/market/CryptoCompare.py", line 18, in get_coin_info
infos = cryptocompy_coin.get_coin_list(coins=symbol)
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/cryptocompy/coin.py", line 51, in get_coin_list
data = {c: data[c] for c in coins}
File "/home/romain/.local/share/virtualenvs/cryptopcash/lib/python3.6/site-packages/cryptocompy/coin.py", line 51, in <dictcomp>
data = {c: data[c] for c in coins}
KeyError: 'aente'
We need to catch this exception and show a message to the user.
When running cryptopcash
I am getting the following error:
AttributeError: 'NoneType' object has no attribute 'currency_formats'
This error I think stems from babel
not being able to set the locale.
Currently the header show cryptopcash v0.1
for every version.
We need to update it to show the correction version.
I don't know how to do this. It might be a script updating the code at each release
i don't use cryptop and your software doesn't generate a config.ini. you should include a default one.
currently the number (holding, price etc) are left-aligned.
The right aligment is better for reading.
master
branch failed. π¨I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. Iβm sure you can resolve this πͺ.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here is some links that can help you:
If those donβt help, or if this issue is reporting something you think isnβt right, you can always ask the humans behind semantic-release.
package.json
file.A package.json file at the root of your project is required to release on npm.
Please follow the npm guideline to create a valid package.json
file.
Good luck with your project β¨
Your semantic-release bot π¦π
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.