Skip to content
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

abspath usage in nightly: Open file dialog box fails on 0.3.0dev #468

Open
PaulKGrimes opened this issue Jan 2, 2025 · 3 comments
Open

Comments

@PaulKGrimes
Copy link

On installing cq-editor with conda install -c cadquery cadquery cq-editor in a fresh conda environment on Windows, I get version 0.3.0dev.

This version cannot open the open file dialog box due to the attempted use of Path.abspath(), which does not exist. Sorry, I don't have the error message to hand.

@PaulKGrimes
Copy link
Author

PaulKGrimes commented Jan 2, 2025

I'd also expect that conda command to install a working e.g. master (or better still, the latest release) version by default.

@skraninger
Copy link

ALSO Path().absolute() does not work on a clean install of cq-editor using conda 23.11.1 and python 3.11 in both editor.py and debugger.py. Removed absolute() in both and cq-editor works. Not sure what the impact will be. Had to install nlopt using pip, as it would not install using conda and import nlopt did not work.

@hoijui
Copy link

hoijui commented Jan 27, 2025

Could we just use os.path.abspath instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants