Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

File upload path error #20

Closed
rochacbruno opened this issue Aug 14, 2013 · 0 comments
Closed

File upload path error #20

rochacbruno opened this issue Aug 14, 2013 · 0 comments

Comments

@rochacbruno
Copy link
Collaborator

13.08 23:09:44 quokka       ERROR    Exception on /admin/fileview/new/ [GET]
Traceback (most recent call last):
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask_admin/base.py", line 60, in inner
    return f(self, **kwargs)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask_admin/base.py", line 60, in inner
    return f(self, **kwargs)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask_admin/base.py", line 60, in inner
    return f(self, **kwargs)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask_admin/base.py", line 60, in inner
    return f(self, **kwargs)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask_admin/model/base.py", line 1079, in create_view
    form = self.create_form()
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask_admin/model/base.py", line 660, in create_form
    return self._create_form_class(get_form_data(), obj=obj)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/wtforms/form.py", line 178, in __call__
    return type.__call__(cls, *args, **kwargs)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask_admin/form/__init__.py", line 13, in __init__
    super(BaseForm, self).__init__(formdata=formdata, obj=obj, prefix=prefix, **kwargs)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/wtforms/form.py", line 226, in __init__
    super(Form, self).__init__(self._unbound_fields, prefix=prefix)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/wtforms/form.py", line 39, in __init__
    field = unbound_field.bind(form=self, name=name, prefix=prefix, translations=translations)
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/wtforms/fields/core.py", line 314, in bind
    return self.field_class(_form=form, _prefix=prefix, _name=name, _translations=translations, *self.args, **dict(self.kwargs, **kwargs))
  File "/home/rochacbruno/.virtualenvs/quokka-test-1/local/lib/python2.7/site-packages/flask_admin/form/upload.py", line 163, in __init__
    super(FileUploadField, self).__init__(label, validators, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'path'
kalkehcoisa pushed a commit to kalkehcoisa/quokka that referenced this issue Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant