[ckan-changes] commit/ckan: dread: [doc][s]: Tips for test running. And added old vhost for buildbot from eu8.

Bitbucket commits-noreply at bitbucket.org
Fri Jul 8 11:51:27 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/a5706f0866d3/
changeset:   a5706f0866d3
user:        dread
date:        2011-07-08 13:41:15
summary:     [doc][s]: Tips for test running. And added old vhost for buildbot from eu8.
affected #:  2 files (918 bytes)

--- a/README.txt	Thu Jul 07 20:46:38 2011 +0100
+++ b/README.txt	Fri Jul 08 12:41:15 2011 +0100
@@ -358,6 +358,19 @@
 
    A common error when wanting to run tests against a particular database is to change the sqlalchemy.url in test.ini or test-core.ini. The problem is that these are versioned files and people have checked in these by mistake, creating problems for all other developers and the buildbot. This is easily avoided by only changing the sqlalchemy.url in your local development.ini and testing --with-pylons=test-core.ini.
 
+Common problems running tests
+-----------------------------
+
+* `nose.config.ConfigError: Error reading config file 'setup.cfg': no such option 'with-pylons'`
+
+   This error can result when you run nosetests for two reasons:
+
+   1. Pylons nose plugin failed to run. If this is the case, then within a couple of lines of running `nosetests` you'll see this warning: `Unable to load plugin pylons` followed by an error message. Fix the error here first.
+
+   2. The Python module 'Pylons' is not installed into you Python environment. Confirm this with::
+
+        python -c "import pylons"
+
 Testing extensions
 ------------------
 


--- a/doc/buildbot.rst	Thu Jul 07 20:46:38 2011 +0100
+++ b/doc/buildbot.rst	Fri Jul 08 12:41:15 2011 +0100
@@ -144,6 +144,20 @@
        ProxyPreserveHost On
   </VirtualHost>
 
+or the old one had::
+
+  <VirtualHost *:80>
+      ServerAdmin sysadmin at okfn.org
+      ServerName buildbot.okfn.org
+      DocumentRoot /var/www/
+      <Location />
+          Order allow,deny
+          allow from all
+      </Location>
+      RewriteEngine On   
+      RewriteRule /(.*) http://localhost:8010/$1 [P,L]
+  </VirtualHost>
+
 Then::
 
   sudo apt-get install libapache2-mod-proxy-html

Repository URL: https://bitbucket.org/okfn/ckan/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list