suyu8776's profile - activity
2018-03-14 16:50:37 -0500 | received badge | Notable Question (source) |
2017-09-05 14:56:15 -0500 | received badge | Famous Question (source) |
2015-03-19 10:40:21 -0500 | received badge | Popular Question (source) |
2013-05-14 15:42:25 -0500 | received badge | Notable Question (source) |
2013-01-22 21:46:50 -0500 | received badge | Popular Question (source) |
2012-08-13 08:03:16 -0500 | received badge | Famous Question (source) |
2012-07-10 07:48:00 -0500 | received badge | Famous Question (source) |
2010-12-14 09:50:56 -0500 | commented answer | How to use other language? c:\python25\lib\site-packages\askbot-0.6.41-py2.5.egg\askbot\middleware\pagesize.py TIME: 2010-12-14 22:53:34,950 MSG: pagesize.py:process_exception:43 <type 'exceptions.UnicodeDecodeError'>
c:\python25\lib\site-packages\askbot-0.6.41-py2.5.egg\askbot\middleware\pagesize.py TIME: 2010-12-14 22:53:34,950 MSG: pagesize.py:process_exception:44 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)
When i click badges link,there are above errors in log file.I think it should be added u'' before the translated words(in chinese),is it? |
2010-12-14 00:02:39 -0500 | commented answer | How to use other language? After trying the translated version,i found there are some words on page that were not tanslated yet.For Example in questions page,there were "more answers","popular","Click to see the newest questions","Click to see the least recently updated questions" etc. |
2010-12-13 23:43:46 -0500 | commented answer | How to use other language? yes,you are right.i changed the language code to zh_CN in setting.py and locale directory name to zh_CN ,then i works.And i find there are some words should be translated again because the trangslated meaning is not very good. |
2010-12-13 23:40:34 -0500 | commented answer | How to use other language? Which locale should be change?I changed it in setting.py file,it could not worked too. |
2010-12-13 22:18:11 -0500 | commented answer | How to use other language? I translated them on http://askbot.org/rosetta.and downloaded file from there too. |
2010-12-13 21:53:27 -0500 | commented answer | How to use other language? Ok,i will take some time to translate the js file,but now i have some questions.I have use poedit to translate po file to mo file and set the language code in setting.py, but i can not view the chinese words on page,why? |
2010-12-13 19:36:25 -0500 | commented answer | How to use other language? I had executed "fuzzy" messages,there were only a little messages i didn't know the exact meaning and translate tool didn't give out the appropriate meaning.So i left them.Maybe someone else could translate them. |
2010-12-13 02:35:40 -0500 | commented answer | How to use other language? If the command is work correctly in your computer,could you upload the mo file to http://askbot.org/rosetta. |
2010-12-12 21:19:54 -0500 | commented answer | How to use other language? I copy files from directory askbot/setup_templates into "askbot" directory,and run the command,but there is error too,it mentions "msgfmt is not intenal or outer command". |
2010-12-12 21:15:58 -0500 | commented answer | How to use other language? My skype account is suyu8776 |
2010-12-12 19:59:09 -0500 | commented answer | How to use other language? In Chinese "vote" and "votes" are the same word.After i installed "askbot",the manage.py file was in the "setup_templates" directory ,so when i run the command "python ../manage.py compilemessages" from the "askbot" directory ,the command couldn't work ,and i ran the command from the "setup_templates" directory,the above error was found. |
2010-12-12 09:27:17 -0500 | commented answer | How to use other language? Error: This script should be run from the Django SVN tree or your project or app
tree, or with the settings module specified. |
2010-12-12 08:10:47 -0500 | commented answer | How to use other language? I had translated all phrases that i knew how to translate.There are also some phrases not translated.But i found only 68.00% completed in screen.And i found when i ran command "python ../manage.py compilemessages",there were some errors. |
2010-12-12 00:31:29 -0500 | commented answer | How to use other language? Now i am translating to chinese in my computer.I see the url that you give,and then i will translate it on http://askbot.org/rosetta. |
2010-12-11 22:39:50 -0500 | commented answer | How to use other language? Chinese and korean |
2010-12-11 20:01:45 -0500 | asked a question | How to use other language? Can i set other language? |
2010-12-09 08:47:01 -0500 | commented answer | There hasn't database file? Yes,you are right,when i change the MySQL engine to MyISAM,there is no this error and everything is ok.Thanks! |
2010-12-09 02:29:52 -0500 | commented answer | There hasn't database file? Yes,i use "manage.py migrate",and then another error occur:_mysql_exceptions.OperationalError: (1025, "Error on rename of '.\\cnprog\\#sql-b4c_a0' to '.\\cnprog\\django_authopenid_userassociation' (errno: 150)") |
2010-12-09 01:27:58 -0500 | received badge | Student (source) |
2010-12-09 01:04:07 -0500 | commented question | UndefinedError: 'settings' is undefined I downloaded a new version 0.6.41,and the problem has gone.But i found that there wasn't a whole database dump file(mysql),and i used "manage.py syncdb" script couldn't sync all tables; I hope there is a whole database dump file in the next version. |
2010-12-09 00:58:18 -0500 | asked a question | There hasn't database file? There isn't whole database dump file in the project. I used script "manage.py syncdb" couldn't dump all tables. |
2010-12-07 04:00:12 -0500 | answered a question | UndefinedError: 'settings' is undefined Traceback (most recent call last): File "c:\python25\lib\site-packages\django-1.1.2-py2.5.egg\django\core\servers\basehttp.py", line 279, in run self.result = application(self.environ, self.start_response) File "c:\python25\lib\site-packages\django-1.1.2-py2.5.egg\django\core\servers\basehttp.py", line 651, in __call__ return self.application(environ, start_response) File "c:\python25\lib\site-packages\django-1.1.2-py2.5.egg\django\core\handlers\wsgi.py", line 241, in __call__ response = self.get_response(request) File "c:\python25\lib\site-packages\django-1.1.2-py2.5.egg\django\core\handlers\base.py", line 141, in get_response return self.handle_uncaught_exception(request, resolver, exc_info) File "c:\python25\lib\site-packages\django-1.1.2-py2.5.egg\django\core\handlers\base.py", line 180, in handle_uncaught_exception return callback(request, **param_dict) File "c:\python25\lib\site-packages\django-1.1.2-py2.5.egg\django\views\defaults.py", line 24, in server_error return http.HttpResponseServerError(t.render(Context({}))) File "c:\python25\lib\site-packages\django-1.1.2-py2.5.egg\django\template__init__.py", line 165, in render return self.nodelist.render(context) File "c:\python25\lib\site-packages\django-1.1.2-py2.5.egg\django\template__init__.py", line 784, in render bits.append(self.render_node(node, context)) File "c:\python25\lib\site-packages\django-1.1.2-py2.5.egg\django\template__init__.py", line 797, in render_node return node.render(context) File "c:\python25\lib\site-packages\askbot-0.6.39-py2.5.egg\askbot\templatetags\extra_tags.py", line 125, in render return jinja_template.render(context) File "c:\python25\lib\site-packages\coffin-0.3-py2.5.egg\coffin\template__init__.py", line 51, in render return super(Template, self).render(**context) File "c:\python25\lib\site-packages\jinja2-2.5.5-py2.5.egg\jinja2\environment.py", line 891, in render return self.environment.handle_exception(exc_info, True) File "C:\Python25\lib\site-packages\askbot-0.6.39-py2.5.egg\askbot\skins\default\templates\500.jinja.html", line 1, in top-level template code {% extends "two_column_body.html" %} File "C:\Python25\lib\site-packages\askbot-0.6.39-py2.5.egg\askbot\skins\default\templates\two_column_body.html", line 1, in top-level template code {% extends "base.html" %} File "C:\Python25\lib\site-packages\askbot-0.6.39-py2.5.egg\askbot\skins\default\templates\base.html", line 4, in top-level template code {% spaceless %} File "c:\python25\lib\site-packages\coffin-0.3-py2.5.egg\coffin\template\defaulttags.py", line 348, in _strip_spaces return strip_spaces_between_tags(caller().strip()) File "C:\Python25\lib\site-packages\askbot-0.6.39-py2.5.egg\askbot\skins\default\templates\base.html", line 6, in template <title>{% block title %}{% endblock %} - {{ settings.APP_TITLE|escape }}</title> File "c:\python25\lib\site-packages\jinja2-2.5.5-py2.5.egg\jinja2\environment.py", line 371, in getattr return getattr(obj, attribute) UndefinedError: 'settings' is undefined |
2010-12-07 03:58:14 -0500 | asked a question | UndefinedError: 'settings' is undefined In windows,i install askbot ,when i open http://localhost:8000 in chrome.I get these error.Would someone tell me the reson?
|