Hello again,

Whilst accessing the quickstarted project's 'Admin' interface there's
nowhere to
enter a user's password. Is this by design?

After creating a user in the Admin system and attempting to log in
with the
new user and a random password the following WebError Traceback is
displayed

---
WebError Traceback:
⇝ TypeError: 'NoneType' object is unsubscriptable
View as:   Interactive (full)  |  Text (full)  |  XML (full)
clear this
URL: http://localhost:8080/login_handler?__logins=1&came_from=/
Module weberror.evalexception:431 in respond         view
<<          try:
                   __traceback_supplement__ =
errormiddleware.Supplement, self, environ
                   app_iter = self.application(environ,
detect_start_response)

                   # Don't create a list from a paste.fileapp object
>>  app_iter = self.application(environ, detect_start_response)
Module tg.configuration:631 in wrapper         view
<<              log.debug("Making request body seekable")
                   Request(environ).make_body_seekable()
               return app(environ, start_response)
           return wrapper
>>  return app(environ, start_response)
Module tg.configuration:534 in remover         view
<<          def remover(environ, start_response):
                   try:
                       return app(environ, start_response)
                   finally:
                       log.debug("Removing DBSession from current
thread")
>>  return app(environ, start_response)
Module repoze.tm:19 in __call__         view
<<              return start_response(status, headers, exc_info)
               try:
                   result = self.application(environ,
save_status_and_headers)
               except:
                   self.abort()
>>  result = self.application(environ, save_status_and_headers)
Module repoze.who.middleware:69 in __call__         view
<<          # ids will be list of tuples: [ (IIdentifier, identity) ]
               if ids:
                   auth_ids = self.authenticate(environ,
classification, ids)

                   # auth_ids will be a list of five-tuples in the
form
>>  auth_ids = self.authenticate(environ, classification, ids)
Module repoze.who.middleware:193 in authenticate         view
<<              identifier_rank = id_rank_start
                   for identifier, identity in identities:
                       userid = plugin.authenticate(environ, identity)
                       if userid is not None:
                           logger and logger.debug(
>>  userid = plugin.authenticate(environ, identity)
Module repoze.who.plugins.sa:116 in authenticate         view
<<          if user:
                   validator = getattr(user, self.translations
['validate_password'])
                   if validator(identity['password']):
                       return identity['login']
>>  if validator(identity['password']):
Module f.model.auth:145 in validate_password         view
<<          """
               hashed_pass = sha1()
               hashed_pass.update(password + self.password[:40])
               return self.password[40:] == hashed_pass.hexdigest()
>>  hashed_pass.update(password + self.password[:40])
TypeError: 'NoneType' object is unsubscriptable
----

Regards
Simon

On Feb 25, 3:49 am, Mark Ramm <[email protected]> wrote:
> I've created a new index for b6 here:
>
> http://turbogears.org/2.0/downloads/2.0b6/index/
>
> If some folks could test the newly rewritten install instructions here:
>
> http://turbogears.org/2.0/docs/main/DownloadInstall.html
>
> ** Make sure you replace the the easy_install line that hits the
> current index with this:
>
> easy_install -ihttp://turbogears.org/2.0/downloads/2.0b6/index/tg.devtools
>
> You can check out the current draft of the changelog here:
>
> http://trac.turbogears.org/wiki/2.0/changelog
>
> Jorge, Anita, Mark, Chris Z, Chris P, Florent, Gustavo, Lee, and many
> others have also put a huge amount of new effort into the online docs
> here:
>
> http://turbogears.org/2.0/docs
>
> Thanks again to everybody who participated in this last week's sprint.
>
> The dedication, enthusiasm, and commitment of the TG2 developers
> continue to supprize and amaze me.   You guys rock!  Special thanks
> goes out to Jorge who's been working tirelesly on many of these
> issues, and to the new folks who showed up in the last couple of weeks
> and have really helped us polish up our docs.
>
> --
> Mark Ramm-Christensen
> email: mark at compoundthinking dot com
> blog:www.compoundthinking.com/blog

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to