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

Failing to create a user #2

Open
greenfork opened this issue Apr 8, 2024 · 0 comments
Open

Failing to create a user #2

greenfork opened this issue Apr 8, 2024 · 0 comments

Comments

@greenfork
Copy link

Reproduction:

mugs-admin create-universe
mugs-cli --universe=default

Then

Loading and optimizing MUGS.
Authentication for user 'default-user' failed.
Username [default-user]:
No username specified for this server; create a new one?
1. Yes, create a new one.
2. No, log in with an existing user.
Selection: 1
Desired username: def
Desired password: ***
Confirm password: ***
Caught exception in session 1 while processing request 4: Type check failed in assignment to ; expected uint8 but got Int (36)
  in method inflate at /home/grfork/rakudo/share/perl6/site/sources/0D39982E1C94F153C1C14ABBFA3A5290C3882527 (Red::Driver::SQLite) line 179
  in code  at /home/grfork/rakudo/share/perl6/site/sources/683B66E8BD8BDFE2428AE0E7FB97FA5F6D12E7CA (MetamodelX::Red::Model) line 787
  in method new-from-data at /home/grfork/rakudo/share/perl6/site/sources/683B66E8BD8BDFE2428AE0E7FB97FA5F6D12E7CA (MetamodelX::Red::Model) line 772
  in method pull-one at /home/grfork/rakudo/share/perl6/site/sources/482AD4B6866DEADA7EC0C600E692AE296F767E63 (Red::ResultSeq::Iterator) line 33
  in method head at /home/grfork/rakudo/share/perl6/site/sources/65ECE6F77543664E818F5CAD6DF6F578A9E808B5(Red::ResultSeq) line 312
  in method find at /home/grfork/rakudo/share/perl6/site/sources/683B66E8BD8BDFE2428AE0E7FB97FA5F6D12E7CA(MetamodelX::Red::Model) line 746
  in block  at /home/grfork/rakudo/share/perl6/site/sources/683B66E8BD8BDFE2428AE0E7FB97FA5F6D12E7CA (MetamodelX::Red::Model) line 626
  in method create at /home/grfork/rakudo/share/perl6/site/sources/683B66E8BD8BDFE2428AE0E7FB97FA5F6D12E7CA (MetamodelX::Red::Model) line 617
  in method add-credential at /home/grfork/rakudo/share/perl6/site/sources/55DF510CBCB0FB1F1FB16EA34D1CC8014B6C2483 (MUGS::Server::Storage::Driver::Red::SQLite) line 193
  in method create-account-owner at /home/grfork/rakudo/share/perl6/site/sources/7FB90DB38E2DD8A64DD0242056776BF8200C2221 (MUGS::Server) line 891
  in method create-account-owner at /home/grfork/rakudo/share/perl6/site/sources/7FB90DB38E2DD8A64DD0242056776BF8200C2221 (MUGS::Server) line 897
  in block  at /home/grfork/rakudo/share/perl6/site/sources/7FB90DB38E2DD8A64DD0242056776BF8200C2221 (MUGS::Server) line 684
  in method handle-client-message at /home/grfork/rakudo/share/perl6/site/sources/7FB90DB38E2DD8A64DD0242056776BF8200C2221 (MUGS::Server) line 662
  in block  at /home/grfork/rakudo/share/perl6/site/sources/7FB90DB38E2DD8A64DD0242056776BF8200C2221 (MUGS::Server) line 567
  in method send-to-server at /home/grfork/rakudo/share/perl6/site/sources/7D870C739FE39C858686E4BD422DC5D501594526 (MUGS::Server::Connection::Supplier) line 33
  in method send-to-server at /home/grfork/rakudo/share/perl6/site/sources/AE03EE97C71CE698F33A8FFC0A9033BF9CD8D836 (MUGS::Client::Connection::Supplier) line 45
  in method send-request at /home/grfork/rakudo/share/perl6/site/sources/41086D8434573AB5F5DAFCD0E672692B5F0D52B4 (MUGS::Client) line 459
  in method send-out-of-game-request at /home/grfork/rakudo/share/perl6/site/sources/41086D8434573AB5F5DAFCD0E672692B5F0D52B4 (MUGS::Client) line 454
  in method response-promise at /home/grfork/rakudo/share/perl6/site/sources/41086D8434573AB5F5DAFCD0E672692B5F0D52B4 (MUGS::Client) line 291
  in method create-account-owner at /home/grfork/rakudo/share/perl6/site/sources/41086D8434573AB5F5DAFCD0E672692B5F0D52B4 (MUGS::Client) line 306
  in block  at /home/grfork/rakudo/share/perl6/site/sources/83CCF817552C03F061F0379B20136F3997A24CB2 (MUGS::App::CLI) line 181
  in block  at /home/grfork/rakudo/share/perl6/site/sources/83CCF817552C03F061F0379B20136F3997A24CB2 (MUGS::App::CLI) line 167
  in method ensure-authenticated-session at /home/grfork/rakudo/share/perl6/site/sources/83CCF817552C03F061F0379B20136F3997A24CB2 (MUGS::App::CLI) line 158
  in sub play-via-local-ui at /home/grfork/rakudo/share/perl6/site/sources/0A644779C4CFF233C3B9C41DB4F0ABEAB0C9E894 (MUGS::App::LocalUI) line 285
  in sub MAIN at /home/grfork/rakudo/share/perl6/site/sources/83CCF817552C03F061F0379B20136F3997A24CB2 (MUGS::App::CLI) line 457
  in block <unit> at /home/grfork/rakudo/share/perl6/site/resources/AD5BA53464E40F04792B081241246B98D32B66DA line 5
  in sub MAIN at /home/grfork/rakudo/share/perl6/site/bin/mugs-cli line 3
  in block <unit> at /home/grfork/rakudo/share/perl6/site/bin/mugs-cli line 1

Unable to create user 'def'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant