Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message: wxPyDeprecationWarning: wx.lib.pubsub has been deprecated #329

Open
ghost opened this issue Jan 15, 2020 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Jan 15, 2020

When attempting to run ODMTools.py from source the following error message was received:
$ python ODMTools.py
C:\anaconda2\lib\site-packages\wx\lib\pubsub_init_.py:25: wxPyDeprecationWarning: wx.lib.pubsub has been deprecated, plese migrate your code to use pypubsub, available on PyPI.
wx.wxPyDeprecationWarning)
Traceback (most recent call last):
File "ODMTools.py", line 15, in
from odmtools.gui.frmODMTools import frmODMToolsMain
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools_init_.py", line 2, in
import odmdata
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools\odmdata_init_.py", line 29, in
from memory_database import MemoryDatabase
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools\odmdata\memory_database.py", line 4, in
from odmtools.odmservices import SeriesService
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools\odmservices_init_.py", line 1, in
from service_manager import ServiceManager
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools\odmservices\service_manager.py", line 12, in
from odmtools.controller import EditTools
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools\controller_init_.py", line 6, in
from odmtools.controller.olvSeriesSelector import clsSeriesTable
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools\controller\olvSeriesSelector.py", line 6, in
from odmtools.lib.ObjectListView import FastObjectListView, ColumnDefn
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools\lib\ObjectListView_init_.py", line 23, in
from ObjectListView import ObjectListView, VirtualObjectListView, ColumnDefn, FastObjectListView, GroupListView, ListGroup, BatchedUpdate
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools\lib\ObjectListView\ObjectListView.py", line 109, in
import CellEditor
File "C:\cygwin64\home\l2edhcjt\ODMtools\ODMToolsPython\odmtools\lib\ObjectListView\CellEditor.py", line 406, in
class DateEditor(wx.DatePickerCtrl):
AttributeError: 'module' object has no attribute 'DatePickerCtrl'

Are there plans to update to pypubsub and modify program files as needed? If no, does anyone have a suggested work around? Thanks for any info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants