Skip to content

Unhandled Error - AttributeError: 'Config' object has no attribute 'styles' #5

@Rabidgeek

Description

@Rabidgeek

I'm able to run, customize a bit and run again PiClock3 manually. No problems there. However, trying to get it to start on reboot - tried two ways, first was a crontab -e, added '@reboot /usr/bin/python3 /home/pi/PiClock3/PyQtPiClock3.py' but it refuses to run because qt.qpa.plugin and qt.qpa.xcb could not connect to display, need to reinstall Qt... so I wrote a display.desktop in /etc.xdg/autostart with similar command to run PiClock3. However, it gives me the Unhandled Error on boot and does not execute the program. I can open terminal and run python3 PyQtPiClock3.py and it starts up just fine! Seems problem is running this so early in startup?

looking forward to your map update!

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