-
Notifications
You must be signed in to change notification settings - Fork 423
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
in `initialize': wrong number of arguments (given 2, expected 1) #390
Comments
This seems to be related to const_set :Parser, parser with const_set :Parser, JSON::Pure::Parser |
@jose1711 @joe-batt Have you tried opening Background: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/ |
Hello @brandondrew , I have the same issue as @jose1711 on Ubuntu. Here is what I have at the location you mentioned (which is also the place pointed at by my error message): Parser.new(source, opts).parse I tried this: Parser.new(source, **opts).parse Got that:
As suggested by the error message, I tried with the --debug flag:
So, it seems your suggestion solved my first issue. (I'll now be digging into my next issue which is surprising as I have fontforge installed but this is a separate question.) Thanks! |
@lcuis have u solve the fontforge problem? i have the same problem, thx |
Hi @dapaopaopao . Sorry, I don't remember this topic at the moment. It seems it was on a different computer than the one I use today as the files are not present. If I stumble on this problem again, I will try to bring a better answer. I probably found another way to get what I needed. For sure, I use FontForge to edit fonts with success. I remember automating SVG imports from Inkscape to FontForge in a very weird but working way using xdotool . I wish you to easily find a solution to your issue. |
how did you solve this? |
Hi @Oscarz90 , Sorry, I don't remember better than the comment I wrote then. I hope you'll find a way. |
Getting the following on
fontcustom compile
:The text was updated successfully, but these errors were encountered: