"JSONview" FF addon doesn't work anymore in PM 26.3.3

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
SfdudePM

"JSONview" FF addon doesn't work anymore in PM 26.3.3

Unread post by SfdudePM » 2016-08-17, 00:51

"JSONview" is a very useful addon
to visualize JSON syntax inside the browser.

I tried with the latest version of "JSONview" (0.9.1-signed)
that will still install on:
Pale Moon 26.3.3 / Ubuntu 12.04 LTS 32 bit.

It installs OK,
but doesn't "pretty-print" JSON syntax at all.

Addon page :
https://addons.mozilla.org/en-us/firefo ... /jsonview/
Example JSON page to test it :
https://jsonview.com/example.json

Anybody got it working? :shock:
thanks -
SFdudePM

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1736
Joined: 2013-05-20, 18:19
Location: Somewhere in Sector 001

Re: "JSONview" FF addon doesn't work anymore in PM 26.3.3

Unread post by trava90 » 2016-08-17, 01:51

Confirmed 0.9.1 does not work as expected. The extension throws this in the error console:
Error: jsonview: An exception occurred.
Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsICategoryManager.getCategoryEntry]
Traceback (most recent call last):
File "resource://gre/modules/NetUtil.jsm", line 137, in
aCallback(pipe.inputStream, aStatusCode, aRequest);
File "resource://gre/modules/commonjs/sdk/net/url.js", line 49, in readAsync/<
resolve(data);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 187, in resolve
result.then(observer.resolve, observer.reject);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 45, in then
return { then: function then(fulfill) { fulfill(value); } };
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve
deferred.resolve(onFulfill ? onFulfill(value) : value);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 187, in resolve
result.then(observer.resolve, observer.reject);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 45, in then
return { then: function then(fulfill) { fulfill(value); } };
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve
deferred.resolve(onFulfill ? onFulfill(value) : value);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 187, in resolve
result.then(observer.resolve, observer.reject);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 45, in then
return { then: function then(fulfill) { fulfill(value); } };
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve
deferred.resolve(onFulfill ? onFulfill(value) : value);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 187, in resolve
result.then(observer.resolve, observer.reject);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 45, in then
return { then: function then(fulfill) { fulfill(value); } };
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve
deferred.resolve(onFulfill ? onFulfill(value) : value);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve
deferred.resolve(onFulfill ? onFulfill(value) : value);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 187, in resolve
result.then(observer.resolve, observer.reject);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 45, in then
return { then: function then(fulfill) { fulfill(value); } };
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve
deferred.resolve(onFulfill ? onFulfill(value) : value);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 187, in resolve
result.then(observer.resolve, observer.reject);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 155, in then
result.then(resolve, reject);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 45, in then
return { then: function then(fulfill) { fulfill(value); } };
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve
deferred.resolve(onFulfill ? onFulfill(value) : value);
File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve
deferred.resolve(onFulfill ? onFulfill(value) : value);
File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 116, in startup/<
run(options);
File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 148, in run
let program = main(options.loader, options.main);

SfdudePM

Re: "JSONview" FF addon doesn't work anymore in PM 26.3.3

Unread post by SfdudePM » 2016-08-17, 02:05

Thanks (as always), Trava!

The curious thing is
I remember this wonderful addon working fine
in older PM versions...

I wonder if it may run ok
on the upcoming PM v27...

New Tobin Paradigm

Re: "JSONview" FF addon doesn't work anymore in PM 26.3.3

Unread post by New Tobin Paradigm » 2016-08-17, 03:53

This is a Jetpack extension and therefor will not run on Tycho.. It previously working in Pale Moon.. I am not so sure about that.

SfdudePM

Re: "JSONview" FF addon doesn't work anymore in PM 26.3.3

Unread post by SfdudePM » 2016-08-17, 04:02

Hi Matt,

Right now, tried
with the latest version of "JSONview" (0.9.1-signed)
that will still install on:
Pale Moon 26.3.3 / Ubuntu 12.04 LTS, 32 bit.

I don't remember the version #s
of the older PM
nor the JSONview addon,
which used to work fine before...

But they used to work ok together.
(there are even some old posts of other people
in the PM Forum, confirming it).

New Tobin Paradigm

Re: "JSONview" FF addon doesn't work anymore in PM 26.3.3

Unread post by New Tobin Paradigm » 2016-08-17, 04:24

I have never gotten the extension to function in modern times.. So.. Dunno. Would be a nice thing to have.. We do format XML.. MAYBE as a future enhancement we should format json as well in the browser. Dunno.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35481
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: "JSONview" FF addon doesn't work anymore in PM 26.3.3

Unread post by Moonchild » 2016-08-17, 07:46

I have this in my extensions list myself. I know it worked before but I don't know with which update it broke.
0.7.1 seems to be the last non-SDK version, but that doesn't seem to work either.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

SfdudePM

Re: "JSONview" FF addon doesn't work anymore in PM 26.3.3

Unread post by SfdudePM » 2016-08-17, 19:06

@Moonchild & @Matt Tobin:
quote:
"Would be a nice thing to have.. We do format XML.. MAYBE as a future enhancement we should format json as well in the browser. Dunno."

Agree completely, Matt!
It would be very useful to make JSONview work again!

Tried other alternative addons...not as good
and practical as JSONview...

Locked