Comments (10)
Update:
I tried directly opening the dichtstoff_2_HE8.inp found in the examples bundle.
the UI does not crashes, but I get an interesting message in the log:
read F*\calculix\cae=20200725=windows\config\iso.fbd
ERROR in readfbd: The input file "F*\calculix\cae=20200725=windows\config\iso.fbd" could not be opened.
from cae.
Hello,
I am sending the log generated after a crash and the corresponding inp file.
hueeber1.log
hueeber1.zip
Kazu
from cae.
Hello, and thank you for reporting bugs.
It'll be very difficult to find the reason of the crash, because I do not have Windows at all. But if you could attach a log file, generated during model opening, - it'll help. Previously application crashed due to multiple threads wrote logs at the same time and they wrote messages too fast. It was bug of the PyQt5, but I've solved it. So another reason is unknown and will be new to me.
iso.fbd - is just a script that rotates model to the isometric view at startup. It has no effect on crashes. If your OS can't find the file - check the path. I see it has symbols '='. I think you'd better avoid using special characters in file paths.
from cae.
OK, thank you, now we have something to speak about.
In the latest release v0.8.0 default logging level is DEBUG. But you have only INFO messages in the log file. Why? Have you changed default settings? Or are you using old version?
So, first, please, download latest release (source code) and run it:
https://github.com/calculix/cae/releases/tag/v0.8.0
When you run the application by default it opens model ./examples/default.inp (your first screenshot) and generates default.log in the same directory. Please, attach here that log file (with DEBUG messages, not only INFO). It'll give me some information about app's crash. I will pay attention to messages "DEBUG: Stopping threads..."
Thank you.
P.S. As you can see, on Linux app v0.8.0 works just fine!
from cae.
And ensure you are not using special characters in file paths. I can not predict app's behavior in this case:
from cae.
Hello,
First of all, thank you for the tool and support.
Now let me answer a few questions:
- version used:
I am using the latest version (0.80) - special characters:
Strangely I do not use any special characters in folder's name. take a look the log file generated with the default *.inp: on line7 is the correct name of my folder, but for some strange reason, this path name is changed in lines 87 to 91
default.log
I hope that you will find a hint about what's wrong in the log file.
Regards,
Kazunobu
from cae.
Dear Kazunobu,
Looks like I've found why folders are different in the .log file. Method, which sends commands from keyword editor to CGX, translates keyboard codes incorrectly. Translation table is given in window.py file in class Windows_window(Window), variable self.keyboardMapping. Looks like this table depends not only on operating system, but on something else (like locale and/or keyboard type).
You can test it in a separate application:
https://github.com/imirzov/sendkeys
On your computer symbol ":" is translated as "*" and "_" - as "=". And now I'm not able to fix it. I just do not know how. I do not know how to account for OS, keyboard type and locale. I've tested it on Windows 7 installed on virtual machine. Looks like Windows 10 needs a different keyboard mapping. I do not know.
Nevertheless, this problem doesn't affect DEBUG messaging in your log files. And isn't relevant to CAE's crash. To switch on DEBUG logging, please, edit file ./config/Settings_windows.py, line 11 should be:
self.logging_level = 'DEBUG'
Thank you for reporting problems. Please, continue.
from cae.
Dear Kazunobu,
How is it going with DEBUG logging?
from cae.
Hello,
sorry for the delay: I7ve been busy with my daily job.
I've edited the Settings_windows.py as instructed in your previous message.
unfortunately, the application still crashes after opening the default model, and the log file does not show anything for it.
I am kind of stuck....
Kazu
default.log
from cae.
Dear Kazu,
Cool! There are no errors which I have suspected: I see only one thread writing to the log window.
Another thing is that you're using binaries. Have you tried running the software from sources? Latest released sources are here:
https://github.com/calculix/cae/archive/v0.8.0.zip
Here is how to use:
https://github.com/calculix/cae#how-to-use
I've compiled binaries under virtual machine with Windows 7. And nobody knows how do they work. So, please, try sources. And do not forget to set logging level to DEBUG.
from cae.
Related Issues (20)
- got an unexpected keyword argument 'blocks' HOT 1
- run cae.sh reminding of no module named ccx2paraview HOT 1
- Error Unexpected Keyword 'blocks' HOT 5
- ERROR: Can't get 'CalculiX GraphiX' window. HOT 5
- Is there any method to import SURFACE set by *.unv file HOT 3
- running on multicores HOT 3
- FEM solver in detail (nodal force distribution) HOT 1
- Simple bionic Matthek spline for simple bionic optimization of edges
- Spiro splines for better curve quality
- problem with "umatht.f" HOT 1
- Add shell forces result computation capabilities HOT 4
- Throws an error when executing cae.sh HOT 1
- App exit - AttributeError: 'NoneType' object has no attribute 'wid'
- paint elsets doesn't work HOT 5
- ERROR, no matching file-type found
- Error while excuting cae.sh in ubuntu linux 22.04 HOT 3
- DLL load failed while importing QtWebEngineWidgets HOT 6
- No slave window HOT 1
- A small change to make ccx2paraview more comfortable to use. HOT 3
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 cae.