[web2py] deploying web2py to a shared host

2010-10-05 Thread Daniel
Hi folks, I am new to web2py, so I am trying to deploy an small website. My server is a shared server, which supports WSGI apps, I can install an Django app form Cpanel, but I can't figure out how to to with web2py. At the control panel I choose: Create new WSGI project > *Others It creates my

[web2py] Get image from url and save in uploads folder - AttributeError

2016-07-17 Thread Daniel
Hi all, I am trying to retrieve a picture from a url and save it in the uploads folder and then reference the file in the auth_user table, however I am getting AttributeError (folder) and I'm not sure why. def save_facebook_image(fbid): if auth.user: import urll

[web2py] Re: Get image from url and save in uploads folder - AttributeError

2016-07-18 Thread Daniel
Hi guys thanks again for your help. So I am using a stream object as outlined in the book, however its throwing 'no such file or directory'. But when I go to the url there is a jpg file attached. I thought it could be because the url does not end with the file extension, however I tried a diffe

[web2py] Help with App memory usage

2016-10-13 Thread daniel
Hello im an developing an opensource POS (link ) using web2py, everything is fine except that on my development environment and in a production server, my app memory usage grows without limits, it does not crash the server however sometimes i g

[web2py] Re: Help with App memory usage

2016-10-14 Thread daniel
anthony, thats a good point did not notice that, thanks El jueves, 13 de octubre de 2016, 21:03:20 (UTC-5), Anthony escribió: > > That's a lot of code to review. You're probably going to have to do some > digging and narrow it down for us. I did see one problem, though: > > class IS_BARCODE_AVAIL

[web2py] Re: Help with App memory usage

2016-10-14 Thread daniel
On my development environment i am using psycopg2 in production pg8000, and im not using db cache anywhere El viernes, 14 de octubre de 2016, 10:07:43 (UTC-5), Paolo Valleri escribió: > > Which driver are you using for postgres? Are you using cache in models? > Try to figure out if there are con

[web2py] Re: Web3py

2019-05-08 Thread Daniel
El lunes, 6 de mayo de 2019, 19:38:47 (UTC-4), jcrm...@gmail.com escribió: > > My 2c > > You could call it web2py3 with this logic > web2py was web for Python (at the time it was Python 2.x) > web2py3 will the web for Python 3. > > > FWIW, I second this. -- Resources: - http://web2py.com - htt

[web2py] orderby with groupby in select

2015-10-05 Thread Daniel
Hi all, I am trying to order messages so that the newest message from each user is displayed. However when grouped by user, the oldest message is displayed despite being ordered by timesent. Its like the groupby argument overrides the orderby. messages = db(db.messages.toid == auth.user.id).se

Re: [web2py] Re: deploying web2py to a shared host

2010-10-05 Thread Daniel Gildenlow
e set. > > > On Oct 5, 2:03 pm, Daniel wrote: > > Hi folks, > > > > I am new to web2py, so I am trying to deploy an small website. > > > > My server is a shared server, which supports WSGI apps, I can install > > an Django app form Cpanel, but I can&#x

Re: [web2py] Re: Using CAS and @auth.requires_login() decorator

2010-11-08 Thread Daniel Gonzalez
The online book says to use cas.py http://web2py.com/book/default/chapter/08#Central-Authentication-Service In the paper version of the book or in the pdf one, there is a different documentation? Daniel El lun, 08-11-2010 a las 09:47 -0800, mdipierro escribió: > You should use the

Re: [web2py] Re: Using CAS and @auth.requires_login() decorator

2010-11-08 Thread Daniel Gonzalez
; globals(), > urlbase = "https://web2py.com/cas/ > cas", > > actions=['login','check','logout']) > > where urlbase is the actual CAS server url without the > login,logout... > > Enjoy. > > > > >

[web2py:24498] Re: Coming from grails world

2009-06-19 Thread Daniel Guryca
://127.0.0.1:8000/examples/default/index I'm getting 45 requests/s. Interesting is that only 1 core is running on 100%. The other core is idling. Is an integrated server multi-threaded ? What other deployment possibilities could I test ? Thanks a lot ! Daniel On Fri, Jun 19, 2009 at 2:

[web2py:24542] Re: Coming from grails world

2009-06-20 Thread Daniel Guryca
ote: > > On 19 June, 16:01, Daniel Guryca wrote: > > > > > I can see that performance coming from a default integrated server is > > > somewhat poor. > > > > 'integrated server' = CherryPy/SQLite, right? > > > > > What other deplo

[web2py:24574] Re: Coming from grails world

2009-06-20 Thread Daniel Guryca
that python is not java but Django numbers are far better. regards Daniel On Sat, Jun 20, 2009 at 4:57 PM, mdipierro wrote: > > You are comparing apples with oranges. By bechmarking /examples/ > default/index you are not just benchmarking the cherrypy wsgiserver. > You have a lot of o

[web2py:24618] Re: Coming from grails world

2009-06-21 Thread Daniel Guryca
Hey, I have just installed apache + web2py + mod_wsgi. Now results are very comparable to django results. Great ! I'm going to test it a bit more. Thanks Daniel On Sun, Jun 21, 2009 at 2:01 AM, AchipA wrote: > > You didn't say what web server you used for Django, whether y

[web2py:11572] Re: Proposal: MVC separation - son of custom views

2008-11-10 Thread Daniel Guryca
Hey totally agree with you ! It is too bad not to be able to define my own fully customized forms within a view, operate over them in a controller but still need to have a necessary relation to a database model ! Logic should be defined in a controller and presentation in a view. Daniel On

[web2py:11581] Re: web2py 1.48 is OUT

2008-11-10 Thread Daniel Contag
Excellent! Daniel On Mon, Nov 10, 2008 at 19:31, mdipierro <[EMAIL PROTECTED]> wrote: > > I posted web2py 1.48. Many many many small changes. faster and better > than ever. > Please give it a try and check if any of your apps

[web2py:11851] Re: web2py foundation

2008-11-14 Thread Daniel Contag
A truly interesting proposal, Massimo! You, clearly, are thinking ahead. Daniel On Fri, Nov 14, 2008 at 22:01, mdipierro <[EMAIL PROTECTED]> wrote: > > Actually I was thinking about something similar but also different. > > I want to create an association of users, not

[web2py:11958] Re: new command line switches

2008-11-17 Thread Daniel Contag
I agree. That's a very useful suggestion, Achipa. Daniel On Mon, Nov 17, 2008 at 12:24, achipa <[EMAIL PROTECTED]> wrote: > > Just to bump this a bit... I'm contemplating that maybe we shouldn't > do database logging.warnings at all. We could just collect a list

[web2py:12165] Re: web2py book in PDF at $12.50

2008-11-19 Thread Daniel Contag
Excellent! +1 purchases Daniel On Wed, Nov 19, 2008 at 02:45, mdipierro <[EMAIL PROTECTED]> wrote: > > http://www.lulu.com/content/4968879 > > This is without the Wiley cover since Wiley could not accommodate the > requirements but it is the same book. > If you buy it,

[web2py:12311] Re: svn version of web2py taking long time to log in

2008-11-21 Thread Daniel Contag
Another glitch I noticed: The latest version in trunk occassionally displays the "newer version available" message. Daniel On Fri, Nov 21, 2008 at 20:20, Wes James <[EMAIL PROTECTED]> wrote: > > Can anyone else verify if with the latest svn version of web2py if it >

[web2py:12370] Appengine / Bulk Loader

2008-11-22 Thread Daniel Contag
m the sqlite-database. Thanks, Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group

[web2py:12374] Re: Appengine / Bulk Loader

2008-11-22 Thread Daniel Contag
selected' SyntaxError: SQLSet: no tables selected" Any ideas to force the execution of the model file? Thanks! Daniel On Sat, Nov 22, 2008 at 18:56, Daniel Contag <[EMAIL PROTECTED]> wrote: > Hi all, > > does anyone have a suggestion how to use the bulk

[web2py:12380] Re: Appengine / Bulk Loader

2008-11-22 Thread Daniel Contag
ql.py some lines about csv output but I suppose that was just for testing (since it occurs in the docstring test). I found no code for importing.) Daniel On Sat, Nov 22, 2008 at 23:39, mdipierro <[EMAIL PROTECTED]> wrote: > > models are always executed, in alphabetic order. There is no

[web2py:12394] Re: Appengine / Bulk Loader

2008-11-23 Thread Daniel Contag
tricted.py", line 62, in restricted exec ccode in environment File "/path/applications/raumdienst/models/db.py", line 47, in db.table_one.import_from_csv_file(result.content) File "/path/gluon/contrib/gql.py", line 73, in __getattr__ def __getattr__(self, key)

[web2py:12395] Re: Appengine / Bulk Loader

2008-11-23 Thread Daniel Contag
Make that .import_from_csv_file ... Sorry. Daniel On Sun, Nov 23, 2008 at 12:55, Daniel Contag <[EMAIL PROTECTED]> wrote: > Hm, so it *should* work. Weird. > > This is the error when trying > > " > try: >from google.appengine.api import urlfetch > except:

[web2py:12397] Re: Appengine / Bulk Loader

2008-11-23 Thread Daniel Contag
e/ext/db/__init__.py", line 2132, in validate raise BadValueError('Property %s must be a bool' % self.name) BadValueError: Property free must be a bool Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[web2py:12404] Re: Appengine / Bulk Loader

2008-11-23 Thread Daniel Contag
Hi Massimo, with your change, nothing at all gets imported. I can see that using StringIO.StringIO is more pythonic than my hack but I'm at a loss as to why the table that worked before now doesn't get filled. Daniel On Sun, Nov 23, 2008 at 16:30, mdipierro <[EMAIL PROTECTED]>

[web2py:12553] Re: non-ascii chars URL

2008-11-27 Thread Daniel Contag
My opinion is that we should adhere to the RFCs. Daniel On Thu, Nov 27, 2008 at 13:12, Jonathan Benn <[EMAIL PROTECTED]> wrote: > > Hi Massimo, > > > On Nov 27, 6:13 am, mdipierro <[EMAIL PROTECTED]> wrote: > >> Does anybody have any objection to this patc

[web2py:12589] Re: web2py book in PDF at $12.50

2008-11-28 Thread Daniel Contag
I know that LaTeX can do the linking in a table of content automatically. Perhaps the publishing system used for Massimo's book can do it also, then it would just be a matter of flipping a switch. Daniel On Fri, Nov 28, 2008 at 09:27, cjparsons <[EMAIL PROTECTED]> wrote: > &g

[web2py:12799] Re: web2py on Amazon Cloud (E2, S3)

2008-12-02 Thread Daniel Contag
Sounds promising. :) Daniel On Tue, Dec 2, 2008 at 13:18, achipa <[EMAIL PROTECTED]> wrote: > > Speaking of the devil: > > New Features for Amazon SimpleDB Coming Soon: > > * SQL-like SELECT API: With this feature, you will be able to employ > a very familiar S

Re: [web2py] Re: How to make a modal+ajax form "manually"?

2010-11-13 Thread Daniel Gonzalez
Thank you very much villas! This can works to me, but in that documentation doesn't says anything about javascript modal windows. Does somebody know how to make the jQuery modal windows without using the plugin PluginMModal()? I will need to create it manually. demetrio El sáb, 13-11-2010 a la

Re: [web2py] Re: How to make a modal+ajax form "manually"?

2010-11-13 Thread Daniel Gonzalez
> 5. Open the TestApp in your browser and you should see the index.html > page by default. > > 6. Click on SEE MODAL WINDOW. > > Maybe the plugin might be useful for you after all as a starting > point :) > Take a look at the page source to see what it is doing. >

Re: [web2py] Re: problem whith admin

2010-11-15 Thread Daniel Gonzalez
Hi, i had the same problem. To fix this while a new version is launched, you can edit the file applications/admin/views/default/design.html And go to line 207 where youl find if '/'.join(file_path).startswith('/'.join(path)): Try to chage it with if len(file_path)>= len(path) and

Re: [web2py] Re: web2py converts the data to thml chars from controller to view

2010-11-18 Thread Daniel Gonzalez
Hi! Thx! It looks that all that i need was the TAG() helper :) Regards! El mar, 16-11-2010 a las 01:46 -0800, villas escribió: > Hi Demetrio > > Take a look at the XML helper: > > http://web2py.com/book/default/chapter/05 > > Regards, D > > On Nov 16, 12:52 am, demetrio wrote: > > Hi ever

Re: [web2py] Re: Problem with id.represent since 1.89.4 and newer

2010-11-22 Thread Daniel Gonzalez
Hi With the code that I send in the previous mail, the crud.select() list should appear as: Actions | Name | Title | Type | State Work, Card | project_name | Project Title | devel | In process Where "Actions" field is the "id.represent", and Type and State are fields with

Re: [web2py] Re: Problem with id.represent since 1.89.4 and newer

2010-11-22 Thread Daniel Gonzalez
Ok this works, thank you very much. El lun, 22-11-2010 a las 07:03 -0800, mdipierro escribió: > For now add > >crud.select(linkto=None) > > I understand the problem. I need to think about how to fix this > one ... > > Massimo > > On Nov 22, 8:54 am,

Re: [web2py] Re: Problem with id.represent since 1.89.4 and newer

2010-11-22 Thread Daniel Gonzalez
Yes it works also in trunk with my app, with and without the "linkto" parameter. Thanks! Daniel El lun, 22-11-2010 a las 07:12 -0800, mdipierro escribió: > Can you also check if the fix in trunk works for you? > > Massimo > > On Nov 22, 9:09 am, Daniel Gonzalez

Re: [web2py] Forms and their customisation

2010-11-29 Thread Daniel Gonzalez
Hi, Checkout the chapter 7 of the book, specially this part: http://web2py.com/book/default/chapter/07#Custom-forms Regards Daniel El lun, 29-11-2010 a las 02:11 -0800, Emceha escribió: > Here is my controller code: > > def dodaj_artykul(): > form=crud.create(db.a

Re: [web2py] Re: Forms and their customisation

2010-11-29 Thread Daniel Gonzalez
rocessed form to see what name gives web2py to the field, and use it. I hope that this is what are you looking for. El lun, 29-11-2010 a las 02:27 -0800, Emceha escribió: > Thanks Daniel for prompt reply, > > I've read chapter 7 already, also did some google search - but I was

Re: [web2py] Re: Forms and their customisation

2010-11-29 Thread Daniel Gonzalez
your field is named :) Anyway, mr.freeze has sent a better solution than mine :) Regards Daniel El lun, 29-11-2010 a las 04:02 -0800, Emceha escribió: > Thanks Daniel for hint. > > Unfortunately it looks like db object doesn't have textareafield > attribute: > > google_ap

Re: [web2py] Re: Create table without id field

2010-12-13 Thread Daniel Gonzalez
El lun, 13-12-2010 a las 02:19 -0800, mdipierro escribió: > You can only rename it, for example 'mykey' > > db.define_table('person',Field('mykey','id'),...) > ok, i will try to make the functionality in another way :) Thanks Massimo :) > > > On Dec 13, 4:11 am, demetrio wrote: > > Hi every

Re: [web2py] Create table without id field

2010-12-13 Thread Daniel Gonzalez
Thanks a lot :) El lun, 13-12-2010 a las 14:05 +0100, Ole Martin Maeland escribió: > Create a table in web2py, migrate=False > > create table in db, no autincrement.. > > thats it. > >

[web2py:10041] Re: web2py book finally online in PDF

2008-10-10 Thread Daniel Contag
That would be great! Daniel On Fri, Oct 10, 2008 at 08:59, mdipierro <[EMAIL PROTECTED]> wrote: > > I have emailed the publisher again about this. We agreed on PDF. I was > not aware of this system that they are using and I do not like it. > People should be able to print

[web2py:10095] Re: templates and for...else

2008-10-11 Thread Daniel Contag
What is the "break" for? Daniel On Sat, Oct 11, 2008 at 22:50, billf <[EMAIL PROTECTED]> wrote: > > Adding a {{pass}} at the end doesn't make any difference. > > On Oct 11, 9:45 pm, billf <[EMAIL PROTECTED]> wrote: >> New to python, I believe that

[web2py:10829] Re: Integration with Appcelerator

2008-10-30 Thread Daniel Guryca
Hi, My 2 cents: I have been a Java web and Swing developer for 5 years. I use great Enhydra + DODS (database layer) frameworks and have created some huge applications with these technologies. I used to develop in PHP and Perl too but it's been an old history. Those are my experiences from a real

[web2py:10894] Re: Integration with Appcelerator

2008-10-31 Thread Daniel Guryca
As for Appcelerator: I have tried to create a few apps with it. Hmm .. I'm not very excited. Some app tags are not working as they should ... rendering problems and others. For me that is a signal to leave this technology. As for my choice of framework for my future web apps: Now I'm still choosi

[web2py:10979] Re: newbie question about Google Application Engine

2008-11-03 Thread Daniel Contag
You can deploy to GAE using the standard GAE-procedure, but note, that you will need the source distribution of web2py and to change the app name from web2py to yourapp.appspot.com Daniel On Mon, Nov 3, 2008 at 09:35, dme69 <[EMAIL PROTECTED]> wrote: > > Hello all, > Sorry again

[web2py:11031] Re: web2py will play an important role in Computational Finance?

2008-11-03 Thread Daniel Contag
Interesting... :) On Mon, Nov 3, 2008 at 23:26, mdipierro <[EMAIL PROTECTED]> wrote: > > You reading my mind. I am going to let some of the students on this > list to answer, Their deadline is next week. > > Massimo > --~--~-~--~~~---~--~~ You received this messag

[web2py:11032] Re: build osx web2py

2008-11-03 Thread Daniel Contag
The ssh-command would just copy your local file to the remote server. So you can't 'get' anything from it. (scp = secure shell copy) Daniel On Mon, Nov 3, 2008 at 23:39, Wes James <[EMAIL PROTECTED]> wrote: > > On Mon, Nov 3, 2008 at 3:25 PM, mdipierro <[EMAIL P

[web2py:11052] T2 Status, location

2008-11-03 Thread Daniel Contag
Hi, a couple of T2 questions: Is this the latest code: http://mdp.cti.depaul.edu/examples/static/web2py.app.plugin_t2.tar and is there a difference to bzr branch lp:~mdipierro/t2/main Thanks! Daniel --~--~-~--~~~---~--~~ You received this message because you

[web2py:11082] Re: ssl_error_rx_record_too_long

2008-11-04 Thread Daniel Contag
Could it be that your browser rejects the certificate because it is self-signed? Just a guess. Daniel On Tue, Nov 4, 2008 at 15:39, airdrummer <[EMAIL PROTECTED]> wrote: > > i followed the ssl faq (http://mdp.cti.depaul.edu/AlterEgo/default/ > show/140) then tried to access ht

[web2py:11067] Re: T2 Status, location

2008-11-04 Thread Daniel Contag
Ok, thanks Massimo! Daniel On Tue, Nov 4, 2008 at 07:34, mdipierro <[EMAIL PROTECTED]> wrote: > > The bzr is always the most updated. The tar contains a lot of junk > (like pyc files). > > Massimo --~--~-~--~~~---~--~~ You received this me

[web2py:11163] Re: code completion data source

2008-11-04 Thread Daniel Contag
Good choice :) On Wed, Nov 5, 2008 at 07:50, mdipierro <[EMAIL PROTECTED]> wrote: > > I just came back from the Obama Rally in Chicago so the only answer I > can give you is: yes we can. > > Massimo > --~--~-~--~~~---~--~~ You received this message because you are

[web2py:11165] Re: Re : [web2py:11116] Re: irc channel for web2py?

2008-11-04 Thread Daniel Contag
Because of these very two important reasons, I would not change the way of communication for web2py. Right now we've got very fast reply times and an excellent archive (with awesome search). Do we need more? Daniel On Wed, Nov 5, 2008 at 07:51, seeker <[EMAIL PROTECTED]> wrot

Re: [web2py] Any jquery gurus out there?

2012-07-11 Thread Daniel Gonzale
I don't understand a lot the pourpose of this selector > $(document.location.hash).removeClass("hidden"); > If the element has the id attr as the same hash you should use > $("#"+document.location.hash).removeClass("hidden"); Or if the hash is in the href attr you can use > $('[hr

Re: [web2py] Auth with Google Oauth2 - Google Plus, Gmail and other scopes

2012-07-12 Thread Daniel Gonzalez
the same code? - Would it be easy to integrate twitter too? I am willing to contribute any improvements I need to do in order generalize this code even more, of course. Thanks, Daniel On Monday, January 16, 2012 6:44:16 PM UTC+1, rochacbruno wrote: > > yes we can! the difference is onl

[web2py] Re: Alternative to Janrain: in pure Python

2012-07-18 Thread Daniel Gonzalez
Hi, Has there been any progress integrating this OAuth library with web2py? Thanks, Daniel On Thursday, July 12, 2012 8:56:25 PM UTC+2, Massimo Di Pierro wrote: > > Thank you Sakesh for the offer. We will work on intergation asap and we > may ask for help with your api. > >

Re: [web2py] Re: Alternative to Janrain: in pure Python

2012-07-18 Thread Daniel Gonzalez
assistance. I would be willing to contribute back of course. Regards, Daniel --

[web2py] Re: Unable to login to admin in trunk

2012-07-20 Thread Daniel Aguayo
Hi, It's still not resolved El viernes, 20 de julio de 2012 12:22:01 UTC-4, Massimo Di Pierro escribió: > > can you please try again? > > Traceback (most recent call last): File "web2py.py", line 25, in gluon.widget.start(cron=True) File "/home/dantoac/web2py_git/gluon/widget.py", line 10

Re: [web2py] Re: Unable to login to admin in trunk

2012-07-20 Thread Daniel Aguayo
El viernes, 20 de julio de 2012 14:24:01 UTC-4, Jonathan Lundell escribió: > > On 20 Jul 2012, at 11:03 AM, Daniel Aguayo wrote: > > Hi, It's still not resolved > > > Yeah, that was just for diagnostic purposes. Find where you're specifying > 'sh512'

[web2py] Re: trying to use movu

2012-07-26 Thread Daniel Gonzalez
Take a look at the controllers. They are somehow disabled (they have an spurious x as argument, which causes them to fail). I do not know why is that. On Wednesday, July 25, 2012 10:38:17 AM UTC+2, Hassan Alnatour wrote: > > Dear ALL , > > I am Trying TO use movu from http://movu.ca and i insta

[web2py] Web2py in apache mod_wsgi with virtualenv

2012-08-01 Thread Daniel Gonzalez
it using 2.6.5 or 2.7.2? The python installed in /home/myuser/.virtualenvs/python2.7.2/bin/python *is* 2.7.2. What I need is to use the virtualenv *and* python 2.7.2, which is not the system-wide python, but the one in the virtualenv. Do you have any suggestions? Thanks, Daniel --

Re: [web2py] Web2py in apache mod_wsgi with virtualenv

2012-08-01 Thread Daniel Gonzalez
eceeding the path of the system wide python), all scripts starting with "#!/usr/bin/env python" would use the right python version, but this does not seem to work in case of mod_wsgi. Any ideas? Thanks, Daniel On Wednesday, August 1, 2012 5:30:07 PM UTC+2, Jonathan Lundell wrote:

