Comments (11)
Could you share the content of the console after the crash?
https://hlorus.github.io/CAD_Sketcher/advanced/#console-output
You'll have to start blender from the console in order to see the console after the crash...
from cad_sketcher.
I toggled console with Windows > Toggle system console command.
Then I added a sketch with a rectangle and a circle, and left sketch without converting them into mesh.
But the console command did not register any activities at all.
Then I edited the sketch, and converted the sketch to mesh.
Again, no change in the log.
As soon as I leave the sketch, BforArtists crashes along with the console.
So I do not see anything captured in it.
After the crash, I found this file:
C:\Users<userName>\AppData\Local\Temp\CAD_Sketcher-main-Nagesh.log
(unlike the help description, the file name contains "-main-Nagesh" for some reason.)
There is no other log file with "CAD_sketcher" in its name anywhere on my laptop.
(I checked with Everywhere, which indexes all files.)
But the log file does not have any content at all. (It has 0 bytes size).
Finally, I found that I have to save the file first:
So I saved the file first, and then repeated the experiment.
This time it produced a crash report at-
C:\Users<UserName>\AppData\Local\Temp<FileName>.crash.txt
This is attached.
TestingForCrash.crash.txt
from cad_sketcher.
Die you try the addon with vanilla blender?
To see the console after the crash you can start blender from a console. You should find it by tipping "cmd" in the windows search. From the console you should be enough to just enter "blender".
from cad_sketcher.
Yes, Blender 4.1 also crashes in an identical manner.
I launched Blender using Command Prompt.
After Blender crashed, the Command Prompt shows the following text:
(this is the entire text of the session, including installation of the addon, etc.)
C:\Program Files\Util\Blender 4.1 alpha>blender
reloading addon: CAD_Sketcher-main 1701697836.3563676 1701698062.2417014 'C:\Users\naray\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CAD_Sketcher-main\init.py'
Modules Installed () from 'D:\Downloads\CAD_Skecther_0.27.3.zip' into 'C:\Users\naray\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons'
reloading addon: CAD_Sketcher-main 1701698062.2417014 1701698089.0244324 'C:\Users\naray\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\CAD_Sketcher-main\init.py'
Modules Installed () from 'D:\Downloads\CAD_Skecther_0.27.3.zip' into 'C:\Users\naray\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons'
CAD_Sketcher-main:{INFO}: Logging into: C:\Users\naray\AppData\Local\Temp\CAD_Sketcher-main-Nagesh.log
Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF6128F5524
Module : blender.exe
Thread : 000018bc
Writing: C:\Users\naray\AppData\Local\Temp\blender.crash.txt
The crash log is attached:
blender.crash.txt
from cad_sketcher.
Ahh i'm afraid we cannot take reports into account that apply to alpha versions. If this also happens with stable versions or when 4.1 gets into beta we can have another look.
from cad_sketcher.
OK. Thanks!
I tried this with Blender 4.0.2 RC and it does not crash.
Blender 4.1 is scheduled to enter the beta stage on 24th Jan 2024.
AFAICT, it won't be possible to raise this as a bug for Blender 4.1, right?
from cad_sketcher.
AFAICT, it won't be possible to raise this as a bug for Blender 4.1, right?
How do you mean, report it to the blender Foundation?
from cad_sketcher.
Well, when an addon works with Blender 4.0 but not with 4.1, there are two possible reasons:
- The code of 4.1 is not backward compatible with 4.0 (so far as a given addon is concerned)
- Code in 4.1 is broken unintentionally (regression issue).
In the first case, the addon developers have to know how the code is going to change, so that they can make the addon compatible with the new version. IINW Blender developer forum provides this information in advance to the addon developers, so that they can modify their addons concurrently.
In the second case, the user should be redirected to raise the bug in Blender's GitHub.
As a user, I don't know which case applies here.
So if you let me know, I can close the bug here, and raise it in the Blender's GitHub.
The final intent is to give an early feedback to the right group, so that the correction can be applied at the earliest.
from cad_sketcher.
It's likely the second scenario as braking changes are usually made in major releases. Reporting the bug upstream makes sense however this usually requires a simplified setup as blender developers probably don't have the time to install addons...
from cad_sketcher.
Good news, they fixed it already: blender/blender@ce81bdc
from cad_sketcher.
Great!
I use development version of bforartists, so this change will hopefully appear in next week's release!
Many thanks!
from cad_sketcher.
Related Issues (20)
- Zero Length Vector [BUG] HOT 2
- [BUG] mesh generation "inside out" HOT 1
- Angle constraint loosing it's position on switching to/from reference mode
- Minor issue: using CAD sketcher always switches to teak tool HOT 1
- [BUG] Workplane rotations applied to the object instead of the object's mesh/curve HOT 2
- CAD Sketcher 0.27.2 on Mac M1 [BUG] HOT 2
- [BUG] The "Add workplane" does not work consistently with "Add workplane on mesh face" HOT 1
- Text not visible HOT 5
- [BUG] CAD Sketcher shows horizontal and vertical constraints on slanting lines. HOT 3
- [BUG] CAD Sketcher allows us to apply the hor/vert constraints multiple times to an element HOT 14
- [BUG] Entity scale changes only points, not lines HOT 1
- [BUG] AttributeError: 'View3D_OT_slvs_select_box' object has no attribute 'mouse_pos'
- [BUG] constraint icons don't follow the ortho views in C-A-q mode
- [BUG] Can't Force Update in Sketcher panel HOT 1
- [BUG] Lines sketch has unexpected extra content after being converted to mesh and solidified HOT 2
- Handling redundant constraints
- Cad Sketcher Solver module isn't registered
- [BUG] Generated geometry is incorrect and cannot be properly extruded using the solidify modifier
- [BUG] "RuntimeError: Operator bpy.ops.ed.undo.poll() failed, context is incorrect" in Blender 4.0.2 on Mac 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 cad_sketcher.