Update ptah 0.5 released

28 views
Skip to first unread message

Alan Runyan

unread,
May 3, 2012, 10:38:38 PM5/3/12
to ptahp...@googlegroups.com
Quick note that 0.5 has been released.

ptah no longer ships with ptah.cms subpackage. since we have not been
using this on any projects and its quite large - its been moved to its
own package, ptahcms.
ptahcms also has a release on pypi. ptah has been simplified greatly
and a move from TinyMCE to CKEditor was done. CKEditor works better
with amd/js loading.

http://pypi.python.org/pypi/ptah
http://pypi.python.org/pypi/ptahcms

Also webmaven got ptah 0.5 running on heroku. Until we fork it into
ptah repo you can clone it from his repo,
https://github.com/Urbsly/heroku-ptah

cheers

--
Alan Runyan

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

Jeff Teeters

unread,
Jun 14, 2012, 8:35:39 PM6/14/12
to ptahp...@googlegroups.com
I'm experimenting with ptah; trying ptah_minicms and having some difficulty.

First,
ptah_minicms$ python setup.py develop

Failed with:

No local packages or download links found for ptah-crowd>=0.2dev

Problem seemed to be that,
examples/ptah_minicms/development.ini

Refers to ptah_crowd
(with an underscore).

e.g.:
pyramid.includes = pyramid_debugtoolbar pyramid_beaker pyramid_exclog ptah ptahcms ptah_crowd

While, the name in package at github
https://github.com/ptahproject/ptahcrowd

is "ptahcrowd" (without the underscore),

was installed on my system.

After changing ptah_crowd => ptahcrowd

It setup got further, but then failed with:

File ".../examples/ptah_minicms/ptah_minicms/app.py", line 28, in bootstrap_data
    admin = ptahcrowd.CrowdFactory().get_user_bylogin(admin_id)
pyramid.exceptions.ConfigurationExecutionError: <type 'exceptions.AttributeError'>: 'module' object has no attribute 'CrowdFactory'


The call that causes the problem, is:
ptahcrowd.CrowdFactory()

is documented in the api:

http://ptah_crowd.readthedocs.org/en/latest/api.html

But I couldn't find it in the code, just the documentation:

ptahcrowd$ grep -ri crowdfactory *
docs/api.rst:  .. py:data:: CrowdFactory
docs/api.rst:       ptah_crowd.CrowdFactory().add(user)

Is there something I'm doing wrong which is causing these problems?  Or any suggestions for how to fix the above error with CrowdFactory so I can get ptah_minicms working?

Reply all
Reply to author
Forward
0 new messages