bullwinkle3000 / dactyl-keyboard

Dactyl-ManuForm, a parameterized ergonomic keyboard translated into Python including a cadquery / Open CASCADE implementation.
GNU Affero General Public License v3.0
219 stars 58 forks source link

Error when trying to compile the latest commits. #2

Closed Sqwrly closed 2 years ago

Sqwrly commented 2 years ago

Hello,

I was playing with the Carbonfet thumb cluster and noticed the amoeba king mount was poking through near the thumb cluster. I decided to update to the latest commits from 5 days ago and can no longer generate models like I was before.

I'm using run_config.json in the src directory and just running the dactyl_manuform.py from the src directory.

It looks like that os.path.join line used to have just a . and now it's src and it's causing it to not find the file. I assumed because I'm already in the src directory so it's looking in src/src/run_config.json? Should I be running this differently than I have been so it behaves as intended?

NO CONFIGURATION SPECIFIED, USING run_config.json Traceback (most recent call last): File "dactyl_manuform.py", line 2098, in <module> make_dactyl() File "dactyl_manuform.py", line 79, in make_dactyl with open(os.path.join("src", "run_config.json"), mode='r') as fid: FileNotFoundError: [Errno 2] No such file or directory: 'src/run_config.json'

Edit: I think I resolved it by just going up one directory and running python src/dactyl_manuform.py and it works. Only fails when I run it from inside the src directory.