SYNO-packages icon indicating copy to clipboard operation
SYNO-packages copied to clipboard

Medusa 1.2 Python 3 noarch does not start after install

Open pragtich opened this issue 3 years ago • 1 comments

Just installed the Medusa 1.2 Python 3 noarch.spk on my Synology DS214 plus with the Python3 package already installed.

It does not start because of a ImportError: No module named builtins: apparently it is not finding the Python3 package.

The error seems to be in start-stop-status: it fills $APP_START using $PYTHON before $PYHTON contains the correct value. I moved the line filling $APP_START to just before it gets called, and it starts.

...
APP_START="env LANG=en_US.UTF-8 ${PYTHON} ${SYNOPKG_PKGDEST}/var/src/start.py --daemon --pidfile=${PID_FILE} --datadir=${SYNOPKG_PKGDEST}/var --port=${SYNOPKG_PKGPORT}"
  ${APP_START}
...

Hope that helps!

pragtich avatar Mar 11 '21 19:03 pragtich

Thanks for this report, made a last minute change with this result, my bad. Pushed a Medusa 1.3 package with this correction in it to github.

BenjV avatar Mar 12 '21 12:03 BenjV