On Thursday, April 25, 2019 at 2:00:49 AM UTC-7, Jacinto Parga wrote:
>
> Hi, It suddenly appeared. Version downloaded from source web. The same 
> with github version.
>
> Error ticket for "admin" Ticket ID 
>
> 127.0.0.1.2019-04-25.10-45-30.ec4c021c-532a-46c7-a8cd-6f9356fc7ab7
> <class 'UnicodeDecodeError'> 'ascii' codec can't decode byte 0x8b in 
> position 1: ordinal not in range(128) Versión 
> web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03 
> Python Python 3.7.3: /usr/bin/python3.7 (prefix: /usr)
>

Are you updating an existing installation, or doing a new installation?

If updating, you may need to clear  old sessions (looks like you're okay on 
the errors directory, which sometimes gets pickle errors on updates).

/dps

Rastreo 
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
>
> Traceback (most recent call last):
>   File "/home/jacinto/web2py2185/gluon/restricted.py", line 219, in restricted
>     exec(ccode, environment)
>   File "/home/jacinto/web2py2185/applications/admin/controllers/default.py" 
> <https://127.0.0.1:8000/admin/edit/admin/controllers/default.py>, line 2021, 
> in <module>
>   File "/home/jacinto/web2py2185/gluon/globals.py", line 421, in <lambda>
>     self._caller = lambda f: f()
>   File "/home/jacinto/web2py2185/applications/admin/controllers/default.py" 
> <https://127.0.0.1:8000/admin/edit/admin/controllers/default.py>, line 1627, 
> in errors
>     error = pickle.load(fullpath_file)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0x8b in position 1: 
> ordinal not in range(128)
>
> Error snapshot [image: help] 
> <https://127.0.0.1:8000/admin/default/ticket/admin/127.0.0.1.2019-04-25.10-45-30.ec4c021c-532a-46c7-a8cd-6f9356fc7ab7#>
>  
>
> UnicodeDecodeError('ascii' codec can't decode byte 0x8b in position 1: 
> ordinal not in range(128)) 
>
> inspeccionar atributos 
> Frames 
>    
>    - 
>    
>    *File /home/jacinto/web2py2185/gluon/restricted.py in restricted at 
>    line 219* código argumentos variables 
>    Code listing 
>    
>    214.
>    215.
>    216.
>    217.
>    218.
>    219.
>    220.
>    221.
>    222.
>    223.
>    
>        if environment is None:
>            environment = {}
>        environment['__file__'] = layer
>        environment['__name__'] = '__restricted__'
>        try:
>            exec(ccode, environment)
>        except HTTP:
>            raise
>        except RestrictedError:
>            # do not encapsulate (obfuscate) the original RestrictedError
>    
>    - 
>    
>    *File 
>    /home/jacinto/web2py2185/applications/admin/controllers/default.py in 
>    <module> at line 2021* código argumentos variables 
>    Code listing 
>    
>    2010.
>    2011.
>    2012.
>    2013.
>    2014.
>    2015.
>    2016.
>    2017.
>    2018.
>    2019.
>    
>            else:
>                filename = "web2py.plugin.%s.w2p" % cleanpath(plugin)
>            if plugin_install(app, urlopen(source),
>                              request, filename):
>                session.flash = T('New plugin installed: %s', filename)
>            else:
>                session.flash = \
>                    T('unable to install plugin "%s"', filename)
>            redirect(URL(f="plugins", args=[app, ]))
>        return dict(form=form, app=app, plugin=plugin, source=source)
>    
>    - 
>    
>    *File /home/jacinto/web2py2185/gluon/globals.py in <lambda> at line 
>    421* código argumentos variables 
>    Code listing 
>    
>    416.
>    417.
>    418.
>    419.
>    420.
>    421.
>    422.
>    423.
>    424.
>    425.
>    
>            self.flash = ''            # used by the default view layout
>            self.meta = Storage()      # used by web2py_ajax.html
>            self.menu = []             # used by the default view layout
>            self.files = []            # used by web2py_ajax.html
>            self._vars = None
>            self._caller = lambda f: f()
>            self._view_environment = None
>            self._custom_commit = None
>            self._custom_rollback = None
>            self.generic_patterns = ['*']
>    
>    - 
>    
>    *File 
>    /home/jacinto/web2py2185/applications/admin/controllers/default.py in 
>    errors at line 1627* código argumentos variables 
>    Function argument list 
>    
>    ()
>    Code listing 
>    
>    1622.
>    1623.
>    1624.
>    1625.
>    1626.
>    1627.
>    1628.
>    1629.
>    1630.
>    1631.
>    
>                if not os.path.isfile(fullpath):
>                    continue
>                try:
>                    fullpath_file = safe_open(fullpath, 'rb')
>                    try:
>                        error = pickle.load(fullpath_file)
>                    finally:
>                        fullpath_file.close()
>                except IOError:
>                    continue
>    
>    Variables
>    
>

-- 
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