Hi Kiran,

Yes exactly i have copied a 2.9.11 app into a 2.14.6 web2py environment and 
try to run it...
Also right now i tried removing *.pyc files... anyways i dont have much 
.pyc file... for now i have only deleted __init__.pyc  only from web2py 
files

Also i have Clean on the admin interface...
Sstill having the issue...

Thanks,
Jak



On Wednesday, September 6, 2017 at 3:37:09 PM UTC+8, Kiran Subbaraman wrote:
>
> Didn't notice it earlier, but the error seems to have been raised from a 
> 2.9.12 web2py system. So, just to confirm, you have copied your 2.9.11 app, 
> into a 2.14.6 web2py environment. And trying to run it from in there.
> Also, looks like you had pre-compiled the 2.9.11 app. It is a good idea to 
> remove all the *.pyc files from in there. And then copy it into your 2.14.6 
> environment.
>
> If you were to use the admin interface, then there is a "Clean up App" ( I 
> don't remember the specific name) option there, which you could use, before 
> you start running the app. 
>
> ________________________________________
> Kiran Subbaramanhttp://subbaraman.wordpress.com/about/
>
> On 06-Sep-17 12:53 PM, Wabbajack wrote:
>
> Hi Kiran,
>
> Yes the folders cache, sessions, and error have no file inside...
> Is there any other way to clear this folders? 
> I just manually delete all files in each folder..
> and also i have tried restarting the web2py itself 
>
> Still the error exist 
>
> Thanks,
> Jak
>
> On Wednesday, September 6, 2017 at 3:11:36 PM UTC+8, Kiran Subbaraman 
> wrote: 
>>
>> You should clear out the following files - sessions / errors / cache 
>> content - from your 2.9.11 based application
>>
>> ________________________________________
>> Kiran Subbaramanhttp://subbaraman.wordpress.com/about/
>>
>> On 06-Sep-17 10:26 AM, Wabbajack wrote:
>>
>> 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 [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> -- 
> 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 [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to