issue installing 4.04 on OpenSuse 15

classic Classic list List threaded Threaded
32 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

Scott Talbert
Well you should be able to install the package list I provided using
zypper, no?

On Mon, 28 Jan 2019, john fabiani` wrote:

> No I can't install 15.1using zypper due to one of the updates causing my
> Icore9 and Nivida card to crash.  However, I can install from scratch. 
>
> I have been aware of the issue for months and was going to wait for 15.2 or
> what ever came after 15.1.  That will be coming soon.
>
> Johnf
>
> On 01/28/2019 06:03 AM, Scott Talbert wrote:
>
>       Can you not install upates using zypper?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>
>
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

john fabiani`
No actually tried to do that even though YAST did not list the two
missing libs - so I tried zypper.  No luck. Did you use zypper?  If you
did do you recall the command line that you used.  I was concerned that
zypper files name were case sensitive and I wasn't sure I had it right.

Johnf

On 01/28/2019 07:49 AM, Scott Talbert wrote:

> Well you should be able to install the package list I provided using
> zypper, no?
>
> On Mon, 28 Jan 2019, john fabiani` wrote:
>
>> No I can't install 15.1using zypper due to one of the updates causing my
>> Icore9 and Nivida card to crash.  However, I can install from scratch.
>>
>> I have been aware of the issue for months and was going to wait for
>> 15.2 or
>> what ever came after 15.1.  That will be coming soon.
>>
>> Johnf
>>
>> On 01/28/2019 06:03 AM, Scott Talbert wrote:
>>
>>       Can you not install upates using zypper?
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups
>> "wxPython-users" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an
>> email to [hidden email].
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

Scott Talbert
Yes, I did:
sudo zypper install gcc-c++ make gtk3-devel webkit2gtk3-devel gstreamer-plugins-base-devel libtiff-devel libjpeg-devel libpng-devel SDL2-devel libSM-devel python3-devel zlib-devel libexpat-devel glu-devel

On Mon, 28 Jan 2019, john fabiani` wrote:

> No actually tried to do that even though YAST did not list the two missing
> libs - so I tried zypper.  No luck. Did you use zypper?  If you did do you
> recall the command line that you used.  I was concerned that zypper files
> name were case sensitive and I wasn't sure I had it right.
>
> Johnf
>
> On 01/28/2019 07:49 AM, Scott Talbert wrote:
>> Well you should be able to install the package list I provided using
>> zypper, no?
>>
>> On Mon, 28 Jan 2019, john fabiani` wrote:
>>
>>> No I can't install 15.1using zypper due to one of the updates causing my
>>> Icore9 and Nivida card to crash.  However, I can install from scratch.
>>>
>>> I have been aware of the issue for months and was going to wait for 15.2
>>> or
>>> what ever came after 15.1.  That will be coming soon.
>>>
>>> Johnf
>>>
>>> On 01/28/2019 06:03 AM, Scott Talbert wrote:
>>>
>>>       Can you not install upates using zypper?
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "wxPython-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to [hidden email].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

john fabiani`
I don't know what to say - I had high hopes at first because the zypper did in fact find the missing libs.  But then it failed with the same error missing setup.h. 

I going to wait until I have time to update to 15.1 to get this fixed.  I'm guessing but with me continuing to just use update and not using a fresh install the last four versions may have caused an issue  that I not aware of.  Maybe it has something to do with an updated file I got from pacman or some other issue.

Thanks for the help.  BTW I was able to install using VM of Ubuntu.

Johnf

On 01/28/2019 08:18 AM, Scott Talbert wrote:
Yes, I did:
sudo zypper install gcc-c++ make gtk3-devel webkit2gtk3-devel gstreamer-plugins-base-devel libtiff-devel libjpeg-devel libpng-devel SDL2-devel libSM-devel python3-devel zlib-devel libexpat-devel glu-devel

On Mon, 28 Jan 2019, john fabiani` wrote:

No actually tried to do that even though YAST did not list the two missing libs - so I tried zypper.  No luck. Did you use zypper?  If you did do you recall the command line that you used.  I was concerned that zypper files name were case sensitive and I wasn't sure I had it right.

Johnf

On 01/28/2019 07:49 AM, Scott Talbert wrote:
Well you should be able to install the package list I provided using zypper, no?

On Mon, 28 Jan 2019, john fabiani` wrote:

