Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

The page at tickets/10/references/1171916 was not found

Activity (RSS)

Wednesday, April 29 2020
41 Mac OS X install not working using pip was updated
  • Andreas Richter
    Andreas Richter commented at 9:02 AM

    Not quite sure what you mean. I use python all the time, but this is such a long time ago... Not sure.

Friday, January 30 2015
42 Python3 Support was created
  • Thor77
    Thor77 created the ticket at 1:51 PM

    Hey,
    are there any plans to convert this libary to python3?

Friday, November 08 2013
22 JS_NewRuntime failures was updated
  • Chris
    Chris commented at 2:32 PM

    I would be very interested in a python-spidermonkey version with Runtime as a process global. I'm using web2py which doesn't give direct thread control, so I ha...

Saturday, October 26 2013
41 Mac OS X install not working using pip was created
  • Andreas Richter
    Andreas Richter created the ticket at 10:17 AM

    The pip install has the errors that some people have worked around by moving files and changing jsutil.h
    This seems to get the thing compiled, but it crashes py...

38 Trouble installing on Mac OS X 10.7 was updated
  • Andreas Richter
    Andreas Richter commented at 10:07 AM

    I see there are some forks trying to fix these issues, but I don't see anything being merged into the main repo. Is this project still being worked on? After ma...

Sunday, October 13 2013
40 setup.py points to wrong version of setuptools was updated
Saturday, August 17 2013
39 test_invalid_octal fails was updated
  • Paul J. Davis
    Paul J. Davis commented at 1:26 PM

    What version of SpiderMonkey are you using? If you have an interpreter built you can try the test which is just:

    09;
    

    Which should throw an error. If not then ...

Thursday, August 15 2013
39 test_invalid_octal fails was created
  • Hans-Peter Jansen
    Hans-Peter Jansen created the ticket at 4:41 PM

    Hi,

    I'm in the process of packaging python-spidermonkey for openSUSE.
    We try to run the tests on every build in order to catch issues early.

    All tests succeed b...

Saturday, February 02 2013
38 Trouble installing on Mac OS X 10.7 was updated
Tuesday, September 25 2012
38 Trouble installing on Mac OS X 10.7 was updated
  • Paul J. Davis
    Paul J. Davis commented at 1:24 PM

    I'm not sure. There's also this patch that I haven't had time to test thoroughly but might help you:

    https://github.com/kencochrane/python-spidermonkey/commit/...

  • Eric Man
    Eric Man commented at 9:23 AM

    To get through this error, I changed line 76 of jsutil.h from:
    typedef int js_static_assert_line##line[(condition) ? 1 : -1]
    to:
    typedef int js_static_assert_li...

  • Eric Man
    Eric Man commented at 9:19 AM

    Here's another error.
    ...

    In file included from ./spidermonkey/libjs/jsarena.c:49:
    ./spidermonkey/libjs/jsbit.h:169: error: size of array ‘js_static_assert_line...

  • Eric Man
    Eric Man commented at 9:18 AM

    I moved the file from the Darwin-XXX folder inside spidermonkey to spider monkey/libjs to get through this error.

  • Eric Man
    Eric Man created the ticket at 9:16 AM

    What is "jsautocfg.h"?

    Here is the error log:

    ➜ davisp-python-spidermonkey-6e3d647 python setup.py build running build
    running build_ext
    gcc-4.2 not found, usin...

Monday, September 17 2012
37 Trouble installing on Mac OS X 10.8 was updated
  • Paul J. Davis
    Paul J. Davis commented at 12:47 PM

    I haven't touched this project in quite some time. Though from the looks of this error report it looks like you're missing nspr and/or pkg-config. If you have H...

Sunday, September 16 2012
37 Trouble installing on Mac OS X 10.8 was created
  • Robin Winsor
    Robin Winsor created the ticket at 10:46 PM

    I've gone through what appears to be a lengthy installation process but I still get an error of
    Import error: No module named spidermonkey
    I've never had to do ...

Friday, May 13 2011
22 JS_NewRuntime failures was updated
  • evan2m
    evan2m commented at 6:19 PM

    Thanks for the quick reply.

    I was able to workaround the problem by instantiating the Runtime at the module level rather than creating one for every instance of...

  • Paul J. Davis
    Paul J. Davis commented at 5:28 PM

    Beyond sharing one runtime for the entire process there's not much I ever figured out on this. I'm not entirely certain on the best route other than to make the...

  • evan2m
    • Milestone order changed from 0 to 0
    by evan2m at 5:12 PM

    Anyone have ideas of how to workaround this problem? My long-running processes that create Runtime instances are dying with this error.

    I don't see anyway to ex...

Tuesday, February 15 2011
Make this build on 10.6 I had to do ... was committed by Paul J. Davis at 9:01 PM
36 syntax errors not raised properly to Python was updated
  • j1m
    j1m commented at 5:18 PM

    I miss-diagnosed this issue.

    The issue is that if Javascript calls Python, which calls context
    execute to call JavaScript code that raises an error, the origina...

Sunday, January 23 2011
20 Install and Build Problem on Mac OS X 10.5 and Python 2..6 was updated
  • Zvezdan Petkovic
    Zvezdan Petkovic commented at 7:47 PM

    Building python-spidermonkey egg on Mac

    To build a python-spidermonkey egg on Mac OS X 10.6 (Snow Leopard):

    1. Install from MacPorts:

      • pkg-config

        sudo port -c ...
