First time here? Check out the FAQ!

Erick Almeida's profile - activity

2019-03-05 16:42:53 -0600 received badge Popular Question (source)
2019-03-05 16:42:53 -0600 received badge Notable Question (source)
2017-07-05 12:17:56 -0600 marked best answer Askbot + Nginx + URL Accents = Problem

I install Askbot with Nginx and configure pt_BR locale. All URL with accent broken. After this I install apache(slow) and everything works fine.

2017-07-05 12:17:47 -0600 received badge Notable Question (source)
2017-07-05 12:14:45 -0600 received badge Enthusiast
2017-03-22 14:43:44 -0600 received badge Supporter ( source )
2015-10-28 13:46:03 -0600 received badge Notable Question (source)
2015-10-28 13:46:03 -0600 received badge Popular Question (source)
2014-05-14 06:02:03 -0600 received badge Notable Question (source)
2014-05-04 04:25:47 -0600 received badge Popular Question (source)
2013-05-23 03:15:16 -0600 received badge Famous Question (source)
2012-12-21 03:57:56 -0600 received badge Popular Question (source)
2012-10-23 11:52:11 -0600 received badge Taxonomist
2012-10-23 05:11:02 -0600 received badge Famous Question (source)
2012-08-09 14:53:13 -0600 received badge Nice Question (source)
2012-08-09 10:42:00 -0600 commented question How do I disable cache?

There are any way to disable or invalidade a cache?

2012-08-09 09:40:06 -0600 asked a question How do I disable cache?

I'm trying disable cache and not working. I use 'dummy' cache, but I get error.

root@webhost2:/var/www/ask# ./manage.py runserver 10.0.0.34:8000
Validating models...

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/askbot-0.7.43-py2.7.egg/askbot/deps/livesettings/values.py", line 306, in _value
    val = self.setting.value
  File "/usr/local/lib/python2.7/dist-packages/askbot-0.7.43-py2.7.egg/askbot/deps/livesettings/values.py", line 288, in _setting
    return find_setting(self.group.key, self.key)
  File "/usr/local/lib/python2.7/dist-packages/askbot-0.7.43-py2.7.egg/askbot/deps/livesettings/models.py", line 37, in find_setting
    setting = cache_get(ck)
  File "/usr/local/lib/python2.7/dist-packages/django_keyedcache-1.4_6-py2.7.egg/keyedcache/__init__.py", line 184, in cache_get
    cache_require()
  File "/usr/local/lib/python2.7/dist-packages/django_keyedcache-1.4_6-py2.7.egg/keyedcache/__init__.py", line 298, in cache_require
    raise CacheNotRespondingError()
CacheNotRespondingError
("Startup error, couldn't load EXTERNAL_KEYS.RECAPTCHA_SECRET", None)
0 errors found
Django version 1.3.1, using settings 'ask.settings'
Development server is running at http://10.0.0.34:8000/
Quit the server with CONTROL-C.
2012-07-18 13:13:15 -0600 asked a question Error when mark tag as Ignored/Interesting

