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

Octoprint won't start on synology DS214+ #2386

Closed
roja75 opened this issue Jun 20, 2016 · 4 comments
Closed

Octoprint won't start on synology DS214+ #2386

roja75 opened this issue Jun 20, 2016 · 4 comments
Labels

Comments

@roja75
Copy link

roja75 commented Jun 20, 2016

For new Package Requests, see the guidelines

Setup

Package Name: Octoprint
Package Version: 20160321_4

NAS Model: DS214+
NAS Architecture: synology_armadaxp_ds214+
DSM version: 6.0.1-7393

Expected behavior

package failed to run

Actual behavior

Start octoprint

Steps to reproduce

1. install package
2. execute octoprint
3. pop up "could not run the service package.''

Package log

Check Package Center or /usr/local/{package}/var/

Insert the package log here
```non available
#### Other logs
_E.g. `/var/log/messages` or `/var/log/synopkg.log`_

Insert log here

@cytec cytec added the dsm 6 label Jun 20, 2016
@madvtak
Copy link

madvtak commented Jun 27, 2016

#2207

Post in here, duplicate.

@tareko
Copy link

tareko commented Jan 6, 2017

I am similarly also facing this issue.

I was able to move a bit forward by trying 'run' and then using pip to install the following dependencies:

pip install sockjs-tornado flask-login flask-principal flask-babel flask-assets watchdog

However, I am now stuck with the following error:

r@r:/usr/local/octoprint/share/OctoPrint# ./run 
/volume1/@appstore/octoprint/share/OctoPrint/src/octoprint/server/__init__.py:11: ExtDeprecationWarning: Importing flask.ext.login is deprecated, use flask_login instead.
  from flask.ext.login import LoginManager, current_user
/volume1/@appstore/octoprint/share/OctoPrint/src/octoprint/server/__init__.py:12: ExtDeprecationWarning: Importing flask.ext.principal is deprecated, use flask_principal instead.
  from flask.ext.principal import Principal, Permission, RoleNeed, identity_loaded, UserNeed
/volume1/@appstore/octoprint/share/OctoPrint/src/octoprint/server/__init__.py:13: ExtDeprecationWarning: Importing flask.ext.babel is deprecated, use flask_babel instead.
  from flask.ext.babel import Babel, gettext, ngettext
/volume1/@appstore/octoprint/share/OctoPrint/src/octoprint/server/__init__.py:14: ExtDeprecationWarning: Importing flask.ext.assets is deprecated, use flask_assets instead.
  from flask.ext.assets import Environment, Bundle
Traceback (most recent call last):
  File "./run", line 21, in <module>
    import octoprint
  File "/volume1/@appstore/octoprint/share/OctoPrint/src/octoprint/__init__.py", line 4, in <module>
    from octoprint.server import Server
  File "/volume1/@appstore/octoprint/share/OctoPrint/src/octoprint/server/__init__.py", line 16, in <module>
    from watchdog.observers import Observer
  File "/usr/lib/python2.7/site-packages/watchdog/observers/__init__.py", line 63, in <module>
    from .inotify import InotifyObserver as Observer
  File "/usr/lib/python2.7/site-packages/watchdog/observers/inotify.py", line 74, in <module>
    from .inotify_buffer import InotifyBuffer
  File "/usr/lib/python2.7/site-packages/watchdog/observers/inotify_buffer.py", line 20, in <module>
    from watchdog.observers.inotify_c import Inotify
  File "/usr/lib/python2.7/site-packages/watchdog/observers/inotify_c.py", line 50, in <module>
    libc = _load_libc()
  File "/usr/lib/python2.7/site-packages/watchdog/observers/inotify_c.py", line 34, in _load_libc
    libc_path = ctypes.util.find_library('c')
  File "/usr/lib/python2.7/ctypes/util.py", line 242, in find_library
    raise RuntimeError("can not find library %s" % name)
RuntimeError: can not find library

@monochromec
Copy link

Same happens with pyinotify.

Strongly suggest to use a more up-to-date version (such as the one in Debian's libpython2.7-stdlib, version 2.7.9-2+deb8u1).

@Safihre
Copy link
Contributor

Safihre commented Jun 24, 2018

Updates (like proper DSM6 support) will be handled in #3128.

@Safihre Safihre closed this as completed Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants