Skip to content

Crashes with NameError: name 'unicode' is not defined. #9

@dreirund

Description

@dreirund

When I build this (using this AUR package), and then run fern, and then configure my login, afterwards it crashes with

Traceback (most recent call last):
  File "/usr/bin/fern", line 905, in <module>
    main()
  File "/usr/bin/fern", line 894, in main
    else: tl=getTimeline("all", verbose=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/fern", line 644, in getTimeline
    for item in which.split(): tl.extend(getTimeline(item, **kw_args))
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/fern", line 666, in getTimeline
    tl=ensureCached(tl)
       ^^^^^^^^^^^^^^^^
  File "/usr/bin/fern", line 755, in ensureCached
    elif type(toot) in [str, unicode]: # TID
                             ^^^^^^^
NameError: name 'unicode' is not defined

This crash repeats when I want to start fern again.

Python version: 3.11.6.

Regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions