Arachnid / bloggart

A blog application for App Engine
http://bloggart-demo.appspot.com/
287 stars 78 forks source link

Blog home page throws 404 error #36

Closed honza closed 14 years ago

honza commented 14 years ago

The main page of the blog '/' shows a big fat whooops. I checked the settings in config.py and everything seems to be in order. I'm running in the SDK on localhost on Linux. Any tips? Thanks

Arachnid commented 14 years ago

You need to log in to the admin console at /admin/ - the first time you do this, it generates the static content and the (initially blank) listing pages including the homepage.

hymerman commented 14 years ago

I'm getting the same thing, even after visiting /admin/ (choosing to log in as administrator), and hitting the 'regenerate posts' button. It's still a 404 after creating a post, too. This is testing locally, viewing http://localhost:8080/

honza commented 14 years ago

I already have some test posts and they render fine. It's the home and tag pages that don't work. Thanks for any tips

hymerman commented 14 years ago

Yep, pages render fine for me if I go straight to them, by clicking the 'go to new post' button after creating a post or just typing the URL, but nothing appears on the home page. Tag pages are also 404s.

honza commented 14 years ago

Please?

hymerman commented 14 years ago

Ah, interesting. Go to localhost:8080/_ah/admin/tasks?queue=default - there's a message there that says "Tasks will not run automatically. Push the 'Run' button to execute each task.". Pressing 'run' on a bunch of the tasks there sorts the problem out. So I guess this is an AppEngine Launcher problem rather than a problem with bloggart?

Arachnid commented 14 years ago

Correct.

zlouattara commented 14 years ago

create a test post and run task queue once will fix it....