I using "tag-editor" branch.


Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 39, in wrapped_view
    resp = view_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 52, in wrapped_view
    return view_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/askbot-0.7.43-py2.7.egg/askbot/utils/decorators.py", line 77, in wrapper
    return view_func(request, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/askbot-0.7.43-py2.7.egg/askbot/utils/decorators.py", line 41, in wrap
    return view_func(request, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/askbot-0.7.43-py2.7.egg/askbot/views/commands.py", line 431, in mark_tag
    reason = post_data['reason']

KeyError: 'reason'


<wsgirequest get:<querydict:="" {}="">,
POST:<querydict: {u'{"tagnames":["shop"]}':="" [u'']}="">,
COOKIES:{'__utma': '108398098.1863074581.1342614625.1342619234.1342628017.3',
 '__utmb': '108398098.94.10.1342628017',
 '__utmc': '108398098',
 '__utmz': '108398098.1342614625.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
 'ask.alterdata.com.br_csrf': '1e2796b56ac5afc33cc2e5e80f4da230',
 'askbot_visitor': 'False',
 'sessionid': 'e65048a8ceccfcd3b8e3ab4ce1ba96e7'},
META:{'CONTENT_LENGTH': '21',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',
 'DOCUMENT_ROOT': '/var/www/ask',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'application/json, text/javascript, */*; q=0.01',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
 'HTTP_ACCEPT_LANGUAGE': 'pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4',
 'HTTP_CACHE_CONTROL': 'no-cache',
 'HTTP_CONNECTION': 'Keep-Alive',
 'HTTP_COOKIE': 'askbot_visitor=False; sessionid=e65048a8ceccfcd3b8e3ab4ce1ba96e7; ask.alterdata.com.br_csrf=1e2796b56ac5afc33cc2e5e80f4da230; __utma=108398098.1863074581.1342614625.1342619234.1342628017.3; __utmb=108398098.94.10.1342628017; __utmc=108398098; __utmz=108398098.1342614625.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
 'HTTP_HOST': 'ask.alterdata.matriz',
 'HTTP_ORIGIN': 'http://ask.alterdata.matriz',
 'HTTP_PRAGMA': 'no-cache',
 'HTTP_REFERER': 'http://ask.alterdata.matriz/perguntas/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11',
 'HTTP_VIA': '1.1 NT00',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH_INFO': u'/mark-tag/ignored/',
 'PATH_TRANSLATED': '/var/www/ask/apache/django.wsgi/mark-tag/ignored/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '10.0.0.10',
 'REMOTE_PORT': '44961',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/mark-tag/ignored/',
 'SCRIPT_FILENAME': '/var/www/ask/apache/django.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '10.0.5.106',
 'SERVER_ADMIN': '[no address given]',
 'SERVER_NAME': 'ask.alterdata.matriz',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '
Apache/2.2.22 (Ubuntu) Server at ask.alterdata.matriz Port 80
\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'mod_wsgi.application_group': 'ask.alterdata.matriz|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': '', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.log object="" at="" 0x7f30183b3870="">, 'wsgi.file_wrapper': <built-in method="" file_wrapper="" of="" mod_wsgi.adapter="" object="" at="" 0x7f30183e0eb8="">, 'wsgi.input': <mod_wsgi.input object="" at="" 0x7f30205d62f0="">, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>
2012-07-18 13:10:30 -0600 received badge Famous Question (source)
2012-07-16 11:17:41 -0600 asked a question Error enabling TinyMCE

Failed to load resource: the server responded with a status of 404 (Not Found) http://ask.alterdata.com.br/m/common/media/js/tinymce/tiny_mce.js?v=7 Uncaught ReferenceError: tinyMCE is not defined /pergunta/21/onde-chegaremos/#23:579

2012-07-14 07:23:53 -0600 received badge Famous Question (source)
2012-07-13 07:46:28 -0600 commented answer Configure LDAP authentication

Evgeny, hi. I try this blog but don't work. There any any log for authentication failures?

2012-07-12 17:01:24 -0600 received badge Nice Question (source)
2012-07-12 16:35:24 -0600 commented answer Is it possible to use Sphinx with Postgres?

It works, now. I change manualy the functions in Postgres. The management command don't update the functions.

2012-07-12 16:29:55 -0600 commented answer Is it possible to use Sphinx with Postgres?

I change ts_vector('english') to ts_vector('portuguese'). Then I run "./manage.py init_postgresql_full_text_search". Nothing changes in search.

2012-07-12 16:23:47 -0600 commented answer Is it possible to use Sphinx with Postgres?

If I change this the internal queries of Askbot run correctely?

2012-07-12 15:26:27 -0600 commented answer Configure LDAP authentication

If I try login with LDAP username (that not exists in askbot database) I get this message in askbot.log: MSG: forms.py:clean:77 unknown provider name local

2012-07-12 15:21:57 -0600 commented answer Configure LDAP authentication

In my case I don't change screen name. But I cleanning a database to a clean test.

2012-07-12 15:10:43 -0600 received badge Commentator
2012-07-12 15:10:43 -0600 commented answer Configure LDAP authentication

Evgeny, I install this branch. After on LDAP logon method I canot login in the system. The form for "local" register disapear.

2012-07-12 15:04:19 -0600 commented answer Is it possible to use Sphinx with Postgres?

I have problems with search yet. I have a word "problema" within a question. If I search for this word the system no returns nothing. Do you have any ideia how I can resolve this issue?

2012-07-12 14:31:35 -0600 commented answer Is it possible to use Sphinx with Postgres?

I find typing ./manage.py --help (the correctly command is: init_postgresql_full_text_search)

2012-07-12 14:30:07 -0600 commented answer Is it possible to use Sphinx with Postgres?

What typo error? I don't find this command in documentation page. When I try run above command i get this message: Unknown command: 'init_postgres_full_text_search'

2012-07-12 13:59:33 -0600 marked best answer Is it possible to use Sphinx with Postgres?

Is it possible to use Sphinx with Postgres?