Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Exception: There should be either 2 or 4 but we have [(side-R31-Gr, side-F24-Rd)] #48

Copy link
Copy link
@guinasc2

Description

@guinasc2
Issue body actions

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?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.