Hi Massimo-

I took a look in gluon/tools.py as you recommended, and I do not see class 
Config! So I'm not sure why that might be. 

Could it be that the command line updating (unzipping web2py_src) works 
fine, but the GUI-based button updater on the admin interface halts partway 
through or something?

Thanks, -Matt

On Saturday, September 14, 2013 10:02:46 PM UTC-4, Massimo Di Pierro wrote:
>
> This is the error in the ticket you posted:
>
> Traceback (most recent call last):\n  File 
> "/home/mattspence/web2py/gluon/restricted.py", line 212, in restricted\n   
>  exec ccode in environment\n  File 
> "/home/mattspence/web2py/applications/admin/controllers/default.py", line 
> 14, in <module>\n    from gluon.tools import Config\nImportError: cannot 
> import name Config
>
> You can see in 
> /home/mattspence/web2py/applications/admin/controllers/default.py 
> line
> from gluon.tools import Config
> Now check if gluon/tools.py contains class Config. I know it is there in 
> 2.6.1 and 2.6.2.
>
> The issue is if PythonAnywhere reloading failing? Or is there a path issue 
> and it is looking at the wrong gluon/tools.py somewhere else?
>
>
> On Saturday, 14 September 2013 18:55:08 UTC-5, Matthew Spence wrote:
>>
>> Hi guys-
>>
>> I just tried a fresh install of web2py on PythonAnywhere. (So, only the 
>> "stock" applications of welcome, admin, and examples.) It auto-installs 
>> with 2.5.1, so I hit the button to upgrade to 2.6.2. It looks like it 
>> starts to install, but then I get "Internal Error" again. I pasted the 
>> error message here: http://pastebin.com/uABGmGgV
>>
>> Thanks!!
>>
>> On Thursday, September 12, 2013 6:27:37 PM UTC-4, Massimo Di Pierro wrote:
>>>
>>> Web2py 2.6.1 is finally OUT. It needs some more testing.
>>>
>>> READ BELOW BEFORE UPGRADING
>>>
>>> !!!! Attention all users: For pre 2.6 applications to work with web2py 
>>> >=2.6, you must copy static/js/web2py.js, controllers/appadmin.py, and 
>>> views/appadmin.html from the welcome app to your own apps (all of them).
>>>
>>> !!!! Attention production users: The updated handlers and examples are 
>>> in handlers/ and examples/. The updated ones will not override the existing 
>>> ones. To use the new ones it is not sufficient to upgrade web2py, you also 
>>> need to copy the desired handler/example in the root web2py/ folder.
>>>
>>> !!!! Attention MySQL users: The length of string fields changed from 255 
>>> to 512 bytes. If you have migrations enabled this will trigger a large 
>>> migration. To prevent it, first set migrate_enabled=False, upgrade, check 
>>> everything is ok, then add length=255 to your string Fields, then re-enable 
>>> migrations with migrate_enabled=True if needed.
>>>
>>> - better directory structure: handlers/ extras/ examples/
>>> - better MongoDb support, thanks Alan
>>> - better Admin editor interface, thanks Paolo, Roberto (codemirror 3), 
>>> and Lightdot
>>> - better layout.html and web2py_bootstrap.css, thanks Paolo
>>> - refactored web2py.js makes code more readable, thanks Niphlod
>>> - compute fields can depend on other compute(d) fields
>>> - more functions in appadmin (/manage/auth), thanks Anthony
>>> - support for CAST in SQL generation
>>> - new API jQuery('#component').reload()
>>> - new API rows.render()
>>> - new API table.field.referent, table._references
>>> - new API db(...).validate_and_update(...)
>>> - new API Wiki(..., force_render=True) renders the page source again 
>>> instead of using cached
>>> - Wiki now automatically parses named component arguments 
>>> @{f:a=1,b='twp',c=variable}
>>> - auth.get_or_create_user(login=False)
>>> - auth = Auth(crsf_protection = False) prevents creating sessions in 
>>> login/register forms.
>>> - enable multiple renderers in wiki, thanks Alan
>>> - log messages from Auth are no longer translated (for speed and 
>>> readability)
>>> - update jQuery mobile to 1.3.1
>>> - reduced memory footprint by conditionally loading Tk
>>> - faster pbkdf2 uses OpenSSL, thanks Michele
>>> - many speed improvements, thanks Michele
>>> - better session logic, prevents false positive when detecting session 
>>> changes.
>>> - scripts/import_static.py converts a static site to a web2py app 
>>> (experimental)
>>> - support for new http error code 451
>>> - profiler saves dump in dir, thanks Niphlod
>>> - upgraded pyfpdf, thanks Mariano
>>> - gluon/contrib/pdfinvoice.py for generating PDF invoices (assumes 
>>> reportlab)
>>> - no more double submission of forms (even without crsf protection), 
>>> thanks Niphlod
>>> - speedup for define_table, thanks Michele
>>> - settings.cfg to admin, thanks Paolo
>>> - many bugs fixed, thanks Niphlod, Michele, Roberto, Jonathan, and many 
>>> others
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to