Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ11861
Printer Friendly
Email Article Link
Spirent TestCeneter: Unable to affiliate a streamblock to streamblockloadprofile using Spirent TestCenter Perl API due to an error?
Environment/Versions
Spirent TestCenter
All Versions
Answer
Error Detail:
RuntimeError in $stc->create(): Unable to remove related object streamblockloadprofile2: Unable to remove StreamBlockLoadProfile 2 from StreamBlock 1 due to min relation constraint limit : 1
Reason:
The Script may have missing “IsLoadingFromConfiguration”, add the following just after “my $stc = new StcPerl;”
$stc->config( 'system1', IsLoadingFromConfiguration=>"true" );
TCL script may report the same error if the “IsLoadingFromConfiguration” is missing in the script.
Add the following just after “package require SpirentTestCenter”
stc::config system1 -IsLoadingFromConfiguration "true"
Version
2.0
Publish Date
2014-03-05
Categories
Product : L2-3,Automation,API,Spirent TestCenter
Related Articles