-
Notifications
You must be signed in to change notification settings - Fork 28
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
Exception: There should be either 2 or 4 but we have [(side-R31-Gr, side-F24-Rd)] #48
Comments
There is a file in /tmp/ called |
I can't find this file anywhere. Is there any /tmp/ inside another folder? |
It should be |
I still can't find it. Do you think I may have skipped any steps during the installation? |
my bad, I just looked at the code and at some point I stopped writing the file to /tmp and started writing it in the current directory :( Look in the directory with |
I didn't find it in the directory. Do I have to do anything besides run the code for it to appear? |
@dwalton76 Is there any reason this file wouldn't be there? @guinasc2 Can you show us the output of the |
@guinasc2 can you re-install rubiks-color-resolver per the README at https://github.com/dwalton76/rubiks-color-resolver Just to make sure you are running the latest and greatest |
Same issue. Everything is installed per the instructions. Any ideas from here?
Directory Contents
|
@mm738 please attach the rubiks-color-resolver.html file, that has the info I need to try to figure out what happened. |
@dwalton76 sure, what are the steps to enable it? Currently it is not created. The below yields nothing.
|
@mm738 that is really weird. If you run this from the directory where your
The values above are from your which shows the initial cube colors as: Those are some pretty strange colors:
Can you post a picture of the cube so I can get an idea of the color scheme? |
Sorry to bother you again, but I need help. Now the solver scans the cube and returns a JSON with the readings, but then it returns me the following error:
'''
2019-12-06 14:15:38,943 mindcuber.py ERROR: There should be either 2 or 4 but we have [(side-R31-Gr, side-F24-Rd)]
Traceback (most recent call last):
File "./mindcuber.py", line 520, in
mcube.scan()
File "./mindcuber.py", line 380, in scan
self.rgb_solver.crunch_colors()
File "/usr/local/lib/python3.5/dist-packages/rubikscolorresolver/init.py", line 1806, in crunch_colors
self.sanity_check_edge_squares()
File "/usr/local/lib/python3.5/dist-packages/rubikscolorresolver/base.py", line 964, in sanity_check_edge_squares
self.sanity_check_edges_red_orange_count_for_orbit(orbit_id)
File "/usr/local/lib/python3.5/dist-packages/rubikscolorresolver/base.py", line 894, in sanity_check_edges_red_orange_count_for_orbit
fix_orange_vs_red_for_color("green", green_red_or_orange_edges)
File "/usr/local/lib/python3.5/dist-packages/rubikscolorresolver/base.py", line 799, in fix_orange_vs_red_for_color
% target_color_red_or_orange_edges
Exception: There should be either 2 or 4 but we have [(side-R31-Gr, side-F24-Rd)]
2019-12-06 14:15:39,776 mindcuber.py INFO: Shutting down
'''
What should I do?
The text was updated successfully, but these errors were encountered: