guysoft / PleromaPi

RaspberryPi / CustomPiOS distro that run Pleroma out of the box
GNU General Public License v3.0
35 stars 1 forks source link

(MatchError) no match of right hand side value: {[assume_yes: true], ["–admin"], []} #13

Closed litecave closed 2 years ago

litecave commented 2 years ago

I'm using Latest nightly version

Happening when creating new admin user thru command.

Error:


** (MatchError) no match of right hand side value: {[assume_yes: true], ["–admin"], []}
    lib/mix/tasks/pleroma/user.ex:18: Mix.Tasks.Pleroma.User.run/1
    (stdlib) erl_eval.erl:680: :erl_eval.do_apply/6```
guysoft commented 2 years ago

Hey, does the new user work? Might be related to: https://git.pleroma.social/pleroma/pleroma/-/issues/2720 (Also perhaps this one: https://git.pleroma.social/pleroma/pleroma/-/issues/2737)

guysoft commented 2 years ago

Ok, I tested here locally and it seems to give me the same issue. I reported it here: https://git.pleroma.social/pleroma/pleroma/-/issues/2839

guysoft commented 2 years ago

Ok found the bug. The email was missing a default value.

Current workaround is to not relay on the default value and input a valid email in the the email field..

I will release an RC2 that fixes this.

guysoft commented 2 years ago

Fixed in RC2

litecave commented 2 years ago

nice

guysoft commented 2 years ago

@litecave If you can test and report its working for you, I could release :)

litecave commented 2 years ago

yeah, ok, i'm gonna test it rn.

guysoft commented 2 years ago

@litecave I hope its ok asking you again - any idea when you might test it? \

litecave commented 2 years ago

yea, just didn't had time 'cuz unexpected IRL problems after messaging. I'm gonna test it rn.