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

Segmentation fault (core dumped) #17

Open
maipj opened this issue Oct 10, 2024 · 5 comments
Open

Segmentation fault (core dumped) #17

maipj opened this issue Oct 10, 2024 · 5 comments

Comments

@maipj
Copy link

maipj commented Oct 10, 2024

when I run gelectrical_launcher.py , has error Segmentation fault (core dumped)

vmware workstation
Ubuntu18
CPU 2
memory 2G

python3.10.13

pkg-config --modversion gtk+-3.0
gtk3.22.30

py package

appdirs 1.4.4
Brotli 1.1.0
cffi 1.17.1
contourpy 1.3.0
cssselect2 0.7.0
cycler 0.12.1
deepdiff 8.0.1
et-xmlfile 1.1.0
fonttools 4.54.1
html5lib 1.1
Jinja2 3.1.4
kiwisolver 1.4.7
llvmlite 0.43.0
Mako 1.3.5
MarkupSafe 3.0.1
matplotlib 3.9.2
networkx 3.3
numba 0.60.0
numpy 1.26.4
openpyxl 3.1.5
orderly-set 5.2.2
packaging 24.1
pandapower 2.14.11
pandas 2.2.3
pillow 10.4.0
pip 23.0.1
pycairo 1.27.0
pycparser 2.22
pydyf 0.11.0
PyGObject 3.40.0
pyparsing 3.1.4
pyphen 0.16.0
python-dateutil 2.9.0.post0
pytz 2024.2
scipy 1.13.1
setuptools 65.5.0
shapely 2.0.6
six 1.16.0
tinycss2 1.3.0
tqdm 4.66.5
tzdata 2024.2
weasyprint 62.3
webencodings 0.5.1
zopfli 0.2.3

python gelectrical_launcher.py
has error: Segmentation fault (core dumped)

I test some code, when run this code

from gelectrical import MainApp, misc
has error: Segmentation fault (core dumped)

How can I do?

@manuvarkey
Copy link
Owner

You seems to be running a very old version Ubuntu and Python in your VM. Any chance you can try it out in a more modern version ?

@maipj
Copy link
Author

maipj commented Oct 14, 2024

You seems to be running a very old version Ubuntu and Python in your VM. Any chance you can try it out in a more modern version ?

What are your requirements,Ubuntu20 up?python3.11?or other?

@maipj
Copy link
Author

maipj commented Oct 14, 2024

I try use this https://github.com/manuvarkey/GElectrical/releases/download/v1-RC.1/gelectrical.flatpak
run in cenots7 or ubuntu18 is ok,but run python is not ok! Segmentation fault (core dumped)
I use a day to test this,god!

@manuvarkey
Copy link
Owner

Program is available as Snap and Flatpak.

https://snapcraft.io/gelectrical
https://flathub.org/apps/com.kavilgroup.gelectrical

The latest build on both platforms seems to work fine. See https://buildbot.flathub.org/#/builders/6/builds/144709 for latest flatpak build. Snap uses core22. So Ubuntu 22.04 and above should work ok.

Btw, have you tried using the latest version ?
https://github.com/manuvarkey/GElectrical/releases/tag/v1.1.2

@maipj
Copy link
Author

maipj commented Oct 15, 2024

Program is available as Snap and Flatpak.

https://snapcraft.io/gelectrical https://flathub.org/apps/com.kavilgroup.gelectrical

The latest build on both platforms seems to work fine. See https://buildbot.flathub.org/#/builders/6/builds/144709 for latest flatpak build. Snap uses core22. So Ubuntu 22.04 and above should work ok.

Btw, have you tried using the latest version ? https://github.com/manuvarkey/GElectrical/releases/tag/v1.1.2

I not use the /v1.1.2 , But I try use the master,the same error

I running in Ubuntu22.04 and python3.10.13,is ok!!

This error may be related to the operating system,or related to compatibility with packages provided by the operating system

Thank you for your help !

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

2 participants