Bug#913309: Pcbnew: assertion failed on startup

2018-11-14 Thread Carsten Schoenert
Version: 5.0.1+dfsg1-3~bpo9+1
Control: tags -1 buster-ignore

Closing this issue now, it wasn't automatically closed due missed entry
of the bug number in the changelog.

On Sun, Nov 11, 2018 at 08:45:02AM +0100, Carsten Schoenert wrote:
> Hello Alexandre,
> 
> Am 11.11.18 um 04:39 schrieb Alexandre Oliveira:
> > I've found the problem. Back in August, when I installed Debian on my
> > laptop, I tried installing Kicad 5.0 by adding the testing (buster) to
> > my apt sources. I managed to mess up my entire system, but I also
> > managed to fix it by downgrading the upgraded packages. Looks like I
> > missed one in the downgrade process.
> > 
> > The problematic package was python-wxgtk3.0, version 3.0.2.0+dfsg-8,
> > when it should be using version 3.0.2.0+dfsg-4. I've downgraded it and
> > Pcbnew is working again.
> 
> then we indeed have a problem with the packaging.
> We need a stricter versioning on the depending packages. I'll have a
> look. Thanks for this important information!
 
-- 
Regards
Carsten Schoenert



Bug#913309: Pcbnew: assertion failed on startup

2018-11-11 Thread Alexandre Oliveira
On 11/11/2018 05:45, Carsten Schoenert wrote:
> then we indeed have a problem with the packaging.
> We need a stricter versioning on the depending packages. I'll have a
> look. Thanks for this important information!
I was looking at the changelog and this particular change for
wxpython3.0 (3.0.2.0+dfsg-7) is interesting:
> * debian/control: build against GTK+ 3 build of wxwidgets3.0
Maybe, after all, what Wayne said may be true? I don't know what was
used before that change, but it could be GTK+2, which caused the problem
by using the unstable package. I'm just a newbie in this area but, to
me, this could be part of the problem.

(re-sending because I didn't send to list)



Bug#913309: Pcbnew: assertion failed on startup

2018-11-10 Thread Carsten Schoenert
Hello Alexandre,

Am 11.11.18 um 04:39 schrieb Alexandre Oliveira:
> I've found the problem. Back in August, when I installed Debian on my
> laptop, I tried installing Kicad 5.0 by adding the testing (buster) to
> my apt sources. I managed to mess up my entire system, but I also
> managed to fix it by downgrading the upgraded packages. Looks like I
> missed one in the downgrade process.
> 
> The problematic package was python-wxgtk3.0, version 3.0.2.0+dfsg-8,
> when it should be using version 3.0.2.0+dfsg-4. I've downgraded it and
> Pcbnew is working again.

then we indeed have a problem with the packaging.
We need a stricter versioning on the depending packages. I'll have a
look. Thanks for this important information!

-- 
Regards
Carsten Schoenert



Bug#913309: Pcbnew: assertion failed on startup

2018-11-10 Thread Alexandre Oliveira


On 10/11/2018 06:51, Carsten Schoenert wrote:
> Control: forwarded -1 https://bugs.launchpad.net/kicad/+bug/1802359
> Control: tags -1 help
>
> Hello Alexandre,
>
> Am 09.11.18 um 14:32 schrieb Alexandre Oliveira:
>> Package: kicad
>> Version: 5.0.1+dfsg1-2~bpo9+1
>> Severity: important
>>
>> Dear Maintainer,
>>
>> After updating to KiCad v5.0.1 through stretch-backports, starting
>> Pcbnew will crash, with an assertion failed error (down below).>
>> I've created an issue on their issue tracker and they told me this is
>> an old problem, caused by building wxwidgets with gtk2 and wxpython
>> with gtk3.>
>> Link to the issue: https://bugs.launchpad.net/kicad/+bug/1802359
> right now I won't believe in Wayne statement as we talking about about
> Stretch which doesn't now anything about GTK3 in wxWidgets or wxpython.
> So it might be there is some other reason why you see this error.
> Correctly there is not that much I can do about this problem.
>

I've found the problem. Back in August, when I installed Debian on my
laptop, I tried installing Kicad 5.0 by adding the testing (buster) to
my apt sources. I managed to mess up my entire system, but I also
managed to fix it by downgrading the upgraded packages. Looks like I
missed one in the downgrade process.

The problematic package was python-wxgtk3.0, version 3.0.2.0+dfsg-8,
when it should be using version 3.0.2.0+dfsg-4. I've downgraded it and
Pcbnew is working again.

Thanks!



Bug#913309: Pcbnew: assertion failed on startup

2018-11-10 Thread Carsten Schoenert
Control: forwarded -1 https://bugs.launchpad.net/kicad/+bug/1802359
Control: tags -1 help

Hello Alexandre,

Am 09.11.18 um 14:32 schrieb Alexandre Oliveira:
> Package: kicad
> Version: 5.0.1+dfsg1-2~bpo9+1
> Severity: important
> 
> Dear Maintainer,
> 
> After updating to KiCad v5.0.1 through stretch-backports, starting
> Pcbnew will crash, with an assertion failed error (down below).>
> I've created an issue on their issue tracker and they told me this is
> an old problem, caused by building wxwidgets with gtk2 and wxpython
> with gtk3.>
> Link to the issue: https://bugs.launchpad.net/kicad/+bug/1802359

right now I won't believe in Wayne statement as we talking about about
Stretch which doesn't now anything about GTK3 in wxWidgets or wxpython.
So it might be there is some other reason why you see this error.
Correctly there is not that much I can do about this problem.

-- 
Regards
Carsten Schoenert



Bug#913309: Pcbnew: assertion failed on startup

2018-11-09 Thread Alexandre Oliveira
Package: kicad
Version: 5.0.1+dfsg1-2~bpo9+1
Severity: important

Dear Maintainer,

After updating to KiCad v5.0.1 through stretch-backports, starting Pcbnew will 
crash, with an assertion failed error (down below). 

I've created an issue on their issue tracker and they told me this is an old 
problem, caused by building wxwidgets with gtk2 and wxpython with gtk3. 

Link to the issue: https://bugs.launchpad.net/kicad/+bug/1802359

ASSERT INFO:
../src/common/object.cpp(251): assert "classTable->Get(m_className) == NULL" 
failed in Register(): Class "wxCommandEvent" already in RTTI table - have you 
used IMPLEMENT_DYNAMIC_CLASS() multiple times or linked some object file twice)?

