librelist archives

« back to archive

Conkeror not loading at all

Conkeror not loading at all

From:
Kinley Dorji
Date:
2015-03-21 @ 06:24
This problem came up some time ago after an upgrade to xulrunner. I didn't
quite get around to figuring out what was wrong, but now it's time to fix
it. Before I start tweaking aound, I'd just like to throw this to the
community just in case it's already been resolved.

Thanks in advance. The errors I get are listed below.

Kinley

---

$ conkeror
(process:5965): GLib-CRITICAL **: g_slice_set_config: assertion
'sys_page_size == 0' failed
JavaScript strict warning: chrome://conkeror/content/keywords.js, line 20:
SyntaxError: in strict mode code, functions may be declared only at top
level or immediately within another function
JavaScript strict warning: chrome://conkeror/content/keywords.js, line 30:
SyntaxError: in strict mode code, functions may be declared only at top
level or immediately within another function
JavaScript strict warning: chrome://conkeror/content/keywords.js, line 62:
SyntaxError: in strict mode code, functions may be declared only at top
level or immediately within another function
JavaScript strict warning: chrome://conkeror/content/keywords.js, line 68:
SyntaxError: in strict mode code, functions may be declared only at top
level or immediately within another function
JavaScript strict warning: chrome://conkeror/content/keywords.js, line 72:
SyntaxError: in strict mode code, functions may be declared only at top
level or immediately within another function
JavaScript strict warning: chrome://conkeror/content/env.js, line 16:
SyntaxError: in strict mode code, functions may be declared only at top
level or immediately within another function
JavaScript strict warning: chrome://conkeror/content/env.js, line 42:
SyntaxError: in strict mode code, functions may be declared only at top
level or immediately within another function
JavaScript strict warning: chrome://conkeror/content/env.js, line 79:
SyntaxError: in strict mode code, functions may be declared only at top
level or immediately within another function
JavaScript strict warning: chrome://conkeror/content/utils.js, line 214:
SyntaxError: octal literals and octal escape sequences are deprecated
JavaScript strict warning: chrome://conkeror/content/utils.js, line 214:
SyntaxError: octal literals and octal escape sequences are deprecated
JavaScript strict warning: chrome://conkeror/content/utils.js, line 214:
SyntaxError: octal literals and octal escape sequences are deprecated
JavaScript strict warning:
file:///usr/share/conkeror/components/application.js, line 167:
ReferenceError: reference to undefined property (intermediate value)[e]
Error initializing.
Error: Error opening input stream (invalid filename?):
chrome://conkeror/content/io
JavaScript error: file:///usr/share/conkeror/components/command-line.js,
line 23: TypeError: conkeror.handle_command_line is not a function
Console error: [JavaScript Warning: "SyntaxError: in strict mode code,
functions may be declared only at top level or immediately within another
function" {file: "chrome://conkeror/content/env.js" line: 16 column: 13
source: "    function get_os () {
"}]
  Category: chrome javascript
Console error: [JavaScript Warning: "SyntaxError: in strict mode code,
functions may be declared only at top level or immediately within another
function" {file: "chrome://conkeror/content/env.js" line: 42 column: 13
source: "    function getenv (variable) {
"}]
  Category: chrome javascript
Console error: [JavaScript Warning: "SyntaxError: in strict mode code,
functions may be declared only at top level or immediately within another
function" {file: "chrome://conkeror/content/env.js" line: 79 column: 13
source: "    function get_current_profile () {
"}]
  Category: chrome javascript
Console error: [JavaScript Warning: "SyntaxError: octal literals and octal
escape sequences are deprecated" {file:
"chrome://conkeror/content/utils.js" line: 214 column: 51 source: "
file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0600);
"}]
  Category: chrome javascript
Console error: [JavaScript Warning: "SyntaxError: octal literals and octal
escape sequences are deprecated" {file:
"chrome://conkeror/content/utils.js" line: 214 column: 51 source: "
file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0600);
"}]
  Category: chrome javascript
Console error: [JavaScript Warning: "SyntaxError: octal literals and octal
escape sequences are deprecated" {file:
"chrome://conkeror/content/utils.js" line: 214 column: 51 source: "
file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0600);
"}]
  Category: chrome javascript
Console error: [JavaScript Warning: "ReferenceError: reference to undefined
property (intermediate value)[e]" {file:
"file:///usr/share/conkeror/components/application.js" line: 167}]
  Category: chrome javascript
Console error: [JavaScript Error: "TypeError: conkeror.handle_command_line
is not a function" {file:
"file:///usr/share/conkeror/components/command-line.js" line: 23}]
  Category: chrome javascript

Re: Conkeror not loading at all

From:
Kinley Dorji
Date:
2015-03-21 @ 07:04
Downgrading from xulrunner 36 to 35 has it working again. I guess I'll wait
till the next version of xulrunner to really get to the bottom of this,
unless I someone gives me a good headsup.

On Sat, Mar 21, 2015 at 12:24 PM Kinley Dorji <kinleyd@gmail.com> wrote:

> This problem came up some time ago after an upgrade to xulrunner. I didn't
> quite get around to figuring out what was wrong, but now it's time to fix
> it. Before I start tweaking aound, I'd just like to throw this to the
> community just in case it's already been resolved.
>
> Thanks in advance. The errors I get are listed below.
>
> Kinley
>
> ---
>
> $ conkeror
> (process:5965): GLib-CRITICAL **: g_slice_set_config: assertion
> 'sys_page_size == 0' failed
> JavaScript strict warning: chrome://conkeror/content/keywords.js, line 20:
> SyntaxError: in strict mode code, functions may be declared only at top
> level or immediately within another function
> JavaScript strict warning: chrome://conkeror/content/keywords.js, line 30:
> SyntaxError: in strict mode code, functions may be declared only at top
> level or immediately within another function
> JavaScript strict warning: chrome://conkeror/content/keywords.js, line 62:
> SyntaxError: in strict mode code, functions may be declared only at top
> level or immediately within another function
> JavaScript strict warning: chrome://conkeror/content/keywords.js, line 68:
> SyntaxError: in strict mode code, functions may be declared only at top
> level or immediately within another function
> JavaScript strict warning: chrome://conkeror/content/keywords.js, line 72:
> SyntaxError: in strict mode code, functions may be declared only at top
> level or immediately within another function
> JavaScript strict warning: chrome://conkeror/content/env.js, line 16:
> SyntaxError: in strict mode code, functions may be declared only at top
> level or immediately within another function
> JavaScript strict warning: chrome://conkeror/content/env.js, line 42:
> SyntaxError: in strict mode code, functions may be declared only at top
> level or immediately within another function
> JavaScript strict warning: chrome://conkeror/content/env.js, line 79:
> SyntaxError: in strict mode code, functions may be declared only at top
> level or immediately within another function
> JavaScript strict warning: chrome://conkeror/content/utils.js, line 214:
> SyntaxError: octal literals and octal escape sequences are deprecated
> JavaScript strict warning: chrome://conkeror/content/utils.js, line 214:
> SyntaxError: octal literals and octal escape sequences are deprecated
> JavaScript strict warning: chrome://conkeror/content/utils.js, line 214:
> SyntaxError: octal literals and octal escape sequences are deprecated
> JavaScript strict warning:
> file:///usr/share/conkeror/components/application.js, line 167:
> ReferenceError: reference to undefined property (intermediate value)[e]
> Error initializing.
> Error: Error opening input stream (invalid filename?):
> chrome://conkeror/content/io
> JavaScript error: file:///usr/share/conkeror/components/command-line.js,
> line 23: TypeError: conkeror.handle_command_line is not a function
> Console error: [JavaScript Warning: "SyntaxError: in strict mode code,
> functions may be declared only at top level or immediately within another
> function" {file: "chrome://conkeror/content/env.js" line: 16 column: 13
> source: "    function get_os () {
> "}]
>   Category: chrome javascript
> Console error: [JavaScript Warning: "SyntaxError: in strict mode code,
> functions may be declared only at top level or immediately within another
> function" {file: "chrome://conkeror/content/env.js" line: 42 column: 13
> source: "    function getenv (variable) {
> "}]
>   Category: chrome javascript
> Console error: [JavaScript Warning: "SyntaxError: in strict mode code,
> functions may be declared only at top level or immediately within another
> function" {file: "chrome://conkeror/content/env.js" line: 79 column: 13
> source: "    function get_current_profile () {
> "}]
>   Category: chrome javascript
> Console error: [JavaScript Warning: "SyntaxError: octal literals and octal
> escape sequences are deprecated" {file:
> "chrome://conkeror/content/utils.js" line: 214 column: 51 source: "
> file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0600);
> "}]
>   Category: chrome javascript
> Console error: [JavaScript Warning: "SyntaxError: octal literals and octal
> escape sequences are deprecated" {file:
> "chrome://conkeror/content/utils.js" line: 214 column: 51 source: "
> file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0600);
> "}]
>   Category: chrome javascript
> Console error: [JavaScript Warning: "SyntaxError: octal literals and octal
> escape sequences are deprecated" {file:
> "chrome://conkeror/content/utils.js" line: 214 column: 51 source: "
> file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0600);
> "}]
>   Category: chrome javascript
> Console error: [JavaScript Warning: "ReferenceError: reference to
> undefined property (intermediate value)[e]" {file:
> "file:///usr/share/conkeror/components/application.js" line: 167}]
>   Category: chrome javascript
> Console error: [JavaScript Error: "TypeError: conkeror.handle_command_line
> is not a function" {file:
> "file:///usr/share/conkeror/components/command-line.js" line: 23}]
>   Category: chrome javascript
>
>
>

Re: [conkeror] Re: Conkeror not loading at all

From:
Axel Beckert
Date:
2015-03-21 @ 08:44
Hi,

On Sat, Mar 21, 2015 at 07:04:16AM +0000, Kinley Dorji wrote:
> Downgrading from xulrunner 36 to 35 has it working again. I guess I'll wait
> till the next version of xulrunner to really get to the bottom of this,
> unless I someone gives me a good headsup.

I remember having had similar issues with earlier 36.x versions of
firefox/xulrunner. But at least with Iceweasel 36.0.1 as in Debian, it
at least starts up. Maybe they fixed that in 36.0.1?

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)

Re: [conkeror] Re: Conkeror not loading at all

From:
Kinley Dorji
Date:
2015-03-21 @ 09:46
Hi Axel, thanks for responding. It was v. 36.0.1 that I downgraded from, so
it seems to have not been fixed still. Sorry for not being more clear in
mentioning the versions I was using.
Kinley

On Sat, Mar 21, 2015 at 2:44 PM Axel Beckert <abe@deuxchevaux.org> wrote:

> Hi,
>
> On Sat, Mar 21, 2015 at 07:04:16AM +0000, Kinley Dorji wrote:
> > Downgrading from xulrunner 36 to 35 has it working again. I guess I'll
> wait
> > till the next version of xulrunner to really get to the bottom of this,
> > unless I someone gives me a good headsup.
>
> I remember having had similar issues with earlier 36.x versions of
> firefox/xulrunner. But at least with Iceweasel 36.0.1 as in Debian, it
> at least starts up. Maybe they fixed that in 36.0.1?
>
>                 Kind regards, Axel
> --
> /~\  Plain Text Ribbon Campaign                   | Axel Beckert
> \ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org
> (Mail)
>  X   See http://www.nonhtmlmail.org/campaign.html | abe@noone.org
> (Mail+Jabber)
> / \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/
> (Web)
>

Re: [conkeror] Conkeror not loading at all

From:
Ivy Foster
Date:
2015-03-21 @ 16:09
On 21 Mar 2015, at  6:24 am +0000, Kinley Dorji wrote:

> This problem came up some time ago after an upgrade to
> xulrunner.

Are you running the latest git version? Xul 36 made some
changes, but someone patched conkeror pretty quickly.

Re: [conkeror] Conkeror not loading at all

From:
Kinley Dorji
Date:
2015-03-21 @ 17:03
I'm running conkeror-git from aur. Should I get it directly from github?,

On Sat, Mar 21, 2015, 10:09 PM Ivy Foster <ivy.foster@gmail.com> wrote:

> On 21 Mar 2015, at  6:24 am +0000, Kinley Dorji wrote:
>
> > This problem came up some time ago after an upgrade to
> > xulrunner.
>
> Are you running the latest git version? Xul 36 made some
> changes, but someone patched conkeror pretty quickly.
>

Re: [conkeror] Conkeror not loading at all

From:
Ivy Foster
Date:
2015-03-21 @ 23:35
On 21 Mar 2015, at  5:03 pm +0000, Kinley Dorji wrote:
> On Sat, Mar 21, 2015, 10:09 PM Ivy Foster <ivy.foster@gmail.com> wrote:
> > On 21 Mar 2015, at  6:24 am +0000, Kinley Dorji wrote:
> >
> > > This problem came up some time ago after an upgrade to
> > > xulrunner.
> >
> > Are you running the latest git version? Xul 36 made some
> > changes, but someone patched conkeror pretty quickly.

> I'm running conkeror-git from aur. Should I get it directly from github?,

No, just update your package. Run makepkg on it again and
it'll fetch latest git and install. You'll need to change
the directory of conkeror.desktop from debian/ to contrib/.
(I'll upload a new, simpler PKGBUILD after I hear yea or nay
to the Makefile patch I submitted the other day. (-: ).
That's the thing with VCS packages--you choose when to
update them. The only time the PKGBUILD in the AUR needs to
get updated is when the build process changes.

Re: [conkeror] Conkeror not loading at all

From:
Kinley Dorji
Date:
2015-03-22 @ 10:09
Hmm. And pardon my ignorance. :)

What you describe is the manual way and though I'm familiar with that, I
use yaourt to get my aur applications, with the -Syua options.Do I need to
do something extra to get yaourt to pick up the new version for git based
packages?

On Sun, Mar 22, 2015 at 5:35 AM Ivy Foster <ivy.foster@gmail.com> wrote:

> On 21 Mar 2015, at  5:03 pm +0000, Kinley Dorji wrote:
> > On Sat, Mar 21, 2015, 10:09 PM Ivy Foster <ivy.foster@gmail.com> wrote:
> > > On 21 Mar 2015, at  6:24 am +0000, Kinley Dorji wrote:
> > >
> > > > This problem came up some time ago after an upgrade to
> > > > xulrunner.
> > >
> > > Are you running the latest git version? Xul 36 made some
> > > changes, but someone patched conkeror pretty quickly.
>
> > I'm running conkeror-git from aur. Should I get it directly from github?,
>
> No, just update your package. Run makepkg on it again and
> it'll fetch latest git and install. You'll need to change
> the directory of conkeror.desktop from debian/ to contrib/.
> (I'll upload a new, simpler PKGBUILD after I hear yea or nay
> to the Makefile patch I submitted the other day. (-: ).
> That's the thing with VCS packages--you choose when to
> update them. The only time the PKGBUILD in the AUR needs to
> get updated is when the build process changes.
>

Re: [conkeror] Conkeror not loading at all

From:
Kinley Dorji
Date:
2015-03-22 @ 10:55
Ah, found it. --devel is what I was missing. Thank you for pointing me in
the right direction Ivy!

On Sun, Mar 22, 2015 at 4:09 PM Kinley Dorji <kinleyd@gmail.com> wrote:

> Hmm. And pardon my ignorance. :)
>
> What you describe is the manual way and though I'm familiar with that, I
> use yaourt to get my aur applications, with the -Syua options.Do I need to
> do something extra to get yaourt to pick up the new version for git based
> packages?
>
> On Sun, Mar 22, 2015 at 5:35 AM Ivy Foster <ivy.foster@gmail.com> wrote:
>
>> On 21 Mar 2015, at  5:03 pm +0000, Kinley Dorji wrote:
>> > On Sat, Mar 21, 2015, 10:09 PM Ivy Foster <ivy.foster@gmail.com> wrote:
>> > > On 21 Mar 2015, at  6:24 am +0000, Kinley Dorji wrote:
>> > >
>> > > > This problem came up some time ago after an upgrade to
>> > > > xulrunner.
>> > >
>> > > Are you running the latest git version? Xul 36 made some
>> > > changes, but someone patched conkeror pretty quickly.
>>
>> > I'm running conkeror-git from aur. Should I get it directly from
>> github?,
>>
>> No, just update your package. Run makepkg on it again and
>> it'll fetch latest git and install. You'll need to change
>> the directory of conkeror.desktop from debian/ to contrib/.
>> (I'll upload a new, simpler PKGBUILD after I hear yea or nay
>> to the Makefile patch I submitted the other day. (-: ).
>> That's the thing with VCS packages--you choose when to
>> update them. The only time the PKGBUILD in the AUR needs to
>> get updated is when the build process changes.
>>
>

Re: [conkeror] Conkeror not loading at all

From:
Kinley Dorji
Date:
2015-03-22 @ 11:23
Sorry, still having a problem. I changed the /debian reference to /contrib
in pkgbuild as you advised, and rebuilt the package. But upon installing I
get these errors now:

error: failed to commit transaction (conflicting files)
conkeror-git: /usr/share/conkeror/modules/completers.js exists in filesystem
conkeror-git: /usr/share/conkeror/modules/http-request-hook.js exists in
filesystem
conkeror-git: /usr/share/conkeror/modules/page-modes/feedly.js exists in
filesystem
conkeror-git: /usr/share/conkeror/modules/user-agent-policy.jsx exists in
filesystem
conkeror-git: /usr/share/conkeror/tests/simple/completers.js exists in
filesystem
Errors occurred, no packages were upgraded.

Not sure what I should do here.

On Sun, Mar 22, 2015 at 4:55 PM Kinley Dorji <kinleyd@gmail.com> wrote:

> Ah, found it. --devel is what I was missing. Thank you for pointing me in
> the right direction Ivy!
>
> On Sun, Mar 22, 2015 at 4:09 PM Kinley Dorji <kinleyd@gmail.com> wrote:
>
>> Hmm. And pardon my ignorance. :)
>>
>> What you describe is the manual way and though I'm familiar with that, I
>> use yaourt to get my aur applications, with the -Syua options.Do I need to
>> do something extra to get yaourt to pick up the new version for git based
>> packages?
>>
>> On Sun, Mar 22, 2015 at 5:35 AM Ivy Foster <ivy.foster@gmail.com> wrote:
>>
>>> On 21 Mar 2015, at  5:03 pm +0000, Kinley Dorji wrote:
>>> > On Sat, Mar 21, 2015, 10:09 PM Ivy Foster <ivy.foster@gmail.com>
>>> wrote:
>>> > > On 21 Mar 2015, at  6:24 am +0000, Kinley Dorji wrote:
>>> > >
>>> > > > This problem came up some time ago after an upgrade to
>>> > > > xulrunner.
>>> > >
>>> > > Are you running the latest git version? Xul 36 made some
>>> > > changes, but someone patched conkeror pretty quickly.
>>>
>>> > I'm running conkeror-git from aur. Should I get it directly from
>>> github?,
>>>
>>> No, just update your package. Run makepkg on it again and
>>> it'll fetch latest git and install. You'll need to change
>>> the directory of conkeror.desktop from debian/ to contrib/.
>>> (I'll upload a new, simpler PKGBUILD after I hear yea or nay
>>> to the Makefile patch I submitted the other day. (-: ).
>>> That's the thing with VCS packages--you choose when to
>>> update them. The only time the PKGBUILD in the AUR needs to
>>> get updated is when the build process changes.
>>>
>>

Re: [conkeror] Conkeror not loading at all

From:
Ivy Foster
Date:
2015-03-22 @ 20:58
On 22 Mar 2015, at 11:23 am +0000, Kinley Dorji wrote:
> Sorry, still having a problem. I changed the /debian
> reference to /contrib in pkgbuild as you advised, and
> rebuilt the package. But upon installing I get these
> errors now:

> [file conflict errors]

It sounds like you either have the old, non-git conkeror
package still installed from when it was in the repos, or
you've done a manual install at some point. Remove that
package and try again.

Also...yaourt is notoriously buggy (though it's probably not
to blame in this case). I'd advise just using Arch's
official tools, with maybe an AUR downloader/searcher like
cower (-: .

iff

Re: [conkeror] Conkeror not loading at all

From:
Kinley Dorji
Date:
2015-03-23 @ 08:15
Thanks Ivy. I had to manually remove /usr/share/conkeror and then it
worked. Yes, yaourt is a bit buggy though I like how it uses the same
command syntax as pacman. Still, time to check out cower and some others
I've heard about. :)

On Mon, Mar 23, 2015 at 2:58 AM Ivy Foster <ivy.foster@gmail.com> wrote:

> On 22 Mar 2015, at 11:23 am +0000, Kinley Dorji wrote:
> > Sorry, still having a problem. I changed the /debian
> > reference to /contrib in pkgbuild as you advised, and
> > rebuilt the package. But upon installing I get these
> > errors now:
>
> > [file conflict errors]
>
> It sounds like you either have the old, non-git conkeror
> package still installed from when it was in the repos, or
> you've done a manual install at some point. Remove that
> package and try again.
>
> Also...yaourt is notoriously buggy (though it's probably not
> to blame in this case). I'd advise just using Arch's
> official tools, with maybe an AUR downloader/searcher like
> cower (-: .
>
> iff
>