bash2py
bash2py copied to clipboard
Segmentation fault (core dumped) and make: *** [bash2pyengine] Error 1 (Ver 3.6)
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
I also get the Segmentation fault issue.
Have anyone of you resolved this "Segmentation fault" issue? while running this bash2py script? if so please share
I guess it has to do with script being written for python 3.6 ...
I got it working... but I had to do my bash code conversion few lines of code at a time.
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?
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
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.