Re: [web2py] Web2py in apache mod_wsgi with virtualenv

2012-08-01 Thread Daniel Gonzalez
Thanks Jonathan, On Wednesday, August 1, 2012 5:56:37 PM UTC+2, Jonathan Lundell wrote: > > On 1 Aug 2012, at 8:52 AM, Daniel Gonzalez wrote: > > Quoting from the link you posted: > > "The purpose of such Python virtual environments is to allow one to create >

Re: [web2py] Web2py in apache mod_wsgi with virtualenv

2012-08-01 Thread Daniel Gonzalez
Thanks Jonathan, I will try this later today. Regards, Daniel On Wednesday, August 1, 2012 6:44:24 PM UTC+2, Jonathan Lundell wrote: > > On 1 Aug 2012, at 9:30 AM, Daniel Gonzalez wrote: > > On Wednesday, August 1, 2012 5:56:37 PM UTC+2, Jonathan Lundell wrote: > > On 1 Au

Re: [web2py] Web2py in apache mod_wsgi with virtualenv

2012-08-02 Thread Daniel Gonzalez
+2, Daniel Gonzalez wrote: > > Thanks Jonathan, > > I will try this later today. > > Regards, > Daniel > > On Wednesday, August 1, 2012 6:44:24 PM UTC+2, Jonathan Lundell wrote: >> >> On 1 Aug 2012, at 9:30 AM, Daniel Gonzalez wrote: >> > On Wedn

[web2py] URL strategy for single application

2012-08-02 Thread Daniel Gonzalez
hts / strategies used by people more familiar with web2py? Thanks and regards, Daniel --

[web2py] Apache vhost configuration for web2py with mod_wsgi and SSL

2012-08-03 Thread Daniel Gonzalez
vhost configuration for mod_wsgi + ssl + web2py? Thanks, Daniel --

Re: [web2py] URL strategy for single application

2012-08-07 Thread Daniel Gonzalez
Thanks Jonathan, Bruno, I am a bit confused: where is this routes.py file? Is it a web2py-wide file, or an application-specific file? Thanks, Daniel On Thursday, August 2, 2012 9:47:24 PM UTC+2, Jonathan Lundell wrote: > > On 2 Aug 2012, at 12:34 PM, Bruno Rocha wrote: > &g

[web2py] Re: Scheduler: help us test it while learning

2012-08-08 Thread Daniel Haag
this would be a possible feedback mechanism (and we would not need another table etc. just for that) just thinking of a progress meter for example. What I really miss though is the output of the task when it produces a timeout - nothing in the task table about the output... Daniel Am Donnerstag, 1

[web2py] Stream a couchdb attachment with web2py

2012-08-09 Thread Daniel Gonzalez
hat kind of request will the audio tag send when it is activated, GET/POST/...? Can this be handled with web2py? Thanks, Daniel --

[web2py] Re: Stream a couchdb attachment with web2py

2012-08-09 Thread Daniel Gonzalez
specifying things like duration, volume, ... but I am not familiar with these details. And as a more general problem: is it possible at all to randomly access a streaming audio file? I would say that this is not possible. Any ideas / workarounds to get the slider working? Thanks, Daniel On

Re: [web2py] Re: Scheduler: help us test it while learning

2012-08-13 Thread Daniel Haag
quot;bubbles" up to the queue manager). Could you pinpoint > me to a queue/task messaging implementation with this feature, if you saw > this feature implemented already ? > Well, actually I did not, but that doesn't mean a lot as I didn't have the requirement of a sched

Re: [web2py] Re: Scheduler: help us test it while learning

2012-08-13 Thread Daniel Haag
Am 14.08.2012 00:45 schrieb "Niphlod" : > > > On Monday, August 13, 2012 4:44:18 PM UTC+2, Daniel Haag wrote: >> >> I don't know if it would work this way but I would be glad if you could give me some feedback (its actually just a proof of concept - but I did al

[web2py] Re: Scheduler: help us test it while learning

2012-08-14 Thread Daniel Haag
e "small issue" here is that the traceback is "full", > starting from where the process is stopped after 5 seconds (the executor > function), to the "where" it really stopped (line 21, function1, in > models/scheduler.py) that is the useful information. >

[web2py] Pre-populate profile form

2012-08-20 Thread Daniel Gonzalez
ter_form = random_pre_populate(register_form) return dict(message = T('Hello world!'), login_form= login_form, register_form = register_form) The data generation is done in RegisterData().random(), which just uses mostly-random data. Unfortunately the data does not appear in the profile form. How can I achieve this? Thanks, Daniel --

Re: [web2py] Pre-populate profile form

2012-08-20 Thread Daniel Gonzalez
esides, that generates test data which I can not control at all. In my application, some of the fields must have special values (even during testing), so I can not make that fully random. Thanks, Daniel On Monday, August 20, 2012 1:53:00 PM UTC+2, Johann Spies wrote: > > Search the book for

[web2py] Re: Pre-populate profile form

2012-08-20 Thread Daniel Gonzalez
er input and check the system response. > > On Monday, August 20, 2012 5:30:19 AM UTC-4, Daniel Gonzalez wrote: >> >> Hi, >> >> I am trying to pre-populate the profile form with some random data, which >> I am using for testing, like this: >> >> def ran

Re: [web2py] Re: Pre-populate profile form

2012-08-20 Thread Daniel Gonzalez
that the form is offering this test data as default. 3. The user then can proceed normally with the suggested test data, or edit it. BR, Daniel On Monday, August 20, 2012 3:51:55 PM UTC+2, Johann Spies wrote: > > > > On 20 August 2012 15:07, Daniel Gonzalez >wrote: > &g

[web2py] Re: Pre-populate profile form

2012-08-20 Thread Daniel Gonzalez
gust 20, 2012 5:30:19 AM UTC-4, Daniel Gonzalez wrote: >> >> Hi, >> >> I am trying to pre-populate the profile form with some random data, which >> I am using for testing, like this: >> >> def random_pre_populate(form): >> register_data = Registe

[web2py] Router for multiple controllers

2012-08-21 Thread Daniel Gonzalez
Is it possible to achieve this with routes.py? Thanks, Daniel --

Re: [web2py] Re: Router for multiple controllers

2012-08-21 Thread Daniel Gonzalez
_function = 'start', ), ) routes_in = ( ('/hello', '/app1/controller1/hello'), ('/bye', '/app1/controller2/bye'), ) I need both the shortcuts /hello and /bye, and the routers configuration. Is this possible? BR, Daniel

[web2py] Accessing db['auth_user'] raises exception

2012-08-21 Thread Daniel Gonzalez
sqlite), and the table is indeed there. But I get the following error: 'auth_user' The errror is happening when accessing db[agent_table] in the controller. Meanwhile, doing the same access in the model file (db.py), works fine. What is going on? Thanks, Daniel --

[web2py] Re: Accessing db['auth_user'] raises exception

2012-08-21 Thread Daniel Gonzalez
ng the agents to the auth_user table). On Wednesday, August 22, 2012 12:49:30 AM UTC+2, Massimo Di Pierro wrote: > > Are you using trunk. We have been messing up with it a lot in the last 3 > days. Try it again now. > > On Tuesday, August 21, 2012 5:41:03 PM UTC-5, Daniel Gon

[web2py] Re: Accessing db['auth_user'] raises exception

2012-08-22 Thread Daniel Gonzalez
wrote: > > I see. You are suing the nightly build. Get the latest one (in 5 minutes) > and see if you still have the problem. > > On Tuesday, 21 August 2012 17:55:49 UTC-5, Daniel Gonzalez wrote: >> >> Not trunk. I am using: >> >> Version 2.00.0 (2012-06-18 17:0

[web2py] Computed field does not get updated when creating database entry

2012-08-22 Thread Daniel Gonzalez
re of updating the fields which have a compute parameter, and then insert the resulting data in the database. But this is not what is happening: the 'compute' fields are empty. How can I force the 'compute' fields to be updated? Thanks, Daniel --

[web2py] Re: Accessing db['auth_user'] raises exception

2012-08-22 Thread Daniel Gonzalez
I *am* using the git repo to install web2py. On Wednesday, August 22, 2012 12:43:33 PM UTC+2, lyn2py wrote: > > Try cloning git instead of downloading the zip > > On Wednesday, August 22, 2012 3:30:39 PM UTC+8, Daniel Gonzalez wrote: >> >> I have moved to the latest ver

[web2py] Re: Computed field does not get updated when creating database entry

2012-08-22 Thread Daniel Gonzalez
application directory structure. How are you guys solving these problems? Are you putting the databases (sqlite in this case) outside of the application directory? Thanks, Daniel On Wednesday, August 22, 2012 4:46:46 PM UTC+2, Anthony wrote: > > >>> >>> Field('

[web2py] Automatically fill in password satisfying certain requirements

2012-08-22 Thread Daniel Gonzalez
and CRYPT. Is there a way in web2py to generate a random password which satisfies the given requirements? Or maybe the requirements can only be checked against, but are not intended for generation ... Thanks, Daniel --

[web2py] Re: Computed field does not get updated when creating database entry

2012-08-22 Thread Daniel Gonzalez
e ... i meant testing.py *model* On Wednesday, August 22, 2012 6:53:52 PM UTC+2, Anthony wrote: > > And now a small explanation of why I did not notice this at first: >> I had a define_table in a testing.py controller. I have removed this >> controller from my development repo, but since I am

[web2py] Automatically login after account creation

2012-08-23 Thread Daniel Gonzalez
nce he has already provided the email address, and this is a new account, he should be immediately be logged-in. How can I programmatically trigger a log-in in web2py? Will this also set the necessary cookies in the client side? Thanks Daniel --

[web2py] Re: Automatically login after account creation

2012-08-24 Thread Daniel Gonzalez
, calling auth.register()), you can programmatically log in the user > by calling auth.login_bare([email address], [password]) -- so you will > need to generate a temporary password. > > Anthony > > On Thursday, August 23, 2012 8:00:43 AM UTC-4, Daniel Gonzalez wrote: >> >>

[web2py] Thoughts about integration of web2py and emberjs

2012-08-24 Thread Daniel Gonzalez
s? Thanks, Daniel --

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Daniel Haag
Just a small thing: Is it possible to have the -g option (the groups to be picked by the worker) when calling the worker with the -K arg from the main web2py.py? maybe somthing like python web2py.py -K appname(group1,group2,...) Am Donnerstag, 12. Juli 2012 20:36:38 UTC schrieb Niphlod: > > He

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Daniel Haag
day, August 24, 2012 5:08:23 PM UTC+2, Daniel Haag wrote: >> >> Just a small thing: Is it possible to have the -g option (the groups to >> be picked by the worker) when calling the worker with the -K arg from the >> main web2py.py? >> >> maybe somthing like >> python web2py.py -K appname(group1,group2,...) >> >> --

[web2py] Re: IMPORTANT - NEED HELP: more speed improvements to be tested

2012-08-27 Thread Daniel Haag
The following code is broken in trunk: db = DAL('sqlite://test.sqlite') db.define_table('t',Field('x')) db.t.insert(x=1) db(db.t).select(db.t.id,db.t.x+1).first()(db.t.id) Throws AttributeError: 'Row' object has no attribute 'id' The point seems to be the _extra entry created in the row object i

[web2py] Re: IMPORTANT - NEED HELP: more speed improvements to be tested

2012-08-27 Thread Daniel Haag
t; gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) Python 2.7.3 Version 1.99.7 (2012-03-04 22:12:08) stable: 7.47010946274e-06 5.64429044724e-06 Version 2.00.0 (2012-08-27 07:41:29) dev: 4.28411960602e-07 2.50899791718e-07 Daniel --

[web2py] Mark required fields with asterisk "*" when using FORM

2012-08-28 Thread Daniel Gonzalez
not, using asterisks ("*") for that. Is this at all possible with FORM? How can I configure this? Thanks Daniel --

Re: [web2py] Re: Mark required fields with asterisk "*" when using FORM

2012-08-28 Thread Daniel Gonzalez
that example uses SQLFORM. Will it work with FORM? Am 29.08.2012 00:36 schrieb "Anthony" : > You might try this: http://dev.s-cubism.com/plugin_notemptymarker > > Anthony > > On Tuesday, August 28, 2012 6:17:22 PM UTC-4, Daniel Gonzalez wrote: >> >> Hi, >

  1   2   3   4   >