dictation-toolbox / Caster

Dragonfly-Based Voice Programming and Accessibility Toolkit
https://dictation-toolbox.github.io/Caster/
Other
340 stars 121 forks source link

add six to requirements (pretty trivial) #852

Closed kendonB closed 4 years ago

kendonB commented 4 years ago

Found that this stopped caster working after a reinstall.

Current version is 1.15, do we want to specify version greater than that?

LexiconCode commented 4 years ago

Found that this stopped caster working after a reinstall.

Current version is 1.15, do we want to specify version greater than that?

Yes I will work on that soon as I get a few things merged.

kendonB commented 4 years ago

@LexiconCode so I don't actually think this fixes the bug as I saw it say it didn't have six after installing it.

The bug occurs because the pythonw setting in settings.toml can point to the installation of python 2.7. When you call the mouse grids, caster will then use this installation of python which then may not have the six package installed. So I think we have to try and ensure that the correct version of python gets put into pythonw setting in settings.toml in the first place.

LexiconCode commented 4 years ago

Experiment with the following function within settings and see what returns. That function should grab the running interpreter which is dependent on how you start Caster.

`def _get_platform_information():`

you will have to let your settings regenerate if you edit the function directly.