{"action":"created","issue":{"url":"https://api.github.com/repos/oskusalerma/trelby/issues/354","labels_url":"https://api.github.com/repos/oskusalerma/trelby/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/oskusalerma/trelby/issues/354/comments","events_url":"https://api.github.com/repos/oskusalerma/trelby/issues/354/events","html_url":"https://github.com/oskusalerma/trelby/issues/354","id":49532579,"number":354,"title":"please update for python-wxgtk3.0","user":{"login":"onlyjob","id":1061236,"avatar_url":"https://avatars.githubusercontent.com/u/1061236?v=3","gravatar_id":"","url":"https://api.github.com/users/onlyjob","html_url":"https://github.com/onlyjob","followers_url":"https://api.github.com/users/onlyjob/followers","following_url":"https://api.github.com/users/onlyjob/following{/other_user}","gists_url":"https://api.github.com/users/onlyjob/gists{/gist_id}","starred_url":"https://api.github.com/users/onlyjob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onlyjob/subscriptions","organizations_url":"https://api.github.com/users/onlyjob/orgs","repos_url":"https://api.github.com/users/onlyjob/repos","events_url":"https://api.github.com/users/onlyjob/events{/privacy}","received_events_url":"https://api.github.com/users/onlyjob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-11-20T11:26:43Z","updated_at":"2015-04-02T11:40:00Z","closed_at":null,"body":"Please update for WX-3.0 in order to decommission obsolete WX-2.8.\r\n\r\nBesides on Debian `trelby` is not even starting when both _python-wxgtk2.8_ and _python-wxgtk3.0_ are installed:\r\n\r\n~~~~\r\nYou seem to have an invalid version\r\n(3.0.1.1) of wxWidgets installed. This\r\nprogram needs version 2.8.\r\n~~~~\r\n\r\nProbably to fix it \"python-wxversion\" can be of help in short term until migration is finished.\r\nThe following is a quote from _wxversion.py_:\r\n\r\n~~~~\r\nIf you have more than one version of wxPython installed this module\r\nallows your application to choose which version of wxPython will be\r\nimported when it does 'import wx'.  The main function of this module\r\nis `select` and you use it like this::\r\n\r\n    import wxversion\r\n    wxversion.select('2.4')\r\n    import wx\r\n\r\nOr additional build options can also be selected, although they will\r\nnot be required if they are not installed, like this::\r\n\r\n    import wxversion\r\n    wxversion.select('2.5.3-unicode')\r\n    import wx\r\n\r\nOr you can require an exact match on the build options like this::\r\n\r\n    import wxversion\r\n    wxversion.select('2.5.3-unicode', optionsRequired=True)\r\n    import wx\r\n\r\nFinally you can also specify a collection of versions that are allowed\r\nby your application, like this::\r\n\r\n    import wxversion\r\n    wxversion.select(['2.5.4', '2.5.5', '2.6'])\r\n    import wx\r\n\r\n\r\nOf course the default wxPython version can also be controlled by\r\nsetting PYTHONPATH or by editing the wx.pth path configuration file,\r\nbut using wxversion will allow an application to manage the version\r\nselection itself rather than depend on the user to setup the\r\nenvironment correctly.\r\n\r\nIt works by searching the sys.path for directories matching wx-* and\r\nthen comparing them to what was passed to the select function.  If a\r\nmatch is found then that path is inserted into sys.path.\r\n\r\nNOTE: If you are making a 'bundle' of your application with a tool\r\nlike py2exe then you should *not* use the wxversion module since it\r\nlooks at the filesystem for the directories on sys.path, it will fail\r\nin a bundled environment.  Instead you should simply ensure that the\r\nversion of wxPython that you want is found by default on the sys.path\r\nwhen making the bundled version by setting PYTHONPATH.  Then that\r\nversion will be included in your bundle and your app will work as\r\nexpected.  Py2exe and the others usually have a way to tell at runtime\r\nif they are running from a bundle or running raw, so you can check\r\nthat and only use wxversion if needed.  For example, for py2exe::\r\n\r\n    if not hasattr(sys, 'frozen'):\r\n        import wxversion\r\n        wxversion.select('2.5')\r\n    import wx\r\n\r\nMore documentation on wxversion and multi-version installs can be\r\nfound at: http://wiki.wxpython.org/index.cgi/MultiVersionInstalls\r\n~~~~\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/oskusalerma/trelby/issues/comments/88872509","html_url":"https://github.com/oskusalerma/trelby/issues/354#issuecomment-88872509","issue_url":"https://api.github.com/repos/oskusalerma/trelby/issues/354","id":88872509,"user":{"login":"oskusalerma","id":23551,"avatar_url":"https://avatars.githubusercontent.com/u/23551?v=3","gravatar_id":"","url":"https://api.github.com/users/oskusalerma","html_url":"https://github.com/oskusalerma","followers_url":"https://api.github.com/users/oskusalerma/followers","following_url":"https://api.github.com/users/oskusalerma/following{/other_user}","gists_url":"https://api.github.com/users/oskusalerma/gists{/gist_id}","starred_url":"https://api.github.com/users/oskusalerma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskusalerma/subscriptions","organizations_url":"https://api.github.com/users/oskusalerma/orgs","repos_url":"https://api.github.com/users/oskusalerma/repos","events_url":"https://api.github.com/users/oskusalerma/events{/privacy}","received_events_url":"https://api.github.com/users/oskusalerma/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T11:40:00Z","updated_at":"2015-04-02T11:40:00Z","body":"That seems very unlikely.\nOn 2 Apr 2015 01:10, \"Dmitry Smirnov\" <notifications@github.com> wrote:\n\n> There may be no glory in your hard work and little appreciation.\n> But if you care to fix this problem I will help you to include trelby into\n> Debian. This will give you greater exposure which will eventually attract\n> new contributors.\n>\n> ---\n>\n> Good luck happens when preparedness meets opportunity.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/oskusalerma/trelby/issues/354#issuecomment-88672070>.\n>\n"}}