One thing Ive learned. NEVER update your production code to the latest
version.

ALWAYS find a stable release, and stick to it until you can test another
stable release 100%. Honestly I would stay away from upgrading at all unless
you are needing a new feature. Typically new features in web2py don't become
*stable* until a few releases later.

I'm currently still running 1.68 codebase (with a couple of the security
patches manually applied) on one of my sites, and 1.7* on another.

--
Thadeus




On Fri, Jul 16, 2010 at 3:39 PM, Phyo Arkar <phyo.arkarl...@gmail.com>wrote:

> same to mee too.. i updated on my production site and screwed :(..
>
>
>
>
> On Fri, Jul 16, 2010 at 3:43 PM, VP <vtp2...@gmail.com> wrote:
>
>> well, i should have read this thread before upgrading.  Hope to see
>> 1.81.2 soon.
>>
>>
>> On Jul 16, 8:53 am, "mr.freeze" <nat...@freezable.com> wrote:
>> > You can just change line 1401 of tools.py to 'else:' and it should
>> > work.
>> >
>> > On Jul 16, 8:48 am, Narendran <gunanar...@gmail.com> wrote:
>> >
>> > > Looks like there is no get_user method in default Auth. I find a
>> > > get_or_create_user. May be the name was modified in the recent
>> > > checkins.
>> >
>> > > On Jul 16, 6:34 pm, "mr.freeze" <nat...@freezable.com> wrote:
>> >
>> > > > Line 1401 of tools.py needs to be changed (back) from...
>> > > >     if self.settings.login_form:
>> > > > to...
>> > > >    else:
>> >
>> > > > It didn't affect my test app because it already used CAS.
>> >
>> > > > On Jul 16, 3:44 am, David Marko <dma...@tiscali.cz> wrote:
>> >
>> > > > > The same problem is on all apps I have.
>> >
>> > > > > David
>> >
>> > > > > On 16 čnc, 10:21, David Marko <dma...@tiscali.cz> wrote:
>> >
>> > > > > > I updated web2py but it breaks my app. This is what I got for
>> standard
>> > > > > > login dialog. (no rpx_account login used, app remained
>> unchanged)
>> >
>> > > > > > Traceback (most recent call last):
>> > > > > >   File "c:\java\google_appengine\web2py\gluon\restricted.py",
>> line
>> > > > > > 178, in restricted
>> > > > > >     exec ccode in environment
>> > > > > >   File
>> "c:/java/google_appengine/web2py/applications/tp/controllers/
>> > > > > > default.py", line 300, in <module>
>> > > > > >   File "c:\java\google_appengine\web2py\gluon\globals.py", line
>> 96, in
>> > > > > > <lambda>
>> > > > > >     self._caller = lambda f: f()
>> > > > > >   File
>> "c:/java/google_appengine/web2py/applications/tp/controllers/
>> > > > > > default.py", line 277, in user
>> > > > > >     return dict(form=auth())
>> > > > > >   File "c:\java\google_appengine\web2py\gluon\tools.py", line
>> 967, in
>> > > > > > __call__
>> > > > > >     return self.login()
>> > > > > >   File "c:\java\google_appengine\web2py\gluon\tools.py", line
>> 1404, in
>> > > > > > login
>> > > > > >     cas_user = cas.get_user()
>> > > > > > AttributeError: 'Auth' object has no attribute 'get_user'
>>
>
>

Reply via email to