# Tryton: tutorial: AttributeError: 'FormXMLViewParser' object has no attribute '\_parse\_lable'

**URL:** <https://discuss.tryton.org/t/tryton-tutorial-attributeerror-formxmlviewparser-object-has-no-attribute-parse-lable/6467>\
**Category:** Developer\
**Created:** [August 24, 2023, 9:10pm UTC](https://discuss.tryton.org/t/tryton-tutorial-attributeerror-formxmlviewparser-object-has-no-attribute-parse-lable/6467 "2023-08-24T21:10:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![awes7](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/67e7ee/32.png) [@awes7](https://discuss.tryton.org/u/awes7)\
**Post date:** [August 24, 2023, 9:10pm UTC](https://discuss.tryton.org/t/tryton-tutorial-attributeerror-formxmlviewparser-object-has-no-attribute-parse-lable/6467/1 "2023-08-24T21:10:26Z")

</div>

```auto
.venv) awes7@viiondev:~/projects/opportunity$ tryton
ERROR:tryton.common.common: File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/form.py", line 468, in sig_new
    self.screen.new()
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/screen/screen.py", line 649, in new
    self.switch_view(creatable=True)
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/screen/screen.py", line 570, in switch_view
    self.load_view_to_load()
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/screen/screen.py", line 595, in load_view_to_load
    self.add_view_id(view_id, view_type)
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/screen/screen.py", line 611, in add_view_id
    return self.add_view(view)
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/screen/screen.py", line 638, in add_view
    view = View.parse(
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/view/ __init__.py", line 75, in parse
    return ViewForm(view_id, screen, root)
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/view/form.py", line 462, in __init__
    super(). __init__ (view_id, screen, xml)
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/view/ __init__.py", line 36, in __init__
    ).parse(xml)
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/view/ __init__.py", line 132, in parse
    parser(node, node_attrs)
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/view/form.py", line 216, in _parse_form
    self.parse_child(node, container)
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/view/form.py", line 223, in parse_child
    self.parse(child)
  File "/home/awes7/projects/opportunity/.venv/lib/python3.10/site-packages/tryton/gui/window/view_form/view/ __init__.py", line 131, in parse
    parser = getattr(self, '_parse_%s' % node.tagName)

AttributeError: 'FormXMLViewParser' object has no attribute '_parse_lable'

```

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [August 24, 2023, 10:00pm UTC](https://discuss.tryton.org/t/tryton-tutorial-attributeerror-formxmlviewparser-object-has-no-attribute-parse-lable/6467/2 "2023-08-24T22:00:27Z")

</div>

> [@awes7](#):
>
> `AttributeError: 'FormXMLViewParser' object has no attribute '_parse_lable'`

There is a typo in your XML file, you typed `lable` instead of `label`.