No I can't install 15.1using zypper due to one of the updates causing my
Icore9 and Nivida card to crash.  However, I can install from scratch.

I have been aware of the issue for months and was going to wait for 15.2 or
what ever came after 15.1.  That will be coming soon.

Johnf

On 01/28/2019 06:03 AM, Scott Talbert wrote:

      Can you not install upates using zypper?


-- 
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [hidden email].
For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

zylyco

Hi,

I had the same kind of issue on OpenSuse 42 (and still true on Leap 15, I tried it too..), and wxPython FROM SOURCES, use this link to see my post :

https://groups.google.com/forum/?hl=fr#!searchin/wxpython-users/zylyco%7Csort:date/wxpython-users/m1NPNd9qUaQ/yJDIkEXxBQAJ


The solution was to :

There was only "build/wxbld/gtk3/lib" folder, so I created a symbolic
link "lib64" pointing at "lib", and launched again the build command,
and all worked fine...


In a few words :

1) launch first the command : python3 setup.py build

2) then, when you have the error message, you have to create a symbolic link in order to create a "lib64" directory link pointing to the "lib" directory (in the build directory), with command : ln -s lib/ lib64

3) last, launch again the command : python3 setup.py build


This should fix your problem.


Bye


Le 28/01/2019 à 20:56, john fabiani` a écrit :
I don't know what to say - I had high hopes at first because the zypper did in fact find the missing libs.  But then it failed with the same error missing setup.h. 

I going to wait until I have time to update to 15.1 to get this fixed.  I'm guessing but with me continuing to just use update and not using a fresh install the last four versions may have caused an issue  that I not aware of.  Maybe it has something to do with an updated file I got from pacman or some other issue.

Thanks for the help.  BTW I was able to install using VM of Ubuntu.

Johnf

On 01/28/2019 08:18 AM, Scott Talbert wrote:
Yes, I did:
sudo zypper install gcc-c++ make gtk3-devel webkit2gtk3-devel gstreamer-plugins-base-devel libtiff-devel libjpeg-devel libpng-devel SDL2-devel libSM-devel python3-devel zlib-devel libexpat-devel glu-devel

On Mon, 28 Jan 2019, john fabiani` wrote:

No actually tried to do that even though YAST did not list the two missing libs - so I tried zypper.  No luck. Did you use zypper?  If you did do you recall the command line that you used.  I was concerned that zypper files name were case sensitive and I wasn't sure I had it right.

Johnf

On 01/28/2019 07:49 AM, Scott Talbert wrote:
Well you should be able to install the package list I provided using zypper, no?

On Mon, 28 Jan 2019, john fabiani` wrote:

No I can't install 15.1using zypper due to one of the updates causing my
Icore9 and Nivida card to crash.  However, I can install from scratch.

I have been aware of the issue for months and was going to wait for 15.2 or
what ever came after 15.1.  That will be coming soon.

Johnf

On 01/28/2019 06:03 AM, Scott Talbert wrote:

      Can you not install upates using zypper?


-- 
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [hidden email].
For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

john fabiani`
I'll be dammed I got it working? (at least I did not see an error message and I can do an import wx). 
I did in fact use the link command but that still produced an error - missing 'sip/cpp/_core.sbf'

So I decided to google
'sip/cpp/_core.sbf' and discovered https://wxpython-dev.wxwidgets.narkive.com/Sdn1NNA8/cannot-build-phoenix-from-github-master.  So I decided  what harm can it do (I know that is very wrong thinking) - and I did it.

So I ran " python3 build.py dox etg --nodoc sip build" and that took a long to finished but it did in fact finish. 
Then ran "python3 setup.py build"  and it finished too.

So I believe I have something working - I haven't run anything like the demo's at this point but I will.  I hope I will not regret making this statement.


Thanks to everyone for the help,

Johnf


On 01/30/2019 11:31 AM, Zylyco wrote:

Hi,

I had the same kind of issue on OpenSuse 42 (and still true on Leap 15, I tried it too..), and wxPython FROM SOURCES, use this link to see my post :

