Welcome to the Treehouse Community
Looking to learn something new?
Error in getting data from the web(blog reader app)
I am learning how to build a blog reader app and my log shows the error "cutils-trace Error opening trace file. No such file or directory (2)" , every time i try to run it. Please help !
Ben JakubenTreehouse Teacher
Can you paste in more information from your logcat view? It might help trace back to the root issue.
I was able to solve the issue.
John Chun3,230 Points
I got the same problem.
My logcat shows:
Exception caught: java.io.EOFexception
Here's my logcat view for the error "error opening trace file: No such file or directory (2)".. The app works fine till i call 4 blogs in NUMBER_OF_POST, but the moment i enter NUMBER_OF_POST=5; I get these errors in logcat.
09-19 10:38:17.827: E/Trace(812): error opening trace file: No such file or directory (2) 09-19 10:38:18.652: D/dalvikvm(812): GC_FOR_ALLOC freed 38K, 6% free 2556K/2716K, paused 86ms, total 93ms 09-19 10:38:18.682: I/dalvikvm-heap(812): Grow heap (frag case) to 3.217MB for 635812-byte allocation 09-19 10:38:18.762: D/dalvikvm(812): GC_FOR_ALLOC freed 2K, 5% free 3175K/3340K, paused 84ms, total 84ms 09-19 10:38:18.862: D/dalvikvm(812): GC_CONCURRENT freed <1K, 5% free 3188K/3340K, paused 24ms+16ms, total 103ms 09-19 10:38:19.442: D/libEGL(812): loaded /system/lib/egl/libEGL_emulation.so
I have also tried doing FORCE STOP several times, cleaning the project and also restarting the emulator but it doesn't seem to work.