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

Add user on QNAP #31

Open
Pingumania opened this issue Nov 25, 2014 · 0 comments
Open

Add user on QNAP #31

Pingumania opened this issue Nov 25, 2014 · 0 comments
Labels

Comments

@Pingumania
Copy link

Hi I installed supysonic on my QNAP TS-412 (ARM),

but if I try to add an user I get the following error. There are no special characters in the password.

[/opt] # /opt/supysonic/bin/supysonic-cli user add --admin pingumania
Password:
Confirm password:
Traceback (most recent call last):
  File "/opt/supysonic/bin/supysonic-cli", line 231, in <module>
    cli.onecmd(' '.join(sys.argv[1:]))
  File "/share/MD0_DATA/.qpkg/Python/lib/python2.7/cmd.py", line 219, in onecmd
    return func(arg)
  File "/opt/supysonic/bin/supysonic-cli", line 51, in method
    return func(** { key: vars(args)[key] for key in vars(args) if key != 'action' })
  File "/opt/supysonic/bin/supysonic-cli", line 190, in user_add
    status = UserManager.add(self.__store, name, password, email, admin)
  File "/share/MD0_DATA/.qpkg/Python/lib/python2.7/site-packages/supysonic/managers/user.py", line 53, in add
    if store.find(User, User.name == name).one():
  File "/opt/local/lib/python2.7/site-packages/storm/store.py", line 1158, in one
    result = self._store._connection.execute(select)
  File "/opt/local/lib/python2.7/site-packages/storm/database.py", line 238, in execute
    statement = self.compile(statement, state)
  File "/opt/local/lib/python2.7/site-packages/storm/databases/sqlite.py", line 57, in compile_select_sqlite
    statement = compile_select(compile, select, state)
  File "/opt/local/lib/python2.7/site-packages/storm/expr.py", line 666, in compile_select
    tokens.append(compile(select.columns, state))
LookupError: unknown encoding:
@spl0k spl0k added the bug label Nov 25, 2014
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

2 participants