biolab / orange3-timeseries

🍊 :chart_with_upwards_trend: Orange add-on for analyzing, visualizing, manipulating, and forecasting time series data.
Other
62 stars 40 forks source link

Time Slice Unexpected Error #151

Closed Terrymary222 closed 3 years ago

Terrymary222 commented 3 years ago

Exception: IndexError: list index out of range Module: orangecontrib.timeseries.widgets.owtimeslice:102 Widget Name: Time Slice Widget Module: orangecontrib.timeseries.widgets.owtimeslice:243 Widget Scheme: <?xml version='1.0' encoding='utf-8'?> Version: 3.27.1 Environment: Python 3.7.6 on Windows 10 10.0.18362 AMD64 Installed Packages: AnyQt==0.0.11, Bottleneck==1.3.2, CacheControl==0.12.6, Orange3-Timeseries==0.3.8, Orange3==3.27.1, Pillow==8.0.0, PyQt5-sip==4.19.18, PyQt5==5.12.3, PyQtChart==5.12, PyQtWebEngine==5.12.1, PySocks==1.7.1, PyYAML==5.3.1, XlsxWriter==1.3.7, baycomp==1.0.2, brotlipy==0.7.0, certifi==2020.12.5, cffi==1.14.3, chardet==3.0.4, commonmark==0.9.1, cryptography==3.1.1, cycler==0.10.0, decorator==4.4.2, dictdiffer==0.8.0, docutils==0.16, et-xmlfile==1.0.1, future==0.18.2, h11==0.9.0, h2==3.2.0, hpack==3.0.0, httpcore==0.10.1, httpx==0.14.3, hyperframe==5.2.0, idna==2.10, importlib-metadata==2.0.0, jdcal==1.4.1, joblib==0.17.0, keyring==21.4.0, keyrings.alt==4.0.0, kiwisolver==1.2.0, llvmlite==0.34.0, lockfile==0.12.2, lxml==4.6.2, matplotlib==3.3.2, mkl-fft==1.2.0, mkl-random==1.1.1, mkl-service==2.3.0, more-itertools==8.7.0, msgpack==1.0.0, networkx==2.5, numba==0.51.2, numpy==1.19.2, olefile==0.46, openTSNE==0.4.3, openpyxl==3.0.5, orange-canvas-core==0.1.18, orange-widget-base==4.9.0, pandas-datareader==0.9.0, pandas==1.1.3, patsy==0.5.1, pip==20.2.4, pyOpenSSL==19.1.0, pycparser==2.20, pynndescent==0.4.8, pyparsing==2.4.7, pyqtgraph==0.11.0, python-dateutil==2.8.1, python-louvain==0.14, pytz==2020.1, pywin32-ctypes==0.2.0, requests==2.24.0, rfc3986==1.4.0, scikit-learn==0.23.2, scipy==1.6.0, serverfiles==0.3.0, setuptools==50.3.0.post20201006, six==1.15.0, sniffio==1.1.0, statsmodels==0.12.2, threadpoolctl==2.1.0, tornado==6.0.4, urllib3==1.25.11, wheel==0.35.1, win-inet-pton==1.1.0, wincertstore==0.2, xlrd==1.2.0, zipp==3.3.1 Machine ID: ae840bf5-43be-4d15-aeeb-37111a21e895 Stack Trace: Traceback (most recent call last): File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangecanvas\scheme\widgetmanager.py", line 367, in process_init_queue self.ensure_created(node) File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangecanvas\scheme\widgetmanager.py", line 315, in ensure_created self.add_widget_for_node(node) File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangecanvas\scheme\widgetmanager.py", line 231, in __add_widget_for_node w = self.create_widget_for_node(node) File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangewidget\workflow\widgetsscheme.py", line 296, in create_widget_for_node widget = self.create_widget_instance(node) File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangewidget\workflow\widgetsscheme.py", line 409, in create_widget_instance widget.init() File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangecontrib\timeseries\widgets\owtimeslice.py", line 243, in init self.icons_font = load_icons_font() File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangecontrib\timeseries\widgets\owtimeslice.py", line 102, in load_icons_font font_family = QFontDatabase.applicationFontFamilies(fontId)[0] IndexError: list index out of range

Local Variables: OrderedDict([('fontId', -1)])

ajdapretnar commented 3 years ago

@Terrymary222 It would help, if you explained how you installed Orange, name the version of the add-on, and describe the workflow to reproduce the issue.

