geez0x1 / CompliantJointToolbox

Compliant Joint Toolbox (CJT) for MATLAB and Simulink
GNU General Public License v3.0
38 stars 14 forks source link

dataSheetGeneratorTest fails #26

Closed geez0x1 closed 7 years ago

geez0x1 commented 7 years ago
================================================================================
Error occurred in dataSheetGeneratorTest/testTorqueSpeedCurve and it did not run to completion.

    --------------
    Error Details:
    --------------
    Error using copyfile
    cp: cannot stat '/data/ownCloud/IIT/SEA_control/CompliantJointToolbox/cjtdsheet.pdf': No such file or directory

    Error in dataSheetGenerator/createDataSheet (line 446)
                copyfile([fName,'.pdf'],[this.outputDir,filesep, this.assembleOutFileName ]);

    Error in dataSheetGeneratorTest>testTorqueSpeedCurve (line 140)
    dsg.createDataSheet;

================================================================================
.
Done dataSheetGeneratorTest
__________

Failure Summary:

     Name                                         Failed  Incomplete  Reason(s)
    ============================================================================
     dataSheetGeneratorTest/testTorqueSpeedCurve    X         X       Errored.

ans = 

  TestResult with properties:

          Name: 'dataSheetGeneratorTest/testTorqueSpeedCurve'
        Passed: 0
        Failed: 1
    Incomplete: 1
      Duration: 1.8403

Totals:
   0 Passed, 1 Failed, 1 Incomplete.
   1.8403 seconds testing time.
geezIIT commented 7 years ago

This still crashes for me:

================================================================================
Error occurred in dataSheetGeneratorTest/testTorqueSpeedCurve and it did not run to completion.

    --------------
    Error Details:
    --------------
    Error using inputcheck>LocalCheckOption (line 347)
    Illegal option '-bestfit' given.

    Error in inputcheck (line 86)
                    opIndex = LocalCheckOption( cur_arg, options );

    Error in print (line 153)
        [pj, devices, options ] = inputcheck( pj, inputargs{:} );

    Error in printpdf (line 87)
    print('-bestfit','-dpdf',outfilename,varargin{:});

    Error in dataSheetGenerator/makeDataSheetPlots (line 945)
                printpdf(gcf,this.torqueSpeedFName,['-r',num2str(this.plotResolution)])

    Error in dataSheetGenerator/createDataSheet (line 860)
                this.makeDataSheetPlots;

    Error in dataSheetGeneratorTest>testTorqueSpeedCurve (line 140)
    dsg.createDataSheet;

================================================================================
.
Done dataSheetGeneratorTest