[web2py] Re: web2py 2.9.12 is OUT

2015-01-25 Thread Dmitry Ermolaev
not worked (( if web2py service two applications and more - application that first got a HTTP request - normal work. but others got error - because self = Storage {} /// I try anywhere insert len(self0>0 - not worked (( понедельник, 26 января 2015 г., 8:51:23 UTC+3 пользователь Dmitry Ermolae

[web2py] Re: web2py 2.9.12 is OUT

2015-01-25 Thread Dmitry Ermolaev
session_pickled = pickle and pickle.dumps(self, pickle.HIGHEST_PROTOCOL) response.session_hash = session_pickled and hashlib.md5(session_pickled).hexdigest() понедельник, 26 января 2015 г., 8:15:42 UTC+3 пользователь Dmitry Ermolaev написал: > > > Traceback (most recent call la

[web2py] Re: web2py 2.9.12 is OUT

2015-01-25 Thread Dmitry Ermolaev
Traceback (most recent call last): File "C:\web2py-m\gluon\main.py", line 435, in wsgibase session.connect(request, response) File "C:\web2py-m\gluon\globals.py", line 934, in connect session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL) TypeError: 'NoneType' object is not ca

Re: [web2py] Is Web2py suitable for my project

2015-01-25 Thread Kiran Subbaraman
Eric, The best option then is for you to try out the "hello-world" example in web2py. This will give you a good idea as to how to create a minimal web application, and also insert your code. You need to start here: http://web2py.com/books/default/chapter/29/03/overview#Say-hello The stuff you a

Re: [web2py] Is Web2py suitable for my project

2015-01-25 Thread Massimo Di Pierro
I would not recommend gluino at this time (even if I wrote it) because it was an experiment it is not clear where it is going. If you want Flask for DAL look into https://github.com/gi0baro/weppy Anyway, web2py, Flask and weppy are all good choices. Web2py offers you the web IDE, the builtin au

[web2py] Checksum for download of web2py?

2015-01-25 Thread Benjamin
Hello Group, Unfortunately, I am not able to find a checksum for the official download on web2py.com. Is there a reason not to offer one, or is it just me being blind? Your answer is highly appreciated, Kindest regards, Benjamin -- Resources: - http://web2py.com - http://web2py.com/book (Docum

Re: [web2py] Is Web2py suitable for my project

2015-01-25 Thread Eric
Kiran, Thanks for the response. I'm extremely new to any sort of web programming. I have a bit of Python experience. Unfortunately the response above was simply above my head. I've written file parsers in Python so I can handle that. I'm confident I can write the algorithms too. What I can't fi

[web2py] Strange behaviour with request.args(0)

2015-01-25 Thread Ian Ryder
Hi there, first post after a couple of months using web2py - really enjoying it. I have a strange one though - I have a page where an ID is passed to the controller through request.arg(0) 80% of the time there's no issue, then seemingly randomly the value the controller gets becomes 'images'.

[web2py] insert a task into a scheduler of another app

2015-01-25 Thread Martin Weissenboeck
I have two apps: application A has a model with dbs = DAL(.. postgres datebase only for the scheduler...) db = DAL(... postgres database for all other functions...) scheduler=Scheduler(dbs, tasks={...}) application B ​has a function b which should insert a task into ​the scheduler of application

[web2py] Re: web2py 2.9.12 is OUT

2015-01-25 Thread Oli
thank you, it works now Am Samstag, 17. Januar 2015 07:20:14 UTC+1 schrieb Massimo Di Pierro: > > Changelog: > > - Modular DAL, thanks Giovanni > - Added coverage support, thanks Niphlod > - More tests, thanks Niphlod and Paolo Valleri > - Added support for show_if in readonly sqlform, thanks Paol

[web2py] Re: Include auth.user in XML?

2015-01-25 Thread LoveWeb2py
Figured it out by following Massimo's advice in this thread: https://groups.google.com/forum/#!newtopic/web2py/web2py/rOEGF7jkJco Thanks, Massimo! On Saturday, January 24, 2015 at 3:42:13 PM UTC-5, LoveWeb2py wrote: > > Hello, > > I have a simple app where I return data in XML and I'm wondering i

[web2py] Re: web2py 2.9.12 is OUT

2015-01-25 Thread Niphlod
headers accepts a dict, fields instead must be a list. -- 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 subscrib

[web2py] Re: web2py 2.9.12 is OUT

2015-01-25 Thread Oli
there is a problem with headers- and fields - definition in a new installed 2.9.12 from sourcecode. The result is in undefined order and changed after every reload. the definition: def address(): # # Definition - Grid headers = {'t_address.id':'ID', 't_address.f_lastna

[web2py] Re: database table/class/model functions

2015-01-25 Thread Leonel Câmara
For the first question, you can create either a field that's computed or a virtual field. For the second question, yes, you can create a Field.Method('age_group', lambda row: ...)) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sour

Re: [web2py] Is Web2py suitable for my project

2015-01-25 Thread Kiran Subbaraman
I would use web2py for these requirements, because you get the authentication/authorization, sessions, DAL (for db access) capabilities out of the box. You probably need packages in addition to pydal (for DAL support), on top of Flask to accomplish this. Look at the gluino example to see what I

[web2py] Re: What are the usual steps for designing a web2py application?

2015-01-25 Thread Y
In my case Facebook, LinkedIn, Google are not trustworhy (quite the opposite). I need - most importantly - to avoid that database entries of users can be attributed to users. The users should be mere abstract nodes with properties for me. It's the abstract node and its properties I'm interested

[web2py] Is Web2py suitable for my project

2015-01-25 Thread Eric
Hi all, I'm new to web2py and have been working my way through the learning materials. I have a specific application and am wondering if web2py is a good choice for a framework or something simpler such as Flask. Specifically I want to create a web application (for an intranet) where a user wo

[web2py] database table/class/model functions

2015-01-25 Thread uday saraf
Say I have a "persons" table, which has the following columns- "Firstname", "Lastname", "DateOfBirth". Now assuming many different parts of the application display information from these three columns together. Is there a way I can define a function *persons.information *that returns the conca