Skip to content

[Bug]: Wavshare2in13_V4 won't display #424

@hjscott7690

Description

@hjscott7690

Contact Details

[email protected]

What happened?

no matter what i put in, it keeps replacing with dummydisplay.py during restart, just to be clear the file doens't change just whats in debug

[ui.display]
enabled = true
rotation = 0
type = 'waveshare2in13_V4'

Version

2.9.5.2

3rd Party Hardware

No

Relevant log output

Traceback (most recent call last):
  File "/usr/bin/pwnagotchi", line 8, in <module>
    sys.exit(pwnagotchi_cli())
             ^^^^^^^^^^^^^^^^
  File "/home/pi/.pwn/lib/python3.11/site-packages/pwnagotchi/cli.py", line 322, in pwnagotchi_cli
    display = Display(config=config, state={'name': '%s>' % pwnagotchi.name()})
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pi/.pwn/lib/python3.11/site-packages/pwnagotchi/ui/display.py", line 12, in __init__
    super(Display, self).__init__(config, hw.display_for(config), state)
  File "/home/pi/.pwn/lib/python3.11/site-packages/pwnagotchi/ui/view.py", line 51, in __init__
    self._layout = impl.layout()
                   ^^^^^^^^^^^^^
  File "/home/pi/.pwn/lib/python3.11/site-packages/pwnagotchi/ui/hw/dummydisplay.py", line 28, in layout
    lw, lh = fonts.Small.getbbox("W")
    ^^^^^^
ValueError: too many values to unpack (expected 2)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions