ok so i thought i would give mozilla raindrop a test … first i wanted to check it out on my laptop and them maybe install it on my ubuntu dev box after reading this article …
why not give it a shot on my laptop as well ….
follow their instructions here
$ hg clone -r 0.1 http://hg.mozilla.org/labs/raindrop
$ cd raindrop
$ ./server/python/check-raindrop.py
so after i check out the code and run their test it tells me i’m missing a few things …
$ port search couch
couchdb @0.9.1 (databases)
CouchDB is a document database server
$ sudo port install couchdb
...
---> Installing couchdb @0.9.1_0
---> Activating couchdb @0.9.1_0
########################################################################
# Changes in CouchDB 0.9 make 0.8.1 database files incompatible.
# See http://wiki.apache.org/couchdb/BreakingChanges for details
#
# Run the following command to install the CouchDB launchd
# startup item in order to start and re-start service automatically:
#
# sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
########################################################################
---> Cleaning couchdb
$ sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
$ ./raindrop/server/python/check-raindrop.py
ERROR: module 'twisted>=8.2' is missing
now i’m missing twisted … i’m feeling brave so i’ll try to use their configure option …
$ sudo ./server/python/check-raindrop.py --configure
Password:
module 'twisted>=8.2' is missing - attempting easy-install
Searching for twisted>=8.2
...
Processing dependencies for twisted>=8.2
Searching for zope.interface
uh oh looks like it had a problem installing the zope interface …
no luck. ok so lets try and install what’s missing through macports …
well there’s a py26-twisted package …
$ sudo port install py26-zopeinterface
---> Computing dependencies for py26-zopeinterface
---> Building py26-zopeinterface
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-zopeinterface/work/zope.interface-3.3.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
Command output: reading manifest file 'src/zope.interface.egg-info/SOURCES.txt'
writing manifest file 'src/zope.interface.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
File "setup.py", line 86, in
**extra)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 987, in run_commands
self.run_command(cmd)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command
cmd_obj.run()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py", line 134, in run
self.run_command(cmd_name)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command
cmd_obj.run()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 46, in run
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions
self.build_extension(ext)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 175, in build_extension
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 460, in build_extension
ext_path = self.get_ext_fullpath(ext.name)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath
filename = self.get_ext_filename(modpath[-1])
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 85, in get_ext_filename
KeyError: '_zope_interface_coptimizations'
Error: Status 1 encountered during processing.
this breaks because of a few bugs with python 2.6.3 as well as some conflicts with the setuptools vs distribute packages ….
weee …. so still trying to figure out where to go next or maybe just install on ubuntu …