Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race: EVT_WINDOW_CREATE sent too early in some window managers #366

Closed
lahwaacz opened this issue Nov 29, 2014 · 8 comments
Closed

Race: EVT_WINDOW_CREATE sent too early in some window managers #366

lahwaacz opened this issue Nov 29, 2014 · 8 comments

Comments

@lahwaacz
Copy link

Having outspline-0.8.1 from AUR and wxpython-3.0.1.1 installed:

$ outspline 
/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
CRITICAL: Uncaught exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/outspline/interfaces/wxgui/rootw.py", line 192, in _handle_creation
    databases.dbpropmanager.post_init()
  File "/usr/lib/python2.7/site-packages/outspline/interfaces/wxgui/dbprops.py", line 52, in post_init
    self.nb_icon_index = wx.GetApp().nb_right.add_image(
AttributeError: 'GUI' object has no attribute 'nb_right'
@kynikos
Copy link
Owner

kynikos commented Nov 29, 2014

Ouch... I can't reproduce... Can you please post the output of outspline -L30?

@lahwaacz
Copy link
Author

Sure, here it is:

$ outspline -L30
90 | :: Start logging (level 30, file /home/lahwaacz/.config/outspline/outspline.log) [logger 199 MainThread]
90 | :: Outspline version 0.8.1 (2014-11-29) [logger 202 MainThread]
100 | :: Loaded extension: copypaste [addons 209 MAIN]
102 | :: Loaded extension: organism [addons 209 MAIN]
104 | :: Loaded extension: organism_timer [addons 209 MAIN]
105 | :: Loaded extension: organism_alarms [addons 209 MAIN]
107 | :: Loaded extension: organism_basicrules [addons 209 MAIN]
/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
382 | CRITICAL: Uncaught exception [__init__ 40 MAIN]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/outspline/interfaces/wxgui/rootw.py", line 192, in _handle_creation
    databases.dbpropmanager.post_init()
  File "/usr/lib/python2.7/site-packages/outspline/interfaces/wxgui/dbprops.py", line 52, in post_init
    self.nb_icon_index = wx.GetApp().nb_right.add_image(
AttributeError: 'GUI' object has no attribute 'nb_right'

@kynikos
Copy link
Owner

kynikos commented Nov 29, 2014

I can only think of a race bug... What is your window manager?

@lahwaacz
Copy link
Author

i3

@kynikos
Copy link
Owner

kynikos commented Nov 29, 2014

Yep, as I thought, I can reproduce it in i3, and also awesome... It's all right in openbox and xfwm... i3 and awesome issue the window creation event too early, I'll work on it... Thanks for your help!!! (I'm going to update the title of the report)

@kynikos kynikos changed the title AttributeError: 'GUI' object has no attribute 'nb_right' Race: EVT_WINDOW_CREATE sent too early in some window managers Nov 29, 2014
@kynikos kynikos modified the milestones: 0.8.2, 0.9.0 Nov 29, 2014
kynikos added a commit that referenced this issue Nov 29, 2014
@kynikos kynikos closed this as completed Nov 29, 2014
@kynikos
Copy link
Owner

kynikos commented Nov 29, 2014

Fixed in 0.8.2

@lahwaacz
Copy link
Author

Indeed, thanks.

@kynikos
Copy link
Owner

kynikos commented Nov 29, 2014

Again, I thank you, it was practically broken for I guess 75% of the Arch users XD I would have never thought there could be a bug like that if it wasn't for you eheh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants