Discussion:
Tutorial: ImportError: No module named geddit.model
Angelus_ira
2011-08-12 18:57:16 UTC
Permalink
I am the one who use the track instead of the mail group. Sorry for
that.

I follow the steps on the tutorial (geddit app) on windows. When i
reach the step after adding the data to the database, i try to start
the cherrypy server and always get:

c:\programacion\pypytests\geditsvn>python geddit/controller.py
geddit.db
Traceback (most recent call last):
File "geddit/controller.py", line 8, in <module>
from geddit.model import Link, Comment
ImportError: No module named geddit.model

If i use the svn of the tutorial i get this:
c:\programacion\pypytests\geditsvn>python geddit/controller.py
geddit.db
Traceback (most recent call last):
File "geddit/controller.py", line 10, in <module>
from geddit.form import LinkForm, CommentForm
ImportError: No module named geddit.form

I also have tested the tutorial from the svn, and i get the same
mistake. I am learning python so it could be my mistake, but the
tutorial files should work from the start.
I did not create the file geddit/form.py on my test because i am on
the The Data Model section and after this:

---
You should now have two links in the pickle file, with the first link
having two comments. Start the CherryPy server again by running
--

Today i will make the same test on linux, but the OS should not be the
problem.
OS: Windows 7 64bits Python: 2.7.2 Cherrypy: 3.2 Genshi: 0.6
FormEncode:1.2.4
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.
Simon Cross
2011-08-13 09:30:03 UTC
Permalink
Post by Angelus_ira
I follow the steps on the tutorial (geddit app) on windows. When i
reach the step after adding the data to the database, i try to start
Angelus_ira replied on IRC that they had sorted the issues out.

Schiavo
Simon
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.
Loading...