Open
Bug 1325126
Opened 8 years ago
Updated 7 years ago
Strange JSON parsing error on Windows
Categories
(Bugzilla :: Bugzilla-General, defect, P1)
Tracking
()
NEW
Bugzilla 6.0
People
(Reporter: h2014313059, Assigned: dylanAtHome)
Details
Attachments
(1 file)
3.21 KB,
text/plain
|
Details |
Running Bugzilla on windows 10 gives this error Error parsing C:\Users\Anamika\bugzilla/data/params.json: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at Bugzilla/Config.pm line 326.
Comment 1•8 years ago
|
||
I can confirm this in my windows 10 vm as well. I'll try to solve it this evening so you can get that install working. It's really useful to have someone working on developing under Windows :-D
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•8 years ago
|
Assignee: general → dylan
Priority: -- → P1
Target Milestone: --- → Bugzilla 6.0
Reporter | ||
Comment 2•8 years ago
|
||
thanks Dylan :D
Comment 3•8 years ago
|
||
It looks like this is a bug in JSON::XS, sort of. Something about unix-style newlines makes it think the file contains a non-reference (e.g. a literal string or number) value even when it doesn't. Cpanel::JSON::XS does not have this problem.
Comment 4•8 years ago
|
||
This only happens under Thrall at the moment. Anamika: For the time being, just run bugzilla with "plackup" and no -s Thrall. It will be slower, but this particular error will not happen.
Flags: needinfo?(h2014313059)
Updated•8 years ago
|
Flags: needinfo?(h2014313059)
Updated•7 years ago
|
Assignee: dylan → dylan
You need to log in
before you can comment on or make changes to this bug.
Description
•