You need not io_format it, just copy and paste the list in the shell
and it will format it if all characters are formattable.

2011/3/27, Martin Logan <[email protected]>:
> One way is to take all the numbers and run them through a io:format as such
>
> 1> io:format("~p~n",
> [[67,111,117,108,100,32,110,111,116,32,103,101,116,32,97,98,
> 1> >
> 115,116,114,97,99,116,32,99,111,100,101,32,102,111,114,32,
> 1> >                  102,105,108,101,58,32]]).
> * 2: syntax error before: '>'
>
>
> so you have some kind of syntax error near a '>' print the others and
> see what you get
>
> On Sat, Mar 26, 2011 at 10:02 AM, Jordan Wilberding
> <[email protected]> wrote:
>> Anyone know how to get a more understandable error out of this?
>> 17>
>> dialyzer:run([{files_rec,["/usr/local/lib/erlang/lib/getopt-0.3.0/ebin"]},{from,byte_code},{analysis_type,plt_build},{output_plt,"/home/diginux/code/sinan/_build/development/info/dialyzer_plt"}]).
>> ** exception throw:
>> {dialyzer_error,[67,111,117,108,100,32,110,111,116,32,103,
>>
>> 101,116,32,97,98,115,116,114,97,99,116,32,99,111,100,101|...]}
>>      in function  dialyzer_plt:compute_md5_from_file/1
>>      in call from dialyzer_plt:'-compute_md5_from_files/1-lc$^0/1-0-'/1
>>      in call from dialyzer_plt:compute_md5_from_files/1
>>      in call from dialyzer_cl:build_plt/1
>>      in call from dialyzer:run/1
>> 18> try
>> dialyzer:run([{files_rec,["/usr/local/lib/erlang/lib/getopt-0.3.0/ebin"]},{from,byte_code},{analysis_type,plt_build},{output_plt,"/home/diginux/code/sinan/_build/development/info/dialyzer_plt"}])
>> catch Blah -> io:format("~p~n",[Blah]) end.
>> {dialyzer_error,[67,111,117,108,100,32,110,111,116,32,103,101,116,32,97,98,
>>
>> 115,116,114,97,99,116,32,99,111,100,101,32,102,111,114,32,
>>                  102,105,108,101,58,32,
>>
>> "/usr/local/lib/erlang/lib/getopt-0.3.0/ebin/getopt.beam",32,
>>
>> 40,112,108,101,97,115,101,32,114,101,99,111,109,112,105,108,
>>
>> 101,32,105,116,32,119,105,116,104,32,43,100,101,98,117,103,
>>                  95,105,110,102,111,41,10]}
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "erlware-dev" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/erlware-dev?hl=en.
>>
>
>
>
> --
> Martin Logan
> Erlang & OTP in Action (Manning) http://manning.com/logan
> http://twitter.com/martinjlogan
> http://erlware.org
>
> --
> You received this message because you are subscribed to the Google Groups
> "erlware-dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/erlware-dev?hl=en.
>
>


-- 
Samuel

-- 
You received this message because you are subscribed to the Google Groups 
"erlware-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/erlware-dev?hl=en.

Reply via email to