[BangPypers] Infogami Problems

Anand Chitipothu anandology at gmail.com
Fri Jul 15 11:41:00 CEST 2011


2011/7/15 Rajeev J Sebastian <rajeev.sebastian at gmail.com>:
> Hi,
>
> I'm trying to setup an instance of infogami (without openlibrary etc),
> but running into problems. I think I might have made some basic config
> error, probably could be easily fixed.
>
> This is what I did:
>
> created a new virtualenv
> cloned from https://github.com/openlibrary/infogami.git
> installed web.py==0.33
> installed simplejson and pyyaml
> createdb infogami
> edited the sample_infogami.yml for the db name, user
> ran sample_run.py --createsite
> ran sample_run.py
>
>
> At this point, I can visit http://0.0.0.0:8080 and I see the home page
>
> Had some issues registering as a new user, but I got admin to login.
>
> So, when I try:
>
> http://0.0.0.0:8080/?m=edit
>
> I hit an exception:
>
>
> <type 'exceptions.AssertionError'> at /
> Python  /Users/kane/venvs/infogami/infogami/infogami/core/db.py in
> new_version, line 36
> Web     GET http://0.0.0.0:8080/
>
>
>
> The "/type/page" seems not to exist
>
> http://0.0.0.0:8080/type does not list all types
> http://0.0.0.0:8080/type/page does not exist
>
> /type/type, /type/user exists though
>
>
> Could anyone provide some suggestions?

Try running sample_run.py install

Anand


More information about the BangPypers mailing list