ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Eugine Kosenko" <eugine.kosenko@gmail.com>
To: "ALT Linux Sisyphus discussions" <sisyphus@lists.altlinux.org>
Cc: Vitaly Lipatov <lav@altlinux.ru>
Subject: Re: [sisyphus] Ошибки в python-module-wx
Date: Sun, 2 Mar 2008 10:15:43 +0200
Message-ID: <9909dee80803020015j5a2f8353ne22bf716165b594e@mail.gmail.com> (raw)
In-Reply-To: <9909dee80803011309r6dade6dev4cc5994a462f8ca8@mail.gmail.com>

Пересборка и тестирование в хэшере показала, что проблемы тоже нет...
Ладно, будем считать, что это у меня что-то не так...

2008/3/1, Eugine Kosenko <eugine.kosenko@gmail.com>:
> Блин, пересобираю тот же самый srpm у себя, ставлю пересобранный --
>  работает. Ставлю из Сизифа -- не работает. Мистика...
>
>  2008/3/1, Eugine Kosenko <eugine.kosenko@gmail.com>:
>
> > Похоже, после переезда на Python 2.5 возникла проблема при создании
>  >  виджетов. Например,
>  >
>  >  import wx
>  >
>  >  if __name__ == '__main__':
>  >         app = wx.PySimpleApp()
>  >         frame = wx.Frame(None, -1, 'test frame')
>  >         panel = wx.Panel(frame, -1)
>  >         frame.SetSizer(wx.BoxSizer(wx.VERTICAL))
>  >         frame.GetSizer().Add(panel, 1, wx.EXPAND)
>  >         frame.Show()
>  >         app.MainLoop()
>  >
>  >  Возникает ошибка:
>  >
>  >  Traceback (most recent call last):
>  >   File "testPanelInBoxSizer.py", line 8, in <module>
>  >     frame.GetSizer().Add(panel, 1, wx.EXPAND)
>  >   File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
>  >  line 12452, in Add
>  >     return _core_.Sizer_Add(*args, **kwargs)
>  >  TypeError: wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item
>  >
>  >  Может, дело и не в Питоне. Я пока пробую собрать оригинальный
>  >  wxPython, чтобы проверить. У кого-нибудь это еще воспроизводится?
>  >
>

  reply	other threads:[~2008-03-02  8:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-01 11:59 Eugine Kosenko
2008-03-01 21:09 ` Eugine Kosenko
2008-03-02  8:15   ` Eugine Kosenko [this message]
2008-03-02 10:14     ` Pavlov Konstantin
2008-03-02 13:06       ` Alex Gorbachenko
2008-03-02 20:00         ` Vitaly Lipatov
2008-03-03 11:30       ` Eugine Kosenko
2008-03-03 12:32         ` Grigory Batalov
2008-03-03 16:23           ` Eugine Kosenko
2008-03-04 10:45             ` Grigory Batalov
2008-03-06  7:21               ` Eugine Kosenko
2008-03-06  9:24                 ` Grigory Batalov
2008-03-07  6:50                   ` Eugine Kosenko
2008-03-03 11:31       ` Eugine Kosenko
2008-03-03 10:38 ` Grigory Batalov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9909dee80803020015j5a2f8353ne22bf716165b594e@mail.gmail.com \
    --to=eugine.kosenko@gmail.com \
    --cc=lav@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git