Code Monkey home page Code Monkey logo

Comments (4)

TonyPuryer avatar TonyPuryer commented on May 27, 2024 1

That fix worked, in that the download attempted to start, but 'head' was giving troubles.

I installed a later version of Busybox, but still the same issue -
head: invalid option -- '-' BusyBox v1.36.1 (2023-09-01 19:09:45 UTC) multi-call binary.

I debugged that to head not liking the long form "head --bytes" on line 364 so I changed it to "head -c" and now all is good.

Thank you for the fix, and for the software.

from mido.

ElliotKillick avatar ElliotKillick commented on May 27, 2024

Can you run: ls -l /bin/sh and sh --version

If your system is systemd then perhaps also coredumpctl info to get the last crash stack trace.

Does the script do anything before that error occurs? Run: DEBUG=1 ./Mido.sh

from mido.

TonyPuryer avatar TonyPuryer commented on May 27, 2024

ls -l /bin/sh /bin/sh -> busybox

BusyBox v1.23.2 (2019-01-17)

The system isn't systemd, I think it's based on some ancient version of Linux that used InitNG.

Debug output here: https://pastebin.com/vwdcbugK

I was getting the glibc error when running Mido.sh win10x64
Running just Mido.sh gives /bin/Mido.sh: line 749: fmt: not found

from mido.

ElliotKillick avatar ElliotKillick commented on May 27, 2024

Your BusyBox shell has broken POSIX compliance.

I've confirmed that the issue has already been fixed in newer BusyBox versions. It looks to have been fixed in 3 July 2017 -- BusyBox 1.27.0 (unstable) with commit message ash: fix 'trap - 65'. You're running 1.23 hence why you still have that bug (2019 must be the build time?).

For this reason, I recommend you workaround the bug by simply adding this on the line before signo=$((signo + 1)) in Mido.sh: [ "$signo" = 64 ] && break

I've fixed a few more POSIX compliance issues in regards to coreutils (e.g. replaced fmt with fold) so make sure to update and let me know if you can get it working now.

from mido.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.