Comments (26)
Yes, the file is on my system ...
from cae.
Hi,
Are you using remote desktop connection? Python Xlib doesn't support it. In this case forget about this program.
from cae.
Hi,
no I am using native Ubuntu 18.04 LTS.
Thank you
from cae.
Please, check if Python Xlib is installed on your system with command:
pip install xlib
from cae.
Yes,
I had installed already: Successfully installed six-1.15.0 xlib-0.21
from cae.
Ok, then run command:
echo $DISPLAY
It should return something like ":0.0"
from cae.
Yes,
it returns :0.0
from cae.
Well, then I do not know. Sorry.
Try googling "Can't connect to display :0.0 No protocol specified"
from cae.
Thank you for your help. If I find a solution, I put here.
from cae.
Another small issue, that I found was:
- when I run the ./cae.sh it gives the following message
line 7: ../Downloads/cae-master/src/cae: No such file or directory
So I changed the src/cae in line 7 to cae.py, then it passes but gives the xlib problem
from cae.
Please, report if you'll manage to fix your system's configuration.
I understand the importance of user friendliness of the software. So, the program should be able to point to user where the problem is. But now we have what we have.
from cae.
I fixed the problem...
- change cae.sh in line 7 and 11 to exec "$DIR/src/cae.py"
- give permission to all files on the package to "allow this file to run as a program"
- on terminal "xhost +"
- run "./cae.sh"
It works perfectly, thank you
from cae.
No, do not change cae.sh! It shouldn't point to source file. It points to binary executable!
If you're trying to run program from sources - run command "python3 cae.py" from "src" folder.
from cae.
If you not change it, gives:
line 11: /home/cfernandes/Downloads/cae-master/src/cae -inp model.inp: No such file or directory
from cae.
So, that's the real issue!
Are you using sources or binaries? I'd recommend to use binaries. Download here:
https://github.com/calculix/cae/releases
from cae.
For everything to be clear I've updated "How to use" section in the README:
https://github.com/calculix/cae#how-to-use
from cae.
Thank you for your time, and sorry for for poor understanding of the program usage! Using the binaries the error is different: Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
from cae.
Looks like this is system problem, not CAE's.
The file must be present on system.
https://en.wikipedia.org/wiki/Fontconfig
from cae.
The only thing in CAE related to font is file:
https://github.com/calculix/cae/blob/master/config/Window.xml
font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;
Not sure this could be the reason of the problem.
from cae.
Please, could you attach file ./examples/default.log
It can contain some useful information.
from cae.
the content of default-log:
ERROR: ERROR! Can't get CalculiX GraphiX window.
ERROR: ERROR! Can't get CalculiX GraphiX window ID.
from cae.
Aha! That's what I'm working on right now. Wait for the next release. It'll be very soon.
Or you can checkout latest source code and use it instead of binaries - most of this problem is already fixed.
https://github.com/calculix/cae/archive/master.zip
from cae.
Thank you, I will wait for the next release.
Thank you for your work!
from cae.
CalculiX CAE v0.7
https://github.com/calculix/cae/releases/tag/v0.7
from cae.
Dear imirzov,
unfortunately the new release keep the same behaviour on my machine. So, I assume that the problem is on my side. Thank you for all your work.
Best regards,
Carlos Fernandes
from cae.
Dear Carlos,
Please, could you attach your ./examples/default.log from the new release?
from cae.
Related Issues (20)
- WARNING: *PLASTIC not known. Data ignored HOT 4
- Gap between aligned windows in Windows 10
- got an unexpected keyword argument 'blocks' HOT 1
- Cae crashes on startup HOT 10
- 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
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.