tag:davisp.lighthouseapp.com,2009-03-08:/projects/26898-python-spidermonkey/eventsdavisp / python-spidermonkey Events2011-01-10T14:58:17Ztag:davisp.lighthouseapp.com,2009-03-08:Event/380393052020-04-29T09:02:43-04:002020-04-29T09:02:43-04:00Andreas Richterpython-spidermonkey: Mac OS X install not working using pip [#41]<div><p>Not quite sure what you mean. I use python all the time, but
this is such a long time ago... Not sure.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/308052192015-01-30T13:51:02-05:002015-01-30T13:51:02-05:00Thor77python-spidermonkey: Python3 Support [#42]<div><p>Hey,<br>
are there any plans to convert this libary to python3?</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/267908892013-11-08T14:32:16-05:002013-11-08T14:32:16-05:00Chrispython-spidermonkey: JS_NewRuntime failures [#22]<div><p>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 have no way to figure out when the
Runtime is garbage collected.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/266232182013-10-26T10:17:56-04:002013-10-26T10:17:56-04:00Andreas Richterpython-spidermonkey: Mac OS X install not working using pip [#41]<div><p>The pip install has the errors that some people have worked
around by moving files and changing jsutil.h<br>
This seems to get the thing compiled, but it crashes python when
using it.</p>
<p>Maybe tell users to use "brew install nspr." This should work
with the right architecture. 64bit on my system. Python is also
64bit so I believe they would have to match.</p>
<p>I can't quite tell if this project has been abandoned or if it's
still active.<br>
The user community has posted things quite recently, but the latest
commits in the repo are 3 years old.<br>
Is this being worked on? Should I make a fork and try to fix this,
or will that never get merged.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/266232082013-10-26T10:07:35-04:002013-10-26T10:07:35-04:00Andreas Richterpython-spidermonkey: Trouble installing on Mac OS X 10.7 [#38]<div><p>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 making all the above changes it can be
compiled but python crashes when you try to execute javascript.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/264573732013-10-13T21:52:26-04:002013-10-13T21:52:26-04:00andypython-spidermonkey: setup.py points to wrong version of setuptools [#40]<div><p>And I messed up the URL.</p>
<p><a href=
"https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg">
https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11...</a></p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/264573672013-10-13T21:50:37-04:002013-10-13T21:50:37-04:00andypython-spidermonkey: setup.py points to wrong version of setuptools [#40]<div><p>Ah, this has to be updated in ez_setup.py (not setup.py)</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/264573542013-10-13T21:46:52-04:002013-10-13T21:46:52-04:00andypython-spidermonkey: setup.py points to wrong version of setuptools [#40]<div><p>Hello, whilst I can fix this myself, this should not happen in
setup.py.</p>
<p>This points to an obsolete, now inaccessible file:</p>
<p><a href=
"http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-py2.7.egg">
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-p...</a></p>
<p>which is actually</p>
<p><a href=
"http://pypi.python.org/packages/2.7/s/setuptools-0.6c9-py2.7.eggsetuptools-0.6c11-py2.7.egg">
http://pypi.python.org/packages/2.7/s/setuptools-0.6c9-py2.7.eggset...</a></p>
<p>I've downloaded the ZIP, not the trunk, since as long the stable
version works, this is fine for me.</p>
<p>Please update the version number.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/258034602013-08-17T13:26:05-04:002013-08-17T13:26:05-04:00Paul J. Davispython-spidermonkey: test_invalid_octal fails [#39]<div><p>What version of SpiderMonkey are you using? If you have an
interpreter built you can try the test which is just:</p>
<pre>
<code>09;</code>
</pre>
<p>Which should throw an error. If not then we'll need to adjust
the test.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/257825012013-08-15T16:41:54-04:002013-08-15T16:41:54-04:00Hans-Peter Jansenpython-spidermonkey: test_invalid_octal fails [#39]<div><p>Hi,</p>
<p>I'm in the process of packaging python-spidermonkey for
openSUSE.<br>
We try to run the tests on every build in order to catch issues
early.</p>
<p>All tests succeed but this one:</p>
<p>[ 39s]
...........................................................................................F...............
[ 39s]
======================================================================
[ 39s] FAIL: test-syntax-error.test_invalid_octal [ 39s]
----------------------------------------------------------------------
[ 39s] Traceback (most recent call last): [ 39s] File
"/usr/lib/python2.7/site-packages/nose/case.py", line 197, in
runTest [ 39s] self.test(*self.arg) [ 39s] File
"/usr/lib/python2.7/site-packages/nose/util.py", line 613, in
newfunc [ 39s] return func(*arg, **kw) [ 39s] File
"/home/abuild/rpmbuild/BUILD/python-spidermonkey-0.0.10/tests/t.py",
line 12, in run [ 39s] func(*self.args()) [ 39s] File
"/home/abuild/rpmbuild/BUILD/python-spidermonkey-0.0.10/tests/test-syntax-error.py",
line 14, in test_invalid_octal [ 39s] t.raises(t.JSError,
cx.execute, "09;") [ 39s] File
"/home/abuild/rpmbuild/BUILD/python-spidermonkey-0.0.10/tests/t.py",
line 76, in raises [ 39s] func_name, exctype.__name__)) [ 39s]
AssertionError: Function did not raise JSError [ 39s] [ 39s] Name
Stmts Miss Cover Missing [ 39s]
------------------------------------------------ [ 39s]
encodings.utf_16 78 78 0% 9-118 [ 39s] t 58 2 97% 16, 54 [ 39s]
------------------------------------------------ [ 39s] TOTAL 136
80 41%<br>
[ 39s]
----------------------------------------------------------------------
[ 39s] Ran 107 tests in 5.018s</p>
<p>Any idea, what's wrong here?</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/232139012013-02-02T14:44:48-05:002013-02-02T14:44:52-05:00gernot.cseh (at gmail)python-spidermonkey: Trouble installing on Mac OS X 10.7 [#38]<div><p>Also working with the patch that you've mentioned in another
ticket didn't work so far.<br>
Here's the output that I've got for<br>
building:<br>
<a href=
"http://pastebin.com/n5LSY36c">http://pastebin.com/n5LSY36c</a><br>
and testing:<br>
<a href=
"http://pastebin.com/YF1VAsLx">http://pastebin.com/YF1VAsLx</a></p>
<p>My C++ skills are not that good to tackle this thing alone, but
one idea would be if there are some problems with 64bit
systems?</p>
<p>Searching for this error</p>
<pre>
<code class=
"javascript">In file included from ./spidermonkey/libjs/jsarena.c:49:
spidermonkey/libjs/jsbit.h:169:1: error: 'js_static_assert_line_169' declared as an array with a negative size
JS_STATIC_ASSERT(sizeof(unsigned) == sizeof(JSUword));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
spidermonkey/libjs/jsutil.h:72:5: note: expanded from macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT_IMPL(condition, __LINE__)
^
spidermonkey/libjs/jsutil.h:74:5: note: expanded from macro 'JS_STATIC_ASSERT_IMPL'
JS_STATIC_ASSERT_IMPL2(condition, line)
^
spidermonkey/libjs/jsutil.h:76:46: note: expanded from macro 'JS_STATIC_ASSERT_IMPL2'
typedef int js_static_assert_line_##line[(condition) ? 1 : -1]
^~~~~~~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1</code>
</pre>
<p>i've found this page <a href=
"http://www.aegidian.org/bb/viewtopic.php?p=61753">Link</a><br>
There is a comment mentioning:<br></p>
<pre>
<code class=
"javascript">I have an idea that you should be using the 64-bit version of jsautocfg.h, not the 32-bit one. :-)</code>
</pre>
<p>Is this version of python-spidermonkey only for 32bit
systems?</p>
<p>Thanks</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/232129122013-02-02T07:12:50-05:002013-02-02T07:12:55-05:00gernot.cseh (at gmail)python-spidermonkey: Trouble installing on Mac OS X 10.7 [#38]<li>Tag set to <em class="change">“<span class="tag">osx 10.8</span>”</em></li>
<div><p>This also happens on OSX 10.8..</p>
<ol>
<li>git clone
<a>git://github.com/davisp/python-spidermonkey.git</a><br></li>
<li>cd python-spidermonkey<br></li>
<li>python setup.py build</li>
</ol>
<p>The same 2 errors as above are happening. If I modify the 2
files like mentioned above, compiling is fine, but getting
following error:</p>
<blockquote>
<blockquote>
<blockquote>
<p>import spidermonkey rt = spidermonkey.Runtime() cx =
rt.new_context() cx.execute("1+2") Segmentation fault: 11</p>
</blockquote>
</blockquote>
</blockquote>
<p>Too bad, really need spidermonkey for OSX 10.8. Any ideas what
might cause the compilation errors?</p>
<p>Thank's<br>
Gernot</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/215187582012-09-25T13:24:47-04:002012-09-25T13:24:50-04:00Paul J. Davispython-spidermonkey: Trouble installing on Mac OS X 10.7 [#38]<div><p>I'm not sure. There's also this patch that I haven't had time to
test thoroughly but might help you:</p>
<p><a href=
"https://github.com/kencochrane/python-spidermonkey/commit/6859fc37be5f4905532686f62d42cc8565e2a828">
https://github.com/kencochrane/python-spidermonkey/commit/6859fc37b...</a></p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/215127382012-09-25T09:23:55-04:002012-09-25T09:23:58-04:00Eric Manpython-spidermonkey: Trouble installing on Mac OS X 10.7 [#38]<div><p>To get through this error, I changed line 76 of jsutil.h
from:<br>
typedef int js_static_assert_line<em>##line[(condition) ? 1 :
-1]<br>
to:<br>
typedef int js_static_assert_line</em>##line[(condition) ? 1 :
0]</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/215126612012-09-25T09:19:44-04:002012-09-25T09:19:46-04:00Eric Manpython-spidermonkey: Trouble installing on Mac OS X 10.7 [#38]<div><p>Here's another error.<br>
...</p>
<p>In file included from ./spidermonkey/libjs/jsarena.c:49:<br>
./spidermonkey/libjs/jsbit.h:169: error: size of array
‘js_static_assert_line_169’ is negative
./spidermonkey/libjs/jsarena.c: In function
‘JS_InitArenaPool’: ./spidermonkey/libjs/jsarena.c:68:
warning: implicit conversion shortens 64-bit value into a 32-bit
value lipo: can't open input file:
/var/folders/_y/ckd6n2xs7x59060cr1w25dqc0000gn/T//ccsAlSOF.out (No
such file or directory)<br>
error: command 'llvm-gcc-4.2' failed with exit status 1</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/215126442012-09-25T09:18:13-04:002012-09-25T09:18:15-04:00Eric Manpython-spidermonkey: Trouble installing on Mac OS X 10.7 [#38]<div><p>I moved the file from the Darwin-XXX folder inside spidermonkey
to spider monkey/libjs to get through this error.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/215126252012-09-25T09:16:22-04:002012-09-25T09:16:24-04:00Eric Manpython-spidermonkey: Trouble installing on Mac OS X 10.7 [#38]<div><p>What is "jsautocfg.h"?</p>
<p>Here is the error log:</p>
<p>➜ davisp-python-spidermonkey-6e3d647 python setup.py
build running build<br>
running build_ext<br>
gcc-4.2 not found, using clang instead<br>
building 'spidermonkey' extension<br>
creating build/temp.macosx-10.6-intel-2.7<br>
creating build/temp.macosx-10.6-intel-2.7/spidermonkey<br>
creating build/temp.macosx-10.6-intel-2.7/spidermonkey/libjs<br>
clang -fno-strict-aliasing -fno-common -dynamic -isysroot
/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2
-DNDEBUG -g -O3 -Ispidermonkey/libjs -Ispidermonkey/Darwin-x86_64
-I/usr/local/include/nspr
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c ./spidermonkey/context.c -o
build/temp.macosx-10.6-intel-2.7/./spidermonkey/context.o
-DJS_THREADSAFE -DPOSIX_SOURCE -D_BSD_SOURCE -Wno-strict-prototypes
-DXP_UNIX<br>
In file included from ./spidermonkey/context.c:9:<br>
In file included from spidermonkey/spidermonkey.h:15:<br>
In file included from spidermonkey/libjs/jsapi.h:47:<br>
In file included from spidermonkey/libjs/jspubtd.h:45:<br>
spidermonkey/libjs/jstypes.h:245:14: fatal error: 'jsautocfg.h'
file not found</p>
<h1>include "jsautocfg.h" / <em>Use auto-detected
configuration</em> /</h1>
<pre>
<code> ^</code>
</pre>
<p>1 error generated.<br>
error: command 'clang' failed with exit status 1</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/213922602012-09-17T12:47:34-04:002012-09-17T12:47:35-04:00Paul J. Davispython-spidermonkey: Trouble installing on Mac OS X 10.8 [#37]<div><p>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 Homebrew installed, you should be
able to fix this with a <code>brew install nspr</code> <code>brew
install pkg-config</code>.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/213814362012-09-16T22:46:46-04:002012-09-16T22:46:48-04:00Robin Winsorpython-spidermonkey: Trouble installing on Mac OS X 10.8 [#37]<div><p>I've gone through what appears to be a lengthy installation
process but I still get an error of<br>
Import error: No module named spidermonkey<br>
I've never had to do more than</p>
<pre>
<code>sudo python setup.py install</code>
</pre>
<p>before so this has been very much more complex. Forgive the
verbosity but the following seems like it might give a clue to
someone more knowledgable than I as to what is going on... Any
advice (in very simple terms - I'm a rookie at this) would be much
appreciated.</p>
<p>robin-winsors-imac-2:downloads robin$ cd
davisp-python-spidermonkey-6e3d647<br>
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$ sudo
python setup.py install<br>
Password:<br>
Traceback (most recent call last):<br>
File "setup.py", line 186, in</p>
<pre>
<code>**platform_config()</code>
</pre>
<p>File "setup.py", line 143, in platform_config</p>
<pre>
<code>return nspr_config(config=config)</code>
</pre>
<p>File "setup.py", line 87, in nspr_config</p>
<pre>
<code>return pkg_config("nspr", config)</code>
</pre>
<p>File "setup.py", line 59, in pkg_config</p>
<pre>
<code>raise RuntimeError("No package configuration found for: %s" % pkg_name)</code>
</pre>
<p>RuntimeError: No package configuration found for: nspr<br>
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$
ls<br>
LICENSE THANKS ez_setup.pyc setup.py update-libjs.sh<br>
MANIFEST.in extra go spidermonkey<br>
README.md ez_setup.py go.comm tests<br>
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$ $
sudo port install pkgconfig<br>
-bash: $: command not found
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$
python ex_setup.py<br>
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python:
can't open file 'ex_setup.py': [Errno 2] No such file or directory
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$
python ez_setup.py<br>
Setuptools version 0.6c9 or greater has been installed.<br>
(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$
python setup.py install<br>
Traceback (most recent call last):<br>
File "setup.py", line 186, in</p>
<pre>
<code>**platform_config()</code>
</pre>
<p>File "setup.py", line 143, in platform_config</p>
<pre>
<code>return nspr_config(config=config)</code>
</pre>
<p>File "setup.py", line 87, in nspr_config</p>
<pre>
<code>return pkg_config("nspr", config)</code>
</pre>
<p>File "setup.py", line 59, in pkg_config</p>
<pre>
<code>raise RuntimeError("No package configuration found for: %s" % pkg_name)</code>
</pre>
<p>RuntimeError: No package configuration found for: nspr<br>
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$
python ez_setup.py -U setuptools<br>
Searching for setuptools<br>
Reading <a href=
"http://pypi.python.org/simple/setuptools/">http://pypi.python.org/simple/setuptools/</a><br>
Reading <a href=
"http://peak.telecommunity.com/snapshots/">http://peak.telecommunity.com/snapshots/</a><br>
Best match: setuptools 0.6c12dev-r88846<br>
Downloading <a href=
"http://peak.telecommunity.com/snapshots/setuptools-0.6c12dev_r88846-py2.7.egg">
http://peak.telecommunity.com/snapshots/setuptools-0.6c12dev_r88846...</a><br>
Processing setuptools-0.6c12dev_r88846-py2.7.egg<br>
Moving setuptools-0.6c12dev_r88846-py2.7.egg to
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages<br>
Removing setuptools 0.6c11 from easy-install.pth file<br>
Adding setuptools 0.6c12dev-r88846 to easy-install.pth file<br>
error:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/easy-install.pth:
Permission denied<br>
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$ sudo
python ez_setup.py -U setuptools<br>
Password:<br>
Searching for setuptools<br>
Reading <a href=
"http://pypi.python.org/simple/setuptools/">http://pypi.python.org/simple/setuptools/</a><br>
Reading <a href=
"http://peak.telecommunity.com/snapshots/">http://peak.telecommunity.com/snapshots/</a><br>
Best match: setuptools 0.6c12dev-r88846<br>
Downloading <a href=
"http://peak.telecommunity.com/snapshots/setuptools-0.6c12dev_r88846-py2.7.egg">
http://peak.telecommunity.com/snapshots/setuptools-0.6c12dev_r88846...</a><br>
Processing setuptools-0.6c12dev_r88846-py2.7.egg<br>
Removing
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c12dev_r88846-py2.7.egg<br>
Moving setuptools-0.6c12dev_r88846-py2.7.egg to
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages<br>
Removing setuptools 0.6c11 from easy-install.pth file<br>
Adding setuptools 0.6c12dev-r88846 to easy-install.pth file<br>
Installing easy_install script to
/Library/Frameworks/Python.framework/Versions/2.7/bin<br>
Installing easy_install-2.7 script to
/Library/Frameworks/Python.framework/Versions/2.7/bin</p>
<p>Installed
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c12dev_r88846-py2.7.egg<br>
Processing dependencies for setuptools<br>
Finished processing dependencies for setuptools<br>
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$ sudo
python ez_setup.py<br>
Setuptools version 0.6c9 or greater has been installed.<br>
(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$ sudo
python setup.py install<br>
Traceback (most recent call last):<br>
File "setup.py", line 186, in</p>
<pre>
<code>**platform_config()</code>
</pre>
<p>File "setup.py", line 143, in platform_config</p>
<pre>
<code>return nspr_config(config=config)</code>
</pre>
<p>File "setup.py", line 87, in nspr_config</p>
<pre>
<code>return pkg_config("nspr", config)</code>
</pre>
<p>File "setup.py", line 59, in pkg_config</p>
<pre>
<code>raise RuntimeError("No package configuration found for: %s" % pkg_name)</code>
</pre>
<p>RuntimeError: No package configuration found for: nspr<br>
robin-winsors-imac-2:davisp-python-spidermonkey-6e3d647 robin$ sudo
port install pkgconfig<br>
---> Computing dependencies for pkgconfig ---> Dependencies
to be installed: glib2 gettext expat libiconv gperf ncurses libffi
perl5 perl5.12 gdbm xz zlib ---> Fetching archive for expat
---> Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2
from <a href=
"http://packages.macports.org/expat">http://packages.macports.org/expat</a>
---> Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2
from <a href=
"http://lil.fr.packages.macports.org/expat">http://lil.fr.packages.macports.org/expat</a>
---> Attempting to fetch expat-2.1.0_0.darwin_12.x86_64.tbz2
from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/expat">
http://mse.uk.packages.macports.org/sites/packages.macports.org/expat</a>
---> Fetching distfiles for expat ---> Attempting to fetch
expat-2.1.0.tar.gz from <a href=
"http://cdnetworks-us-2.dl.sourceforge.net/project/expat/expat/2.1.0">
http://cdnetworks-us-2.dl.sourceforge.net/project/expat/expat/2.1.0</a>
---> Verifying checksum(s) for expat ---> Extracting expat
---> Configuring expat ---> Building expat ---> Staging
expat into destroot ---> Installing expat @2.1.0_0 --->
Activating expat @2.1.0_0 ---> Cleaning expat ---> Fetching
archive for gperf ---> Attempting to fetch
gperf-3.0.4_2.darwin_12.x86_64.tbz2 from <a href=
"http://packages.macports.org/gperf">http://packages.macports.org/gperf</a>
---> Attempting to fetch gperf-3.0.4_2.darwin_12.x86_64.tbz2
from <a href=
"http://lil.fr.packages.macports.org/gperf">http://lil.fr.packages.macports.org/gperf</a>
---> Attempting to fetch gperf-3.0.4_2.darwin_12.x86_64.tbz2
from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/gperf">
http://mse.uk.packages.macports.org/sites/packages.macports.org/gperf</a>
---> Fetching distfiles for gperf ---> Attempting to fetch
gperf-3.0.4.tar.gz from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/gperf">http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/gperf</a>
---> Verifying checksum(s) for gperf ---> Extracting gperf
---> Applying patches to gperf ---> Configuring gperf --->
Building gperf ---> Staging gperf into destroot --->
Installing gperf @3.0.4_2 ---> Activating gperf @3.0.4_2 --->
Cleaning gperf ---> Fetching archive for libiconv --->
Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2 from
<a href=
"http://packages.macports.org/libiconv">http://packages.macports.org/libiconv</a>
---> Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2
from <a href=
"http://lil.fr.packages.macports.org/libiconv">http://lil.fr.packages.macports.org/libiconv</a>
---> Attempting to fetch libiconv-1.14_0.darwin_12.x86_64.tbz2
from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/libiconv">
http://mse.uk.packages.macports.org/sites/packages.macports.org/lib...</a>
---> Fetching distfiles for libiconv ---> Attempting to fetch
libiconv-1.14.tar.gz from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/libiconv">
http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/libiconv</a>
---> Verifying checksum(s) for libiconv ---> Extracting
libiconv ---> Applying patches to libiconv ---> Configuring
libiconv ---> Building libiconv ---> Staging libiconv into
destroot ---> Installing libiconv @1.14_0 ---> Activating
libiconv @1.14_0 ---> Cleaning libiconv ---> Fetching archive
for ncurses ---> Attempting to fetch
ncurses-5.9_1.darwin_12.x86_64.tbz2 from <a href=
"http://packages.macports.org/ncurses">http://packages.macports.org/ncurses</a>
---> Attempting to fetch ncurses-5.9_1.darwin_12.x86_64.tbz2
from <a href=
"http://lil.fr.packages.macports.org/ncurses">http://lil.fr.packages.macports.org/ncurses</a>
---> Attempting to fetch ncurses-5.9_1.darwin_12.x86_64.tbz2
from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/ncurses">
http://mse.uk.packages.macports.org/sites/packages.macports.org/ncu...</a>
---> Fetching distfiles for ncurses ---> Attempting to fetch
ncurses-5.9.tar.gz from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/ncurses">
http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/ncurses</a>
---> Verifying checksum(s) for ncurses ---> Extracting
ncurses ---> Applying patches to ncurses ---> Configuring
ncurses ---> Building ncurses ---> Staging ncurses into
destroot ---> Installing ncurses @5.9_1 ---> Activating
ncurses @5.9_1 ---> Cleaning ncurses ---> Fetching archive
for gettext ---> Attempting to fetch
gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from <a href=
"http://packages.macports.org/gettext">http://packages.macports.org/gettext</a>
---> Attempting to fetch
gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from <a href=
"http://lil.fr.packages.macports.org/gettext">http://lil.fr.packages.macports.org/gettext</a>
---> Attempting to fetch
gettext-0.18.1.1_2.darwin_12.x86_64.tbz2 from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/gettext">
http://mse.uk.packages.macports.org/sites/packages.macports.org/get...</a>
---> Fetching distfiles for gettext ---> Attempting to fetch
gettext-0.18.1.1.tar.gz from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/gettext">
http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/gettext</a>
---> Verifying checksum(s) for gettext ---> Extracting
gettext ---> Applying patches to gettext ---> Configuring
gettext ---> Building gettext ---> Staging gettext into
destroot ---> Installing gettext @0.18.1.1_2 ---> Activating
gettext @0.18.1.1_2 ---> Cleaning gettext ---> Fetching
archive for libffi ---> Attempting to fetch
libffi-3.0.11_0.darwin_12.x86_64.tbz2 from <a href=
"http://packages.macports.org/libffi">http://packages.macports.org/libffi</a>
---> Attempting to fetch libffi-3.0.11_0.darwin_12.x86_64.tbz2
from <a href=
"http://lil.fr.packages.macports.org/libffi">http://lil.fr.packages.macports.org/libffi</a>
---> Attempting to fetch libffi-3.0.11_0.darwin_12.x86_64.tbz2
from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/libffi">
http://mse.uk.packages.macports.org/sites/packages.macports.org/libffi</a>
---> Fetching distfiles for libffi ---> Attempting to fetch
libffi-3.0.11.tar.gz from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/libffi">http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/libffi</a>
---> Verifying checksum(s) for libffi ---> Extracting libffi
---> Configuring libffi ---> Building libffi ---> Staging
libffi into destroot ---> Installing libffi @3.0.11_0 --->
Activating libffi @3.0.11_0 ---> Cleaning libffi --->
Fetching archive for gdbm ---> Attempting to fetch
gdbm-1.10_2.darwin_12.x86_64.tbz2 from <a href=
"http://packages.macports.org/gdbm">http://packages.macports.org/gdbm</a>
---> Attempting to fetch gdbm-1.10_2.darwin_12.x86_64.tbz2 from
<a href=
"http://lil.fr.packages.macports.org/gdbm">http://lil.fr.packages.macports.org/gdbm</a>
---> Attempting to fetch gdbm-1.10_2.darwin_12.x86_64.tbz2 from
<a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/gdbm">
http://mse.uk.packages.macports.org/sites/packages.macports.org/gdbm</a>
---> Fetching distfiles for gdbm ---> Attempting to fetch
gdbm-1.10.tar.gz from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/gdbm">http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/gdbm</a>
---> Verifying checksum(s) for gdbm ---> Extracting gdbm
---> Configuring gdbm ---> Building gdbm ---> Staging gdbm
into destroot ---> Installing gdbm @1.10_2 ---> Activating
gdbm @1.10_2 ---> Cleaning gdbm ---> Fetching archive for
perl5.12 ---> Attempting to fetch
perl5.12-5.12.4_1.darwin_12.x86_64.tbz2 from <a href=
"http://packages.macports.org/perl5.12">http://packages.macports.org/perl5.12</a>
---> Attempting to fetch perl5.12-5.12.4_1.darwin_12.x86_64.tbz2
from <a href=
"http://lil.fr.packages.macports.org/perl5.12">http://lil.fr.packages.macports.org/perl5.12</a>
---> Attempting to fetch perl5.12-5.12.4_1.darwin_12.x86_64.tbz2
from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/perl5.12">
http://mse.uk.packages.macports.org/sites/packages.macports.org/per...</a>
---> Fetching distfiles for perl5.12 ---> Attempting to fetch
perl-5.12.4.tar.bz2 from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/perl5.12">
http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/perl5.12</a>
---> Verifying checksum(s) for perl5.12 ---> Extracting
perl5.12 ---> Applying patches to perl5.12 ---> Configuring
perl5.12 ---> Building perl5.12 ---> Staging perl5.12 into
destroot ---> Installing perl5.12 @5.12.4_1 ---> Activating
perl5.12 @5.12.4_1 ---> Cleaning perl5.12 ---> Fetching
archive for perl5 ---> Attempting to fetch
perl5-5.12.4_0+perl5_12.darwin_12.noarch.tbz2 from <a href=
"http://packages.macports.org/perl5">http://packages.macports.org/perl5</a>
---> Attempting to fetch
perl5-5.12.4_0+perl5_12.darwin_12.noarch.tbz2 from <a href=
"http://lil.fr.packages.macports.org/perl5">http://lil.fr.packages.macports.org/perl5</a>
---> Attempting to fetch
perl5-5.12.4_0+perl5_12.darwin_12.noarch.tbz2 from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/perl5">
http://mse.uk.packages.macports.org/sites/packages.macports.org/perl5</a>
---> Fetching distfiles for perl5 ---> Verifying checksum(s)
for perl5 ---> Extracting perl5 ---> Configuring perl5
---> Building perl5 ---> Staging perl5 into destroot --->
Installing perl5 @5.12.4_0+perl5_12 ---> Activating perl5
@5.12.4_0+perl5_12 ---> Cleaning perl5 ---> Fetching archive
for xz ---> Attempting to fetch xz-5.0.4_0.darwin_12.x86_64.tbz2
from <a href=
"http://packages.macports.org/xz">http://packages.macports.org/xz</a>
---> Attempting to fetch xz-5.0.4_0.darwin_12.x86_64.tbz2 from
<a href=
"http://lil.fr.packages.macports.org/xz">http://lil.fr.packages.macports.org/xz</a>
---> Attempting to fetch xz-5.0.4_0.darwin_12.x86_64.tbz2 from
<a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/xz">
http://mse.uk.packages.macports.org/sites/packages.macports.org/xz</a>
---> Fetching distfiles for xz ---> Attempting to fetch
xz-5.0.4.tar.bz2 from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/xz">http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/xz</a>
---> Verifying checksum(s) for xz ---> Extracting xz --->
Configuring xz ---> Building xz ---> Staging xz into destroot
---> Installing xz @5.0.4_0 ---> Activating xz @5.0.4_0
---> Cleaning xz ---> Fetching archive for zlib --->
Attempting to fetch zlib-1.2.7_0.darwin_12.x86_64.tbz2 from
<a href="http://packages.macports.org/zlib">http://packages.macports.org/zlib</a>
---> Attempting to fetch zlib-1.2.7_0.darwin_12.x86_64.tbz2 from
<a href=
"http://lil.fr.packages.macports.org/zlib">http://lil.fr.packages.macports.org/zlib</a>
---> Attempting to fetch zlib-1.2.7_0.darwin_12.x86_64.tbz2 from
<a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/zlib">
http://mse.uk.packages.macports.org/sites/packages.macports.org/zlib</a>
---> Fetching distfiles for zlib ---> Attempting to fetch
zlib-1.2.7.tar.bz2 from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/zlib">http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/zlib</a>
---> Verifying checksum(s) for zlib ---> Extracting zlib
---> Configuring zlib ---> Building zlib ---> Staging zlib
into destroot ---> Installing zlib @1.2.7_0 ---> Activating
zlib @1.2.7_0 ---> Cleaning zlib ---> Fetching archive for
glib2 ---> Attempting to fetch
glib2-2.32.4_0.darwin_12.x86_64.tbz2 from <a href=
"http://packages.macports.org/glib2">http://packages.macports.org/glib2</a>
---> Attempting to fetch glib2-2.32.4_0.darwin_12.x86_64.tbz2
from <a href=
"http://lil.fr.packages.macports.org/glib2">http://lil.fr.packages.macports.org/glib2</a>
---> Attempting to fetch glib2-2.32.4_0.darwin_12.x86_64.tbz2
from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/glib2">
http://mse.uk.packages.macports.org/sites/packages.macports.org/glib2</a>
---> Fetching distfiles for glib2 ---> Attempting to fetch
glib-2.32.4.tar.xz from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/glib2">http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/glib2</a>
---> Verifying checksum(s) for glib2 ---> Extracting glib2
---> Applying patches to glib2 ---> Configuring glib2 --->
Building glib2 ---> Staging glib2 into destroot --->
Installing glib2 @2.32.4_0 ---> Activating glib2 @2.32.4_0
---> Cleaning glib2 ---> Fetching archive for pkgconfig
---> Attempting to fetch pkgconfig-0.27_0.darwin_12.x86_64.tbz2
from <a href=
"http://packages.macports.org/pkgconfig">http://packages.macports.org/pkgconfig</a>
---> Attempting to fetch pkgconfig-0.27_0.darwin_12.x86_64.tbz2
from <a href=
"http://lil.fr.packages.macports.org/pkgconfig">http://lil.fr.packages.macports.org/pkgconfig</a>
---> Attempting to fetch pkgconfig-0.27_0.darwin_12.x86_64.tbz2
from <a href=
"http://mse.uk.packages.macports.org/sites/packages.macports.org/pkgconfig">
http://mse.uk.packages.macports.org/sites/packages.macports.org/pkg...</a>
---> Fetching distfiles for pkgconfig ---> Attempting to
fetch pkg-config-0.27.tar.gz from <a href=
"http://pkg-config.freedesktop.org/releases/">http://pkg-config.freedesktop.org/releases/</a>
---> Attempting to fetch pkg-config-0.27.tar.gz from <a href=
"http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/pkgconfig">
http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/pkgconfig</a>
---> Verifying checksum(s) for pkgconfig ---> Extracting
pkgconfig ---> Configuring pkgconfig ---> Building pkgconfig
---> Staging pkgconfig into destroot ---> Installing
pkgconfig @0.27_0 ---> Activating pkgconfig @0.27_0 --->
Cleaning pkgconfig ---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0% ---> No
broken files found.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/134101672011-05-13T18:19:30-04:002011-05-13T18:19:33-04:00evan2mpython-spidermonkey: JS_NewRuntime failures [#22]<div><p>Thanks for the quick reply.</p>
<p>I was able to workaround the problem by instantiating the
Runtime at the module level rather than creating one for every
instance of my wrapper class.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/134093872011-05-13T17:28:55-04:002011-05-13T17:28:57-04:00Paul J. Davispython-spidermonkey: JS_NewRuntime failures [#22]<div><p>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 Runtime a process global.</p>
<p>To free a runtime you just need to let it get garbage collected
like any other python object.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/134091312011-05-13T17:12:41-04:002011-05-13T17:12:43-04:00evan2mpython-spidermonkey: JS_NewRuntime failures [#22]<li>Milestone order changed from <em class="change">“0”</em> to <em class="change">“0”</em></li>
<div><p>Anyone have ideas of how to workaround this problem? My
long-running processes that create Runtime instances are dying with
this error.<br></p>
<p>I don't see anyway to explicitly free Runtime instances or share
them between contexts.<br></p>
<p>Paul's idea to privately manage the Runtime from within the
class sounds like the right approach since there is no public API
for Runtime anyway (except new_context).</p>
<p>My context wrapper class works like this:</p>
<pre>
<code class="python"> def __init__(self):
""" Create a JS context and add in our functions """
rt = Runtime()
self.ctx = rt.new_context()</code>
</pre>
<p>And errors on the rt = Runtime() line.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/118652452011-02-15T21:01:46-05:002011-02-15T21:01:46-05:00Paul J. Davis[Changeset] python-spidermonkey: Changeset [6e3d647f7b04e5ea325d28d2e00fda5df40ea72c] by Paul J. Davis<div><p>Make this build on 10.6</p>
<p>I had to do some hackery to get this building on 10.6 with
Homebrew. I<br>
mostly hacked together a fake nspr.pc and dropped it in <a href=
"/projects/26898/changesets/1" title="Changeset [1]">[1]</a> so
that<br>
the pkgconfig stuff in setup.py would work. There's a copy of
this<br>
file in the "extra" directory in this repo. I also added a
patch<br>
for the va_copy like MacPorts does.</p>
<p>If anyone would like to tear out the embedded copy of
Spidermonkey<br>
that this package ships with and update the build system to use<br>
either what Homebrew installs or is found in the xulrunner
package<br>
on Ubuntu, that would be awesome.</p>
<p><a href="/projects/26898/changesets/1" title=
"Changeset [1]">[1]</a> /usr/local/lib/pkgconfig/nspr.c <a href=
"https://github.com/davisp/python-spidermonkey/commit/6e3d647f7b04e5ea325d28d2e00fda5df40ea72c">
https://github.com/davisp/python-spidermonkey/commit/6e3d647f7b04e5...</a></p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/118616872011-02-15T17:18:30-05:002011-02-15T17:18:30-05:00j1mpython-spidermonkey: syntax errors not raised properly to Python [#36]<div><p>I miss-diagnosed this issue.</p>
<p>The issue is that if Javascript calls Python, which calls
context<br>
execute to call JavaScript code that raises an error, the
original<br>
exception is lost. The context execute method raises a run time
error<br>
with the message "Script execution failed and no exception was
set",<br>
rather than the progonal error.</p>
<p>I eventually came up with a hack arund that involved wrapping
a<br>
JavaScript try/catch around the code being executed.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/114437322011-01-23T19:47:34-05:002011-01-23T19:47:39-05:00Zvezdan Petkovicpython-spidermonkey: Install and Build Problem on Mac OS X 10.5 and Python 2..6 [#20]<div><h1>Building <code>python-spidermonkey</code> egg on Mac</h1>
<p>To build a <code>python-spidermonkey</code> egg on Mac OS X 10.6
(Snow Leopard):</p>
<ol>
<li>
<p>Install from <code>MacPorts</code>:<br></p>
<ul>
<li>
<p>pkg-config</p>
<pre>
<code>sudo port -c install pkgconfig +universal</code>
</pre></li>
<li>
<p>spidermonkey</p>
<pre>
<code>sudo port -c install spidermonkey +universal</code>
</pre></li>
</ul>
<p>The <code>spidermonkey</code> port will install
<code>nspr</code> as a dependency.</p>
<p>(The <code>+universal</code> is optional. If you use a universal
build of Python it's better to build universal libraries too.)</p>
</li>
<li>
<p>Create a <code>pkg-config</code> metadata file for
<code>spidermonkey</code> because it<br>
does not create one during install.</p>
<p>The file needs to be named <code>mozilla-js.pc</code> because
that's the name <code>python-spidermonkey</code> is looking for
when it calls <code>pkg-config</code>.</p>
<p>Open in your favorite editor
<code>/opt/local/lib/pkgconfig/mozilla-js.pc</code> and put this
content in</p>
<pre>
<code>prefix=/opt/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/js
Name: SpiderMonkey
Description: JavaScript-C Engine
Version: 1.7.0
Requires: nspr
Libs: -L${libdir} -ljs
Cflags: -I${includedir} -DJS_THREADSAFE -DJS_C_STRINGS_ARE_UTF8 -DXP_UNIX</code>
</pre></li>
<li>
<p>Download a source distribution of the
<code>python-spidermonkey</code> egg from<br>
<a href=
"http://pypi.python.org/pypi/python-spidermonkey/0.0.9">http://pypi.python.org/pypi/python-spidermonkey/0.0.9</a>
or the latest snapshot from the <code>python-spidermonkey</code>
home page listed at PyPI.</p>
</li>
<li>
<p>Unpack the source distribution and build the egg using
<code>zc.buildout</code></p>
<pre>
<code>buildout setup . --system-library bdist_egg</code>
</pre>
<p>or Python</p>
<pre>
<code>python setup.py --system-library bdist_egg</code>
</pre>
(Add the appropriate path to buildout or python above.)</li>
</ol></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/114414062011-01-23T12:38:18-05:002011-01-23T12:38:18-05:00j1mpython-spidermonkey: syntax errors not raised properly to Python [#36]<div><p>Run time errors get raised very nicely, syntax errors, not so
much.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/113992032011-01-20T08:55:34-05:002011-01-20T08:55:35-05:00j1mpython-spidermonkey: New release? [#34]<div><p>Until there's an official release, I made a release here:</p>
<p><a href=
"http://www.riversnake.com/dists/python-spidermonkey-0.0.9.1z.tar.gz">
http://www.riversnake.com/dists/python-spidermonkey-0.0.9.1z.tar.gz</a></p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/113351032011-01-17T11:25:16-05:002011-01-17T11:25:20-05:00j1mpython-spidermonkey: Install and Build Problem on Mac OS X 10.5 and Python 2..6 [#20]<div><p>I beat my head on this a bit more.</p>
<p>The assertion errors results from sizeof(unsigned) (4) not being
the<br>
same as sizeof(unsigned long) (8). I assume this was something
that<br>
changed in Mac OS X Snow Leopard.</p>
<p>Since python-spidermonkey includes a snapshot of spidermonkey,
I<br>
thought I'd try to install later versions of spider monkley and<br>
install python-spidermonkey via system libraries. After much
flailing,<br>
I managed to get a system build of spider monkey from the
mercurial<br>
repo build with --enable-threadsafe and managed to get<br>
python-spidermonkey to use it by hand crafting a mozilla-ns.pc
file.<br>
Unfortunately, python-spidermonkey fails to build with many
errors<br>
suggesting the spidermonkey apis have changed too much for<br>
python-spidermonkey to keep up with.</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/112988892011-01-14T01:36:54-05:002011-01-14T01:36:54-05:00huosupython-spidermonkey: help me please ,waste my 8 hours ! spidermonkey can't install in my unbunt . [#35]<div><p>I have install all the needed packs , what is wrong with my
install??</p>
<p>
shen@shen-System-Product-Name:/usr/lib/python2.6/python-spidermonkey-0.0.9$
python setup.py install<br>
Traceback (most recent call last):<br>
File "setup.py", line 190, in</p>
<pre>
<code>test_suite = 'nose.collector',</code>
</pre>
<p>File "/usr/lib/python2.6/distutils/core.py", line 113, in
setup</p>
<pre>
<code>_setup_distribution = dist = klass(attrs)</code>
</pre>
<p>File
"/usr/lib/python2.6/python-spidermonkey-0.0.9/setuptools-0.6c9-py2.6.egg/setuptools/dist.py",
line 219, in <strong>init</strong> File
"/usr/lib/python2.6/python-spidermonkey-0.0.9/setuptools-0.6c9-py2.6.egg/setuptools/dist.py",
line 243, in fetch_build_eggs File
"/usr/lib/python2.6/dist-packages/pkg_resources.py", line 544, in
resolve</p>
<pre>
<code>dist = best[req.key] = env.best_match(req, self, installer)</code>
</pre>
<p>File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line
786, in best_match</p>
<pre>
<code>return self.obtain(req, installer) # try and download/install</code>
</pre>
<p>File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line
798, in obtain</p>
<pre>
<code>return installer(requirement)</code>
</pre>
<p>File
"/usr/lib/python2.6/python-spidermonkey-0.0.9/setuptools-0.6c9-py2.6.egg/setuptools/dist.py",
line 263, in fetch_build_egg File
"/usr/lib/python2.6/python-spidermonkey-0.0.9/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py",
line 21, in File
"/usr/lib/python2.6/python-spidermonkey-0.0.9/setuptools-0.6c9-py2.6.egg/setuptools/package_index.py",
line 145, in File
"/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in
require</p>
<pre>
<code>needed = self.resolve(parse_requirements(requirements))</code>
</pre>
<p>File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line
552, in resolve</p>
<pre>
<code>raise DistributionNotFound(req)</code>
</pre>
<p>pkg_resources.DistributionNotFound: distribute<br>
shen@shen-System-Product-Name:/usr/lib/python2.6/python-spidermonkey-0.0.9$</p></div>tag:davisp.lighthouseapp.com,2009-03-08:Event/112159702011-01-10T09:58:17-05:002011-01-10T09:58:18-05:00j1mpython-spidermonkey: New release? [#34]<div><p>I'd like to use the recent enhancement to pass a file to
execute.</p>
<p>python-spidermonkey is much appreciated. I'm using it to<br>
create javascript doctests that work with the standard doctest<br>
module (and the zope testrunner).</p>
<p>One of the cool aspects of this is that when I get a traceback,
it<br>
includes both Python and Javascript calls, thanks to the recent<br>
changes. (Rhino gives useless java tracebacks.)</p>
<p>BTW, is there a mailing list where python-spidermonkey is
discussed?</p></div>