Skip to content

Exception: Failed to mount test: Invalid argument #27

Description

@peakwinter

(Note that this bug should not result in a crash, rather the user should be prompted with a simple error message that the device could not be mounted.)

arkOS 0.8.3 Crash Report

Running in prod
System: Linux arkos 4.4.48-2-ARCH #1 SMP Mon Feb 13 19:47:53 MST 2017 armv7l GNU/Linux

Platform: armv7l Unknown
Python version 3.6.0
Config path: settings.json

Loaded applicatons:
basicsite
fs-afp
syncthing
fs-samba
db-mariadb
db-sqlite3
wordpress
radicale
fs-nfs
xmpp
nextcloud
mailpile
lychee

Request: POST /api/mounts

Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/lib/python3.6/site-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/flask/views.py", line 149, in dispatch_request
return meth(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/kraken/auth.py", line 135, in decorator
return func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/kraken/frameworks/sharers.py", line 91, in post
data.get("password"), data["read_only"]
File "/var/lib/arkos/applications/fs-samba/fileshare.py", line 43, in add_mount
s.add()
File "/usr/lib/python3.6/site-packages/arkos/sharers.py", line 133, in add
self.mount()
File "/var/lib/arkos/applications/fs-samba/fileshare.py", line 184, in mount
os.strerror(ctypes.get_errno())))
Exception: Failed to mount test: Invalid argument

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions