Closed bluewin4 closed 3 years ago
Exception: AttributeError: 'NoneType' object has no attribute 'rowCount' Module: orangecontrib.spectroscopy.widgets.owpreprocess:1626 Widget Name: Preprocess Spectra Widget Module: orangecontrib.spectroscopy.widgets.owpreprocess:1699 Version: 3.29.3 Environment: Python 3.8.8 on Windows 10 10.0.18362 AMD64 Installed Packages: AnyQt==0.0.13, Bottleneck==1.3.2, CacheControl==0.12.6, Genesis-PyAPI==1.2.1, Orange-Spectroscopy==0.5.8, Orange3-Associate==1.1.8, Orange3-Bioinformatics==4.3.1, Orange3-Educational==0.4.0, Orange3-Explain==0.3.0, Orange3-Network==1.5.1, Orange3-Survival-Analysis==0.2.0, Orange3-Timeseries==0.3.10, Orange3==3.31.0.dev0+0a34127, Pillow==8.1.2, PyQt5-sip==4.19.18, PyQt5==5.12.3, PyQtChart==5.12, PyQtWebEngine==5.12.1, PySocks==1.7.1, PyYAML==5.4.1, Pygments==2.10.0, QtPy==1.11.2, XlsxWriter==1.3.7, asteval==0.9.23, astor==0.8.1, autograd-gamma==0.5.0, autograd==1.3, backcall==0.2.0, baycomp==1.0.2, beautifulsoup4==4.9.3, brotlipy==0.7.0, catboost==0.24.4, certifi==2020.12.5, cffi==1.14.5, chardet==4.0.0, colorama==0.4.4, colorcet==2.0.6, commonmark==0.9.1, cryptography==3.4.6, cycler==0.10.0, debugpy==1.5.0, decorator==4.4.2, dictdiffer==0.8.0, docutils==0.16, entrypoints==0.3, et-xmlfile==1.0.1, extranormal3==0.0.3, formulaic==0.2.3, future==0.18.2, h11==0.12.0, h2==4.0.0, h5py==3.2.1, hpack==4.0.0, httpcore==0.12.3, httpx==0.16.1, hyperframe==6.0.0, idna==2.10, importlib-metadata==4.0.1, interface-meta==1.2.3, ipykernel==6.4.1, ipython-genutils==0.2.0, ipython==7.28.0, itsdangerous==1.1.0, jdcal==1.4.1, jedi==0.18.0, joblib==1.0.1, jupyter-client==7.0.6, jupyter-core==4.8.1, keyring==22.3.0, keyrings.alt==4.0.2, kiwisolver==1.3.1, lifelines==0.25.11, llvmlite==0.36.0, lmfit==1.0.2, lockfile==0.12.2, lxml==4.6.3, matplotlib-inline==0.1.3, matplotlib==3.3.4, more-itertools==8.7.0, msgpack==1.0.2, nest-asyncio==1.5.1, networkx==2.5, numba==0.53.1, numpy==1.20.2, olefile==0.46, openTSNE==0.6.0, openpyxl==3.0.7, orange-canvas-core==0.1.22, orange-widget-base==4.14.1, pandas-datareader==0.9.0, pandas==1.2.3, param==1.10.1, parso==0.8.2, patsy==0.5.1, pickleshare==0.7.5, pip==21.0.1, point-annotator==2.0.0, prompt-toolkit==3.0.20, pyOpenSSL==20.0.1, pyclipper==1.2.1, pycparser==2.20, pyct==0.4.8, pyparsing==2.4.7, pyqtgraph==0.12.1, python-dateutil==2.8.1, python-louvain==0.15, pytz==2021.1, pywin32-ctypes==0.2.0, pywin32==301, pyzmq==22.3.0, qasync==0.13.0, qtconsole==5.1.1, renishawWiRE==0.1.14, requests-cache==0.6.3, requests==2.25.1, resdk==13.1.0, rfc3986==1.4.0, scikit-learn==0.23.2, scipy==1.5.3, serverfiles==0.3.0, setuptools==49.6.0.post20210108, shap==0.37.0, six==1.15.0, slicer==0.0.3, slumber==0.7.1, sniffio==1.2.0, soupsieve==2.2.1, spectral==0.22.2, statsmodels==0.12.2, threadpoolctl==2.1.0, tornado==6.1, tqdm==4.60.0, traitlets==5.1.0, typing-extensions==3.10.0.0, tzlocal==2.1, uncertainties==3.1.5, url-normalize==1.4.3, urllib3==1.26.3, wcwidth==0.2.5, wheel==0.36.2, win-inet-pton==1.1.0, wincertstore==0.2, wrapt==1.12.1, xlrd==2.0.1, zipp==3.4.1 Machine ID: 28a35e85-dec8-4cd4-b940-6519b257496e Stack Trace: Traceback (most recent call last): File "C:\Users\artim\AppData\Roaming\Python\Python38\site-packages\orangewidget\workflow\widgetsscheme.py", line 101, in sync_node_properties settings = self.widget_manager.widget_settings_for_node(node) File "C:\Users\artim\AppData\Roaming\Python\Python38\site-packages\orangewidget\workflow\widgetsscheme.py", line 287, in widget_settings_for_node return self.widget_settings(item.widget) File "C:\Users\artim\AppData\Roaming\Python\Python38\site-packages\orangewidget\workflow\widgetsscheme.py", line 304, in widget_settings return widget.settingsHandler.pack_data(widget) File "C:\Users\artim\OneDrive\Documents\Orange\orange-spectroscopy\orangecontrib\spectroscopy\widgets\owpreprocess.py", line 1215, in pack_data widget.storeSpecificSettings() File "C:\Users\artim\OneDrive\Documents\Orange\orange-spectroscopy\orangecontrib\spectroscopy\widgets\owpreprocess.py", line 1699, in storeSpecificSettings self.storedsettings = self.save(self.preprocessormodel) File "C:\Users\artim\OneDrive\Documents\Orange\orange-spectroscopy\orangecontrib\spectroscopy\widgets\owpreprocess.py", line 1626, in save for i in range(model.rowCount()): AttributeError: 'NoneType' object has no attribute 'rowCount'
Local Variables: OrderedDict([('d', {'name': ''}), ('model', None), ('preprocessors', []), ('self', <orangecontrib.spectroscopy.widgets.owpreprocess.OWPreprocess object at 0x000001D2985BED30>)])
I reverted to an older version and it still lagged me. I ended up just fighting the lag and exporting my data into matlab to finish my analysis. Here's an error it threw when I closed it
Thanks. This looks like biolab/orange-widget-base#175.
Does it help if you revert to the previous version of widget-base? orange-widget-base==4.14.0
should not have the bug (and future 4.14.2 won't either).
It works on master now thank you!
I updated Orange and now when I have my preproces widgets that worked fine before, even without any data connected, it causes Orange to become pretty much unusably laggy. I had to delete widget by widget too figure out what was causing the lag. 30gl_analysis_for_matlab.zip .