bash2py icon indicating copy to clipboard operation
bash2py copied to clipboard

Segmentation fault (core dumped) and make: *** [bash2pyengine] Error 1 (Ver 3.6)

Open KaiCat-Dev opened this issue 5 years ago • 7 comments

hallo, i'm using your application but i got some error

first i download your app on this webstie

so when i install it ./install i got this error

Makefile:597: recipe for target 'bash2pyengine' failed make: *** [bash2pyengine] Error 1 -rwxr-xr-x 1 fedrik fedrik 4794632 Jan 2 21:21 bash2pyengine

and then i was try'ing to using it, i thought it was Nothing and then i just ignore it, so i run this

./bash2py -f /home/Document/Kiara/kiara/socket.sh

and then i get this error ( idk is this error or not )

Segmentation fault (core dumped)

and when i check the name was socket.sh change into socket.sh.py and when i open it, it's blank

so, now i'm trying to read your Manual Document or anything that related on this error

btw sorry for bothering you, have a nice day

KaiCat-Dev avatar Jan 02 '19 14:01 KaiCat-Dev

I also get the Segmentation fault issue.

daniejstriata avatar Feb 17 '20 07:02 daniejstriata

Have anyone of you resolved this "Segmentation fault" issue? while running this bash2py script? if so please share

marvjone avatar Aug 30 '20 15:08 marvjone

I guess it has to do with script being written for python 3.6 ...

panickingkernel avatar Sep 01 '20 15:09 panickingkernel

I got it working... but I had to do my bash code conversion few lines of code at a time.

marvjone avatar Sep 02 '20 04:09 marvjone

Was any one able to resolve this issue? I have the same problem Segmentation fault (core dumped)

My python version is Python 3.6.8

Any clue how to resolve this?

azmosavi avatar Dec 01 '20 22:12 azmosavi

Bit late for the party, but I got same error. Tried py2.7 and 3.8. Finally this docker worked as is https://hub.docker.com/r/imiell/bash2py/ https://zwischenzugs.com/2016/08/29/bash-to-python-converter/ Hope this helps

mat-goo avatar Jun 23 '21 12:06 mat-goo

The docker image is not working for me either, I still get the same segfault error, when running it against my own bash scripts or any of the test scripts that are provided by bash2py. The test case from that blog site, https://zwischenzugs.com/2016/08/29/bash-to-python-converter/, succeeds though from within the docker container but not locally (possibly due to the images python version(s)). I'm guessing that this tool really needs some updates.

Shellcat-Zero avatar Nov 29 '21 22:11 Shellcat-Zero