eep
eep copied to clipboard
eep:convert_tracing("file_name") issue
Hello, I get the error message below when I'll try to convert file to cachegrind format. OS: Windows 7, Erlang R16B03
=ERROR REPORT==== 3-Aug-2014::13:04:33 === Error in process <0.35.0> with exit value: {{badmatch,{error,eacces}},[{eep,save_kcachegrind_format,1,[{file,"src/eep.erl"},{line,298}]}]}
** exception error: no match of right hand side value {error,eacces} in function eep:save_kcachegrind_format/1 (src/eep.erl, line 298)
This looks more like a permission issue on your system, than a bug in eep (however, a better error message could've been presented).
Also, as it is now, that process is leaking file descriptors in case of errors like these.
(@virtan, about the name, it really is unfortunate to use an acronym that is already widely recognized, even in the same community).
Kaos, thanks for you reply. I have administrative rights with write permissions to folder which is using for create file. I decided to run it on linux, and all works properly without any errors.
@kaos about the name — do you have any suggestion? About the error: it is possible that there are incorrect slashes used for paths. This could be a reason of eaccess error. I haven't tested it on Windows, don't even have Windows. Feel free to make changes and fixes — I'll merge them.
I haven't used it on windows either, so there may very well be some issue with it there..
regarding a name.. you can make up any name (it's not easy to come up with names, I know), but it may help to remember that it doesn't have to mean anything. How about The Doctor
, or maybe just Doctor
for short. I'm thinking like, it's use is to find bad code (or just code in need of improvement), in order to know what to prescribe to make it better.. just an idea ;)
or to be even more obscure, and a bit "funny" (if you like the doctor analogy), simply call it who
, as in doctor who
.
@kaos, what do you think about "peep"? ;-)