FlaskBB
A lightweight forum software in Flask
Member
offline
96 posts
wew in forum Playground

wew

test

*$fvm, in forum Playground

test

HAHAHAHAHAHAHHAHAHA

testing in forum Playground

test

123 in forum Playground

quote herestrong text

When trying to register a user, this error occurs:

Traceback (most recent call last):
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/steam/flaskbb/flaskbb/auth/views.py", line 163, in register
    send_activation_token.delay(user)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/celery/app/task.py", line 412, in delay
    return self.apply_async(args, kwargs)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/celery/app/task.py", line 535, in apply_async
    **options
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/celery/app/base.py", line 737, in send_task
    amqp.send_task_message(P, name, message, **options)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/celery/app/amqp.py", line 558, in send_task_message
    **properties
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/kombu/messaging.py", line 169, in publish
    compression, headers)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/kombu/messaging.py", line 252, in _prepare
    body) = dumps(body, serializer=serializer)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/kombu/serialization.py", line 221, in dumps
    payload = encoder(data)
  File "/usr/lib/python3.4/contextlib.py", line 77, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/kombu/serialization.py", line 54, in _reraise_errors
    reraise(wrapper, wrapper(exc), sys.exc_info()[2])
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/vine/five.py", line 175, in reraise
    raise value.with_traceback(tb)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/kombu/serialization.py", line 50, in _reraise_errors
    yield
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/kombu/serialization.py", line 221, in dumps
    payload = encoder(data)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/kombu/utils/json.py", line 72, in dumps
    **dict(default_kwargs, **kwargs))
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/simplejson/__init__.py", line 397, in dumps
    **kw).encode(obj)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/simplejson/encoder.py", line 291, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/simplejson/encoder.py", line 373, in iterencode
    return _iterencode(o, 0)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/kombu/utils/json.py", line 62, in default
    return super(JSONEncoder, self).default(o)
  File "/home/steam/flaskbb/.venv/lib/python3.4/site-packages/simplejson/encoder.py", line 268, in default
    raise TypeError(repr(o) + " is not JSON serializable")
kombu.exceptions.EncodeError: <User testuser> is not JSON serializable

HERE ME ROWR.

:D 💯 🉑

Hi everyone,

I've installed flaskbb software as shown in documentation and everything forks fine when I run development server ( flaskbb run )
I deployed the flaskbb under nginx / uwsgi, it runs but every time I try to send any form ( login, for example ) I get the error "The CSRF session token is missing."
I tried to use WTF_CSRF_ENABLED = False option but in this case login doesn't work at all. Maybe you have any idea how to resolve the problem?
I'd appreciate any help cause I have no idea. My configuration files:

uwsgi

[uwsgi]
chdir=/path/to/flaskbb/
venv=/path/to/flaskbb/.venv/
socket=127.0.0.1:9003
mount=/flaskbb=wsgi.py
callable=flaskbb
plugin=python
manage-script-name=true

nginx

server {
        listen 80 default_server;
        root /path/to/myapp_dir;

        error_log /var/log/nginx/error.forums.log;

        location / {
            include uwsgi_params;
            uwsgi_pass 127.0.0.1:9001;
        }

        location /flaskbb/ {
            try_files $uri @flaskbb;
        }

        location /flaskbb/static/ {
            alias /path/to/flaskbb/flaskbb/static/;
        }

        location ~ ^/_themes/([^/]+)/(.*)$ {
            alias /path/to/flaskbb/flaskbb/themes/$1/static/$2;
        }

        location @flaskbb {
            include uwsgi_params;
            uwsgi_param SCRIPT_NAME /flaskbb;
            uwsgi_pass 127.0.0.1:9003;
        }

        location /static/ {
            if (-f $request_filename) {
                rewrite ^/static/(.*)$ /static/$1 break;
            }
        }
    }

Hi

I have few questions about flaskbb and tried to register here but haven't received confirmation email. Does it work?
Could you check please...
Thanks.

test

ucraft is the best

Hi, how I can install FlaskBB without this commands?

$ git clone https://github.com/sh4nks/flaskbb.git
$ cd flaskbb

etc..

A new test topic

enter image description here

HELP in forum Playground

teste

建安摘要

asdf in forum Playground

asdfasdf hj

aaaaaaaaaaaaaaaaaaaa

Tedt in forum Playground

Tedt