Re: [web2py] Re: Checking for upgrades isn't working as I expected (1.99.7 installed)

2012-09-04 Thread Le Don X
Indeed ! ... Bruno is tha Man !

-- 





Re: [web2py] Re: Checking for upgrades isn't working as I expected (1.99.7 installed)

2012-09-04 Thread Mandar Vaze
Bruno : Thanks for the tip.

The "upgrade" was broken (for me at least) on 2.0.2 
I didn't get notification to upgrade to 2.0.6 (It would remain stuck in 
"checking for upgrades")
Your suggestion worked well.

-Mandar

On Tuesday, September 4, 2012 4:45:27 AM UTC+5:30, rochacbruno wrote:
>
> If you have access to files (ssh or ftp) you can try to edit this line
>
>  File "...web2py/applications/admin/controllers/default.py" 
> , line 
> 113, in check_version
>
>
>
> + XML(' %s' % version_number)
>
>
>
> and change to
>
>
> + XML(' %s' % 
> str(version_number))
>
>
>
> Including str(version_number) and saving, now you can try to click on check 
> for upgrade and it will work!
>
>  

-- 





Re: [web2py] Re: Checking for upgrades isn't working as I expected (1.99.7 installed)

2012-09-03 Thread Bruno Rocha
If you have access to files (ssh or ftp) you can try to edit this line

 File "...web2py/applications/admin/controllers/default.py"
,
line 113, in check_version


+ XML(' %s' % version_number)


and change to


+ XML(' %s' % str(version_number))


Including str(version_number) and saving, now you can try to click on
check for upgrade and it will work!

--