question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

problem running esphome flasher in lubuntu 20.04

See original GitHub issue

Hi, I tried to get it to run, installed all dependencies and now I got this traceback when starting :

Traceback (most recent call last):
  File "/home/geertsteyaert/esphome-flasher-master/esphome-flasher-master/esphomeflasher/gui.py", line 286, in OnInit
    frame = MainFrame(None, "esphome-flasher (Based on NodeMCU PyFlasher)")
  File "/home/geertsteyaert/esphome-flasher-master/esphome-flasher-master/esphomeflasher/gui.py", line 177, in __init__
    self._init_ui()
  File "/home/geertsteyaert/esphome-flasher-master/esphome-flasher-master/esphomeflasher/gui.py", line 226, in _init_ui
    serial_boxsizer.Add(reload_button, 0, wx.ALIGN_RIGHT, 20)
wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_RIGHT)" failed at /home/wxpy/wxPython-4.1.0/ext/wxWidgets/src/common/sizer.cpp(2094) in DoInsert(): Horizontal alignment flags are ignored in horizontal sizers
OnInit returned false, exiting...

Any idea?

Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

4reactions
damitjimiicommented, May 13, 2020

Just fyi: pip3 uninstall package wxPython pip3 uninstall esphomeflasher pip3 cache purge pip3 install wxPython==4.0.7.post2 pip3 install esphomeflasher

2reactions
didaccscommented, Apr 28, 2020

As a workaround I uninstalled wxPython and esphomeflasher and install previous version of wxPython (4.0.7) and install again esphomeflasher, and now works fine!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions — ESPHome
I can't get flashing over USB to work.¶. ESPHome depends on the operating system the tool is running on to recognize the ESP....
Read more >
Flashing ESPHome Firmware on ESP32 Microcontroller Linux ...
The following instructions will show vendors how to install the ESPHome firmware on the ESP32 microcontroller using a PC or laptop running ......
Read more >
News Roundup | Techrights - Part 34
Make Use Of ☛ How to Fix the “sudo: command not found” Error on Linux ... So if you already run Ubuntu 20.04...
Read more >
ESPHome v 1.19.4 add on in Home Assistant - devices never ...
I've tried from both Linux Ubuntu 18.04, and 20.04. ... being quick to run esphome-flasher got me through with flashing my current devices....
Read more >
Smart Speaker with Volumio, Raspberry Pi 3 and Adafruit ...
Thonny runs on Mac, Windows and Linux distributions, in the video it is used ... tool Jitsi Meet on 64-bit Ubuntu 20.04 for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found