-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML parser is not working anymore #108
Comments
Hi! You mention that html reporter is broken. Does that mean for other reporters (like |
same problem, Environment: |
@polac24 as far as I can see from my terminal output when I try also I got to try the json reporter and it was working as well |
3GB |
So I got the fix.(kind of) @AyaAkl25 @polac24 @im-ling I got the blank html page if I ran the command below in the xcactivitylog folder. xclogparser parse --file {id}.xcactivitylog --reporter html --output reports/ However, if I ran the command below. It will generate the correct HTML and xclogparser parse --project MyApp --reporter html --output reports/ |
Unfortunately I won't be able to share the |
Still same issue with me even from Safari :( |
I tried that and no errors show up at all, I think the html page tries to show the data but because if the size of the log file, it cannot complete. but so far no idea why the file is so big like that. It worked before |
So I deleted all the files and everything and tried to generate the html report again, now the size is back to normal but still does not want to load any data then the page breaks |
Hey guys, any help or clues on this? |
I also have the same problem. |
@AyaAkl25 @hc-almeida can you help me check the size of the |
so the I have a question, like at Spotify, normally what is the size of the Thank you |
@AyaAkl25 that's really big. I was checking ours and in the worst case it's ~145MB. Do you have too many targets or files in your project? Are you using something like Cocoapods with a lot of dependencies? |
so about targets, I tried multiple of schemes that has different numbers of targets (high and low) and same result of big size file. about Cocoapods, yes we do use it and I believe with lots of dependencies, is there a way I can solve this out? |
I think the solution is to not use the full json for the HTML report, it's actually not needed. I will try to work on a new version that uses a smaller |
Thank you so much |
Thank you. Same problem here, our json is slightly more than 3gb and we had no luck rendering the html output. |
I believe it appears the size of the JSON file depends on XCLog file it is parsing. So, i was able to get size from 2GB to 150MB by turning off SwiftLint and without_build_specific_information options. I was only interested in build times so this may be ok. If you want to get count of Warnings and errors may be you want to keep SwiftLink step. |
Hey @ecamacho are there any updates on that matter? Thank you |
Hi @AyaAkl25 @emesa-meli @hc-almeida we just released a new version that breaks down the report to smaller files so the browser can render them. Please give it a try |
what i found is the cdn website of jquery sometimes down |
Hey There, I don't know what happened but out of nowhere after everything was working and the html page generated was showing all the errors and logs, now whenever I try to generate with html parser the html page is generated but displays empty data then the html page just breaks and does not want to load anymore.
I tried the following approaches
xclogparser parse --file pathtologfile.xcactivitylog --reporter html
xclogparser parse --workspace pathtoworkspacefile.xcworkspace --reporter html
xclogparser parse --project mytaxi --reporter html
any clue why this might be happening?
my Xcode version is 11.5
xclogparser version: XCLogParser 0.2.18
and I am sure we are using Swift5
Thank you
The text was updated successfully, but these errors were encountered: