-
Notifications
You must be signed in to change notification settings - Fork 7
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
map': undefined method
name'
#1
Comments
Thank you for reporting this. I will look into it right away. Would you mind sharing your platform too? (e.g. Mac Catalina or Windows 10). Also, do you know what version of Ruby are you running? (you can run One last question is are you running the project by installing the gem or by cloning? If by cloning, did you perhaps forget to run |
OK, I tested on the Mac (Catalina) by installing the gem and by starting with a cloned project from scratch, and both modes worked. I will look into testing on Linux next (in case you are running on Linux). |
I just tested on Ubuntu Linux 21 and had no issues either (both gem and repository modes). I will need more info from you regarding my questions above to help you further. |
OK, I found the issue by running an older version of Ruby (2.7.2).
The project clearly states it requires Ruby 3.0.2 to run. Please upgrade your Ruby installation to Ruby 3.0.2 The easiest way to do so is through RVM: https://rvm.io/ |
Good news! I just fixed compatibility with older Ruby versions down to 2.7.2 (and perhaps lower too). I released the fix in version 0.0.13 Please give it a try and let me know if it works (you shouldn't have to upgrade Ruby anymore). Cheers. |
@AndyObtiva Thx for the quick reply! I was running 2.6.x which i updated to 3.0.2 which solved this issue. But now when i run i get the following error: Looking forward to using the GUI. If i can buy you a coffe im happy to donate some. |
Looks like something with the tk library: |
The error is surprising. I don't get it. You didn't tell me what platform you are running on yet. I assume you are on a Mac. If so, which Mac version? Catalina, Big Sur, Monterey, or another? Could you also please confirm for me that you have a recent version of ActiveTcl like 8.6.9 ? It looks like the Tk library is unable to load the image: See if you can open the file yourself successfully just to make sure it is there. It has the logo of CryptoPunks GUI: If the image works fine, then perhaps there is an issue in the code that is interacting with Tk. In that case, open this file: Go to line 449, specifically: the_image = ::TkPhotoImage.new(image_args) Add require 'pd'; pd image_args; pd the_image = ::TkPhotoImage.new(image_args) Save the file, and re-run cryptopunks-gui You should see output like this:
Please share output with me. It might have a clue to what is going wrong. |
He, thx! im going to try this today. Ill let you know what happens. |
Similar Issue Mac Cataline 10.15.7
|
ActiveTcl 8.5 is old! I just updated the README with a specific version for ActiveTcl: 8.6. For example, I am running ActiveTcl version 8.6.9 successfully. I also added more detailed prerequisite install instructions: Mac:
Windows:
Linux:
|
Hi, is this resolved? |
He,
I tried to fix it myself but i'm not very proficient in Ruby
When i run ruby app/cryptopunks_gui.rb i get he following error:
/Users/jefsev/Local Sites/NFT-generator/CryptoPunkGUI/cryptopunks/app/model/image.rb:4:in
map': undefined methodname' for :BLUE_STOPS:Symbol (NoMethodError)
Let me know if i am doing something wrong and how i could fix this.
Thx!
The text was updated successfully, but these errors were encountered: