[web2py:24443] select something as other from this

2009-06-18 Thread sebastian
Hi, is it possible to run this select using DAL ? select date,sum(hits) as morehits from report group by date (see the "as") thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To

[web2py:32462] controller "images"

2009-10-08 Thread sebastian
Hi All, I am using a JS library (http://jquery.com/demo/thickbox/) which refer to "images/something.jpg". That works perfectly on static HTML but web2py translates it as "http://blabla/init/default/images/ something.jpg". as work around I'd like to create a controller names images that returns

[web2py:32464] html pages without function associated

2009-10-08 Thread sebastian
Hi All, I have a lot of pages that do not need any controller activity. Therefore I have a lot of def my_function(): return dict() and then a my_function.html with my html. Is there any way to create html pages without creating any associated function ? thanks ? --~--~-~--~~

[web2py:15061] web2py for GAE compared with app-engine-patch

2009-01-17 Thread sebastian
Hi guys, I'm using app-engine-patch that is a patch for django 1.x for GAE. I wanted to try web2py but I've read that it doesn't support sessions nor cache under GAE (memcache is a must for GAE apps !). Without sessions nor memcache, GAE is not really nice to use ! is any way to use in a conve

[web2py:15063] GAE: from Django to web2py questions

2009-01-17 Thread sebastian
Hi all, Now that I know that web2py supports sessions and memcache also for GAE I'm starting my first web2py app (and it is under GAE.). As GAE doesn't use Relational databases (it uses Datastore/Bigtable) it is very important to project the app. with datastore in mind. Therefore it is necessary

[web2py:15091] Re: GAE: from Django to web2py questions

2009-01-18 Thread sebastian
property is implemented in a similar way anyway. > mmm... not sure about that... as the ListProperty is stored as a single record (you can have a list virtually long as u like and it will store in a single datastore row and therefore in a single access...). I've seen that GAE implements

[web2py:15094] Re: GAE: from Django to web2py questions

2009-01-18 Thread sebastian
> > Any ideas ? found a work around: (it is needed ONLY for GAE) make sure that the variable used in the query is of type int (or long).If it is comming from the request, them int() or long() must be used. ex: owner=int(request.vars.owner) records = db(db.pet.owner==owner).select() infact eve

[web2py:15993] Re: Modules and plugins

2009-02-07 Thread sebastian
Hi Massimo, I've just did few experiments and it works without reloading.. has web2py changed in some way regarding the importing of modules ? when is it necessary to use "reload" ? thanks "welcome/modules/mymodule.py" from gluon.html import * from gluon.http import * from gluon.validators imp

[web2py:16098] broken link in the official website

2009-02-09 Thread sebastian
in http://mdp.cti.depaul.edu/examples/default/docs there is a broken link that should point to the web2py applications with source code. It points to http://mdp.cti.depaul.edu/applicances but it returns an invalid function --~--~-~--~~~---~--~~ You received this me

[web2py:16578] Re: DAL subset supported by GAE

2009-02-19 Thread sebastian
Hi All, is there any schedule for the GAE transactions/entity groups ? if not, how would it be the best way (web2py upgrades compatible !) to use entity groups and transaction with web2py ? thanks On Jan 19, 2:59 pm, Robin B wrote: > > Groups under the DAL to be a single record. Since Big Tab

[web2py] Re: form in layout.html?

2012-05-09 Thread sebastian
in default.py I have def search_bar(): form = FORM('Search ',INPUT(_name='qry')) if form.process().accepted: response.flash='' if form.vars.qry: redirect(URL('services', vars={'qry':form.vars.qry})) return form and in layout.html {{=LOAD('default','search

[web2py] begin a transaction manually ?

2012-01-19 Thread sebastian
hi all, 1) is it possible to begin a transaction manually within a controller ? 2) can I start more than one transaction ? 3) question 1 for DAL in a non web2py application ? thanks

[web2py] cluster: distributed locks

2012-01-19 Thread sebastian
Hi All, just thinking on how to implement a distributed locking system in web2py using a DB: one row per each lock, lock_name is unique, if the row doesn't exist, then it is locked, if the row exist already, then it cannot be lock as it is already locked ! I'd like to create a module like thi

[web2py] Re: geo-capabilities for DAL

2012-02-04 Thread sebastian
this is a very old question so probably obsolete... what is the easier way of running spatial queries (PostGIS for example) in today's DAL/web2py ? thanks

[web2py] JSF 2.0 vs web2py

2011-02-16 Thread sebastian
Hi Guys, I have used web2py successfully for few commercial projects in the past and I it saved me a LOT of time compared with J2EE + Spring/ Struts + Hibernate etc... In fact most of the effort was for the UI as the business part was taken care by web2py ! Now I am working on a project with JSF

[web2py] stability of plugin_wiki

2011-02-20 Thread sebastian
Hi All I'm reading about plugin_wiki and it looks like a great plugin to use in real life applications... Just nervous about what the books says: DISCLAIMER: plugin_wiki is still very much under development and therefore we do not promise backward compatibility to the same level as for web2py cor

[web2py] daily usage: best practices

2011-04-25 Thread sebastian
Hi Guys, I've tried several GTD programs and cannot find any other better than this one. Of course, as any other program, it is not perfect. For example it could be slow on netbooks... and I guess than on a cell phone it could be much more slower (I've never tried) and it leaks an UI for small scr

[web2py] Re: daily usage: best practices

2011-04-25 Thread sebastian
sorry guys I've posted on the wrong group ! On Apr 25, 9:02 am, sebastian wrote: > Hi Guys, > > I've tried several GTD programs and cannot find any other better than > this one. Of course, as any other program, it is not perfect. For > example it could be slow o

[web2py] Re: See a new GAE site that we developed with some web2py...

2011-06-06 Thread sebastian
I'd like to try it but granting access to me wall. m...

[web2py] Re: Merging multiple accounts

2011-06-06 Thread sebastian
I guess that you need to implement it for your self...

[web2py] Re: web2py with Eclipse

2011-06-26 Thread sebastian
what about the functions defined in the models ? (global functions)

[web2py] From autogenerated form to custom form

2010-08-05 Thread Sebastian Bassi
I did a function that returned a form generated automatically from data definition. Here are relevant part. Model: db = DAL('sqlite://storage.sqlite') # if not, use SQLite or other DB db.define_table('sugerencias', Field('email','string',length=100,requires=IS_NULL_OR(IS_EMAIL())),

Re: [web2py] Re: From autogenerated form to custom form

2010-08-06 Thread Sebastian Bassi
On Thu, Aug 5, 2010 at 7:12 PM, Chris S wrote: > It should have: > {{=form.custom.begin}} > // your custom stuff including submit button > {{=form.custom.end}} I will try it. > don't use it or set it to something known.   It might not matter, but > why explicitly set it to none?  I can't think o

Re: [web2py] Re: From autogenerated form to custom form

2010-08-06 Thread Sebastian Bassi
On Thu, Aug 5, 2010 at 7:12 PM, Chris S wrote: > Using a custom form in your view should not change your controller > any. > > Just use the same controller and instead of the view having: > {{=form}} I don't have {{=form}} in my view. Here is the view: http://pastebin.com/npCADyQs > It should ha

[web2py] Bug in web2py?

2010-08-06 Thread Sebastian Bassi
I think this feature doesn't work as described: " If the page contains a single form, you can set formname=None and omit the hidden field in the view." Source: http://www.web2py.com/book/default/chapter/07 Because if I do that (using formname=None and omit the hidden field in the view), the form

Re: [web2py] Re: Bug in web2py?

2010-08-06 Thread Sebastian Bassi
On Fri, Aug 6, 2010 at 12:46 PM, mdipierro wrote: > This is correct. The issue is what is the purpose of the formname? It > is a hidden field used to determine whether the form is being > submitted or not. If you omit formname, web2py cannot determine > whether the form is not submitted or it is s

Re: [web2py] Re: Bug in web2py?

2010-08-06 Thread Sebastian Bassi
On Fri, Aug 6, 2010 at 1:36 PM, mdipierro wrote: > db.table.field.widget=lambda field,value: > SQLFORM.widgets.TextWidget.widget(field,value,cols="35" rows="8") > > You can add any attribute you need I don't see how does it realiz that is a textarea instead of input type="text" and where should I

Re: [web2py] Re: Bug in web2py?

2010-08-06 Thread Sebastian Bassi
On Fri, Aug 6, 2010 at 2:59 PM, mdipierro wrote: > StringWidget is the > TextWidget is the > the name comes from the web2py type not the html tag. thank you. Where should I put this and what to put on the view? db.table.field.widget=lambda field,value: SQLFORM.widgets.TextWidget.widget(field,v

Re: [web2py] Re: Bug in web2py?

2010-08-06 Thread Sebastian Bassi
On Fri, Aug 6, 2010 at 4:13 PM, mdipierro wrote: > You can put it in the model is it should apply to all form for the > table or in the controller action that needs it. I put it in the controller and I get a syntax error: Traceback (most recent call last): File "/home/sbassi/Downloads/web2py/g

Re: [web2py] Re: Bug in web2py?

2010-08-06 Thread Sebastian Bassi
On Fri, Aug 6, 2010 at 6:24 PM, mdipierro wrote: > My mistake. Not >    form = SQLFORM(db.sugerencias) >    db.sugerencias.texto.widget=lambda > field,value:SQLFORM.widgets.TextWidget.widget(field,value,cols="35" > rows="8") > but >   db.sugerencias.texto.widget=lambda > field,value:SQLFORM.widget

Re: [web2py] Re: Bug in web2py?

2010-08-09 Thread Sebastian Bassi
On Fri, Aug 6, 2010 at 1:36 PM, mdipierro wrote: > db.table.field.widget=lambda field,value: > SQLFORM.widgets.TextWidget.widget(field,value,cols="35" rows="8") > > You can add any attribute you need Is this documented somewhere? I found something strange, with this: db.sugerencias.texto.widget=

[web2py] Changing submit label from SQLFORM?

2010-08-10 Thread Sebastian Bassi
I wanted to customize the message on the submit button of a form generated from SQLFORM. The closest thing I found on the web was this outdated link: http://www.web2py.com/AlterEgo/default/show/205 On the book, there is only a reference for changing the label of the form generated by CRUD: 7.4.2 Me

Re: [web2py] Re: Changing submit label from SQLFORM?

2010-08-10 Thread Sebastian Bassi
On Tue, Aug 10, 2010 at 1:47 PM, mgrabau wrote: > By message you mean the value shown ie. "Submit"? Yes. > That is documented in the book, and is easy to do : > form = SQLFORM(...fields and all that..., submit_button='The label/ > message that you want to show there') > Book reference: http://we

Re: [web2py] Re: KeyError in web2py_modpython.py

2010-04-24 Thread Sebastian Bassi
On Sat, Apr 24, 2010 at 3:40 PM, mdipierro wrote: > The manual is incorrect. web2py now includes > web2py/modpythonhandler.py I think Graham D. was referring to "web2py_modpython.py". Best, SB. -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

[web2py:33095] SQL Queries + matching/replacing reference IDs

2009-10-17 Thread Sebastian Brandt
e db and I would need some kind of loop to replace the id with the referenced entry and I am really wondering if this is the most performanced optimize approach. Thanks in advance Sebastian Brandt --~--~-~--~~~---~--~~ You received this message because you ar

[web2py:33100] Re: SQL Queries + matching/replacing reference IDs

2009-10-18 Thread Sebastian Brandt
print row.events.message, row.status.status, row.severity.severity On Oct 18, 12:12 am, Sebastian Brandt wrote: > Hi everyone, > I am having a h... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users&qu

[web2py:33113] can you use web2py modules in python script?

2009-10-18 Thread Sebastian Brandt
module with that name. What would be the correct name for the modules? I tried web2py & gluon with no success.. . Thanks in advance! Sebastian Brandt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web

[web2py:33116] Re: can you use web2py modules in python script?

2009-10-18 Thread Sebastian Brandt
ion, right? Is it correct that the modules are stored in the base path of the installation? Greets Sebastian On 19 Okt., 03:24, Mico Siahaan wrote: > Hi Sebastian, you need to put gluon in python path. > > Regards, > Mico > > On 10/19/09, Sebastian Brandt wrote: > >

[web2py:33138] Re: can you use web2py modules in python script?

2009-10-19 Thread Sebastian Brandt
:\somewhere\web2py") > > should be > > sys.path.append("c:\somewhere\web2py") > > On Oct 18, 8:49 pm, Sebastian Brandt wrote: > > > Hi Mico, > > > what I did from the interactive python shell to test it, what > > appending the path to my web2

[web2py:33243] Creating type of a dynamic SQL Querie

2009-10-20 Thread Sebastian Brandt
.id).select (orderby=~db.events.datetime_submitted) form=SQLFORM(db.events) return dict(form=form,rows=rows) If message and/or host are empty I get an empty query. Can I avoid this anyhow or do I have to code a huge if-else-thingy to get my result? :-) Greetin

[web2py:33244] Re: Creating type of a dynamic SQL Querie

2009-10-20 Thread Sebastian Brandt
events.severity==request.vars.severity)' query_3='.select(orderby=~db.events.datetime_submitted)' rows = query_1+query_2+query_3 The only result I got back was the merged string and not the query :-) On 21 Okt., 01:28, Sebastian Brandt wrote: > Hi everyone, > > I am tr

[web2py:33252] Re: Creating type of a dynamic SQL Querie

2009-10-20 Thread Sebastian Brandt
I am impressed Massimo :-) It actually works, thank you very much. Greetings Sebastian Brandt On 21 Okt., 02:24, mdipierro wrote: > I am not sure I understand but I am going to make a guess > > qset=db(db.events.severity==request.vars.severity)\ >             (db.e

[web2py:33253] Re: Creating type of a dynamic SQL Querie

2009-10-20 Thread Sebastian Brandt
etime_submitted) > > On Oct 20, 6:28 pm, Sebastian Brandt wrote: > > > Hi everyone, > > > I am trying to create a dynamic SQL Query. > > I have a form where a user can input several fields. I want to perfom > > a query whether a user has filled out all fields or

[web2py:33256] Re: Creating type of a dynamic SQL Querie

2009-10-20 Thread Sebastian Brandt
> > defines a set of all records of all table > >    b=a(query1) > > defined a subset as limited by the query > >    c=b(query2) > > defined a subset of the previous subset etc etc > > then you can do > >    rows = c.select() > > to get all records in

[web2py:33581] Code Snippets w examples

2009-10-24 Thread Sebastian Brandt
, Sebastian Brandt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2p

[web2py:33587] Re: Code Snippets w examples

2009-10-24 Thread Sebastian Brandt
s, > - Yarko > > On Sat, Oct 24, 2009 at 9:56 AM, Sebastian Brandt wrote: > > > > > Hello everyone, > > > as I have been playing around with web2py a few days now I made was > > always looking for example code / tutorials that could teach me > >

[web2py:33593] Re: Code Snippets w examples

2009-10-24 Thread Sebastian Brandt
works. :-) Thanks anyways Sebastian On 24 Okt., 17:37, CJSteel wrote: > Hi Sebastien, > > A ton of examples are around, although I know when I was first > checking out web2py it was a bit difficult to "find" them. Web2py > ships with some good ones but it takes some time to fi

[web2py:33703] Additional Information under a TR | CSS / HTML

2009-10-26 Thread Sebastian Brandt
problem is that I use the jquery datatables class which makes the table sortable. I tried to add a DIV under each TR but that was no success. Can someone please help me out with the HTML/CSS needed? Thanks Sebastian --~--~-~--~~~---~--~~ You received this message

[web2py:33899] Insert Element into FORM()?

2009-10-28 Thread Sebastian Brandt
t an error: SyntaxError: non-keyword arg after keyword arg for the (form = ) line. How can I add the table in the middle of the FORM? Thanks Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users

[web2py:33905] Re: image manipulation

2009-10-28 Thread Sebastian Brandt
n.htm Hope that was helpful! Greetings Sebastian On 28 Okt., 08:55, Pepe wrote: > Hello! > > somebody know how to make versions of images upon upload? something > like "full-image", "medium-image" and "thumbnail" ?? > > thanks! --~--~-~--

[web2py:33907] Re: Insert Element into FORM()?

2009-10-28 Thread Sebastian Brandt
Hey Denes, thank you very much, I didn't know yet that the order was important. I will try it :-) Sebastian On 28 Okt., 11:46, DenesL wrote: > Sebastian, > > you must always pass arguments in proper sequence, > first the ones without keywords (e.g. table) > then the ke

[web2py:34283] Self defined functions

2009-10-31 Thread Sebastian Brandt
Hi everyone, I have 2 questions: 1. Is there a special place where I should place self defined functions (controller maybe?) 2. If I add a function in my controller with def foobar: can I call it in the view by blabla(argument_here)? Thanks in advance, Regards, Sebastian

[web2py:34286] Re: Self defined functions

2009-10-31 Thread Sebastian Brandt
again! Sebastian On 31 Okt., 20:35, mengu wrote: > Hi Sebastian, > > 1) The methods in controller are only for your URLs. For example the > view() method in your controller makes this url accessible: /app/ > controller/view. Please read more on MVC > here:http://en.wikipedia.or

[web2py:34373] bug maybe? (number/list after form submission)

2009-11-01 Thread Sebastian Brandt
more then 1 you get a list. Is that ment by design? How can I force get back a list? Thanks Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email

[web2py:34376] Re: bug maybe? (number/list after form submission)

2009-11-01 Thread Sebastian Brandt
Thanks mr.freeze, works perfectly On 2 Nov., 04:06, "mr.freeze" wrote: > I think it is just a quirk of html.  Try this: > > if not isinstance(request.vars.mycheckbox, list): >     request.vars.mycheckbox=[request.vars.mycheckbox] > > On Nov 1, 8:19 pm, Sebastian Bran

[web2py:34563] Re: Join web2py wave

2009-11-04 Thread Sebastian Brandt
Hi, I would like to join but I didn't receive an invitation fpr wave yet :-) Greets Snoogie On 4 Nov., 07:54, hcvst wrote: > http://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2... > > A public wave to discuss wave development on web2py. > > HC --~--~-~--~~-

[web2py:34706] Re: You are going to love this

2009-11-05 Thread Sebastian Brandt
very awesome, thanks! On 6 Nov., 05:56, mdipierro wrote: > http://web2py.com/layouts/plugin_layouts/index?apply=EfflorescenceOrange > > - Try it online first. > - Then download the plugin (it is 30MB and it includes 408 layouts > already customized for web2py, sort of, + images and css). > - App

Re: [web2py] Re: Browser back button: Reloading database results

2012-04-11 Thread Sebastian Jayaraj
may be a simple setting that I am unaware of - how does one retain >>> the database search results when you click the Back Button on the browser >>> without having to refresh the page and confirming? >>> >>> Thank you, >>> Sebastian >>> >>

Re: [web2py] Re: Life science computing and Bioinformatics

2012-05-22 Thread Sebastian Jayaraj
No, I didn't. Thank you for sharing these. -Sebastian On Tue, May 22, 2012 at 4:25 PM, Anthony wrote: > You may already be aware of these (from the web2py Powered By list): > http://semanticsbml.org > http://rxncon.org/ > > Anthony > > > On Tuesday, May 22, 20

[web2py] Image store with open does not work on GAE

2013-02-02 Thread Sebastian Cambeo
The following line of code works perfectly well locally (no GAE): db.table1.insert(image = open('test.jpg', 'rb') However it does not work on GAE: As the filesystem has no permission to write, this line of code should automatically upload the blob data into "image_blob". However "image_blob" r

[web2py] Re: Image store with open does not work on GAE

2013-02-03 Thread Sebastian Cambeo
OK, I created a minimal scenario for reproducing the error: append these lines to the welcome db.py, create test.jpg in root folder and deploy directly to GAE: db.define_table('table1', Field('image', 'upload'), ) db.table1.insert(image = open('test.jpg', 'rb')) Then call welcome/appadmin and

[web2py] Problem with modules and database

2013-02-03 Thread Sebastian Bonta
Hi All, I now this should have been probably answered before but I wasn't able to find a solution and since I'm newbie I'm not able to understand why this is not working as I expect. I've tried many things and now I'm giving up after trying to simulate the Movuca schema which I liked. Here's t

[web2py] Re: Image store with open does not work on GAE

2013-02-04 Thread Sebastian Cambeo
yes it does work ok GAE ;) I am using currently the following workaround, but this should obviously be handled by web2py and not by me, so please fix this: file = open('test.jpg', 'rb') tmpId = db.table1.insert(image = file) if request.env.web2py_runtime_gae: db(db.table1.id==tmpId).update

[web2py] Re: Image store with open does not work on GAE

2013-02-07 Thread Sebastian Cambeo
unfortunately not: TRACEBACK 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. Traceback (most recent call last): File "*\restricted.py", line 212, in restricted exec ccode in environment File "*/applications/welcome/models/db.py" , lin

[web2py] Re: Image store with open does not work on GAE

2013-02-08 Thread Sebastian Cambeo
So is there any hope that this can be fixed? Maybe you can rely on my workaround as posted above: file = open('test.jpg', 'rb') > tmpId = db.table1.insert(image = file) > if request.env.web2py_runtime_gae: > db(db.table1.id==tmpId).update(image_blob = file.read()) > > -- --- You received

[web2py] web2py custom reset password urls

2013-04-03 Thread Sebastian Cambeo
Apparently it is not possible at the moment to customize the request_reset_password URL and the reset_password URL. There is no such option in auth.settings. Furthermore I didn't find a way to change the reset_password Mail message such that it links to a custom URL. However I need this functi

[web2py] Re: web2py custom reset password urls

2013-04-04 Thread Sebastian Cambeo
thank you, that helped. I now send a custom link which directs to my url. Also I defined the _next variable of the request_reset_password page manually to point to my login page. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubsc

[web2py] admin interface + GAE

2012-11-18 Thread Sebastian Cambeo
Is it possible to use the admin interface on GAE? I get internal errors although I changed the app.yaml accordingly Thank You! Sebastian --

[web2py] GAE + Cloud Sql just does not work

2012-11-18 Thread Sebastian Cambeo
Hello, I can't seem to get web2py + GAE + Cloud SQL working at all: If I change nothing else but setting db=DAL('google:sql://cambeo.com:cloud1:instance1/cambeoDB',migrate_enabled=True) in the scaffolding app, it crashes. Do I have to adjust anything else? Enter passwords or anything similar?

[web2py] Re: GAE + Cloud Sql just does not work

2012-11-19 Thread Sebastian Cambeo
Thank you! I checked out trunk and now it is working unless I call the truncate method on any table: Traceback (most recent call last): File "/base/data/home/apps/s~cambeoserver/1.363276531332237989/gluon/restricted.py", line 212, in restricted exec ccode in environment File "/base/dat

[web2py] Re: admin interface + GAE

2012-11-19 Thread Sebastian Cambeo
What comes as a surprise to me is that the admin interface is working in the GAE SDK emulation... The error log: In FILE: /base/data/home/apps/s~cambeoserver/1.363277968286640588/applications/admin/models/access.py Traceback (most recent call last): File "/base/data/home/apps/s~cambeoserver

[web2py] Re: admin interface + GAE

2012-11-19 Thread Sebastian Cambeo
might it be, that "users.create_login_url(request.env.path_info)" in "check_credentials" needs some kind of file access? Anyhow this request appears to trigger the error --

[web2py] Re: admin interface + GAE

2012-11-20 Thread Sebastian Cambeo
http://code.google.com/p/web2py/issues/detail?id=1177 --

[web2py] Re: admin interface + GAE

2012-11-21 Thread Sebastian Cambeo
n order to use the admin interface it fails due to forbidden calls in "check_credentials". Sebastian --

Re: [web2py] web2py on fluxflex (free hosting) VIDEO/HOWTO

2011-08-24 Thread Sebastian Batalla
Thanks! 2011/8/24 Massimo Di Pierro > So far this is the best web2py deployment experience. This is how it > should work on every web hosting provider: > > http://vimeo.com/28112026 > -- * Sebastian Batalla.- http://www.linkedin.com/in/sbatalla*

[web2py] web2py cgi shared hosting problem

2013-06-26 Thread sebastian . koslitz
Hi there! I've some issues deploying web2py to a shared hosting environment. I created an application within the web2py environment. Referred to official Docs I put the whole web2py folder in a folder ca

[web2py] Web2py via cgi on shared hosting

2013-06-26 Thread sebastian . koslitz
Hi there, I'd like to get web2py running on a shared hosting environment. Referred to the official Docs, I've created an folder "htdocs". In this the folder web2py contains the whole web2py framework (inc

[web2py] faster way to import csv

2013-08-25 Thread Sebastian Demian
Hi guys, I am working on an application using web2py framework, and I need to import a csv file that has a size of 700MB. Is there a faster way to import it into the database ? I have tried the database administration tool, but it takes forever. PS: I am a newbie. Thank you. -- --- You re

[web2py] Re: faster way to import csv

2013-08-26 Thread Sebastian Demian
I tried importing the CSV file using LOAD DATA INFILE on a test MYSQL DB and it loaded it in less than 1 minute which is great. Having said that, what do you guys think would be the best approach ? Should I have web2py connect to the remote database and retrieve queries from it ? or should I us

[web2py] SQLForm issue with $("#dialog-form").load

2013-10-23 Thread Sebastian Bonta
Hi all, I'm having a issue with tha javascirpt load function. I'm able to see the form but when I submit the changes they are not reflected in the database. could you please help me to understand what am I doing wrong? Following is a simple example (model, view and controller) Model: db.define

[web2py] Re: current trunk using memdb results in crash

2014-03-03 Thread Sebastian Cambeo
This error persists in the current stable version 2.9.3: If you want to reproduce it just uncomment the three memcache session lines: from gluon.contrib.memdb import MEMDB from google.appengine.api.memcache import Client session.connect(request, response, db = MEMDB(Client())) and the whole app

[web2py] Re: current trunk using memdb results in crash

2014-03-04 Thread Sebastian Cambeo
I can only provide assistance for the "unique key error": line 883: https://github.com/web2py/web2py/blame/master/gluon/globals.py: dee4e6a9 »

[web2py] Re: current trunk using memdb results in crash

2014-04-10 Thread Sebastian Cambeo
e 883, in connect >>> row = table(record_id, unique_key=unique_key) >>> TypeError: __call__() got an unexpected keyword argument 'unique_key' >>> >>> >>> >>> >>> >>> Em terça-feira, 4 de março de 2014

[web2py] Re: current trunk using memdb results in crash

2014-04-14 Thread Sebastian Cambeo
e in chrome to > get a new session. > > On Friday, April 11, 2014 10:04:49 AM UTC-4, David Manns wrote: >> >> Tried this - didn't help >> >> On Thursday, April 10, 2014 5:17:38 PM UTC-4, Sebastian Cambeo wrote: >>> >>> Try deleting memcache

[web2py] Re: current trunk using memdb results in crash

2014-04-14 Thread Sebastian Cambeo
Sorry, never mind: I was on 2.9.4 and tried to reproduce it in latest trunk (Apparently it has been fixed since last month) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (R

[web2py] Re: current trunk using memdb results in crash

2014-04-14 Thread Sebastian Cambeo
Sorry again the error is still there: I opened an issue: https://code.google.com/p/web2py/issues/detail?id=1922&thanks=1922&ts=1397493893 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py

[web2py] Error starting up scheduler with postgresql - "type oid 114 not mapped to py"

2014-10-13 Thread Sebastian Echeverria
nything that I am missing, or that I am doing wrong? Thanks in advance, Sebastian -- 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 mes

[web2py] Re: Error starting up scheduler with postgresql - "type oid 114 not mapped to py"

2014-10-16 Thread Sebastian Echeverria
, Sebastian On Tuesday, October 14, 2014 9:26:07 AM UTC-3, Niphlod wrote: > > the problem comes from pg8000 not supporting the json type. Use psycopg2 > instead. > > On Monday, October 13, 2014 9:56:38 PM UTC+2, Sebastian Echeverria wrote: >> >> Hello, >> >> I am h

[web2py] Re: Error starting up scheduler with postgresql - "type oid 114 not mapped to py"

2014-10-18 Thread Sebastian Echeverria
',' > if ou're using a DAL uri as "postgresql://blablabla" the only thing to do > is to install psycopg2 on the system: if available, it takes precedence. > > On Thursday, October 16, 2014 11:13:41 PM UTC+2, Sebastian Echeverria > wrote: >> >> Hello,

[web2py] Re: Error starting up scheduler with postgresql - "type oid 114 not mapped to py"

2014-10-18 Thread Sebastian Echeverria
> > On Thursday, October 16, 2014 11:13:41 PM UTC+2, Sebastian Echeverria > wrote: >> >> Hello, >> >> Thanks for the reply! So in fact, the issue is the same one the other >> poster was facing. Do you have any hints on how to use psycopg2 instead? >>

[web2py] Re: Error starting up scheduler with postgresql - "type oid 114 not mapped to py"

2014-10-22 Thread Sebastian Echeverria
That solved my second problem. Thank you very much! Sebastian On Saturday, October 18, 2014 3:10:31 PM UTC-3, Niphlod wrote: > > update web2py to 2.9.11 please. > > On Saturday, October 18, 2014 5:13:46 AM UTC+2, Sebastian Echeverria wrote: >> >> Ok, so installing psycopg

[web2py] rise HTML

2010-09-10 Thread Sebastian E. Ovide
in case of an Ajax call returns an error page ... therefore it displays the message that I rise in the controller plus those Is it possible to disable those xx ? thanks -- Sebastian E. Ovide

Re: [web2py] Re: rise HTML

2010-09-11 Thread Sebastian E. Ovide
pages unless the content is more than 512 bytes. Without the > x (or some other junk) IE would override the web2py error > messages. > > Massimo > > On Sep 10, 8:25 pm, "Sebastian E. Ovide" > wrote: > > Hi All, > > > > in the line class HTTP ( >

[web2py:23284] how to override Auth

2009-06-04 Thread Sebastian E. Ovide
Hi all, in db.py I'd like to extend Auth so that I can override some methods... such as define tables... and maybe in the future make it login using OpenID or facebook etc... so I've extended Auth and and overrided define_tables... but I'm getting an error on auth.define_tables() any ideas ?

[web2py:23583] Re: how to override Auth

2009-06-08 Thread Sebastian E. Ovide
Thanks ! Sebastian E. Ovide Cel. +353 87 6340149 Tel. +353 14443218 Sent from Dublin, Dublin City, Republic of Ireland On Sat, Jun 6, 2009 at 3:59 PM, Fran wrote: > > On 4 June, 19:09, "Sebastian E. Ovide" > wrote: > > class MyAuth(Auth): > > Add here: >

[web2py:23611] build automation

2009-06-08 Thread Sebastian E. Ovide
Hi Massimo, I was wondering if there is an easy way to compile and package an application from command line. The question arise from the need to integrate a web2py project in an automated build system. It builds every night, run tests, and if there are not errors it deploys in the DEV environment.

[web2py:23667] Re: build automation

2009-06-09 Thread Sebastian E. Ovide
for web2py, there you > > can see how the current w2p files are generated. > > > > On Mon, Jun 8, 2009 at 9:21 PM, Sebastian E. > > > > Ovide wrote: > > > Hi Massimo, > > > > > I was wondering if there is an easy way to compile and package an >

[web2py:24477] Re: select something as other from this

2009-06-19 Thread Sebastian E. Ovide
appear in the actual generated SQL because > there is no need to. > > On Jun 18, 2:15 pm, sebastian wrote: > > Hi, > > > > is it possible to run this select using DAL ? > > > > select date,sum(hits) as morehits from report group by date > > > > (

[web2py:24502] Re: select something as other from this

2009-06-19 Thread Sebastian E. Ovide
;. > > rows=db(..).select(...) > > rows.colnames is a list with the colnames. You can change any element > in this list as you please. Look what is in there first. > > Massimo > > > On Jun 19, 3:27 am, "Sebastian E. Ovide" > wrote: > > I

[web2py:24505] select a + b from mytable

2009-06-19 Thread Sebastian E. Ovide
Is it possible to do select a+b, a/b, 123 from mytable without using db.executesql ? thanks --~--~-~--~~~---~--~~ 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@

  1   2   3   4   >