First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 213819
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo wxWidgets Herd <wxwidgets@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vaclav Slavik <vslavik@fastmail.fm>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 213819 depends on: Show dependency tree
Bug 213819 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-18 12:20 0000
Gentoo's changes to add version number to various wxWidgets-related files once
again break things: this time, wxPython's "wxaddons" module is completely
broken -- it is renamed to wxaddons-2.6 or wxaddons-2.8 (which isn't even a
valid Python module name!) by the ebuilds, but alternatives_auto_makesym is
*not* used to manage it. Obviously, this means "import wxaddons" now fails on
Gentoo.

Reproducible: Always

Actual Results:  
$ python -c 'import wx ; import wxaddons'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named wxaddons
$


Expected Results:  
$ python -c 'import wx ; import wxaddons'
$

------- Comment #1 From Ryan Hill 2008-03-18 13:27:56 0000 -------
i'm starting to wonder how on earth different wxpython versions are meant to be
installed on the same machine if half the files overwrite one another. :P

will alternatives_auto_makesym work in this case?  ie.  will "python -c 'import
wxversion; wxversion.select("2.6"); import wx; import wxaddons'" work when
wxaddons is symlinked to wxaddons-2.8?

------- Comment #2 From Vaclav Slavik 2008-03-18 16:31:12 0000 -------
(In reply to comment #1)
> i'm starting to wonder how on earth different wxpython versions are meant to 
> be installed on the same machine if half the files overwrite one another. :P

Well, there's no reason to use any other wxversion than the latest one, for
example...

> will alternatives_auto_makesym work in this case? 

It looks like 2.8's version is strict superset of 2.6's. If you don't want to
take the risk, then moving wxaddons directory under [all of] version-specific
directories for given version (wx-2.6-gtk2-unicode, wx-2.6-gtk2-ansi, ...)
should be safe -- the latest one will be picked without wxversion and specific
version if you use wxversion.

------- Comment #3 From Vaclav Slavik 2008-03-18 17:50:08 0000 -------
Upstream commentary:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?12:mss:3763:200803:ojmaacoenpieocelapee

------- Comment #4 From Ryan Hill 2008-03-21 01:56:43 0000 -------
(In reply to comment #2)
> (In reply to comment #1)
> > i'm starting to wonder how on earth different wxpython versions are meant to 
> > be installed on the same machine if half the files overwrite one another. :P
> 
> Well, there's no reason to use any other wxversion than the latest one, for
> example...

which is why we symlink to the latest version.  this doesn't work for
everything of course, which you've encountered.

i've moved wxaddons to the versioned directories.  thanks for the suggestion
and sorry about the breakage.

First Last Prev Next    No search results available      Search page      Enter new bug