Re: [web2py] Re: web2py on heroku getting "InternalError: current transaction is aborted..." Ticket

2014-03-13 Thread Ismael Serratos
s problem? I have the same issue and the links at then end > don't help. > >> On Friday, December 27, 2013 11:45:24 PM UTC-5, Ismael Serratos wrote: >> Hello everybody, today I tried to push my application to Heroku by using the >> setup-web2py-heroku.sh script. It

[web2py] Re: web2py on heroku getting "InternalError: current transaction is aborted..." Ticket

2013-12-27 Thread Ismael Serratos
Sorry for the spam :s, digging the heroku logs I get this: 2013-12-28T05:17:30.576403+00:00 app[web.1]: ERROR:web2py.dal:Could not retrieve applications/init/databases/bad0fba8494e4bab4e99ad1290bcc0d2_web2py_session_init.table 2013-12-28T05:17:30.576403+00:00 app[web.1]: if db.executesql(qu

[web2py] Re: web2py on heroku getting "InternalError: current transaction is aborted..." Ticket

2013-12-27 Thread Ismael Serratos
> > The only information that I get is this part of the traceback: >> > (the error is generated since the first time the app launches) Function argument list (self=, *a=('CREATE TABLE IF NOT EXISTS web2py_filesystem (path VARCHAR(255), content TEXT, PRIMARY KEY(path));',), **b={}) Code listing

[web2py] web2py on heroku getting "InternalError: current transaction is aborted..." Ticket

2013-12-27 Thread Ismael Serratos
with my app and even with a blank copy of web2py and the default apps. The admin interface works just fine. What can be the cause of this issue? *Note: In the traceback I pasted here I did replace the get_db connection name to the generated one, but the traceback is basically the same if I use the

Re: [web2py] Fluxflex will be shut down and no longer available on June 30, 2012

2012-06-07 Thread Ismael Serratos
Why don't we make our own web2py cloud environment? On Wed, Jun 6, 2012 at 4:34 PM, Bruno Rocha wrote: > pythonanywhere has easy deployment for web2py > > http://zerp.ly/rochacbruno > Em 06/06/2012 15:10, "sesenmaister" escreveu: > > Andrew, I have the same question. Today I wanted to get payed

Re: [web2py] Web Resources

2011-12-16 Thread Ismael Serratos
also this one http://try-python.appspot.com/ On Fri, Dec 16, 2011 at 10:55 PM, Ismael Serratos wrote: > trypython.org? > > It uses silverlight because it's written with Iron Python but it's pretty > good, I think... > > > On Fri, Dec 16, 2011 at 10:20 PM, mono

Re: [web2py] Web Resources

2011-12-16 Thread Ismael Serratos
trypython.org? It uses silverlight because it's written with Iron Python but it's pretty good, I think... On Fri, Dec 16, 2011 at 10:20 PM, monotasker wrote: > Do you mean something like this? http://pythonfiddle.com

Re: [web2py] Re: FluxFlex New Version Issue

2011-12-11 Thread Ismael Serratos
tch. > Sent from my Verizon Wireless BlackBerry > -- > *From: * Ismael Serratos > *Sender: * web2py@googlegroups.com > *Date: *Sun, 11 Dec 2011 21:38:32 -0600 > *To: * > *ReplyTo: * web2py@googlegroups.com > *Subject: *Re: [web2py] Re: FluxFlex New Version Issue > &g

Re: [web2py] Re: FluxFlex New Version Issue

2011-12-11 Thread Ismael Serratos
his > instruction should be written in readme. > Sent from my Verizon Wireless BlackBerry > ------ > *From: * Ismael Serratos > *Sender: * web2py@googlegroups.com > *Date: *Sun, 11 Dec 2011 20:27:30 -0600 > *To: * > *ReplyTo: * web2py@googlegroups.c

Re: [web2py] Re: FluxFlex New Version Issue

2011-12-11 Thread Ismael Serratos
And how can I do that? =( Sorry I've never used fluxflex. On Sun, Dec 11, 2011 at 8:18 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > You need to run it from shell once so that it creates the password > file. > > On Dec 11, 8:14 pm, Ismael Serratos

[web2py] FluxFlex New Version Issue

2011-12-11 Thread Ismael Serratos
HI!! I just installed web2py on fluxlflex and I noticed it is the new web2py version (best for me :D). But just after installing it I tried to go to the admin interface and I get this error: "admin disabled because unable to access password file" Thanks!!

Re: [web2py] os.js

2011-11-18 Thread Ismael Serratos
What could I use for make something exactly the same? Jquery? Ext? and what's the easier to use with web2py?? On Fri, Nov 18, 2011 at 11:42 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > http://osjs.0o.no/ > > php based but should be easy to rewrite in web2py

Re: [web2py] Re: new welcome app - need help with css

2011-11-11 Thread Ismael Serratos
Congrats!!! I just got in love of the new tempalte! Wow, beautiful!!! When could we test it? On Fri, Nov 11, 2011 at 12:19 PM, Anthony wrote: > On Friday, November 11, 2011 12:27:19 PM UTC-5, Furqan wrote: >> >> Massimo can you tell me how to design a website, do I have to be a >> graph

Re: [web2py] Re: Online Book Typo

2011-11-08 Thread Ismael Serratos
another :p and it is used internally by the *SQLFORM.gird *and SQLFORM.smartgrid. Should be SQLFORM.grid instead of SQLFORM.gird in http://web2py.com/book/default/chapter/06#smart_query-%28experimental%29 On Mon, Nov 7, 2011 at 5:54 PM, Anthony wrote: > FYI, I am not specifically looking for

[web2py] Online Book Typo

2011-11-01 Thread Ismael Serratos
Hi! I think I found a little typo here: http://web2py.com/book/default/chapter/09#RESTful-Web-Services Similarly a GET request to http://127.0.0.1/myapp/default/api/persons.json indicates a request for a list of persons (records from the data person) in json format. A GET ***requst*** to http

Re: [web2py] Room and Resource Reservation

2011-10-26 Thread Ismael Serratos
Looking for the same... 2011/10/6 António Ramos > Hello, i´d like to suggest this app > > Room and Resource(auto, projector etc) Reservation with a nice callendar > like fullcalendar. > > IT think it would be very usefull for an intranet use > > Does anyone have something like this in web2py? >

[web2py] web2py.app.booking.w2p??? Booking system??

2011-10-26 Thread Ismael Serratos
Hi! Everybody!! I've been looking for a good booking system example, I found the web2py.app.booking.w2p app, but the link is not working. How could I get it?? Is there any good example?? Thank you

[web2py] Super Dynamic Memberships

2011-09-28 Thread Ismael Serratos
Hi everybody!! I'm currently working on a really dynamic app.. basically we are trying to automate a lab... Here is the issue, I need to have a fully customizable database... In short a new project is created and a custom model file is written for that project, also I generate two groups in auth_g

Re: [web2py] Dynamic Model

2011-09-28 Thread Ismael Serratos
Hi Phyo!!! I needed almost the same, and I found the EAV Modeling technique (http://en.wikipedia.org/wiki/Entity-attribute-value_model) useful, but due the complexity of my project I write the model as a file, I mean open the *.py, write, append. On Wed, Sep 28, 2011 at 4:31 PM, Phyo Arkar wro

[web2py] Re: free computer racks (with computers in them)

2011-08-30 Thread Ismael Serratos
How can I get one (or more?)?? I'm from Mexico. On Aug 30, 2:22 pm, Massimo Di Pierro wrote: > I have some friends who are giving away 8 racks of 32 U1 modules in > the Chicago area. They were purchased in 2005 and as far as I know are > fully working. > Each module has: > > 1U form factor > 3.2

Re: [web2py] linkto SQLTABLE to modal

2011-08-10 Thread Ismael Serratos
Ok now is solved, I can show the modal: {{extend 'layout.html'}} {{a=PluginMModal(title='Hello World',content='Hello!',close="close",width=70,height=70)}} {{db.user.id.represent = lambda rep: a.link('Update')}} {{=a}} {{=SQLTABLE(table, headers='fieldname:capitalize', _id = 'smarttable

Re: [web2py] Re: Pre-Populate crud.update

2011-08-03 Thread Ismael Serratos
In fact I'm using list:string because architechture, I'm doing a lot of manual parsing, but Is it a problem? Coould it be implemented? or the best way is to use list:reference? On Wed, Aug 3, 2011 at 10:49 PM, Anthony wrote: > On Wednesday, August 3, 2011 1:35:17 PM UTC-4, Ialejandro wrote: >> >

[web2py] Re: Pre-Populate crud.update

2011-08-03 Thread Ismael Serratos
ty, I can edit and save, but I can't see the default, am I doing something wrong? On Wed, Aug 3, 2011 at 12:35 PM, Ismael Serratos wrote: > Hii! How could I pre populate a crud.update (or equivalent with SQLFORM), I > mean, I have 3 list:string multiple fields (they take the value from

[web2py] Pre-Populate crud.update

2011-08-03 Thread Ismael Serratos
Hii! How could I pre populate a crud.update (or equivalent with SQLFORM), I mean, I have 3 list:string multiple fields (they take the value from another table), like this db.define_table('project', Field('name','string'), Field('comment','text'),format='%(name)s') d

[web2py] Re: linkto SQLTABLE mmodal

2011-08-03 Thread Ismael Serratos
? On Tue, Aug 2, 2011 at 10:50 AM, Ismael Serratos wrote: > Hi! How could I represent the ID of a SQLTABLE as a link that shows a > mmodal plugin window? And how can I pass to it args?? The form that I'd like > to show in the modal is in another controller. > > Greetings! >

[web2py] Re: Keep Multiple Selection in CRUD.UPDATE

2011-08-03 Thread Ismael Serratos
Any? On Tue, Aug 2, 2011 at 2:11 PM, Ismael Serratos wrote: > Hi! I have a crud.update launched via mmodal, the table has 3 string fields > with the option "multiple" activated. > > When I get into the crud.update the multiselect widget doesn't remember the > selec

[web2py] Keep Multiple Selection in CRUD.UPDATE

2011-08-02 Thread Ismael Serratos
Hi! I have a crud.update launched via mmodal, the table has 3 string fields with the option "multiple" activated. When I get into the crud.update the multiselect widget doesn't remember the selection, how could I remember the multiple selection so I can update it??

[web2py] linkto SQLTABLE mmodal

2011-08-02 Thread Ismael Serratos
Hi! How could I represent the ID of a SQLTABLE as a link that shows a mmodal plugin window? And how can I pass to it args?? The form that I'd like to show in the modal is in another controller. Greetings!

Re: [web2py] Re: web2py.com/book raise an Error

2011-08-01 Thread Ismael Serratos
+1 Internal Error :S On Mon, Aug 1, 2011 at 2:05 PM, Anthony wrote: > Same here. > > On Monday, August 1, 2011 3:01:10 PM UTC-4, w2padawan wrote: > >> Internal error and ticket is issued. you know the rest > >

Re: [web2py] Upload File via HTTP

2011-07-29 Thread Ismael Serratos
anybody? On Jul 27, 2011 1:02 PM, "Ismael Serratos" wrote: > I found this for Django I need exactly the same but for web2py could you > help me to translate??? or to give me a hint? > > # - upload_file.py # upload binary file with

Re: [web2py] Any LDAP auth users out there?

2011-07-28 Thread Ismael Serratos
Well as you tell may be is because you are trying to get users from another domain, different IP mean different domains, so users aren't the same, have you tried to login with an acoount from 10.0.1.x?? I mean, not the one you use in .0.0.x? On Thu, Jul 28, 2011 at 6:06 PM, Brian M wrote: > Web2

Re: [web2py] Any LDAP auth users out there?

2011-07-27 Thread Ismael Serratos
So how do you know it's not working? Do you get any error? or just you can't login? On Wed, Jul 27, 2011 at 8:39 PM, Brian M wrote: > Hmm not certain server is on 10.0.0.x ldap_auth works from 10.0.1.x but not > from 10.0.0.x Unfortunately I'm not an expert on ActiveDirectory/LDAP so I > don't

Re: [web2py] Any LDAP auth users out there?

2011-07-27 Thread Ismael Serratos
Subnets are in the same domain? On Wed, Jul 27, 2011 at 5:21 PM, Brian M wrote: > Anybody out there use the contributed ldap_auth? I've got a strange > problem where it'll work just fine from my dev box on one subnet but not on > the production server which is on another subnet (and the same su

Re: [web2py] record id to 1!

2011-07-27 Thread Ismael Serratos
Hi Antonio, check this out http://www.web2py.com/book/default/chapter/06?search=truncate#insert db.table.truncate() 2011/7/27 António Ramos > hello, i deleted all record from a table > > the id stil mantains the last id when i create the first record again. > > it is not important but if i cou

Re: [web2py] Upload File via HTTP

2011-07-27 Thread Ismael Serratos
I found this for Django I need exactly the same but for web2py could you help me to translate??? or to give me a hint? # - upload_file.py # upload binary file with pycurl by http postc = pycurl.Curl()c.setopt(c.POST, 1)c.setopt(c.URL, "http://127.0.0.1:8000/receive/";)c.set

Re: [web2py] Upload File via HTTP

2011-07-27 Thread Ismael Serratos
t; example: > > #model > Field('picture','upload',uploadfolder=request.folder+'static/uploads', > autodelete=True ) > > #receiver > in form.accepts(): > db.table.insert(picture=db.photo.picture.store(request.vars.Filedata.file, > request.vars.Filedata.f

[web2py] Upload File via HTTP

2011-07-26 Thread Ismael Serratos
Hi! I was wondering how could I upload a file to web2py from another PC (intranet app) but via http, I mean, make a server and a client script. Is it possible?? client does't have web2py, just python, server is running web2py.

Re: [web2py] jQplot

2011-07-26 Thread Ismael Serratos
{{response.files.append(URL(r=request,c='static/media/css',f='demo_table.css'))}} {{response.files.append(URL(r=request,c='static/media/js',f='jquery.dataTables.min.js'))}} Include it like this (this is a data tables example) On Tue, Jul 26, 2011 at 1:02

Re: [web2py] jQplot

2011-07-26 Thread Ismael Serratos
I've never used it, but I've use other javascript stuff, just place it in static and call it from the view On Tue, Jul 26, 2011 at 12:54 PM, steveL wrote: > > Has anyone installed jQplot on their web2py servers. > > Which directory should it be installed into and how should I include > it in m

Re: [web2py] Problems with online book?

2011-07-26 Thread Ismael Serratos
http://www.web2py.com/book This is working fine here :S On Tue, Jul 26, 2011 at 12:40 PM, cjrh wrote: > I get the ticket error on both URLs.

Re: [web2py] Problems with online book?

2011-07-26 Thread Ismael Serratos
ohh I've catched If you go trough the documentation page (http://web2py.com/book) you get the error, try with http://www.web2py.com/book may be a DNS mistake or even a routing problem.. On Tue, Jul 26, 2011 at 12:18 PM, Ismael Serratos wrote: > I've just triend and it's w

Re: [web2py] Problems with online book?

2011-07-26 Thread Ismael Serratos
I've just triend and it's working fine for me On Tue, Jul 26, 2011 at 12:17 PM, mikech wrote: > Getting an Internal Error > Ticket issued: > unrecoverable > > when I try to access the book from the web2py front page. >

Re: [web2py] web2py for freelance work

2011-07-25 Thread Ismael Serratos
Hi spiffytech in my experience: 1.- Yes I use it, mostly for intranet apps. 2.- Well... difficult question... 3.- It's really easy (if the customer has its own server), if not, you have to look for a good one. 4.- If the customer knows something about programming he says 'wow', if the customer kno

Re: [web2py] Re: Search Form Help

2011-07-24 Thread Ismael Serratos
Thank you Anthony I'm reading the info I think it's better than what I have now: View: {{extend 'layout.html'}} #keyword { height: 25px; width:800px; background-color : #F0F0F0 ; color : #0E1930; font-size : 12px; font-family : Verdana,

Re: [web2py] Re: Search Form Help

2011-07-23 Thread Ismael Serratos
Solved, wrong syntax xD Another doubt is there a way to generate the results like google, I mean UL of headers and for each header a short preview of the article? On Sat, Jul 23, 2011 at 8:38 PM, Ismael Serratos wrote: > I´m working with the wiki example like this > > return dict(

Re: [web2py] Re: Search Form Help

2011-07-23 Thread Ismael Serratos
I´m working with the wiki example like this return dict(form=FORM(INPUT(_id='keyword',_name='keyword', _onkeyup="ajax('bg_find', ['keyword'], 'target');")), target_div=DIV(_id='target')) def bg_find(): pattern = '%' + request.vars.keyword.lower() + '%' pages = db(db.articulo.body.lo

Re: [web2py] Re: CRON or Background script?

2011-07-23 Thread Ismael Serratos
Thank you ron_m!!! That worked more than fine! On Wed, Jul 20, 2011 at 11:16 AM, ron_m wrote: > Run 2 copies of web2py, one for the script and the other for the web site. > If the database is SQLite you will end up with blocking problems if the > background task takes too long. >

[web2py] Search Form Help

2011-07-23 Thread Ismael Serratos
Hi everybody!! How could I make a google like in web2py, I mean I have: db.define_table('article', Field('site', db.site), Field('section',db.section), Field('date,'datetime'), Field('author','string'), Field('header','string'), Field('body','text')) and I like to have a

Re: [web2py] Re: CRON or Background script?

2011-07-19 Thread Ismael Serratos
my DB my script is doing its job, but if I launch it like this I can't go to the website! (I guess that's because the -S init) but if I erase it, the Script doesn't work. On Mon, Jul 18, 2011 at 11:09 PM, Ismael Serratos wrote: > I tried putting it into a controller, also as

Re: [web2py] Re: CRON or Background script?

2011-07-18 Thread Ismael Serratos
I tried putting it into a controller, also as a separated file into private folder On Mon, Jul 18, 2011 at 8:36 PM, pbreit wrote: > Where is this code located and how are you calling it? If it's in a > controller, you may need to call bookings() with an argument. > > Did you review this: > >

[web2py] CRON or Background script?

2011-07-18 Thread Ismael Serratos
hi! I need to run this import time def bookings(): import datetime allBookings = db(db.current_bookings).select() db.commit() for booking in allBookings: if booking.enddate >= datetime.datetime.now(): buildingName = booking.project room= booking.

[web2py] Custom fields for each record????

2011-07-18 Thread Ismael Serratos
Hi!! How could I make custom fields for each record in a model, I mean: I have: db.define_table('building', Field('name','string'), Field('comment', 'string')) db.define_table('room', Field('name','string'), Field('owner','string'), Field('building',db.building)) But every

Re: [web2py] request - mmodal examples

2011-07-16 Thread Ismael Serratos
Same here any example? On Fri, Jul 15, 2011 at 7:23 PM, niknok wrote: > I just "discovered" this modal plugin: web2py.com/plugins/default/ > mmodal > > Sorry for being a little slow, but would someone please post an > example of how I can use crud inside modals?