36 syntax errors not raised properly to Python was created
  • j1m
    j1m created the ticket at 12:38 PM

    Run time errors get raised very nicely, syntax errors, not so much.

Thursday, January 20 2011
34 New release? was updated
Monday, January 17 2011
20 Install and Build Problem on Mac OS X 10.5 and Python 2..6 was updated
  • j1m
    j1m commented at 11:25 AM

    I beat my head on this a bit more.

    The assertion errors results from sizeof(unsigned) (4) not being the
    same as sizeof(unsigned long) (8). I assume this was som...

Friday, January 14 2011
35 help me please ,waste my 8 hours ! spidermonkey can't install in my unbunt . was created
  • huosu
    huosu created the ticket at 1:36 AM

    I have install all the needed packs , what is wrong with my install??

    shen@shen-System-Product-Name:/usr/lib/python2.6/python-spidermonkey-0.0.9$ python setup....

Monday, January 10 2011
34 New release? was created
  • j1m
    j1m created the ticket at 9:58 AM

    I'd like to use the recent enhancement to pass a file to execute.

    python-spidermonkey is much appreciated. I'm using it to
    create javascript doctests that work ...

20 Install and Build Problem on Mac OS X 10.5 and Python 2..6 was updated
  • j1m
    • Milestone order changed from 0 to 0
    by j1m at 9:51 AM

    I'm getting the same build failure on snow leopard.

    I installed pkgconfig and nspr with ports. I'm using a Python built
    from source.

    ./spidermonkey/libjs/jsapi....

Tuesday, October 26 2010
Allow setting the filename and lineno... was committed by lericson at 4:49 PM
Allow toggling strict mode http://git... was committed by lericson at 4:49 PM
Don't raise an exception on JavaScrip... was committed by lericson at 4:49 PM
Differentiate error for applying and ... was committed by lericson at 4:49 PM
Only set exception after function cal... was committed by lericson at 4:49 PM
Friday, June 18 2010
20 Install and Build Problem on Mac OS X 10.5 and Python 2..6 was updated
  • Bernardo Heynemann
    Bernardo Heynemann commented at 10:27 AM

    But then I get the following:
    sudo pip install python-spidermonkey
    Downloading/unpacking python-spidermonkey
    Running setup.py egg_info for package python-spider...

  • Bernardo Heynemann
    Bernardo Heynemann commented at 10:26 AM

    I can confirm that it does fix it.

    Cheers,
    Bernardo Heynemann

Wednesday, May 26 2010
33 Compiling on Snow Leopard was updated
  • Paul J. Davis
    Paul J. Davis commented at 6:44 PM

    I reckon it's just a version inconsistency with the between nose and setuptools or what not then.

  • ilya
    ilya commented at 5:04 PM

    @Paul

    nosetests seems to work:

    > nosetests
    ...........................................................................................................
    --------...
  • Paul J. Davis
    Paul J. Davis commented at 11:50 AM

    @ilya

    That looks like something related to nosetests. I'm not doing anything weird there. Does nosetests work with 2.7?

  • ilya
    • Assigned user set to Paul J. Davis
    by ilya at 5:36 AM

    Oops, didn't really mean to clear the assigned user. Also meant to have the error message show up as inline code -- is there a way to edit my post?

  • ilya
    • Assigned user cleared.
    by ilya at 5:33 AM

    Thanks, Sandman, for posting your solution -- using your changes I too was able to build successfully on Snow Leopard.

    However, when I ran python setup.py test ...

Wednesday, March 17 2010
33 Compiling on Snow Leopard was updated
  • Sandman
    Sandman commented at 12:42 PM

    FWIW, I was able to build successfully on Snow Leopard. Here is what I did:

    1) If you build spidermonkey (not python-spidermonkey) from source, copy the jsautoc...

Wednesday, November 25 2009
33 Compiling on Snow Leopard was created
  • Sam Barnes
    Sam Barnes created the ticket at 6:48 AM

    Build fails ending with:

    ./spidermonkey/libjs/jsapi.c: In function ‘JS_ConvertArgumentsVA’: ./spidermonkey/libjs/jsapi.c:267: warning: passing argument 5 of ‘Tr...

Thursday, November 19 2009
32 with statement is not supported was updated
  • Paul J. Davis
    Paul J. Davis commented at 8:13 AM

    It doesn't fix quite a few of the issues that will be solved when I move to 1.8.1, and come to think of it, I don't even know if it has with statements either.

  • seb
    seb commented at 7:51 AM

    What about 1.8.0rc1?

  • Paul J. Davis
    Paul J. Davis commented at 7:45 AM
  • Paul J. Davis
    • State changed from new to hold
    by Paul J. Davis at 7:41 AM

    Seb,

    This won't get fixed until I upgrade to 1.8.1 or newer, which won't happen till I see some sort of official-ish release from Mozilla.

  • seb
    seb created the ticket at 6:56 AM
    
    import spidermonkey
    
    rt = spidermonkey.Runtime()
    cx = rt.new_context()
    
    cx.execute("""
            function f(o) {
                with (o) {
                    return t...