Hi I also go this Error...

I am running Win7 computer
I used web2py 2.9.11 when i created an app before
with database and etc.

Now i have new applications running 2.14.6 with no problem also...

But when i copied the old application created on my previous web2py<2.9.11>
into web2py<2.14.6> to pack it all up in one running web2py

then i got this error specific to applications created on 2.9.11

I thought it is back compatible with the newer releases...

Thanks,
Jak



On Tuesday, February 3, 2015 at 12:43:41 PM UTC+8, Dmitry Ermolaev wrote:
>
> Error ticket for "admin"Ticket ID
>
> 127.0.0.1.2015-02-03.07-40-32.4dc31e25-5b8c-4c78-b525-2a58b4ff7015
> <type 'exceptions.ValueError'> insecure string pickleВерсия
> web2py™ Version 2.9.12-stable+timestamp.2015.01.17.06.11.03
> Python Python 2.7.6: C:\Python27\python.exe (prefix: C:\Python27)Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13.
> 14.
> 15.
>
> Traceback (most recent call last):
>   File "C:\web2py-m\gluon\restricted.py", line 224, in restricted
>     exec ccode in environment
>   File 
> "C:/web2py-m/applications/admin\compiled\controllers.default.errors.py", line 
> 1945, in <module>
>   File "C:\web2py-m\gluon\globals.py", line 393, in <lambda>
>     self._caller = lambda f: f()
>   File 
> "C:/web2py-m/applications/admin\compiled\controllers.default.errors.py", line 
> 1554, in errors
>   File "C:\Python27\lib\pickle.py", line 1378, in load
>     return Unpickler(file).load()
>   File "C:\Python27\lib\pickle.py", line 858, in load
>     dispatch[key](self)
>   File "C:\Python27\lib\pickle.py", line 966, in load_string
>     raise ValueError, "insecure string pickle"
> ValueError: insecure string pickle
>
> Error snapshot [image: help] 
> <http://127.0.0.1:8000/admin/default/ticket/admin/127.0.0.1.2015-02-03.07-40-32.4dc31e25-5b8c-4c78-b525-2a58b4ff7015#>
>
> <type 'exceptions.ValueError'>(insecure string pickle)
>
> inspect attributes
> Frames
>    
>    - 
>    
>    *File C:\web2py-m\gluon\restricted.py in restricted at line 224* код 
>    аргументы переменные
>    - 
>    
>    *File 
>    C:\web2py-m\applications\admin\compiled\controllers.default.errors.py 
>    <http://controllers.default.errors.py> in <module> at line 1945* код 
>    аргументы переменные
>    - 
>    
>    *File C:\web2py-m\gluon\globals.py in <lambda> at line 393* код 
>    аргументы переменные
>    - 
>    
>    *File 
>    C:\web2py-m\applications\admin\compiled\controllers.default.errors.py 
>    <http://controllers.default.errors.py> in errors at line 1554* код 
>    аргументы переменные
>    - 
>    
>    *File C:\Python27\lib\pickle.py in load at line 1378* код аргументы 
>    переменные
>    - 
>    
>    *File C:\Python27\lib\pickle.py in load at line 858* код аргументы 
>    переменные
>    - 
>    
>    *File C:\Python27\lib\pickle.py in load_string at line 966* код 
>    аргументы переменные
>    Function argument list
>    
>    (self=<pickle.Unpickler instance>)
>    Code listing
>    
>    961.
>    962.
>    963.
>    964.
>    965.
>    966.
>    
>    967.
>    968.
>    969.
>    970.
>    
>        def load_string(self):
>            rep = self.readline()[:-1]
>            for q in "\"'": # double or single quote
>                if rep.startswith(q):
>                    if len(rep) < 2 or not rep.endswith(q):
>                        raise ValueError, "insecure string pickle"
>    
>                    rep = rep[len(q):-len(q)]
>                    break
>            else:
>                raise ValueError, "insecure string pickle"
>    
>    Variables
>    builtinValueError <type 'exceptions.ValueError'>
>    
> Context
>
> locals request session response
> In file: 
> C:\web2py-m\applications\admin\compiled\controllers.default.errors.pyc
>
> 1.
>
> <code object <module> at 072EADA0, file 
> "C:/web2py-m/applications/admin\compiled\controllers.default.errors.py", line 
> 3>
>
>

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