Comments (4)
I don't have windows 11, but on Win 10 and with vim all works as intended.
from cadquery.
This is what is shown in the log viewer.
The file is there, though, because I can load and preview it properly from the 'File / open' dialog.
[2024-04-21 12:52:02.495095] ERROR: CQ-Editor: Uncaught exception occurred
Traceback (most recent call last):
File "C:\ProgramData\CQ-Editor\cq_editor\widgets\editor.py", line 239, in _file_changed
self.set_text_from_file(self._filename)
File "C:\ProgramData\miniconda3\envs\cqgui\lib\site-packages\spyder\plugins\editor\widgets\codeeditor.py", line 3010, in set_text_from_file
text, _enc = encoding.read(filename)
File "C:\ProgramData\miniconda3\envs\cqgui\lib\site-packages\spyder\utils\encoding.py", line 308, in read
text, encoding = decode( open(filename, 'rb').read() )
FileNotFoundError: [Errno 2] No such file or directory: 'D:/Peter/Development/CadQuery/clamp.py'
from cadquery.
@gitterman You could try adjusting the auto-reload delay.
https://github.com/CadQuery/CQ-editor?tab=readme-ov-file#using-an-external-code-editor
Some editors delete and recreate the file when it is saved, and maybe the timing is a little bit off.
from cadquery.
@jimwright: Thanks a lot for the hint, the error is gone.
I had decreased Autoreload delay because I assumed from the name, that a shorter delay would increase the responsiveness.
But it obviously is the other way round. A higher delay assures that an externally edited file gets more properly recognized when changed.
4. If CQ-editor is not catching the saves from your external editor, increasing Autoreload delay in the right pane may help. This issue has been reported when using vim or emacs.
from cadquery.
Related Issues (20)
- DXF export for sketch
- Finding coplanar and concentric surfaces HOT 5
- Wrap features (`BRepFeat`) from OCP
- symmetric `thicken`
- Provide Interface to OCCT Messages
- Simple 'cut' of two a Box and a Sphere creates unusable object HOT 3
- Documentation: Assembly tutorial constraint solver result regression HOT 4
- seems parametricCuve()bug HOT 10
- Adding existing geometry into sketches? HOT 1
- Planar surface HOT 1
- Problem of center of mass when a cylinder is generated with a non-default direction HOT 1
- Add selectors for local coordinate system HOT 7
- Assembly top level location ignored
- Selecting a face defined by Sketch on plane HOT 1
- Add docs about referencing subassemlies.
- Working with TDocStd_Document: Empty document when trying to use TDocStd_Application::Open wrapped by OCP HOT 1
- Can one limit the number of cores or threads to run in parallel? HOT 5
- Examples should have more explanations.
- Allow zero x or y spacing Workplane rarray
- How to calculate moment of inertia? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cadquery.