Difficulty getting PTAH to serve up

38 views
Skip to first unread message

Brian Bigelow

unread,
Sep 25, 2012, 4:35:05 PM9/25/12
to ptahp...@googlegroups.com

Hey All.  I'm new to ptah but not new to pyramid.  I'm having difficulty getting any project to serve up.  I tried a clean ptah scaffold and one of hte examples and I'm getting the following error, http://pastebin.com/BE1WkYWy  Any insight would be much appreciated.

I'm running Mac OS X 10.8

Thanks!

Brian

Alan Runyan

unread,
Sep 25, 2012, 5:00:06 PM9/25/12
to ptahp...@googlegroups.com, ptahp...@googlegroups.com
clone Ptah and run setup.py develop on the clone package

Alan Runyan
Enfold Systems
Sent from my iPhone

Brian Bigelow

unread,
Sep 25, 2012, 5:01:17 PM9/25/12
to ptahp...@googlegroups.com
Thanks Alan.  So clone it instead of using the pip package?  I used pip to install it and did setup.py develop.  I will try cloning.

Thanks!

Brian

Brian Bigelow

unread,
Sep 25, 2012, 5:04:39 PM9/25/12
to ptahp...@googlegroups.com
I cloned it from git and ran setup.py develop and get the same error.  

Alan Runyan

unread,
Sep 25, 2012, 5:15:24 PM9/25/12
to ptahp...@googlegroups.com
try the instructions from ptah, https://github.com/ptahproject/ptah

try in a clean virtualenv:

$ cd /path/to/virtualenv/
$ git clone git://github.com/ptahproject/ptah.git
$ cd ptah
$ /path/to/virtualenv/bin/python setup.py develop

then run the tests:

$ /path/to/virtualenv/bin/python setup.py test
An empty project
Let's generate a empty project using the ptah_starter scaffolding. You
can start from there:

/path/to/virtualenv $ bin/pcreate -t ptah_starter myapp
/path/to/virtualenv $ cd myapp
/path/to/virtualenv/myapp $ ../bin/python setup.py develop
/path/to/virtaulenv/myapp $ ../bin/pserve settings.ini --reload


this should use waitress not paster.


--
Alan Runyan

Skype/Twitter:: runyaga
Office:: 713.942.2377 ext 111
http://ploud.com/ Plone site in less than 10 seconds

Nikolay Kim

unread,
Sep 25, 2012, 5:39:40 PM9/25/12
to ptahp...@googlegroups.com
I didn't test ptah with latest pyramid, will do this later today.

Alan Runyan

unread,
Sep 25, 2012, 6:39:38 PM9/25/12
to ptahp...@googlegroups.com
new version of Venusian was just released - fwtw

Alan Runyan
Enfold Systems
Sent from my iPhone

Nikolay Kim

unread,
Sep 26, 2012, 1:27:55 PM9/26/12
to brian....@gmail.com, ptahp...@googlegroups.com
Brian,

I've just committed fix. Master should work with pyramid 1.4a
if you want to use ptah from pypi you should use pyramid 1.3.x

On Sep 26, 2012, at 4:38 AM, Brian Bigelow <brian....@gmail.com> wrote:

Nikolay,

    Thanks for taking a look at this for me.  Were you able to test if it worked for you as a clean install with the new pyramid and Venusian versions?

Thanks!

Brian Bigelow

Brian Bigelow

unread,
Sep 26, 2012, 2:46:35 PM9/26/12
to ptahp...@googlegroups.com
Thanks Nikolay!

   So when I run the pip install it installs 1.4a which gives me the same error.  So I tried creating a new virtual env and downloaded the pyramid source for 1.3.4 and did a setup.py build install clean, but it still is install 1.4a.  How do I force a downgrade to 1.3.x?

Thanks!

Brian

Nikolay Kim

unread,
Sep 26, 2012, 2:50:18 PM9/26/12
to ptahp...@googlegroups.com
try this:

  pip install pyramid=1.3.4

Brian Bigelow

unread,
Sep 26, 2012, 3:04:02 PM9/26/12
to ptahp...@googlegroups.com
Thanks!  I was able to get it to run for my by installing from Master.  Thanks!

Excited to check out ptah and ptah_crowd!

Thanks!

Brian
Reply all
Reply to author
Forward
0 new messages