OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000788OMNeT++simulation kernelpublic2014-11-21 15:182014-11-21 21:22
Reporterandras 
Assigned Toandras 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.5 
Target Version4.6Fixed in Version4.6 
Summary0000788: seed-set=${1,2,3} syntax results in error
DescriptionIf you add this line to an omnetpp.ini:

  seed-set = ${1..8}

running a simulation, or just listing the available runs with -G -x results in an error:

<!> Scenario generator: no such variable: ${-1--1-0}.

Changing the line to:

  seed-set = ${foo=1..8}

will fix it.

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000945)
andras (administrator)
2014-11-21 15:30

Stack trace (with -G -x):
#0 throw
0000001 SectionBasedConfiguration::substituteVariables(...) at sectionbasedconfig.cc:633
0000002 SectionBasedConfiguration::setupVariables(...) at sectionbasedconfig.cc:390
0000003 SectionBasedConfiguration::unrollConfig(...) at sectionbasedconfig.cc:444
0000004 EnvirBase::simulationRequired(...) at envirbase.cc:350
0000005 EnvirBase::run(...) at envirbase.cc:276
...
(0000946)
andras (administrator)
2014-11-21 21:22

cause: substituteVariables() was always called with sectionId=-1 / entryId=-1
instead of actual location of the config option

- Issue History
Date Modified Username Field Change
2014-11-21 15:18 andras New Issue
2014-11-21 15:20 andras Description Updated View Revisions
2014-11-21 15:30 andras Note Added: 0000945
2014-11-21 21:22 andras Note Added: 0000946
2014-11-21 21:22 andras Status new => resolved
2014-11-21 21:22 andras Fixed in Version => 4.6
2014-11-21 21:22 andras Resolution open => fixed
2014-11-21 21:22 andras Assigned To => andras
2015-10-12 09:28 ammmar1988 Issue cloned: 0000883


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker