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 when starting designer #340

Closed
simenmm opened this issue Mar 23, 2019 · 5 comments
Closed

Error when starting designer #340

simenmm opened this issue Mar 23, 2019 · 5 comments
Labels
Milestone

Comments

@simenmm
Copy link

simenmm commented Mar 23, 2019

For the last half hour, whenever I start designer I get the following error. It started after I tried to start designer while having open measurements without events.

<class 'IndexError'>:
list index out of range

File "artisanlib\main.py", line 25193, in designerTriggered
File "artisanlib\main.py", line 25196, in startdesigner
File "artisanlib\main.py", line 9127, in designer
File "artisanlib\main.py", line 9229, in initfromprofile


artisanlib\main.py::designerTriggered:25193
self = <artisanlib.main.ApplicationWindow object at 0x000001D7F724B4C8>
artisanlib\main.py::startdesigner:25196
self = <artisanlib.main.ApplicationWindow object at 0x000001D7F724B4C8>
artisanlib\main.py::designer:9127
reply = 16384
self = <artisanlib.main.tgraphcanvas object at 0x000001D7F743E798>
artisanlib\main.py::initfromprofile:9229
i = 0
self = <artisanlib.main.tgraphcanvas object at 0x000001D7F743E798>

Specifications

  • Artisan Version: 1.6.2
  • Artisan Build (number in brackets shown in the about box): 9d1202a
  • Platform (Mac/Windows/Linux + OS version): Windows 10
  • Connected devices or roasting machine: CR3

bug files.zip

@MAKOMO
Copy link
Member

MAKOMO commented Mar 24, 2019

I cannot successfully load the file "6th longer maillard.alog" attached in either v1.5.0 nor v1.6.2 of Artisan. Somehow this profile is broken. How did you generate this. Does this shows anything on loading in your Artisan v1.6.2 (or v1.5.0)?

@simenmm
Copy link
Author

simenmm commented Mar 24, 2019 via email

@MAKOMO
Copy link
Member

MAKOMO commented Mar 25, 2019

I am totally puzzled with this report. The attached alog file is written with v1.5.0 not v1.6.2 as stated. It refers to a time index that does not exists and thus does not load in either version. Instead it fails with the error message (in the error console)

1 07:08:59.660 Exception: redraw() list index out of range@line 5097

You should have received this dialog on starting the designer from a profile lacking the CHARGE DROP events

Screen Shot 2019-03-25 at 06 56 57

I just discovered that on clicking OK in this dialog, the designer still starts up, but in a broken environment (just fixed). This might have led to your situation. Could this be possible?

@simenmm
Copy link
Author

simenmm commented Mar 25, 2019 via email

@MAKOMO MAKOMO added this to the v2.0 milestone May 8, 2019
@MAKOMO MAKOMO added the bug label May 8, 2019
@MAKOMO
Copy link
Member

MAKOMO commented May 8, 2019

fixed

@MAKOMO MAKOMO closed this as completed May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants