Re: [web2py] Re: Confused about web2py sessions handling in the filesystem, versus the db handling.

2018-04-11 Thread AlighaThor
Sorry for my delay. Thanks both Anthony and Richard for your excellent explanations! Well, I changed for now to DB sessions. The settings mentioned by Anthony about renewing sessions are great, I did'nt know that. Anyway I still found that DB handling is by far easier/scalable/performant to

[web2py] Re: Updated Version of web2py and sending emails stopped working

2018-04-04 Thread AlighaThor
Hi. Could you post the entire ticket? -- 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

Re: [web2py] Confused about web2py sessions handling in the filesystem, versus the db handling.

2018-04-04 Thread AlighaThor
Well, I will stick with DB sessions from now. Thanks! -- 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

[web2py] Confused about web2py sessions handling in the filesystem, versus the db handling.

2018-04-03 Thread AlighaThor
Hi. I'm experimenting for the first time (but I'm quite a bit old using this amazing framework :)) storing sessions in the DB instead the filesystem, as I always did. I'm monitoring those two behaviours and somehow it feels (at least for me) that the DB session handling is far away more

Re: [web2py] Re: prevent multiple session at the same time

2018-04-03 Thread AlighaThor
I would do not perform the database check in every request (and I think Massimo did'nt mean that :)), only during the the second (or more) attempt to log in with the same user. Let's say you have the X user logged in. You stored the uuid in the auth_user.uuid field as mentioned. Then in

[web2py] Re: ImportError with packages in site-packages.

2018-03-29 Thread AlighaThor
And yes...I restarted the server several times without any effect. The same ImportError excepction. -- 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

[web2py] Re: ImportError with packages in site-packages.

2018-03-29 Thread AlighaThor
Hi. Thanks for anwser. Well, I was trying to import "requests" in PythonAnywhere. I found that they have it pre-installed (I did'nt know). So, problem solved by now. I could'nt import the standalone request package inside site-packages or the app specific "modules" directory neither. El

[web2py] ImportError with packages in site-packages.

2018-03-29 Thread AlighaThor
018-03-29.10-43-13.c356e4d3-44b6-4b74-a896-d0da7de9d0b1 (ImportError("Cannot import module 'applications.myapp.modules.requests'",), )Versión web2py™ Version 2.16.1-stable+timestamp.2017.11.13.23.50.07 Python Python 2.7.12: /home/alighathor/Documentos/python-virtual-envs/web2py/bin/python2.7

[web2py] Re: Django guys get a job easily. Why don't web2py guys get a job? How to get a job?

2017-10-19 Thread AlighaThor
Well, a year has past...but anyway, here comes my appreciation: I agree with Massimo. Companies that ask for Django (or whatever X technology) developers, it is because maybe there are some constraits with that particulary tool. In my humble opinion: - They already have systems in that X

[web2py] Re: How to create specific migrations files per sqlite database in same app

2017-10-15 Thread AlighaThor
Yep...that worked. In the meantime I did this per table definition: def migration(table): return '{0}/{1}.table'.format(tenant_folder, table) #In the tables definitions ... migrate=migration('buildings') That worked, but I like your clarification more. Thanks mate. El domingo, 15 de

[web2py] How to create specific migrations files per sqlite database in same app

2017-10-12 Thread AlighaThor
Hi everyone. I'm experimenting with an multi-tenant app. My goal is to use a sqlite file per tenant (the tenant data). I have a main sqlite file where I have defined the auth tables and a Client (tenant) table. The structure I'm looking for is something like this, where inside a tenant folder

[web2py] Re: Cannot start web2py.py

2017-09-03 Thread AlighaThor
Nevermind..my bad. The problem seems to be that I have pyDAL installed globally (for other purposes besides web2py) and it's conflicting with the pyDAL's version inside web2py. I created an virtualenv and now It's solved. Thanks anyway. -- Resources: - http://web2py.com -

[web2py] Cannot start web2py.py

2017-09-03 Thread AlighaThor
Hi. Latest build 2.15.4. I got this while starting web2py.py. Traceback (most recent call last): File "web2py.py", line 21, in import gluon.widget File "/home/alighathor/Documentos/Desarrollo/web2py/web2py/gluon/__init__.py", line 38, in from .dal import DAL,

[web2py] What do you think about Orator?

2017-08-19 Thread AlighaThor
Hey guys! I recently have been working with Laravel (yes, I know, this is a group about web2py, but please, keep reading). I used to hate PHP and all things related to it, but thanks to Laravel now I have a love-hate relation, so it's a kind of improvement, :) Personally one of the things I

[web2py] Re: Is web2py dying?

2016-11-17 Thread AlighaThor
Thanks for your quick reply. By the way, with 4 years of experience, why not start contributing too > Exactly for that reason I asked this. I'm really thinking about request being a contributor. I want do my best efforts for this awesome technology and I dont want it to die. -- Resources: -

[web2py] Is web2py dying?

2016-11-17 Thread AlighaThor
I'm a web2py developer with 4 years of experience. This framework introduced me in web development in general. I really thanks web2py for that. Now, my question is: Is web2py dying? The last release I got is from May, 2016. Is it's development, let's sayslower?? -- Resources: -

[web2py] How to propagate a web2py enviroment to several test modules?

2016-07-27 Thread AlighaThor
Hi. Here's my question: ¿How do I propagate my web2py enviroment to several test modules? Following this recipe im starting doing TDD with web2py. My problem is that Im organizing my test cases in several modules, so im only executing my main

[web2py] Extending the completation support from IDEs for DAL objects

2014-06-06 Thread AlighaThor
Hello to the community. I want to share with you a simple tool I created to extend the capabilities of completion of the DAL code. So far I've only tested PyCham. Experiment with other IDEs and tell me. Given the dynamic nature of Python and how web2py defines the tables, it becomes