trying to run 2.15.4 app in 2.14.6 machine return an error :
Traceback (most recent call last):
  File "/home/test/web2py/gluon/main.py", line 445, in wsgibase
    serve_controller(request, response, session)
  File "/home/test/web2py/gluon/main.py", line 165, in serve_controller
    environment = build_environment(request, response, session)
  File "/home/test/web2py/gluon/compileapp.py", line 424, in 
build_environment
    request.env.http_accept_language)
  File "/home/test/web2py/gluon/languages.py", line 490, in __init__
    self.set_current_languages()
  File "/home/test/web2py/gluon/languages.py", line 563, in 
set_current_languages
    self.default_t = read_dict(self.default_language_file)
  File "/home/test/web2py/gluon/languages.py", line 179, in read_dict
    lambda: read_dict_aux(filename))
  File "/home/test/web2py/gluon/cfs.py", line 41, in getcfs
    return filter() if callable(filter) else ''
  File "/home/test/web2py/gluon/languages.py", line 179, in <lambda>
    lambda: read_dict_aux(filename))
  File "/home/test/web2py/gluon/languages.py", line 164, in read_dict_aux
    lang_text = read_locked(filename).replace(b'\r\n', b'\n')
  File "/home/test/web2py/gluon/packages/dal/pydal/contrib/portalocker.py", 
line 218, in read_locked
    fp = LockedFile(filename, 'rb')
  File "/home/test/web2py/gluon/packages/dal/pydal/contrib/portalocker.py", 
line 182, in __init__
    self.file = open_file(filename, mode)
  File "/home/test/web2py/gluon/packages/dal/pydal/contrib/portalocker.py", 
line 170, in open_file
    f = open(filename, mode)
IOError: [Errno 2] No such file or directory: 
'/home/test/web2py/applications/test/languages/default.py'

the solution is to add default.py on the languages folder
is the new version is not backward compatible ? 

thanks and best regards,
stifan

-- 
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/d/optout.

Reply via email to