Ticket #1164 (closed defect: fixed)
Bug while starting the turtle activity
| Reported by: | amigojapan | Owned by: | wadeb |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | Unspecified by Release Team |
| Component: | TypingTurtle | Version: | 0.84.x |
| Severity: | Unspecified | Keywords: | |
| Cc: | Distribution/OS: | Ubuntu | |
| Bug Status: | Unconfirmed |
Description
I am running sugar-emulator on ubuntu with japanese locale.
after downloading typing turtle I clicked on the icon of the journal...
after flashing for a while, it gave up and braught me back to the journal entry.
here is what the people on freenode's #sugar chatroom told me to include in this ticket:
root@ubuntu:~# python -c "import locale; print locale.getdefaultlocale()[0]"
None
(this is from the terminal in sugar)
then from ubuntu anonymous@ubuntu:~/.sugar/default/logs$ gedit org.laptop.community.TypingTurtle-4.log file contains:
/var/lib/python-support/python2.6/sugar/util.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
1250086119.509935 WARNING root: No gtk.AccelGroup in the top level window.
1250086119.606964 WARNING root: No gtk.AccelGroup in the top level window.
Traceback (most recent call last):
File "/usr/bin/sugar-activity", line 21, in <module>
main.main()
File "/var/lib/python-support/python2.6/sugar/activity/main.py", line 140, in main
create_activity_instance(activity_constructor, activity_handle)
File "/var/lib/python-support/python2.6/sugar/activity/main.py", line 34, in create_activity_instance
activity = constructor(handle)
File "/home/anonymous/Activities/TypingTurtle.activity/typingturtle.py", line 79, in init
self.mainscreen = mainscreen.MainScreen(self)
File "/home/anonymous/Activities/TypingTurtle.activity/mainscreen.py", line 81, in init
self.load_lessons('lessons/' + code)
TypeError: cannot concatenate 'str' and 'NoneType' objects
Ok, thanx for the good works!
