question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'TranslationForm' object has no attribute '_meta'

See original GitHub issue

Issue summary

When try to translate page it makes error.

Traceback: http://dpaste.com/0D6ZAJC [edited link - with longer expiration]

How to reproduce?

  • Install Wagtail with Wagtailtrans
  • Use wagtail start mysite
  • Add TranslatablePage inheritance to HomePage
  • Create translatable root and site
  • Add 2 languages
  • Create Homepage (default language)
  • Select ‘Translate into’ and choose language
  • ERROR

Technical details

  • Python 3.5.0
  • Django 1.10.5
  • wagtail 1.8
  • wagtailtrans 0.1.1

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
drcongocommented, Feb 20, 2017

For anyone looking to make this work in time for a technical demo this afternoon 😉 you can add…

    class _meta(object):
        exclude = []
        fields = []

to wagtailtrans.forms.TranslationForm

0reactions
Henk-JanVanHasselaarcommented, Jan 10, 2017

@nrsimha Oke, thank you! We’ve reproduced the issue, we’ll be working on a fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Error: object has no attribute 'META' - Stack Overflow
Almost everything about your code is wrong. The template_name attribute is defined inside the class not inside the get_context_data method.
Read more >
17913 ('X' object has no attribute 'META' in RequestContext)
AttributeError at /v2/ 'str' object has no attribute 'META'. Maybe it should be TypeError with value "the first argument should be HttpRequest object, ......
Read more >
Django : 'Request' object has no attribute 'META' - YouTube
Django : 'Request' object has no attribute ' META ' [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Django : 'Request' ...
Read more >
1224459 – AttributeError: 'User' object has no attribute '_meta'
Summary: AttributeError: 'User' object has no attribute '_meta' ... Per Tuskar-ui requirements, python-django-1.8.1 is not supported.
Read more >
AttributeError: type object 'Product' has no attribute '_meta'
AttributeError : type object 'Product' has no attribute '_meta'. 1498 views. Skip to first unread message.. yogesh gupta's profile photo ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found