Skip to content

AttributeError: 'NoneType' object has no attribute 'traverse' #220

@ahmedsalhin

Description

@ahmedsalhin

while trying to app.css.get_all_css() I get this error

Traceback (most recent call last):
  File "/Users/ahmed.salhin/anaconda3/envs/cash_flow/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2862, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-94-41ada8291459>", line 1, in <module>
    app.css.get_all_css()
  File "/Users/ahmed.salhin/anaconda3/envs/cash_flow/lib/python3.6/site-packages/dash/resources.py", line 104, in get_all_css
    return self._resources.get_all_resources()
  File "/Users/ahmed.salhin/anaconda3/envs/cash_flow/lib/python3.6/site-packages/dash/resources.py", line 56, in get_all_resources
    all_resources = (
  File "/Users/ahmed.salhin/anaconda3/envs/cash_flow/lib/python3.6/site-packages/dash/resources.py", line 87, in get_inferred_resources
    extract_resource_from_component(t)
AttributeError: 'NoneType' object has no attribute 'traverse'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions