eep icon indicating copy to clipboard operation
eep copied to clipboard

eep:convert_tracing("file_name") issue

Open vaassi opened this issue 10 years ago • 6 comments

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)

vaassi avatar Aug 03 '14 09:08 vaassi

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 avatar Aug 10 '14 15:08 kaos

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.

vaassi avatar Aug 10 '14 15:08 vaassi

@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.

virtan avatar Aug 10 '14 20:08 virtan

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 ;)

kaos avatar Aug 10 '14 20:08 kaos

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 avatar Aug 10 '14 20:08 kaos

@kaos, what do you think about "peep"? ;-)

virtan avatar Aug 24 '14 05:08 virtan