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

IndexError: list index out of range #5

Open
Saumya-Mishra9129 opened this issue Jun 12, 2020 · 1 comment
Open

IndexError: list index out of range #5

Saumya-Mishra9129 opened this issue Jun 12, 2020 · 1 comment

Comments

@Saumya-Mishra9129
Copy link
Member

Saumya-Mishra9129 commented Jun 12, 2020

Traceback (most recent call last):
File "/usr/bin/sugar-activity3", line 5, in
activityinstance.main()
File "/usr/lib/python3/dist-packages/sugar3/activity/activityinstance.py", line 230, in main
instance = create_activity_instance(activity_constructor, activity_handle)
File "/usr/lib/python3/dist-packages/sugar3/activity/activityinstance.py", line 59 , in create_activity_instance
activity = constructor(handle)
File "/usr/share/sugar/activities/mastermind-activity/activity.py", line 54, in init
self.read_file()
File "/usr/share/sugar/activities/mastermind-activity/activity.py", line 128, in read_file
current.append(data["balls"][x][data["level"]])
IndexError: list index out of range

Steps to produce - Play a game till end i.e. complete whole board , press stop button to exit from activity , resume activity from journal check in logs.

@drLite35
Copy link

Not able to reproduce it on UTM macos.

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