agusantoso / harviewer

Automatically exported from code.google.com/p/harviewer
0 stars 0 forks source link

Failed to parse JSON #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use attached log collected with direbug
2.
3.

What is the expected output? What do you see instead?
Working viewver

What version of the product are you using? On what operating system?
HTTP Archive Viewer 2.0.5, ubuntu, firefox 3.6.13, firebug 1.6.1, netexport 
0.8.b9

Please provide any additional information below.
It works int HTTP Archive Viewer 1.1-13 here http://www.5o9mm.com/har/viewer/

Please attach a HAR file that can be used to reproduce the problem.

Original issue reported on code.google.com by illia.ro...@gmail.com on 8 Jan 2011 at 9:32

Attachments:

GoogleCodeExporter commented 9 years ago
I have downloaded the attached HAR file, opened in using:

http://www.softwareishard.com/har/viewer

... and I am seeing 500 requests.

So, what is wrong? Where I should look for the problem?

Honza

Original comment by odva...@gmail.com on 10 Jan 2011 at 9:48

Attachments:

GoogleCodeExporter commented 9 years ago
Well when i upload file using specified environment - it says Failed to parse 
JSON

Original comment by illia.ro...@gmail.com on 10 Jan 2011 at 10:11

GoogleCodeExporter commented 9 years ago
Are you loading an online file using JSONP?

Something like as follows?
http://www.softwareishard.com/har/viewer/?inputUrl=http://www.example.com/netDat
a.harp

Does your file has proper JSONP syntax?

callback({json-har-structure});

Honza

Original comment by odva...@gmail.com on 10 Jan 2011 at 11:17

GoogleCodeExporter commented 9 years ago
I'm using drag & drop in FF
I don't know how to check syntax - but i've uploaded problem file.

Original comment by illia.ro...@gmail.com on 10 Jan 2011 at 11:26

GoogleCodeExporter commented 9 years ago
This seems to be limitation of Firefox 3 (related to JSON size). You can also 
see:
https://bugzilla.mozilla.org/show_bug.cgi?id=420869

Anyway, try Firefox 4, it should work.
Let me know if it solves the problem for you.

(issue 26 is also related)

Honza

Original comment by odva...@gmail.com on 10 Jan 2011 at 12:28

GoogleCodeExporter commented 9 years ago
odvarko, thanks for clarification
good luck with your helpful project

Original comment by illia.ro...@gmail.com on 10 Jan 2011 at 12:31

GoogleCodeExporter commented 9 years ago
Thanks for the update, closing the bug.
Honza

Original comment by odva...@gmail.com on 10 Jan 2011 at 12:36