Opened 12 years ago

Closed 12 years ago

#1164 closed defect (fixed)

Bug while starting the turtle activity

Reported by: amigojapan Owned by: wadeb
Priority: Unspecified by Maintainer Milestone: Unspecified
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!

Change History (5)

comment:1 Changed 12 years ago by alsroot

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 12 years ago by amigojapan

  • Resolution fixed deleted
  • Status changed from closed to reopened

It is not fixed, still wont load...

also I was told to add this,

anonymous@ubuntu:~$ locale
LANG=ja_JP.UTF-8
LC_CTYPE="ja_JP.UTF-8"
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_PAPER="ja_JP.UTF-8"
LC_NAME="ja_JP.UTF-8"
LC_ADDRESS="ja_JP.UTF-8"
LC_TELEPHONE="ja_JP.UTF-8"
LC_MEASUREMENT="ja_JP.UTF-8"
LC_IDENTIFICATION="ja_JP.UTF-8"
LC_ALL=

comment:4 Changed 12 years ago by wadeb

This should be fixed in version 21.

Please download from http://activities.sugarlabs.org/en-US/sugar/addon/4026 and let me know if it's not.

Thanks,
-Wade

comment:5 Changed 12 years ago by wadeb

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.