let me help out on that patch

On 5/10/06, Sebastian Silva <[EMAIL PROTECTED]> wrote:

I'm growing increasingly frustrated by my inability to install
Fasttrack...

I have the latest SVN co of fasttrack... I managed to create the model
from the initialize-pg.sql...

So far I've had to make a couple of changes:

* Turbogears was expecting to find visit_key instead of visit_id in
tg_visit.

yes this has been change, two things happend, the name is new and the type is diferent now it's a str instead of an int. you should check if there is any "int" usage of it, other then that it's just a rename.

* Turbogears was expecting [name="login"] in the submit button in the
login.kid template.

I believe you have to enable this in the app.cfg file, since now it's not hardcode as "login".

Now I'm getting

File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/identity/soprovider.py",
line 222, in validate_identity
    user= user_class.by_user_name( user_name )
AttributeError: type object 'Person' has no attribute 'by_user_name'

that user_class variable is populated by the User class in your model.py (since a6) and if this it not present it fallsback to the default model, the TG_* classes.

I'm somewhat of a novice and running out of ideas...

I've installed TG 0.9a6.

Thanks
:-D




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to