BACKTRACE:
[1] wxClassInfo::Register()
[2] dlopen
[3] _PyImport_GetDynLoadFunc
[4] _PyImport_LoadDynamicModule
[5] PyImport_ImportModuleLevel
[6] PyObject_Call
[7] PyEval_CallObjectWithKeywords
[8] PyEval_EvalFrameEx
[9] PyEval_EvalCodeEx
[10] PyEval_EvalCode
[11] PyImport_ExecCodeModuleEx
[12] PyImport_ImportModuleLevel
[13] PyObject_Call
[14] PyEval_CallObjectWithKeywords
[15] PyEval_EvalFrameEx
[16] PyEval_EvalCodeEx
[17] PyEval_EvalCode
[18] PyImport_ExecCodeModuleEx
[19] PyImport_ImportModuleLevel
[20] PyObject_Call
[21] PyObject_CallFunction
[22] PyImport_Import
[23] PyImport_ImportModule
[24] PyCObject_Import
[25] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&)
[26] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[27] wxEvtHandler::TryHereOnly(wxEvent&)
[28] wxEvtHandler::DoTryChain(wxEvent&)
[29] wxEvtHandler::ProcessEvent(wxEvent&)
[30] wxWindowBase::TryAfter(wxEvent&)
[31] wxWindowBase::TryAfter(wxEvent&)
[32] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[33] g_closure_invoke
[34] g_signal_emit_valist
[35] g_signal_emit
[36] g_closure_invoke
[37] g_signal_emit_valist
[38] g_signal_emit
[39] g_closure_invoke
[40] g_signal_emit_valist
[41] g_signal_emit
[42] gtk_propagate_event
[43] gtk_main_do_event
[44] g_main_context_dispatch
[45] g_main_loop_run
[46] gtk_main
[47] wxGUIEventLoop::DoRun()
[48] wxEventLoopBase::Run()
[49] wxAppConsoleBase::MainLoop()
[50] wxEntry(int&, wchar_t**)
[51] __libc_start_main
[52] _start


-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-7-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kicad depends on:
ii  libc6 2.24-11+deb9u3
ii  libcairo2 1.14.8-1
ii  libcurl3  7.52.1-5+deb9u8
ii  libfreeimage3 3.17.0+ds1-5
ii  libfreetype6  2.6.3-3.2
ii  libgcc1   1:6.3.0-18+deb9u1
ii  libgl1-mesa-glx [libgl1]  13.0.6-1+b2
ii  libglew2.02.0.0-3+b1
ii  libglu1-mesa [libglu1]9.0.0-2.1
ii  liboce-foundation10   0.17.2-2
ii  liboce-modeling10 0.17.2-2
ii  liboce-ocaf-lite100.17.2-2
ii  liboce-ocaf10 0.17.2-2
ii  liboce-visualization100.17.2-2
ii  libpixman-1-0 0.34.0-1
ii  libpython2.7  2.7.13-2+deb9u3
ii  libssl1.1 1.1.0f-3+deb9u2
ii  libstdc++66.3.0-18+deb9u1
ii  libwxbase3.0-0v5  3.0.4+dfsg-4
ii  libwxgtk3.0-0v5   3.0.4+dfsg-4
ii  libx11-6  2:1.6.4-3
ii  libxext6  2:1.3.3-1+b2
ii  python2.7.13-2
ii  python-wxgtk3.0   3.0.2.0+dfsg-8

Versions of packages kicad recommends:
ii  kicad-demos  5.0.1+dfsg1-2~bpo9+1
ii  kicad-libraries  5.0.1+dfsg1-2~bpo9+1
ii  xsltproc 1.1.29-2.1

Versions of packages kicad suggests:
pn  extra-xdg-menus  
pn  kicad-doc-ca | kicad-doc-de | kicad-doc-en | kicad-doc-es | kicad-d  
pn  kicad-packages3d 

-- no debconf information


-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-7-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kicad depends on:
ii  libc6 2.24-11+deb9u3
ii  libcairo2 1.14.8-1
ii  libcurl3  7.52.1-5+deb9u8
ii  libfreeimage3 3.17.0+ds1-5
ii  libfreetype6  2.6.3-3.2
ii  libgcc1   1:6.3.0-18+deb9u1
ii  libgl1-mesa-glx [libgl1]  13.0.6-1+b2
ii  libglew2.02.0.0-3+b1
ii  libglu1-mesa [libglu1]9.0.0-2.1
ii  liboce-foundation10   0.17.2-2
ii  liboce-modeling10 0.17.2-2
ii