https://groups.google.com/forum/?hl=fr#!searchin/wxpython-users/zylyco%7Csort:date/wxpython-users/m1NPNd9qUaQ/yJDIkEXxBQAJ


The solution was to :

There was only "build/wxbld/gtk3/lib" folder, so I created a symbolic
link "lib64" pointing at "lib", and launched again the build command,
and all worked fine...


In a few words :

1) launch first the command : python3 setup.py build

2) then, when you have the error message, you have to create a symbolic link in order to create a "lib64" directory link pointing to the "lib" directory (in the build directory), with command : ln -s lib/ lib64

3) last, launch again the command : python3 setup.py build


This should fix your problem.


Bye


Le 28/01/2019 à 20:56, john fabiani` a écrit :
I don't know what to say - I had high hopes at first because the zypper did in fact find the missing libs.  But then it failed with the same error missing setup.h. 

I going to wait until I have time to update to 15.1 to get this fixed.  I'm guessing but with me continuing to just use update and not using a fresh install the last four versions may have caused an issue  that I not aware of.  Maybe it has something to do with an updated file I got from pacman or some other issue.

Thanks for the help.  BTW I was able to install using VM of Ubuntu.

Johnf

On 01/28/2019 08:18 AM, Scott Talbert wrote:
Yes, I did:
sudo zypper install gcc-c++ make gtk3-devel webkit2gtk3-devel gstreamer-plugins-base-devel libtiff-devel libjpeg-devel libpng-devel SDL2-devel libSM-devel python3-devel zlib-devel libexpat-devel glu-devel

On Mon, 28 Jan 2019, john fabiani` wrote:

No actually tried to do that even though YAST did not list the two missing libs - so I tried zypper.  No luck. Did you use zypper?  If you did do you recall the command line that you used.  I was concerned that zypper files name were case sensitive and I wasn't sure I had it right.

Johnf

On 01/28/2019 07:49 AM, Scott Talbert wrote:
Well you should be able to install the package list I provided using zypper, no?

On Mon, 28 Jan 2019, john fabiani` wrote:

No I can't install 15.1using zypper due to one of the updates causing my
Icore9 and Nivida card to crash.  However, I can install from scratch.

I have been aware of the issue for months and was going to wait for 15.2 or
what ever came after 15.1.  That will be coming soon.

Johnf

On 01/28/2019 06:03 AM, Scott Talbert wrote:

      Can you not install upates using zypper?


-- 
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [hidden email].
For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

john fabiani`
I am getting the following when running the demo.  In the past I got similar errors and it really didn't prevent anything from working.
[hidden email]> python3 demo.py

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)

(demo.py:73645): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)                                                                       
                                                                                                          
(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)                                                                       
                                                                                                          
(demo.py:73645): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)                                                                       
                                                                                                          
(demo.py:73645): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node radiobutton, owner GtkRadioButton)

(demo.py:73645): Gtk-WARNING **: for_size smaller than min-size (0 < 18) while measuring gadget (node radio, owner GtkRadioButton)

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkRadioButton

(demo.py:73645): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node radiobutton, owner GtkRadioButton)

(demo.py:73645): Gtk-WARNING **: for_size smaller than min-size (0 < 18) while measuring gadget (node radio, owner GtkRadioButton)

(demo.py:73645): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkRadioButton

(demo.py:73645): Gtk-WARNING **: Negative content width -5 (allocation 1, extents 3x3) while allocating gadget (node entry, owner GtkEntry)

(demo.py:73645): Gtk-WARNING **: Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node entry, owner GtkEntry)

(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkColorButton)

(demo.py:73645): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkColorButton)

(demo.py:73645): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node overlay, owner GtkColorSwatch)

(demo.py:73645): Gtk-WARNING **: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node overlay, owner GtkColorSwatch)

(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkColorButton)

(demo.py:73645): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkColorButton)

(demo.py:73645): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node overlay, owner GtkColorSwatch)

(demo.py:73645): Gtk-WARNING **: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node overlay, owner GtkColorSwatch)

(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkColorButton)

(demo.py:73645): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkColorButton)

(demo.py:73645): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node overlay, owner GtkColorSwatch)

