<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>21890</bug_id>
          
          <creation_ts>2009-10-09 17:01:55 +0400</creation_ts>
          <short_desc>wxPython/wxWidgets release number mismatch</short_desc>
          <delta_ts>2010-01-13 18:27:29 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python-module-wx</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>backport</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Oleg Paraschenko">olpa</reporter>
          <assigned_to name="real@altlinux.org">real</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>cow</cc>
    
    <cc>darktemplar</cc>
    
    <cc>enp</cc>
    
    <cc>evg</cc>
    
    <cc>george</cc>
    
    <cc>glebfm</cc>
    
    <cc>hiddenman</cc>
    
    <cc>imz</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>mithraen</cc>
    
    <cc>nbr</cc>
    
    <cc>qa_viy</cc>
    
    <cc>real.altlinux.org</cc>
    
    <cc>rider</cc>
    
    <cc>rt</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
    
    <cc>sin</cc>
    
    <cc>solo</cc>
    
    <cc>vitty</cc>
    
    <cc>viy</cc>
    
    <cc>vvk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101165</commentid>
    <comment_count>0</comment_count>
    <who name="Oleg Paraschenko">olpa</who>
    <bug_when>2009-10-09 17:01:55 +0400</bug_when>
    <thetext>Похоже, надо пересобрать wxPython:

$ python -c &apos;import wx&apos;
/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14450: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn(&quot;wxPython/wxWidgets release number mismatch&quot;)

Установолено:

$ rpm -qa | grep wx
wxGTK-contrib-gizmos-2.8.10-alt3
python-module-wx-2.8.9.2-alt2
wxGTK-common-0.4-alt1
wxGTK-2.8.10-alt3
wxGTK-contrib-stc-2.8.10-alt3

# apt-get update
Get:1 ftp://ftp.altlinux.org i586 release [727B]
Get:2 ftp://ftp.altlinux.org noarch release [726B]
Fetched 1453B in 1s (733B/s)
Hit ftp://ftp.altlinux.org i586/classic pkglist
Hit ftp://ftp.altlinux.org i586/classic release
Hit ftp://ftp.altlinux.org noarch/classic pkglist
Hit ftp://ftp.altlinux.org noarch/classic release
Reading Package Lists... Done
Building Dependency Tree... Done

# apt-get install wxGTK-contrib-gizmos python-module-wx wxGTK-common wxGTK wxGTK-contrib-stc
Reading Package Lists... Done
Building Dependency Tree... Done
wxGTK-contrib-gizmos is already the newest version.
python-module-wx is already the newest version.
wxGTK-common is already the newest version.
wxGTK is already the newest version.
wxGTK-contrib-stc is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 626 not upgraded.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101238</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-10-11 14:36:28 +0400</bug_when>
    <thetext>Там грабли (http://thread.gmane.org/gmane.comp.python.wxpython/70918):

i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -O2 -march=i586 -mtune=i686 -fPIC -DPIC -D_GNU_SOURCE -pipe -Wall -O2 -march=i586 -mtune=i686 -fPIC -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -Iinclude -Isrc -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/python2.5 -c src/gtk/_core_wrap.cpp -o build-gtk2.unicode/temp.linux-i686-2.5/src/gtk/_core_wrap.o -pthread -O3
src/gtk/_core_wrap.cpp: In function &apos;void SWIG_Python_AddErrorMsg(const char*)&apos;:
src/gtk/_core_wrap.cpp:864: warning: format not a string literal and no format arguments
src/gtk/_core_wrap.cpp: In constructor &apos;swig::PyObject_ptr::PyObject_ptr(PyObject*, bool)&apos;:
src/gtk/_core_wrap.cpp:2670: warning: suggest explicit braces to avoid ambiguous &apos;else&apos;
src/gtk/_core_wrap.cpp: In function &apos;bool wxSizer_Remove(wxSizer*, PyObject*)&apos;:
src/gtk/_core_wrap.cpp:4637: warning: &apos;virtual bool wxSizer::Remove(wxWindow*)&apos; is deprecated (declared at /usr/include/wx-2.8/wx/sizer.h:513)
src/gtk/_core_wrap.cpp: In function &apos;PyObject* _wrap_ShowEvent_IsShown(PyObject*, PyObject*)&apos;:
src/gtk/_core_wrap.cpp:28693: error: &apos;const class wxShowEvent&apos; has no member named &apos;IsShown&apos;
src/gtk/_core_wrap.cpp: In function &apos;PyObject* _wrap_GetAccelFromString(PyObject*, PyObject*, PyObject*)&apos;:
src/gtk/_core_wrap.cpp:33954: warning: &apos;wxAcceleratorEntry* wxGetAccelFromString(const wxString&amp;)&apos; is deprecated (declared at /usr/include/wx-2.8/wx/utils.h:571)
src/gtk/_core_wrap.cpp:33954: warning: &apos;wxAcceleratorEntry* wxGetAccelFromString(const wxString&amp;)&apos; is deprecated (declared at /usr/include/wx-2.8/wx/utils.h:571)
error: command &apos;i586-alt-linux-gcc&apos; failed with exit status 1

PS: а при чём ключслово backport?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101478</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2009-10-14 09:29:47 +0400</bug_when>
    <thetext>Что с граблями на 2.8.10.1 сделать, не знаю,так что
&gt; warnings.warn(&quot;wxPython/wxWidgets release number mismatch&quot;)
оставим, если это не мешает работоспособности.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101506</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-10-14 15:37:51 +0400</bug_when>
    <thetext>По крайней мере wammu у меня работает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101569</commentid>
    <comment_count>4</comment_count>
    <who name="Oleg Paraschenko">olpa</who>
    <bug_when>2009-10-15 08:10:32 +0400</bug_when>
    <thetext>&gt; оставим, если это не мешает работоспособности.
Ok. Вроде бы всё работает, просто лишние сообщения раздражают.

&gt; PS: а при чём ключслово backport?
Видимо, я неправильно понял смысл тега.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105482</commentid>
    <comment_count>5</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2010-01-13 07:50:33 +0300</bug_when>
    <thetext>wxGTK и python-module-wx полностью приведены в соответствие по версиям.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105519</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2010-01-13 18:27:29 +0300</bug_when>
    <thetext>Ай спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>