shashankgrs21 / paintweb

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

json loading error though paintweb works fine #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download release zip and unzip it.
2. delete src, samples and etc, just keep release files
3. add to my own javaee web content.

What is the expected output?
paintweb loaded without any error, but i always get error that 'not 
well-formed' and 'syntax error' when loading config json, language json and 
color window json though paintweb works so well.

What do you see instead?
no error from browser debug.

What version of the product are you using? On what operating system and
which Web browser?
lastest, Win7, FF 31.0

Please provide any additional information below.
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead 
jquery.min.js:1
http://localhost/cmgr/easyui/jquery.min.js is being assigned a //# 
sourceMappingURL, but already has one
not well-formed config-example.json:1
not well-formed en.json:1
syntax error windows.json:1
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. 
jquery.min.js:5

Original issue reported on code.google.com by maoanape...@gmail.com on 24 Jul 2014 at 9:58

GoogleCodeExporter commented 8 years ago
Check your webserver configs. Check the network request and responses. In 
Firefox, open devtools (press f12), then go to network monitor, reload 
paintweb, and check the requests that load the json files. See response 
headers, check response bodies, etc. Also go to devtools settings and disable 
caching, for less confusion.

Original comment by mihai.sucan on 24 Jul 2014 at 10:12

GoogleCodeExporter commented 8 years ago
Request Headers 11:55:29.000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 
Firefox/31.0
Referer:    maksed???
If-Modified-Since:  Mon, 21 Jul 2014 02:52:47 GMT
Host:   localhost
Connection: keep-alive
Cache-Control:  max-age=0
Accept-Language:    en-US,en;q=0.5
Accept-Encoding:    gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Sent Cookie
JSESSIONID: ???maksed
Response Headers Δ9ms
Server: Jetty(7.5.0.v20110901)
Cached Data Δ0ms
.........

Fetch the remaining 14059 bytes

chrome can works well, FF still not loading.

Original comment by maoanape...@gmail.com on 25 Jul 2014 at 4:00