EOF or unknown

Hi !

May you help ? Trying to make the famous model i’m talking about,
which is the shoulder and arm without torso, after long correctong
times (not finished) i’ve got it :

ERROR : (61) : EOF : unexpected
Model loading skipped

Where could it come from ? (the main script is after those lines)
All the brackets are paired so i don’t understand.
Even if i’m trying to put another one “};” i obtain this beautiful
message :


Loading Main :
“E:\Usr\Yoann\Yoann\Epaule\Anybody\Repository.5\ARep\Yo\Arm3DLightforShoulder\Ar
m3DLightforShoulder.Mainbis.any”
Scanning…
Parsing…
Constructing model tree…
Linking identifiers…
Evaluating constants…
Configuring model…

Deleting last loaded model…
ERROR : Model load : unknown error

Thanks

Yoann

// Light Model of the Arm3D, with only shoulder muscles acting in the
arm abduction
// Scapula and Clavicula are locked to represent conditions of our
experiments

Main = {

AnyFolder Model={

 #include "DrawSettings.any"

 AnyFolder HumanModel={

   AnyInt Sign = -1 ;
   //#include  "..\..\..\BRep\Yo\Arm3D\ShoulderArmNoMuscles.root.any"
   #include  "..\..\..\BRep\Yo\Arm3D\ShoulderArm.root.any"

   AnyFolder StrengthParameters={
     AnyVar SpecificMuscleTensionSpine= 90; //N/cm^2
     AnyVar StrengthIndexLeg= 1;
     AnyVar SpecificMuscleTensionShoulderArm= 90; //N/cm^2
   }; // end of StrengthParameters

   //Pick one of the scaling laws
   //Do not scale
   #include "..\..\..\BRep\Yo\Scaling\ScalingStandard.any"
   //#include "..\..\..\BRep\Yo\Scaling\ScalingLengthMassFat.any"
   //#include "..\..\..\BRep\Yo\Scaling\AnyFamily\AnyAnne.any"
 }; end of HumanModel

 #include "Environment.any"
 #include "Mannequin.any"

 AnyFolder ModelEnvironmentConnection = {
   //#include  "JointsAndDriversVer2.any"
   #include  "JointsAndDrivers2.any"
   //#include  "JointsAndDriversArmCurl.any"
   //#include  "InitialPositions.any"
 }; // end of ModelEnvironmentConnection

}; // end of Model

AnyBodyStudy Study = {

 AnyFolder &LightShoulderModel = ..Model;

 RecruitmentSolver = MinMaxNRSimplex;
 tEnd = 1.0;
 Gravity = {0.0, -9.81, 0.0};
 nStep = 5;
 MuscleEliminationTol = 1e-7;
 RecruitmentLpPenalty = 1.0e-2;

}; // End of study
}; // end of Main

Hi Yoann

EOF stands for “end of line”, it means the there is a syntax error
in the model somewhere, as you already know i guess. I am a little
unsure if you by clicking the “(66)” in the error messafe will jump
to the location of the error but most likely this is not the case
for this particular error, but please try.

I have looked at the main file in the message and spotted two lines
which will cause errors

The line
}; end of HumanModel

is not correct it should be
}; //end of HumanModel

The line
AnyFolder &LightShoulderModel = …Model;
should be
AnyFolder &LightShoulderModel = .Model;

I am not sure that these errors cause the problem though

It the problem remains after correcting these ones, try to
outcomment parts of your model until it will load.

You may start by outcommenting the environment, joints etc.

If it still do not load try to outcomment the human model folder.
In this way you can locate the location of the syntax error.

It is only in rare cases that the compiler will not tell you where
the error is located as in this case.

If it continues to cause problems please zip the entire model and we
will try to find the error.

Best regards
AnyBody Support

— In anyscript@yahoogroups.com, “Yo” <yoann.collet.1@e…> wrote:
>
> Hi !
>
> May you help ? Trying to make the famous model i’m talking about,
> which is the shoulder and arm without torso, after long correctong
> times (not finished) i’ve got it :
> ----------------------------
> ERROR : (61) : EOF : unexpected
> Model loading skipped
> -----------------------------
>
> Where could it come from ? (the main script is after those lines)
> All the brackets are paired so i don’t understand.
> Even if i’m trying to put another one “};” i obtain this beautiful
> message :
>
> --------------------------------
> Loading Main :
> “E:\Usr\Yoann\Yoann\Epaule\Anybody\Repository.5
\ARep\Yo\Arm3DLightforShoulder\Arm3DLightforShoulder.Mainbis.any”
> Scanning…
> Parsing…
> Constructing model tree…
> Linking identifiers…
> Evaluating constants…
> Configuring model…
>
> Deleting last loaded model…
> ERROR : Model load : unknown error
> ------------------------------------
>
> Thanks
>
> Yoann
>
>
> // Light Model of the Arm3D, with only shoulder muscles acting in
the
> arm abduction
> // Scapula and Clavicula are locked to represent conditions of our
> experiments
>
> Main = {
>
>
> AnyFolder Model={
>
> #include “DrawSettings.any”
>
> AnyFolder HumanModel={
>
> AnyInt Sign = -1 ;
> //#include “…\BRep\Yo\Arm3D\ShoulderArmNoMuscles.root
.any”
> #include “…\BRep\Yo\Arm3D\ShoulderArm.root.any”
>
> AnyFolder StrengthParameters={
> AnyVar SpecificMuscleTensionSpine= 90; //N/cm^2
> AnyVar StrengthIndexLeg= 1;
> AnyVar SpecificMuscleTensionShoulderArm= 90; //N/cm^2
> }; // end of StrengthParameters
>
> //Pick one of the scaling laws
> //Do not scale
> #include “…\BRep\Yo\Scaling\ScalingStandard.any”
> //#include "…\BRep\Yo\Scaling\ScalingLengthMassFat.any
"
> //#include “…\BRep\Yo\Scaling\AnyFamily\AnyAnne.any”
> }; end of HumanModel
>
> #include “Environment.any”
> #include “Mannequin.any”
>
> AnyFolder ModelEnvironmentConnection = {
> //#include “JointsAndDriversVer2.any”
> #include “JointsAndDrivers2.any”
> //#include “JointsAndDriversArmCurl.any”
> //#include “InitialPositions.any”
> }; // end of ModelEnvironmentConnection
>
> }; // end of Model
>
> AnyBodyStudy Study = {
>
> AnyFolder &LightShoulderModel = …Model;
>
> RecruitmentSolver = MinMaxNRSimplex;
> tEnd = 1.0;
> Gravity = {0.0, -9.81, 0.0};
> nStep = 5;
> MuscleEliminationTol = 1e-7;
> RecruitmentLpPenalty = 1.0e-2;
>
> }; // End of study
> }; // end of Main
>

Hi Yoann

Sorry, I made a typing error, EOF stands for “end of file” of course

Best regards

Soeren, AnyBody Support

— In anyscript@yahoogroups.com, “AnyBody Support” <support@a…>
wrote:
>
> Hi Yoann
>
> EOF stands for “end of line”, it means the there is a syntax error
> in the model somewhere, as you already know i guess. I am a little
> unsure if you by clicking the “(66)” in the error messafe will
jump
> to the location of the error but most likely this is not the case
> for this particular error, but please try.
>
> I have looked at the main file in the message and spotted two
lines
> which will cause errors
>
> The line
> }; end of HumanModel
>
> is not correct it should be
> }; //end of HumanModel
>
> The line
> AnyFolder &LightShoulderModel = …Model;
> should be
> AnyFolder &LightShoulderModel = .Model;
>
> I am not sure that these errors cause the problem though
>
> It the problem remains after correcting these ones, try to
> outcomment parts of your model until it will load.
>
> You may start by outcommenting the environment, joints etc.
>
> If it still do not load try to outcomment the human model folder.
> In this way you can locate the location of the syntax error.
>
> It is only in rare cases that the compiler will not tell you where
> the error is located as in this case.
>
> If it continues to cause problems please zip the entire model and
we
> will try to find the error.
>
> Best regards
> AnyBody Support
>
>
> — In anyscript@yahoogroups.com, “Yo” <yoann.collet.1@e…> wrote:
> >
> > Hi !
> >
> > May you help ? Trying to make the famous model i’m talking about,
> > which is the shoulder and arm without torso, after long
correctong
> > times (not finished) i’ve got it :
> > ----------------------------
> > ERROR : (61) : EOF : unexpected
> > Model loading skipped
> > -----------------------------
> >
> > Where could it come from ? (the main script is after those lines)
> > All the brackets are paired so i don’t understand.
> > Even if i’m trying to put another one “};” i obtain this
beautiful
> > message :
> >
> > --------------------------------
> > Loading Main :
> > “E:\Usr\Yoann\Yoann\Epaule\Anybody\Repository.5
> \ARep\Yo\Arm3DLightforShoulder\Arm3DLightforShoulder.Mainbis.any”
> > Scanning…
> > Parsing…
> > Constructing model tree…
> > Linking identifiers…
> > Evaluating constants…
> > Configuring model…
> >
> > Deleting last loaded model…
> > ERROR : Model load : unknown error
> > ------------------------------------
> >
> > Thanks
> >
> > Yoann
> >
> >
> > // Light Model of the Arm3D, with only shoulder muscles acting
in
> the
> > arm abduction
> > // Scapula and Clavicula are locked to represent conditions of
our
> > experiments
> >
> > Main = {
> >
> >
> > AnyFolder Model={
> >
> > #include “DrawSettings.any”
> >
> > AnyFolder HumanModel={
> >
> > AnyInt Sign = -1 ;
>
> //#include “…\BRep\Yo\Arm3D\ShoulderArmNoMuscles.root
> .any”
> > #include “…\BRep\Yo\Arm3D\ShoulderArm.root.any”
> >
> > AnyFolder StrengthParameters={
> > AnyVar SpecificMuscleTensionSpine= 90; //N/cm^2
> > AnyVar StrengthIndexLeg= 1;
> > AnyVar SpecificMuscleTensionShoulderArm= 90; //N/cm^2
> > }; // end of StrengthParameters
> >
> > //Pick one of the scaling laws
> > //Do not scale
> > #include “…\BRep\Yo\Scaling\ScalingStandard.any”
>
> //#include "…\BRep\Yo\Scaling\ScalingLengthMassFat.any
> "
> > //#include “…\BRep\Yo\Scaling\AnyFamily\AnyAnne.any”
> > }; end of HumanModel
> >
> > #include “Environment.any”
> > #include “Mannequin.any”
> >
> > AnyFolder ModelEnvironmentConnection = {
> > //#include “JointsAndDriversVer2.any”
> > #include “JointsAndDrivers2.any”
> > //#include “JointsAndDriversArmCurl.any”
> > //#include “InitialPositions.any”
> > }; // end of ModelEnvironmentConnection
> >
> > }; // end of Model
> >
> > AnyBodyStudy Study = {
> >
> > AnyFolder &LightShoulderModel = …Model;
> >
> > RecruitmentSolver = MinMaxNRSimplex;
> > tEnd = 1.0;
> > Gravity = {0.0, -9.81, 0.0};
> > nStep = 5;
> > MuscleEliminationTol = 1e-7;
> > RecruitmentLpPenalty = 1.0e-2;
> >
> > }; // End of study
> > }; // end of Main
> >
>

Hi !

> EOF stands for “end of file”
Fortunately, i allready know it !

> if you by clicking the “(66)” in the error messafe will jump
> to the location of the error
No, i’ve tried but it didn’t work, that’s why i’m asking if you have
an idea.

> I have looked at the main file in the message and spotted two lines
> which will cause errors
Yes, sorry for this version, those lines were corrected when i sent
you my request and not the cause of the error message.

> You may start by outcommenting the environment, joints etc.
That’s what i started, i give you news, thank you !

Yoann

Hi Soeren !

Now, i’ve found the original error. Just a bracket, as expected.
But there’s another problem :
ERROR : Model load : unknown error

What do you do in this case ?
I sent you a .zip file of part of Arep and Brep if you could have a
look at… The file is in the “Files” folder on this site.
It’s of course kinematicaly indeterminate but that is another step.

Thanks a lot

Yoann

— In anyscript@yahoogroups.com, “AnyBody Support” <support@a…> wrote:
>
> Hi Yoann
>
> Sorry, I made a typing error, EOF stands for “end of file” of course
>
> Best regards
>
> Soeren, AnyBody Support
>
> — In anyscript@yahoogroups.com, “AnyBody Support” <support@a…>
> wrote:
> >
> > Hi Yoann
> >
> > EOF stands for “end of line”, it means the there is a syntax error
> > in the model somewhere, as you already know i guess. I am a little
> > unsure if you by clicking the “(66)” in the error messafe will
> jump
> > to the location of the error but most likely this is not the case
> > for this particular error, but please try.
> >
> > I have looked at the main file in the message and spotted two
> lines
> > which will cause errors
> >
> > The line
> > }; end of HumanModel
> >
> > is not correct it should be
> > }; //end of HumanModel
> >
> > The line
> > AnyFolder &LightShoulderModel = …Model;
> > should be
> > AnyFolder &LightShoulderModel = .Model;
> >
> > I am not sure that these errors cause the problem though
> >
> > It the problem remains after correcting these ones, try to
> > outcomment parts of your model until it will load.
> >
> > You may start by outcommenting the environment, joints etc.
> >
> > If it still do not load try to outcomment the human model folder.
> > In this way you can locate the location of the syntax error.
> >
> > It is only in rare cases that the compiler will not tell you where
> > the error is located as in this case.
> >
> > If it continues to cause problems please zip the entire model and
> we
> > will try to find the error.
> >
> > Best regards
> > AnyBody Support
> >
> >
> > — In anyscript@yahoogroups.com, “Yo” <yoann.collet.1@e…> wrote:
> > >
> > > Hi !
> > >
> > > May you help ? Trying to make the famous model i’m talking about,
> > > which is the shoulder and arm without torso, after long
> correctong
> > > times (not finished) i’ve got it :
> > > ----------------------------
> > > ERROR : (61) : EOF : unexpected
> > > Model loading skipped
> > > -----------------------------
> > >
> > > Where could it come from ? (the main script is after those lines)
> > > All the brackets are paired so i don’t understand.
> > > Even if i’m trying to put another one “};” i obtain this
> beautiful
> > > message :
> > >
> > > --------------------------------
> > > Loading Main :
> > > “E:\Usr\Yoann\Yoann\Epaule\Anybody\Repository.5
> > \ARep\Yo\Arm3DLightforShoulder\Arm3DLightforShoulder.Mainbis.any”
> > > Scanning…
> > > Parsing…
> > > Constructing model tree…
> > > Linking identifiers…
> > > Evaluating constants…
> > > Configuring model…
> > >
> > > Deleting last loaded model…
> > > ERROR : Model load : unknown error
> > > ------------------------------------
> > >
> > > Thanks
> > >
> > > Yoann
> > >
> > >
> > > // Light Model of the Arm3D, with only shoulder muscles acting
> in
> > the
> > > arm abduction
> > > // Scapula and Clavicula are locked to represent conditions of
> our
> > > experiments
> > >
> > > Main = {
> > >
> > >
> > > AnyFolder Model={
> > >
> > > #include “DrawSettings.any”
> > >
> > > AnyFolder HumanModel={
> > >
> > > AnyInt Sign = -1 ;
> >
> > //#include “…\BRep\Yo\Arm3D\ShoulderArmNoMuscles.root
> > .any”
> > > #include “…\BRep\Yo\Arm3D\ShoulderArm.root.any”
> > >
> > > AnyFolder StrengthParameters={
> > > AnyVar SpecificMuscleTensionSpine= 90; //N/cm^2
> > > AnyVar StrengthIndexLeg= 1;
> > > AnyVar SpecificMuscleTensionShoulderArm= 90; //N/cm^2
> > > }; // end of StrengthParameters
> > >
> > > //Pick one of the scaling laws
> > > //Do not scale
> > > #include “…\BRep\Yo\Scaling\ScalingStandard.any”
> >
> > //#include "…\BRep\Yo\Scaling\ScalingLengthMassFat.any
> > "
> > > //#include “…\BRep\Yo\Scaling\AnyFamily\AnyAnne.any”
> > > }; end of HumanModel
> > >
> > > #include “Environment.any”
> > > #include “Mannequin.any”
> > >
> > > AnyFolder ModelEnvironmentConnection = {
> > > //#include “JointsAndDriversVer2.any”
> > > #include “JointsAndDrivers2.any”
> > > //#include “JointsAndDriversArmCurl.any”
> > > //#include “InitialPositions.any”
> > > }; // end of ModelEnvironmentConnection
> > >
> > > }; // end of Model
> > >
> > > AnyBodyStudy Study = {
> > >
> > > AnyFolder &LightShoulderModel = …Model;
> > >
> > > RecruitmentSolver = MinMaxNRSimplex;
> > > tEnd = 1.0;
> > > Gravity = {0.0, -9.81, 0.0};
> > > nStep = 5;
> > > MuscleEliminationTol = 1e-7;
> > > RecruitmentLpPenalty = 1.0e-2;
> > >
> > > }; // End of study
> > > }; // end of Main
> > >
> >
>

