Hi Patrick,

I'm new to turbogears (about 3 hours now! ;)  And have a question on
your register user package...

Everything works, until it tries to validate the user email.. I get
this error:
  File
"/home/mrtrosen/code/PYTHON/Wiki-20/wiki20/register_controllers.py",
line 184, in mail_validation_email
    reg_base_url = '%s/%s' % (cherrypy.request.base_url, path)
  File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/__init__.py",
line 43, in __getattr__
    return getattr(childobject, name)
AttributeError: 'Request' object has no attribute 'base_url'

Which, in your code it indicates that you may  have to hardcode
reg_base_url :
<code snippet from register_controllers.py>
        "Generate the validation email."
        # Trying to find the path to the main registration controller.
        # If this has trouble, you may need to hardcode reg_base_url
</code snippet from register_controllers.py>

The question I have is.. what should it be hard coded to?

Thanks!
Michael


--~--~---------~--~----~------------~-------~--~----~
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