hbussell / pinax-satchmo-buildout Goto Github PK
View Code? Open in Web Editor NEWCore files to create a pinax and satchmo based website using buildout
Core files to create a pinax and satchmo based website using buildout
Hi all, it seems I'm not able to find it anymore
(http://hg.assembla.com/threaded_multihost not found)
A temporary issue or do I need a new source?
Best regards
/gp
Installing threaded_multihost.
threaded_multihost: Cloning repository http://hg.assembla.com/threaded_multihost to /home/gpciceri/allShop/parts/threaded_multihost
While:
Installing threaded_multihost.
...
HTTPError: HTTP Error 404: Not Found
I was having errors running this on Ubuntu so I simply made the following 2 changes:
The diff is attached below. HTH
$ git diff
diff --git a/buildout.cfg b/buildout.cfg
index 6c06af7..f1cf9ec 100644
--- a/buildout.cfg
+++ b/buildout.cfg
@@ -31,7 +31,7 @@ eggs =
pycrypto
fabric
BeautifulSoup
[zlib]
recipe = hexagonit.recipe.cmmi
-url = http://www.zlib.net/zlib-1.2.3.tar.gz
+url = http://www.zlib.net/zlib-1.2.4.tar.gz
configure-options = --shared
[allsrc]
diff --git a/create-site.sh b/create-site.sh
index a29ae9f..35f3381 100755
--- a/create-site.sh
+++ b/create-site.sh
@@ -13,6 +13,9 @@ if [ -f "buildout.cfg" ]; then
fi
virtualenv --no-site-packages env
+env/bin/easy_install genshi
+env/bin/easy_install pip
+env/bin/pip install creoleparser
env/bin/easy_install zc.buildout
env/bin/buildout init
OSError: [Errno 2] No such file or directory: '/var/egg-cache/tmpHWVXmd'
This is the second time running it. But, the error is much the same as the first time.
Skylar@ABC255:~/pinax/projects/satchmo-site/pinax-satchmo-buildout$ create-site.sh
fatal: destination directory '/tmp/pinax-satchmo-buildout' already exists.
New python executable in env/bin/python
Installing setuptools............done.
Searching for zc.buildout
Reading http://pypi.python.org/simple/zc.buildout/
Best match: zc.buildout 1.3.0
Downloading http://pypi.python.org/packages/source/z/zc.buildout/zc.buildout-1.3.0.tar.gz#md5=57b0d7da74e4a98e11695ed2be9a7d55
Processing zc.buildout-1.3.0.tar.gz
Running zc.buildout-1.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-0AgN0V/zc.buildout-1.3.0/egg-dist-tmp-X84Rcm
Adding zc.buildout 1.3.0 to easy-install.pth file
Installing buildout script to /home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/bin
Installed /home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg
Processing dependencies for zc.buildout
Finished processing dependencies for zc.buildout
Download error: [Errno -2] Name or service not known -- Some packages may not be found!
While:
Initializing.
Getting section buildout.
Initializing section buildout.
Getting option buildout:eggs.
Getting section pinax.
Initializing section pinax.
Installing recipe zc.recipe.egg.
Getting distribution for 'zc.recipe.egg'.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/buildout.py", line 1518, in main
user_defaults, windows_restart, command)
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/buildout.py", line 171, in init
options = self['buildout']
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/buildout.py", line 898, in getitem
options._initialize()
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/buildout.py", line 968, in _initialize
self._dosub(k, v)
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/buildout.py", line 988, in _dosub
v = '$$'.join([self._sub(s, seen) for s in v.split('$$')])
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/buildout.py", line 1049, in _sub
v = self.buildout[s[0]].get(s[1], None, seen)
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/buildout.py", line 898, in getitem
options._initialize()
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/buildout.py", line 979, in _initialize
recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/buildout.py", line 938, in _install_and_load
allow_hosts=buildout._allow_hosts
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/easy_install.py", line 802, in install
return installer.install(specs, working_set)
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/easy_install.py", line 648, in install
for dist in self._get_dist(requirement, ws, self._always_unzip):
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/easy_install.py", line 547, in _get_dist
dist.location, ws, self._dest, dist)
File "/home/skylar/pinax/projects/satchmo-site/pinax-satchmo-buildout/env/lib/python2.6/site-packages/zc.buildout-1.3.0-py2.6.egg/zc/buildout/easy_install.py", line 301, in _call_easy_install
tmp = tempfile.mkdtemp(dir=dest)
File "/usr/lib/python2.6/tempfile.py", line 318, in mkdtemp
_os.mkdir(file, 0700)
OSError: [Errno 2] No such file or directory: '/var/egg-cache/tmpHWVXmd'
/usr/bin/create-site.sh: 13: bin/buildout: not found
Satchmo's site settings should be available at /settings or via admin. Current settings/satchmo_settings.py does not result in settings being available. Satchmo documentation says that satchmo_store app needs to be placed before django.contrib.admin. Tried various placements of these two, which only hung the server.
when I applied patch indicated in README, name clashes were reported for both user and users; I changed the related_names of both, which stopped the error, but I have no idea whether it introduces new problems:
in /src/eggs/django_friends../friends/models.py, about line 43:
user = models.ForeignKey(User, related_name="friend_contact")
...
...
users = models.ManyToManyField(User, related_name="friend_contacts")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.