Skip to content
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

Subtask.html has no data when report to html #142

Closed
ma125125t opened this issue Jul 9, 2021 · 2 comments · Fixed by #181
Closed

Subtask.html has no data when report to html #142

ma125125t opened this issue Jul 9, 2021 · 2 comments · Fixed by #181

Comments

@ma125125t
Copy link

ma125125t commented Jul 9, 2021

Command

xclogparser parse --reporter html --file F2E3C0C0-B5A9-493D-BC52-85A59533D701.xcactivitylog

Reproduce:

xlogfile:F2E3C0C0-B5A9-493D-BC52-85A59533D701.xcactivitylog.zip

My html result:
20210709143032.zip

Index.html looks well,but if we click a single task to step in.There is no data in it.

index.html
image

subtask.html
image

ps:If I use json reporter,it works well,there is data in subtask.

@ma125125t ma125125t changed the title Sub task no data when report to html Sub task.html has no data when report to html Jul 9, 2021
@ma125125t ma125125t changed the title Sub task.html has no data when report to html Subtask.html has no data when report to html Jul 9, 2021
@ma125125t
Copy link
Author

ma125125t commented Jul 12, 2021

find where goes wrong:
there is character "'" in my computer name, so the code execute error.
const stepUrl = window.location.href.replace(encodeURI('fang's_MacBook_Pro_22C3BD02-CC19-4730-AE2B-0F84D9752A77_2568.html'), targetId + '.html');
Maybe we should use "" to represent string.

@dhoskins
Copy link

dhoskins commented Oct 5, 2021

This issue can be sidestepped by passing --machine_name fang as a parameter to xclogparser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants