[erlang-questions] [madrid-erlang-users] strange rebar error **SOLVED**

Angel J. Alvarez Miguel <>
Mon Mar 19 22:53:41 CET 2012


rebar.config was causing trouble....



deleteing this file solves the problem but you have to write a new one...






Some options have changed hopefully....









By the way, the offending terms were:



{escript_emu_args,["+sbtu","+K true","+A 2" ]}. 



What are the current way of passing those args to the VM?



Thanks all for the answers!!






regards,  Angel



On Lunes, 19 de Marzo de 2012 22:06:54 Angel J. Alvarez Miguel escribió:
> it is nor elrang just usiong old rebar with same erlang goes fine..
> 
> On Lunes, 19 de Marzo de 2012 21:42:49 Manuel Durán Aguete escribió:
> > Hello,
> > What's your erlang version?
> > 
> > Seems it doesn't support scripts with zip archives attached.
> > 
> > Regards
> > 
> > Enviado desde mi iPhone
> > 
> > El 19/03/2012, a las 21:17, "Angel J. Alvarez Miguel" <>
> 
> escribió:
> > > Hi
> > > 
> > > Im using rebar for several projects and i used to have it installed as
> > > a RPM from a openSUSE repo and seems to run fine.
> > > 
> > > DEBUG: Rebar location: "/usr/bin/rebar"
> > > DEBUG: Entering
> > > /home/sinosuke/Documentos/Trabajo/2012/Investigación/ResMol/Erlang_Nose
> > > Ho over_16_12_2012/nosehoover DEBUG: Available deps: []
> > > DEBUG: Missing deps  : []
> > > DEBUG: Predirs: []
> > > ==> nosehoover (clean)
> > > DEBUG: Postdirs: []
> > > DEBUG: Entering
> > > /home/sinosuke/Documentos/Trabajo/2012/Investigación/ResMol/Erlang_Nose
> > > Ho over_16_12_2012/nosehoover DEBUG: Available deps: []
> > > DEBUG: Missing deps  : []
> > > DEBUG: Predirs: []
> > > ==> nosehoover (compile)
> > > DEBUG: Matched required ERTS version: 5.9 -> .*
> > > DEBUG: Matched required OTP release: R15B -> .*
> > > DEBUG: erl_opts [native,inline,{i,"include"}]
> > > DEBUG: Starting 3 compile worker(s)
> > > src/nosehoover.erl:48: Warning: variable 'OtrosArgs' is unused
> > > Compiled src/nosehoover.erl
> > > Compiled src/nosehoover_loader_gaussian.erl
> > > Compiled src/getopt.erl
> > > DEBUG: Worker exited cleanly
> > > src/nosehoover_core.erl:21: Warning: variable 'Other' is unused
> > > Compiled src/nosehoover_core.erl
> > > DEBUG: Worker exited cleanly
> > > Compiled src/nosehoover_tools.erl
> > > DEBUG: Worker exited cleanly
> > > DEBUG: Postdirs: []
> > > DEBUG: Entering
> > > /home/sinosuke/Documentos/Trabajo/2012/Investigación/ResMol/Erlang_Nose
> > > Ho over_16_12_2012/nosehoover DEBUG: Available deps: []
> > > DEBUG: Missing deps  : []
> > > DEBUG: Predirs: []
> > > ==> nosehoover (escriptize)
> > > DEBUG: Postdirs: []
> > > 
> > > 
> > > :~/Documentos/Trabajo/2012/Investigación/ResMol/Erlan
> > > g_ NoseHoover_16_12_2012/nosehoover> ./nosehoover -D ./data/METANO
> > > metano Reading geom: # Metano, formato etiquetado "atomo" "X" "Y" "Z"
> > > Reading geom: # el formato está defomardo para ejercitar el parser
> > > {system,[{atom,"C1",{cartesian,0.0,0.0,1.089}},
> > > 
> > >        {atom,"H1",{cartesian,1.02672,0.0,-0.362996}},
> > >        {atom,"H2",{cartesian,-0.51336,-0.889165,-0.363}},
> > >        {atom,"H3",{cartesian,-0.51336,0.889165,-0.363}}],
> > >       
> > >       {cartesian,[0.0,0.0,0.0,0.0,0.0,-0.970109808,-0.685963027,0.0,
> > >       
> > >                   1.94021962,2.05791176,-0.685970586,1.68027834,
> > >                   -0.970109808,-0.685970586,-1.68027834]},
> > >       
> > >       {gradient,[-1.28369537e-16,3.49033183e-7,-5.12583544e-7,
> > >       
> > >                  2.74086309e-16,5.68362124e-7,-0.00249459546,-0.0017630
> > >                  14 05,
> > >                  -5.2909066e-17,0.00498827352,0.00529098265,-0.00176372
> > >                  8 01, 0.00432037169,-0.00249459546,-0.00176372801,
> > >                  -0.00432037169]},
> > >       
> > >       {hessian,[-3.6869881e-16,2.60106291e-7,0.824862682,1.3382681e-16,
> > >       
> > >                 0.824865666,0.0696220165,-1.87359717e-8,-5.90803338e-17
> > >                 ,
> > >                 -0.0798212583,0.824862747,0.0696218852,-3.25950592e-19
> > >                 , -9.21169816e-17,-0.0798212533,-6.03652537e-17,.....
> > > 
> > > .. more chem related data.
> > > 
> > > 
> > > 
> > > 
> > > Today ive downloaded lastest rebar from git and tested the same way...
> > > 
> > > :~/Documentos/Trabajo/2012/Investigación/ResMol/Erlan
> > > g_ NoseHoover_16_12_2012/nosehoover> ./rebar -v clean compile
> > > escriptize ==> nosehoover (clean)
> > > ==> nosehoover (compile)
> > > src/nosehoover.erl:48: Warning: variable 'OtrosArgs' is unused
> > > Compiled src/nosehoover.erl
> > > Compiled src/nosehoover_loader_gaussian.erl
> > > src/nosehoover_core.erl:21: Warning: variable 'Other' is unused
> > > Compiled src/nosehoover_core.erl
> > > Compiled src/getopt.erl
> > > Compiled src/nosehoover_tools.erl
> > > ==> nosehoover (escriptize)
> > > :~/Documentos/Trabajo/2012/Investigación/ResMol/Erlan
> > > g_ NoseHoover_16_12_2012/nosehoover> ./nosehoover -D ./data/METANO
> > > metano
> > > 
> > > ./nosehoover:5: undefined macro '�'
> > > ./nosehoover:18: illegal atom
> > > ./nosehoover:25: illegal atom
> > > ./nosehoover:25: syntax error before: 3
> > > ./nosehoover:28: illegal atom
> > > ./nosehoover:28: illegal atom
> > > ./nosehoover:30: illegal atom
> > > ./nosehoover:34: syntax error before: M
> > > ./nosehoover:34: undefined macro '��P���XK���n���QF'
> > > ./nosehoover:48: illegal atom
> > > ./nosehoover:50: illegal atom
> > > ./nosehoover:56: illegal atom
> > > ./nosehoover:66: illegal atom
> > > ./nosehoover:75: undefined macro 'v'
> > > ./nosehoover:88: illegal macro call '?'�''
> > > ./nosehoover:101: undefined macro '�x'
> > > ./nosehoover:104: illegal atom
> > > ./nosehoover:109: syntax error before: A�
> > > ./nosehoover:115: illegal atom
> > > ./nosehoover:119: illegal atom
> > > ./nosehoover:143: illegal atom
> > > ./nosehoover:146: illegal atom
> > > ./nosehoover:149: syntax error before: '�'
> > > ./nosehoover:154: undefined macro 'J�u'
> > > ./nosehoover:160: illegal integer
> > > ./nosehoover:161: undefined macro 'C'
> > > ./nosehoover:177: illegal atom
> > > ./nosehoover:181: undefined macro '�'
> > > ./nosehoover:211: illegal atom
> > > ./nosehoover:212: syntax error before: '#'
> > > ./nosehoover:217: illegal atom
> > > ./nosehoover:218: syntax error before: _
> > > ./nosehoover:222: undefined macro '�'
> > > ./nosehoover:246: illegal atom
> > > ./nosehoover:250: illegal macro call '?'�''
> > > ./nosehoover:264: illegal macro call '?'+''
> > > ./nosehoover:267: illegal atom
> > > ./nosehoover:271: syntax error before: '�'
> > > ./nosehoover:272: syntax error before: J�B
> > > ./nosehoover:277: undefined macro '�'
> > > ./nosehoover:281: illegal atom
> > > ./nosehoover:291: illegal atom
> > > ./nosehoover:291: syntax error before: '�'
> > > ./nosehoover:292: illegal atom
> > > ./nosehoover:298: illegal atom
> > > ./nosehoover:305: illegal atom
> > > ./nosehoover:328: illegal macro call '?3'
> > > ./nosehoover:328: undefined macro '�'
> > > escript: There were compilation errors.
> > > 
> > > the generated script crashes badly and i dont know why. We are feared
> > > of lossing our good rebar on a RPM update and face this problem with
> > > newer rebar versions...
> > > 
> > > ¿Can anyone give a clue on what's wrong?
> > > 
> > > Thanks!
> > > 
> > > Angel
> > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > madrid-erlang-users mailing list
> > > 
> > > https://babel.ls.fi.upm.es/cgi-bin/mailman/listinfo/madrid-erlang-users
> 
> _______________________________________________
> madrid-erlang-users mailing list
> 
> https://babel.ls.fi.upm.es/cgi-bin/mailman/listinfo/madrid-erlang-users



-- 
"but we no longer provide any UI to configure LVM or MD RAID itself - you are 
expected to use the command-line tools to do so yourself" , 2012 - Gnome 
journey back to the 90's
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120319/1bdf0fa6/attachment.html>


More information about the erlang-questions mailing list