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

Error when opening the solver app - please help... (Sorry, I know nothing about programming, I just need help.) #27

Open
Deltricxulub opened this issue Sep 6, 2022 · 6 comments

Comments

@Deltricxulub
Copy link

So when I first tried to open the app, it didn't open because I had to extract all files from the folder. I did that, but now when I open it, this happens: an error message from the windows system 32 running thing opens up for a fraction of a second and disappears again. I managed to get a screenshot of it. What should I do? Here is the screenshot.
(https://user-images.githubusercontent.com/112972098/188698743-e484ae6d-8e93-4e48-983a-d85c8cb7c3e1.png)

@Deltricxulub Deltricxulub changed the title Error when opening the solver app - please help... Error when opening the solver app - please help... (Sorry, I know nothing about programming, I just need help.) Sep 6, 2022
@mchung94
Copy link
Owner

mchung94 commented Sep 7, 2022

Hi, sorry about the problems you've been having - I need to work on making it easier to run. I unfortunately have not had any time to make progress on this yet.

It looks like the error is about the version of Java that you're using may be older - I use Java 11 that I downloaded from https://adoptium.net/ - I think you may be using Java 8.

Also it is a command line program, not a graphical app that you can just click on. So to run the program you need to open up the command prompt (cmd.exe). I have an old video where I walk through how to run the program at https://www.youtube.com/watch?v=15EBJO5PNnU but it's from a few years ago - today I would install Java using adoptium.net.. I hope that is helpful.

If it still does not work after upgrading your Java version, I may need to make a fix.

@mchung94
Copy link
Owner

mchung94 commented Sep 7, 2022

I also wanted to mention, as you've said you don't know about programming - did you install Java just to try out my program? I am worried that maybe you already have Java installed in order to run some other program, and that upgrading to a newer version may cause a problem with other apps on your computer.

If you already have Java installed because of another program, I think you should not try to run this program because it needs Java 11 installed. I will work on a new way to run this program where you don't have to install Java yourself, but it may be months before I get it ready.

@Deltricxulub
Copy link
Author

Deltricxulub commented Sep 12, 2022 via email

@Deltricxulub
Copy link
Author

Deltricxulub commented Sep 12, 2022 via email

@mchung94
Copy link
Owner

I'm sorry the program isn't working for you - I'll take a look at it this weekend when I have more time to figure out what could be going wrong.

@mchung94
Copy link
Owner

I still haven't figured out what the problem could be, but here are some things that might be worth checking if you are interested. I made a brief video on youtube at https://youtu.be/I9dOXXKO8Sc showing what happens when I try to run it on a Pyramid game, and in the middle I use the --show-prompts option to make it pop up a window after it flips through the face down cards. That might be helpful to see where it is at. After it flips through the cards, it takes a few seconds (up to a minute) to figure out what the solution is.

  1. It only understands the Classic Theme and Classic Card Deck.
  2. The toolbar at the bottom with the buttons like New, Undo, etc. should be visible. Click on the triangle on the bottom right of the window to make sure it's visible.
  3. Check what the solitaire-player program prints when it starts up, it'll try to resize the Solitaire Collection window to 1440x900, and expects the scaling factor to be 100% (this is the part of the Windows Display Settings where you can increase the size of text, apps, and other items to over 100% to make it bigger). Mine looks like this:

System Report:
Window Size (after adjustment) = 1440x900
Expected Window Size = 1440x900
DPI = 96
Expected DPI = 96
Scaling Factor = 100.0%
Primary Screen Size (Adjusted for Scaling Factor) = 3840x1600
Expected Primary Screen Size = 3840x1600

  1. Finally one more thing you can try is run with the --show-prompts option, for example "solitaire-player --show-prompts Pyramid" - this will pop up a window to show you the cards after it finishes flipping through the face down cards in the deck. The "--show-prompts" option starts with two dashes.

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

2 participants