Giter VIP home page Giter VIP logo

pinax-satchmo-buildout's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tximikel

pinax-satchmo-buildout's Issues

Patch for Ubuntu

I was having errors running this on Ubuntu so I simply made the following 2 changes:

  1. updated the version of zlib (there was an error 404 before)
  2. installed Creoleparser before running buildout and commented it out in buildout itself (it was crashing on genshi.builder dependancies before)

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

  • Creoleparser
    +# Creoleparser
    Pygments
    docutils
    elementtree
    @@ -145,7 +145,7 @@ md5sum = d6eefe9e6e06aaa1315462045c9726ba

[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

Script does not run OOTB on ubuntu 9.04

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

site-settings

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.

user/users name clashes; patch in README seems to need update

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")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.