Terrymary222 commented 3 years ago

Hi,

I just downloaded the Orange3-3.27.1-Miniconda-x86_64 from Orange website and installed it. The Add on is Orange3 C timeseries 0.3.8.

When put the time slice in, the error comes out, as below picture.

[cid:image003.png@01D7058C.FCFAE3A0] Thank you for helping.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Ajdamailto:notifications@github.com Sent: Thursday, 18 February 2021 12:20 am To: biolab/orange3-timeseriesmailto:orange3-timeseries@noreply.github.com Cc: Terrymary222mailto:Terrymary222@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [biolab/orange3-timeseries] Time Slice Unexpected Error (#151)

@Terrymary222https://github.com/Terrymary222 It would help, if you explained how you installed Orange, name the version of the add-on, and describe the workflow to reproduce the issue.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/biolab/orange3-timeseries/issues/151#issuecomment-780673127, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4LPD6OX3DKWHPBQ7H4W2TS7PUD5ANCNFSM4XYUOCSQ.

ajdapretnar commented 3 years ago

Right. It will likely be solved via #149, but we need to make the release.

Terrymary222 commented 3 years ago

Hi,

How to add font for Time Slice to MANIFEST, please share, thank you.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Ajdamailto:notifications@github.com Sent: Thursday, 18 February 2021 12:32 am To: biolab/orange3-timeseriesmailto:orange3-timeseries@noreply.github.com Cc: Terrymary222mailto:terrymary222@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [biolab/orange3-timeseries] Time Slice Unexpected Error (#151)

Right. It will likely be solved via #149https://github.com/biolab/orange3-timeseries/pull/149, but we need to make the release.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/biolab/orange3-timeseries/issues/151#issuecomment-780681540, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4LPDZB47LRSUDA4TAMZVLS7PVR3ANCNFSM4XYUOCSQ.

ajdapretnar commented 3 years ago

Solved with the new release (hopefully - if not, reopen the issue). The new version will be available within a day or two also for Windows.

Terrymary222 commented 3 years ago

Noted, last question for today, the new version is the whole Orange or timeseries only?

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Ajdamailto:notifications@github.com Sent: Thursday, 18 February 2021 12:44 am To: biolab/orange3-timeseriesmailto:orange3-timeseries@noreply.github.com Cc: Terrymary222mailto:Terrymary222@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [biolab/orange3-timeseries] Time Slice Unexpected Error (#151)

Solved with the new release (hopefully - if not, reopen the issue). The new version will be available within a day or two also for Windows.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/biolab/orange3-timeseries/issues/151#issuecomment-780689594, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4LPD7R4QD3UNWUKVDCZ7TS7PW6BANCNFSM4XYUOCSQ.

irgolic commented 3 years ago

Timeseries only, though a new Orange3 release is on the horizon.

Terrymary222 commented 3 years ago

Hi,

0.3.9 has similar issue for time slice, please assist, thank you.

[cid:image001.png@01D7071D.9D345EA0]

Traceback (most recent call last):

File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangecanvas\scheme\widgetmanager.py", line 231, in __add_widget_for_node

w = self.create_widget_for_node(node)

File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangewidget\workflow\widgetsscheme.py", line 296, in create_widget_for_node

widget = self.create_widget_instance(node)

File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangewidget\workflow\widgetsscheme.py", line 409, in create_widget_instance

widget.__init__()

File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangecontrib\timeseries\widgets\owtimeslice.py", line 243, in init

self.icons_font = load_icons_font()

File "C:\Users\terry\AppData\Local\Programs\Orange\lib\site-packages\orangecontrib\timeseries\widgets\owtimeslice.py", line 102, in load_icons_font

font_family = QFontDatabase.applicationFontFamilies(fontId)[0]

IndexError: list index out of range

发件人: Ajda notifications@github.com 发送时间: Thursday, February 18, 2021 12:44:17 AM 收件人: biolab/orange3-timeseries orange3-timeseries@noreply.github.com 抄送: Terrymary222 Terrymary222@hotmail.com; Mention mention@noreply.github.com 主题: Re: [biolab/orange3-timeseries] Time Slice Unexpected Error (#151)

Closed #151https://github.com/biolab/orange3-timeseries/issues/151.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/biolab/orange3-timeseries/issues/151#event-4342414683, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4LPD6VGTV6IROMZ6R4MJLS7PW6DANCNFSM4XYUOCSQ.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10