(demo.py:73645): Gtk-WARNING **: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node overlay, owner GtkColorSwatch)

(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkColorButton)

(demo.py:73645): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkColorButton)

(demo.py:73645): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node overlay, owner GtkColorSwatch)

(demo.py:73645): Gtk-WARNING **: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node overlay, owner GtkColorSwatch)

Johnf

On 01/30/2019 03:10 PM, john fabiani` wrote:
I'll be dammed I got it working? (at least I did not see an error message and I can do an import wx). 
I did in fact use the link command but that still produced an error - missing 'sip/cpp/_core.sbf'

So I decided to google
'sip/cpp/_core.sbf' and discovered https://wxpython-dev.wxwidgets.narkive.com/Sdn1NNA8/cannot-build-phoenix-from-github-master.  So I decided  what harm can it do (I know that is very wrong thinking) - and I did it.

So I ran " python3 build.py dox etg --nodoc sip build" and that took a long to finished but it did in fact finish. 
Then ran "python3 setup.py build"  and it finished too.

So I believe I have something working - I haven't run anything like the demo's at this point but I will.  I hope I will not regret making this statement.


Thanks to everyone for the help,

Johnf


On 01/30/2019 11:31 AM, Zylyco wrote:

Hi,

I had the same kind of issue on OpenSuse 42 (and still true on Leap 15, I tried it too..), and wxPython FROM SOURCES, use this link to see my post :

https://groups.google.com/forum/?hl=fr#!searchin/wxpython-users/zylyco%7Csort:date/wxpython-users/m1NPNd9qUaQ/yJDIkEXxBQAJ


The solution was to :

There was only "build/wxbld/gtk3/lib" folder, so I created a symbolic
link "lib64" pointing at "lib", and launched again the build command,
and all worked fine...


In a few words :

1) launch first the command : python3 setup.py build

2) then, when you have the error message, you have to create a symbolic link in order to create a "lib64" directory link pointing to the "lib" directory (in the build directory), with command : ln -s lib/ lib64

3) last, launch again the command : python3 setup.py build


This should fix your problem.


Bye


Le 28/01/2019 à 20:56, john fabiani` a écrit :
I don't know what to say - I had high hopes at first because the zypper did in fact find the missing libs.  But then it failed with the same error missing setup.h. 

I going to wait until I have time to update to 15.1 to get this fixed.  I'm guessing but with me continuing to just use update and not using a fresh install the last four versions may have caused an issue  that I not aware of.  Maybe it has something to do with an updated file I got from pacman or some other issue.

Thanks for the help.  BTW I was able to install using VM of Ubuntu.

Johnf

On 01/28/2019 08:18 AM, Scott Talbert wrote:
Yes, I did:
sudo zypper install gcc-c++ make gtk3-devel webkit2gtk3-devel gstreamer-plugins-base-devel libtiff-devel libjpeg-devel libpng-devel SDL2-devel libSM-devel python3-devel zlib-devel libexpat-devel glu-devel

On Mon, 28 Jan 2019, john fabiani` wrote:

No actually tried to do that even though YAST did not list the two missing libs - so I tried zypper.  No luck. Did you use zypper?  If you did do you recall the command line that you used.  I was concerned that zypper files name were case sensitive and I wasn't sure I had it right.

Johnf

On 01/28/2019 07:49 AM, Scott Talbert wrote:
Well you should be able to install the package list I provided using zypper, no?

On Mon, 28 Jan 2019, john fabiani` wrote:

No I can't install 15.1using zypper due to one of the updates causing my
Icore9 and Nivida card to crash.  However, I can install from scratch.

I have been aware of the issue for months and was going to wait for 15.2 or
what ever came after 15.1.  That will be coming soon.

Johnf

On 01/28/2019 06:03 AM, Scott Talbert wrote:

      Can you not install upates using zypper?


-- 
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [hidden email].
For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

