Thanks for confirming. Opened an issue, to address the cache.disk: https://github.com/web2py/web2py/issues/858

________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/

On Fri, 20-03-2015 1:56 AM, Niphlod wrote:
mine is working fine. no errors reported (i.e. I don't see any "no module named objects"), but there's a bug in cache.disk.

On Thursday, March 19, 2015 at 6:04:07 PM UTC+1, Massimo Di Pierro wrote:

    which windows version? what Python version? are you behind Apache
    or other web server?

    On Thursday, 19 March 2015 03:24:45 UTC-5, Kiran Subbaraman wrote:

        Tried with the latest (for testers):
        I saw the same "no module named objects" error.

        Went back to admin, and selected the "clean" option. I don't
        see the previous error.

        Now I see this issue:
        Version
        web2py™     Version 2.9.12-stable+timestamp.2015.03.19.06.51.11
        Python     Python 2.7.9:
        C:\Users\subbaraman\Downloads\web2py_win_002\web2py\web2py.exe
        (prefix: D:\programs\open\python27)
        Traceback


        Traceback (most recent call last):
          File
        
"C:\Users\subbaraman\Downloads\web2py_win_002\web2py\gluon\restricted.py",
        line 226, in restricted
            exec ccode in environment
          File
        
"C:/Users/subbaraman/Downloads/web2py_win_002/web2py/applications/my_app/controllers/default.py",
        line 1107, in <module>
          File
        "C:\Users\subbaraman\Downloads\web2py_win_002\web2py\gluon\globals.py",
        line 393, in <lambda>
            self._caller = lambda f: f()
          File
        "C:\Users\subbaraman\Downloads\web2py_win_002\web2py\gluon\tools.py",
        line 3455, in f
            return action(*a, **b)
          File
        
"C:/Users/subbaraman/Downloads/web2py_win_002/web2py/applications/my_app/controllers/default.py",
        line 304, in index
            orderby=_construct_orderby(), limitby=limitby,
        **cache_settings)
          File
        
"C:\Users\subbaraman\Downloads\web2py_win_002\web2py\gluon\packages\dal\pydal\objects.py",
        line 2085, in select
            return adapter.select(self.query,fields,attributes)
          File
        
"C:\Users\subbaraman\Downloads\web2py_win_002\web2py\gluon\packages\dal\pydal\adapters\base.py",
        line 1228, in select
            time_expire)
          File
        "C:\Users\subbaraman\Downloads\web2py_win_002\web2py\gluon\cache.py",
        line 428, in __call__
            self.storage[key] = (now, value)
          File
        "C:\Users\subbaraman\Downloads\web2py_win_002\web2py\gluon\cache.py",
        line 328, in __setitem__
            pickle.dump((time.time(), value), tmp,
        pickle.HIGHEST_PROTOCOL)
        PicklingError: Can't pickle <type 'function'>: attribute lookup


        Have attached a sample app that will help recreate this
        problem. The backend is postgres. The password needs to be
        updated, before you test it.

        ________________________________________
        Kiran Subbaraman
        http://subbaraman.wordpress.com/about/  
<http://subbaraman.wordpress.com/about/>

        On Thu, 19-03-2015 12:58 PM, Niphlod wrote:
        nope, can't replicate. Try downloading the latest.

        On Thursday, March 19, 2015 at 5:46:43 AM UTC+1, Kiran
        Subbaraman wrote:

            Downloaded it from
            http://www.web2py.com/examples/static/nightly/web2py_win.zip
            <http://www.web2py.com/examples/static/nightly/web2py_win.zip>.
            This contains the binary / exe.

            ________________________________________
            Kiran Subbaraman
            http://subbaraman.wordpress.com/about/  
<http://subbaraman.wordpress.com/about/>

            On Thu, 19-03-2015 1:13 AM, Niphlod wrote:
            is it the source or the binary version ?

            On Wednesday, March 18, 2015 at 6:25:22 PM UTC+1, Kiran
            Subbaraman wrote:

                Bumping this thread:
                https://groups.google.com/d/msg/web2py/6lWIcIAYoHY/lRPDjXHl2_wJ
                
<https://groups.google.com/d/msg/web2py/6lWIcIAYoHY/lRPDjXHl2_wJ>
                Does anyone else face this issue?

-- Resources:
            - http://web2py.com
            - http://web2py.com/book (Documentation)
            - http://github.com/web2py/web2py
            <http://github.com/web2py/web2py> (Source code)
            - https://code.google.com/p/web2py/issues/list
            <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
            <https://groups.google.com/d/optout>.

-- Resources:
        - http://web2py.com
        - http://web2py.com/book (Documentation)
        - http://github.com/web2py/web2py
        <http://github.com/web2py/web2py> (Source code)
        - https://code.google.com/p/web2py/issues/list
        <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
        <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] <mailto:[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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to