-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes for bugs noticed during usage #8
fixes for bugs noticed during usage #8
Conversation
see https://docs.python.org/3.8/library/subprocess.html: If shell is True, it is recommended to pass args as a string rather than as a sequence.
@@ -50,7 +50,8 @@ | |||
'pytest~=6.2.5', | |||
'coverage~=6.2', | |||
'pytest-cov~=3.0.0', | |||
'coveralls~=3.3.1' | |||
'coveralls~=3.3.1', | |||
'tomli=2.0.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mmh? What requires tomli?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not too versed in Python packaging, but this is the message I get when trying to start alice
from a fresh venv after doing pip install --editable .
:
(venv) user@box:/usr/src/AliceCLI-orig# alice
Traceback (most recent call last):
File "/usr/src/AliceCLI-orig/venv/bin/alice", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/src/AliceCLI-orig/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
def _initialize_master_working_set():
File "/usr/src/AliceCLI-orig/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
f(*args, **kwargs)
File "/usr/src/AliceCLI-orig/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/src/AliceCLI-orig/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/usr/src/AliceCLI-orig/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/src/AliceCLI-orig/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'tomli; extra == "toml"' distribution was not found and is required by coverage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's.... weird, coverage should install it as it is its own dep. Whatever, not a big deal :-)
Hey, thank you so much for this, really neat! Tbh, I did not take the time to study the balena cli and I should have, thank you for that! |
The only case I'm using balena for that you didn't use was to locate the SD card device. For that, I only use the same command that you have already been using: |
You just let me know when you want it merged? I saw you had it as a draft |
Yes, that was on purpose. But I think it can be merged now, my own setup is now so far through that I don't need the CLI currently. |
What IDE are you using? There's a lot of warnings and stuff to be corrected |
Mmh… as these started out as small changes I did the edits directly on a naked Linux machine in nano 😂 but as no linter etc. was in use I’m really wondering where these warnings come from.
I’ll try to correct them in the next days using PyCharm.
… Am 14.01.2022 um 16:49 schrieb Psycho ***@***.***>:
@oliverrahner
What IDE are you using? There's a lot of warnings and stuff to be corrected
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
Na, I already pushed the cleanup/fix.Sent from my Galaxy
-------- Original message --------From: Oliver Rahner ***@***.***> Date: 1/14/22 21:02 (GMT+01:00) To: project-alice-assistant/AliceCLI ***@***.***> Cc: Psycho ***@***.***>, State change ***@***.***> Subject: Re: [project-alice-assistant/AliceCLI] fixes for bugs noticed during usage (PR #8)
Mmh… as these started out as small changes I did the edits directly on a naked Linux machine in nano 😂 but as no linter etc. was in use I’m really wondering where these warnings come from.
I’ll try to correct them in the next days using PyCharm.
Am 14.01.2022 um 16:49 schrieb Psycho ***@***.***>:
@oliverrahner
What IDE are you using? There's a lot of warnings and stuff to be corrected
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Kind of like #1, I am noticing some things during usage of AliceCLI and I'm trying to fix them. E.g. the "Please insert SD-card first" error noted in #1 has been fixed.
I'll add more as I see it.