Edgewall Software

Opened 13 years ago

Closed 13 years ago

#442 closed defect (invalid)

Tutorial: ImportError: No module named geddit.form

Reported by: angelus_ira@… Owned by: cmlenz
Priority: minor Milestone: 0.7
Component: Documentation Version: 0.6
Keywords: tutorial Cc:

Description

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 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. OS: Windows 7 64bits Python: 2.7.2 Cherrypy: 3.2 Genshi: 0.6 FormEncode:1.2.4

Change History (1)

comment:1 Changed 13 years ago by hodgestar

  • Resolution set to invalid
  • Status changed from new to closed

Did you create geddit/form.py as described in http://genshi.edgewall.org/wiki/GenshiTutorial#AddingFormValidation? Feel free to ask on the mailing list or IRC if you have questions -- the issue tracker is mostly for bugs not general support.

Note: See TracTickets for help on using tickets.