deltaphi / c6021light

Feature-compact DIY version of the c6021
GNU General Public License v3.0
3 stars 3 forks source link

EngineDB Download causes infinite loop #11

Closed deltaphi closed 3 years ago

deltaphi commented 3 years ago

Reported by @glaserf. When downloading the CanEngineDB either through the StateMachine or the CLI, the download requests the same engines over and over again.

Log by @glaserf:

Connect6021Light Initializing...
Reading Configuration.
Setting up callbacks.
Ready!
c6021light > Storing Engine 103 220-0 DB AG
Storing Engine 150 124-6 DB
Storing Engine BR 101 ADtranz
Storing Engine BR 103 137-6
Storing Engine BR 101 ADtranz
Storing Engine BR 103 137-6
Storing Engine BR 101 ADtranz
Storing Engine BR 103 137-6
Storing Engine BR 101 ADtranz
Storing Engine BR 103 137-6
Storing Engine BR 101 ADtranz
Storing Engine BR 103 137-6
Storing Engine BR 101 ADtranz

Personally, I observed no issue when downloading two engines. Issue may be related to having more than two engines or to having an odd number of engines.