Hi Yoann

I have taken a look at the zip file but it seems that you have not
included any files from the BRep, so i can not debug on the model ;-(

The procedure for an unknown error is the same, try to outcomment
parts of the model until it will load.

If it continues to cause problems please upload the model again, but
please make sure only to include the needed parts the space
available in the file section on the Yahoo group is limited.

Best regards
AnyBody Support

— In anyscript@yahoogroups.com, “Yo” <yoann.collet.1@e…> wrote:
>
>
> Hi Soeren !
>
> Now, i’ve found the original error. Just a bracket, as expected.
> But there’s another problem :
> ERROR : Model load : unknown error
>
> What do you do in this case ?
> I sent you a .zip file of part of Arep and Brep if you could have a
> look at… The file is in the “Files” folder on this site.
> It’s of course kinematicaly indeterminate but that is another step.
>
> Thanks a lot
>
> Yoann
>
>
> — In anyscript@yahoogroups.com, “AnyBody Support” <support@a…>
wrote:
> >
> > Hi Yoann
> >
> > Sorry, I made a typing error, EOF stands for “end of file” of
course
> >
> > Best regards
> >
> > Soeren, AnyBody Support
> >
> > — In anyscript@yahoogroups.com, “AnyBody Support”
<support@a…>
> > wrote:
> > >
> > > Hi Yoann
> > >
> > > EOF stands for “end of line”, it means the there is a syntax
error
> > > in the model somewhere, as you already know i guess. I am a
little
> > > unsure if you by clicking the “(66)” in the error messafe will
> > jump
> > > to the location of the error but most likely this is not the
case
> > > for this particular error, but please try.
> > >
> > > I have looked at the main file in the message and spotted two
> > lines
> > > which will cause errors
> > >
> > > The line
> > > }; end of HumanModel
> > >
> > > is not correct it should be
> > > }; //end of HumanModel
> > >
> > > The line
> > > AnyFolder &LightShoulderModel = …Model;
> > > should be
> > > AnyFolder &LightShoulderModel = .Model;
> > >
> > > I am not sure that these errors cause the problem though
> > >
> > > It the problem remains after correcting these ones, try to
> > > outcomment parts of your model until it will load.
> > >
> > > You may start by outcommenting the environment, joints etc.
> > >
> > > If it still do not load try to outcomment the human model
folder.
> > > In this way you can locate the location of the syntax error.
> > >
> > > It is only in rare cases that the compiler will not tell you
where
> > > the error is located as in this case.
> > >
> > > If it continues to cause problems please zip the entire model
and
> > we
> > > will try to find the error.
> > >
> > > Best regards
> > > AnyBody Support
> > >
> > >
> > > — In anyscript@yahoogroups.com, “Yo” <yoann.collet.1@e…>
wrote:
> > > >
> > > > Hi !
> > > >
> > > > May you help ? Trying to make the famous model i’m talking
about,
> > > > which is the shoulder and arm without torso, after long
> > correctong
> > > > times (not finished) i’ve got it :
> > > > ----------------------------
> > > > ERROR : (61) : EOF : unexpected
> > > > Model loading skipped
> > > > -----------------------------
> > > >
> > > > Where could it come from ? (the main script is after those
lines)
> > > > All the brackets are paired so i don’t understand.
> > > > Even if i’m trying to put another one “};” i obtain this
> > beautiful
> > > > message :
> > > >
> > > > --------------------------------
> > > > Loading Main :
> > > > “E:\Usr\Yoann\Yoann\Epaule\Anybody\Repository.5
> > >
\ARep\Yo\Arm3DLightforShoulder\Arm3DLightforShoulder.Mainbis.any”
> > > > Scanning…
> > > > Parsing…
> > > > Constructing model tree…
> > > > Linking identifiers…
> > > > Evaluating constants…
> > > > Configuring model…
> > > >
> > > > Deleting last loaded model…
> > > > ERROR : Model load : unknown error
> > > > ------------------------------------
> > > >
> > > > Thanks
> > > >
> > > > Yoann
> > > >
> > > >
> > > > // Light Model of the Arm3D, with only shoulder muscles
acting
> > in
> > > the
> > > > arm abduction
> > > > // Scapula and Clavicula are locked to represent conditions
of
> > our
> > > > experiments
> > > >
> > > > Main = {
> > > >
> > > >
> > > > AnyFolder Model={
> > > >
> > > > #include “DrawSettings.any”
> > > >
> > > > AnyFolder HumanModel={
> > > >
> > > > AnyInt Sign = -1 ;
> > >
> >
> //#include “…\BRep\Yo\Arm3D\ShoulderArmNoMuscles.root
> > > .any”
> > > >
#include “…\BRep\Yo\Arm3D\ShoulderArm.root.any”
> > > >
> > > > AnyFolder StrengthParameters={
> > > > AnyVar SpecificMuscleTensionSpine= 90; //N/cm^2
> > > > AnyVar StrengthIndexLeg= 1;
> > > > AnyVar SpecificMuscleTensionShoulderArm= 90; //N/cm^2
> > > > }; // end of StrengthParameters
> > > >
> > > > //Pick one of the scaling laws
> > > > //Do not scale
> > > > #include “…\BRep\Yo\Scaling\ScalingStandard.any”
> > >
> >
> //#include "…\BRep\Yo\Scaling\ScalingLengthMassFat.any
> > > "
> > >
> //#include “…\BRep\Yo\Scaling\AnyFamily\AnyAnne.any”
> > > > }; end of HumanModel
> > > >
> > > > #include “Environment.any”
> > > > #include “Mannequin.any”
> > > >
> > > > AnyFolder ModelEnvironmentConnection = {
> > > > //#include “JointsAndDriversVer2.any”
> > > > #include “JointsAndDrivers2.any”
> > > > //#include “JointsAndDriversArmCurl.any”
> > > > //#include “InitialPositions.any”
> > > > }; // end of ModelEnvironmentConnection
> > > >
> > > > }; // end of Model
> > > >
> > > > AnyBodyStudy Study = {
> > > >
> > > > AnyFolder &LightShoulderModel = …Model;
> > > >
> > > > RecruitmentSolver = MinMaxNRSimplex;
> > > > tEnd = 1.0;
> > > > Gravity = {0.0, -9.81, 0.0};
> > > > nStep = 5;
> > > > MuscleEliminationTol = 1e-7;
> > > > RecruitmentLpPenalty = 1.0e-2;
> > > >
> > > > }; // End of study
> > > > }; // end of Main
> > > >
> > >
> >
>