Tim Roberts
john fabiani` wrote:
(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)

(demo.py:73645): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)                                                                       
                                                                                                          
(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)                                                                       

I get dozens of these when my relatively complicated wxWidgets application starts up on Linux.  I have wasted a great deal of time trying to chase this down without success, but I SUSPECT the problem is related to notebook pages.  When the initial sizer fitting is done, I'm guessing it hasn't yet assigned a size to all of the inactive notebook pages, so it thinks they are 0 pixels wide, and with padding that makes some of the widths negative.  The widgets always place themselves when the first resize message comes along, so nothing ever looks wrong, but my client hates those messages.

-- 
Tim Roberts, [hidden email]
Providenza & Boekelheide, Inc.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

john fabiani`
I've seen these in the past with both 2.8 and 3.x with python 2.7 (at least similar messages) on Windows and Linux.  They don't seem to do any harm but still I'd like have them gone.  Maybe Robin has a clue.

Johnf

On 01/30/2019 03:58 PM, Tim Roberts wrote:
john fabiani` wrote:
(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)

(demo.py:73645): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)                                                                       
                                                                                                          
(demo.py:73645): Gtk-WARNING **: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)                                                                       

I get dozens of these when my relatively complicated wxWidgets application starts up on Linux.  I have wasted a great deal of time trying to chase this down without success, but I SUSPECT the problem is related to notebook pages.  When the initial sizer fitting is done, I'm guessing it hasn't yet assigned a size to all of the inactive notebook pages, so it thinks they are 0 pixels wide, and with padding that makes some of the widths negative.  The widgets always place themselves when the first resize message comes along, so nothing ever looks wrong, but my client hates those messages.

-- 
Tim Roberts, [hidden email]
Providenza & Boekelheide, Inc.
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

Robin Dunn


On Wednesday, January 30, 2019 at 6:15:45 PM UTC-8, johnf wrote:
I've seen these in the past with both 2.8 and 3.x with python 2.7 (at least similar messages) on Windows and Linux.  They don't seem to do any harm but still I'd like have them gone.  Maybe Robin has a clue.


It's been a long while since I've looked into it, but IIRC there are really too many variables to be able to do anything about the GTK warnings that would work everywhere all the time. For example, different versions of GTK, even different micro versions, can have different warnings (or none) triggered for the same code, even to the point that fixing one warning in one version, will trigger a different version, etc. It can also vary by the compilation flags that a distro chooses to build their GTK libraries with. And I think that different themes can have differing effects on what warnings are produced. So, last I checked, the wxWidgets developers are not putting much effort into squashings all those schizophrenic warnings. 

At the end of the day however, they are just warnings and do not indicate that there is a real problem. It's more of a "be careful" message as far as I'm concerned. There may be a way to turn off the generation of the GTK warnings, I've never really looked for a way to do it. Maybe an environment variable can be set or something.

--
Robin

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

Robin Dunn

On Wednesday, January 30, 2019 at 8:41:27 PM UTC-8, Robin Dunn wrote:
even to the point that fixing one warning in one version, will trigger a different version, etc. 

...will trigger a different warning in the next version... 

--
Robin

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: issue installing 4.04 on OpenSuse 15

john fabiani`
In reply to this post by Robin Dunn
Thanks for the heads up on the root cause.  Like I said the warnings don't seem to do any harm. 

Johnf

On 01/30/2019 08:41 PM, Robin Dunn wrote:


On Wednesday, January 30, 2019 at 6:15:45 PM UTC-8, johnf wrote:
I've seen these in the past with both 2.8 and 3.x with python 2.7 (at least similar messages) on Windows and Linux.  They don't seem to do any harm but still I'd like have them gone.  Maybe Robin has a clue.


It's been a long while since I've looked into it, but IIRC there are really too many variables to be able to do anything about the GTK warnings that would work everywhere all the time. For example, different versions of GTK, even different micro versions, can have different warnings (or none) triggered for the same code, even to the point that fixing one warning in one version, will trigger a different version, etc. It can also vary by the compilation flags that a distro chooses to build their GTK libraries with. And I think that different themes can have differing effects on what warnings are produced. So, last I checked, the wxWidgets developers are not putting much effort into squashings all those schizophrenic warnings. 

At the end of the day however, they are just warnings and do not indicate that there is a real problem. It's more of a "be careful" message as far as I'm concerned. There may be a way to turn off the generation of the GTK warnings, I've never really looked for a way to do it. Maybe an environment variable can be set or something.

--
Robin
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
12