First time here? Check out the FAQ!

gadial's profile - activity

2023-05-01 22:42:27 -0500 received badge Taxonomist
2012-10-12 09:17:13 -0500 asked a question Problem with translation to Hebrew

I am trying to run Askbot on Bluehost and to translate it to Hebrew. Everything works perfect most of the time. However, when I try to translate several specific strings in the .po file I get the following error (given by the Apache server - I wasn't able to reproduce it any other way):

************************
*                      *
*   Askbot self-test   *
*                      *
************************


Your output encoding is not UTF-8, there may be issues with the software when anything is printed to the terminal or log files.

Two strings that cause the error:

"What kinds of questions can I ask here?"

"Did not find what you were looking for?"

It doesn't matter what I translate them to - even "test" (in English) causes the error. I guess that the question mark is important here, but some strings that contain question marks have been successfully translated, such as

"What should \"unanswered question\" mean?"

"Are tags required?"

Even if there is no immediate solution I'll be happy to hear ideas on how to debug this. I'm a newbie to Askbot and Django in general so there might be an easy way I'm missing (for example, how can I activate this "self-test" from the command line?).

2012-10-06 10:37:42 -0500 asked a question "must be owner of database" error while installing on bluehost

I am attempting to install askbot on bluehost by following the standard instructions. On my home computer all went well. On bluehost I created a psql database "johndoene_ask" and user "johndoene_user" associated with that database. My login username on bluehost is "johndoene".

I get this error:

johndoene@johndoe.net [~/public_html/ask]# python27 manage.py migrate


************************
*                      *
*   Askbot self-test   *
*                      *
************************


Please run command

    python manage.py collectstatic
/home3/johndoene/python27/lib/python2.7/site-packages/Coffin-0.3.7-py2.7.egg/coffin/common.py:73: UserWarning: Cannot translate loader: askbot.skins.loaders.filesystem_load_template_source
  warnings.warn('Cannot translate loader: %s' % loader)
relation "askbot_badgedata" does not exist
LINE 1: ..."."slug", "askbot_badgedata"."awarded_count" FROM "askbot_ba...
                                                             ^

Running migrations for longerusername:
- Nothing to migrate.
 - Loading initial data for longerusername.
No fixtures found.
Running migrations for django_authopenid:
- Nothing to migrate.
 - Loading initial data for django_authopenid.
No fixtures found.
Running migrations for askbot:
 - Migrating forwards to 0149_auto__add_field_group_is_vip.
 > askbot:0022_init_postgresql_full_text_search
Error in migration: askbot:0022_init_postgresql_full_text_search
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/home3/johndoene/python27/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/home3/johndoene/python27/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home3/johndoene/python27/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home3/johndoene/python27/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/home3/johndoene/python27/lib/python2.7/site-packages/South-0.7.6-py2.7.egg/south/management/commands/migrate.py", line 108, in handle
    ignore_ghosts = ignore_ghosts,
  File "/home3/johndoene/python27/lib/python2.7/site-packages/South-0.7.6-py2.7.egg/south/migration/__init__.py", line 213, in migrate_app
    success = migrator.migrate_many(target, workplan, database)
  File "/home3/johndoene/python27/lib/python2.7/site-packages/South-0.7.6-py2.7.egg/south/migration/migrators.py", line 235, in migrate_many
    result = migrator.__class__.migrate_many(migrator, target, migrations, database)
  File "/home3/johndoene/python27/lib/python2.7/site-packages/South-0.7.6-py2.7.egg/south/migration/migrators.py", line 310, in migrate_many
    result = self.migrate(migration, database)
  File "/home3/johndoene/python27/lib/python2.7/site-packages/South-0.7.6-py2.7.egg/south/migration/migrators.py", line 133, in migrate
    result = self.run(migration)
  File "/home3/johndoene/python27/lib/python2.7/site-packages/South-0.7.6-py2.7.egg/south/migration/migrators.py", line 107, in run
    return self.run_migration(migration)
  File "/home3/johndoene/python27/lib/python2.7/site-packages/South-0.7.6-py2.7.egg/south/migration/migrators.py", line 81, in run_migration
    migration_function()
  File "/home3/johndoene/python27/lib/python2.7/site-packages/South-0.7.6-py2.7.egg/south/migration/migrators.py", line 57, in <lambda>
    return (lambda: direction(orm))
  File "/home3/johndoene/python_stuff/johndoe_askbot/askbot/migrations/0022_init_postgresql_full_text_search.py", line 23, in forwards
    setup_full_text_search(script_path)
  File "/home3/johndoene/python_stuff/johndoe_askbot/askbot/search/postgresql/__init__.py ...
(more)