[web2py] Error upload file on 2.6.4

2013-09-27 Thread Relsi Hur Maron
Hi all, I have a upload javascript in my app tha call a function in my controller to upload files. It was working fine until now, so I update my web2py to latest version and now I get te error: not indexable in my upload function. Well, my functions is: def upload_callback(): if

[web2py] Re: Error upload file on 2.6.4

2013-09-27 Thread Relsi Hur Maron
Thanks! Now is working. It is a production app, no problem to use the current trunk? Em sexta-feira, 27 de setembro de 2013 11h20min01s UTC-3, Niphlod escreveu: try current trunk. Il giorno venerdì 27 settembre 2013 15:17:54 UTC+2, Relsi Hur Maron ha scritto: Hi all, I have a upload

Re: [web2py] Re: Error upload file on 2.6.4

2013-09-27 Thread Relsi Hur Maron
Cool! Thanks!! 2013/9/27 Niphlod niph...@gmail.com if your now is 2.6.4, then current trunk adds only bug fixes and no new (potentially untested) features. On Friday, September 27, 2013 4:31:15 PM UTC+2, Relsi Hur Maron wrote: Thanks! Now is working. It is a production app, no problem

[web2py] Re: Demistifying web2py

2013-08-06 Thread Relsi Hur Maron
web2py is* just* for learning? why? Em segunda-feira, 5 de agosto de 2013 16h58min05s UTC-3, Alan Etkin escreveu: I've proposed a talk At PyConAr (Argentina) about all the criticism web2py has had from a technical standpoint. Particularly, I'll try to demonstrate that it is not quite so

Re: [web2py] Re: Demistifying web2py

2013-08-06 Thread Relsi Hur Maron
Cool, all is better inside the context. =) Em terça-feira, 6 de agosto de 2013 09h47min06s UTC-3, Alan Etkin escreveu: I think he is making a joke. Nobody says that but some dishonest people form the competition. Yeah, some of the statements I called criticism are very ridiculous

Re: [web2py] Crowdsourcing platform in Web2Py?

2013-07-04 Thread Relsi Hur Maron
What features you need? I'm developing a project of crowdsourcing here, is commercial but I'll release a part of the application opensource, with the following features: - add/listing of jobs - add/listing workers and portfolios - signup employee and company - submission of Proposals - internal

[web2py] What is the best (or correct) way to show a reference value

2013-06-07 Thread Relsi Hur Maron
Hi guys, I have a doubt here about he best way of show a *reference* value. I'll use a simple example to illustrate, I have the following tables: db.define_table('city', Field('name', type='string') ) db.define_table('state', Field('name', type='string') )

[web2py] Re: What is the best (or correct) way to show a reference value

2013-06-07 Thread Relsi Hur Maron
Great! Thank you very much guys. =) Em sexta-feira, 7 de junho de 2013 16h29min55s UTC-3, Anthony escreveu: {{for data in list:}} tr td{{=data.user_name}}/td td{{=(%(name)s %data.user_city)}}/td td{{=(%(name)s %data.user_state)}}/td Above, '%(name)s' % data.user_city

[web2py] Re: PAAS supporting web2py

2013-05-27 Thread Relsi Hur Maron
Pythonanywhere https://www.pythonanywhere.com/ Em segunda-feira, 27 de maio de 2013 13h14min39s UTC-3, Arvind Gupta escreveu: Hi Is there any PAAS (like openshift/cloudfoundry) which support web2py? regards Arvind -- --- You received this message because you are subscribed to

[web2py] [OFF] App for crowdfundig sites (like KickStarter)

2013-03-25 Thread Relsi Hur Maron
Hi guys! In recent days we have developed an application to create crowdfunding platforms (Like KickStarter, IndieGoGo, etc.) with web2py. Our inspiration was another open source application called Catarse, developed in ruby, here in Brazil also. It already has the default functionalities

Re: [web2py] Re: [OFF] App for crowdfundig sites (like KickStarter)

2013-03-25 Thread Relsi Hur Maron
'documentation'). On Monday, March 25, 2013 10:48:39 AM UTC-7, Relsi Hur Maron wrote: Hi guys! In recent days we have developed an application to create crowdfunding platforms (Like KickStarter, IndieGoGo, etc.) with web2py. Our inspiration was another open source application called Catarse

Re: [web2py] Free host for blog with domain?

2013-03-24 Thread Relsi Hur Maron
- OpenShift - Amazon Web Services (1 year free) 2013/3/24 Mika Sjöman mikasjo...@gmail.com Hi I wonder if anyone knows where I can put my we2py based blog up where they I also can use myOwnDomain.com for free? Not too much traffic, maybe a 100 a day And... I just build a community from

[web2py] Re: No CMS for Web2Py?

2013-03-23 Thread Relsi Hur Maron
\o/ Cool!!! Forked!! Em sábado, 23 de março de 2013 16h34min39s UTC-3, Loïc escreveu: Hi Marcel For my personal use I developed a basic CMS. The goal was to have something very simple to use. Some features need to be improved, but I released the project recently. You can have a look

[web2py] MySQL Error

2013-03-21 Thread Relsi Hur Maron
I have this action that verify is a group exist, if not, it create this group: verify_install = db(db.auth_group.role == 'admin').select() if not verify_install: auth.add_group('admin', 'Administrative Group') redirect

[web2py] [solved] Re: Facebook conect and ExtendedLoginForm()

2013-03-06 Thread Relsi Hur Maron
Hi, I managed to solve it using the Diego Sorrilha sample [1https://github.com/r4bugento/web2social]. If more anyone to need, gets the reference. =) [1] https://github.com/r4bugento/web2social Em terça-feira, 5 de março de 2013 00h17min48s UTC-3, Relsi Hur Maron escreveu: Hi guys

[web2py] Facebook conect and ExtendedLoginForm()

2013-03-05 Thread Relsi Hur Maron
Hi guys!! Does anyone have an example of connecting to Facebook using the class ExtendedLoginForm? I try to do it but I receive this error: form.components.append(self.alt_login_form.login_form()) AttributeError: 'FaceBookAccount' object has no attribute 'login_form' So, for test, I put a

[SOLVED] Re: [web2py] Re: How to use the insert method of python list in web2py

2012-11-29 Thread Relsi Hur
I was so fixed in the string format, that I was ignoring the basic math! =/ Thanks to everyone for the tips!! This solve very well: %i.%02i % divmod(348,100) Em quinta-feira, 29 de novembro de 2012 09h12min39s UTC-2, Joe Barnhart escreveu: Bzzzt! Thanks for playing! You get 3.0 for

[web2py] How to use the insert method of python list in web2py

2012-11-28 Thread Relsi Hur
Hello all! I need transform a string in a decimal number, I can to do it that way: a = list(348) a.insert(-2, '.') .join(a) '3.48' But when try this in web2py I get a None value, in the a.insert() operation. So, someone would know how to do this in web2py? This way or otherwise? --

[web2py] Error on OpenShift deploy

2012-10-17 Thread Relsi Hur
Hello, I try to deploy a app int the OpenShift using this option in the admin, but I have a error. Someone has the inside track for this operation? The error is: Traceback (most recent call last): File /home/locatto/Downloads/site-locatto/gluon/restricted.py, line 209, in restricted

[web2py] Re: Uploadify what am I doing wrong

2012-07-04 Thread Relsi Hur
here is working fine, but my script is a little different, see if something helps: http://pastebin.com/tKLSC9Uwhttp://pastebin.com/tKLSC9Uw Em quarta-feira, 4 de julho de 2012 14h05min40s UTC-3, cheer10s escreveu: Hello I am trying to use uploadify in my web2py app but I am having a bit of

Re: [web2py] Re: Uploadify what am I doing wrong

2012-07-04 Thread Relsi Hur
)}}', 'buttonText': 'Upload Song', 'folder' : '/uploads/music', 'auto' : true, 'multi' : false, 'checkExisting' : false }); }); /script {{=form}} On Wed, Jul 4, 2012 at 11:11 AM, Relsi Hur wrote: here is working fine, but my script

[web2py] update() is creating a new item

2012-06-08 Thread Relsi Hur
Hello, I have a html form, and a action like this: def edit_my_table(): form = SQLFORM(db.my_table) if form.process(session=None, formname='edit_').accepted: db(db.my_table.id == request.args[0]).update(my_field = request.post_vars.my_value) response.flash = 'OK'

[web2py] [Solved] Re: update() is creating a new item

2012-06-08 Thread Relsi Hur
is already ready, and have other people involved in the project. So we're not using {{=form}}. ;)* Anthony On Friday, June 8, 2012 11:18:50 AM UTC-4, Relsi Hur wrote: Hello, I have a html form, and a action like this: def edit_my_table(): form = SQLFORM(db.my_table) if form.process

[web2py] Re: improvement proposal

2011-12-14 Thread Relsi Hur
cool! On 14 dez, 16:55, Massimo Di Pierro massimo.dipie...@gmail.com wrote: How about we ship routes.examples.py with this code in it? routes_onerror = [     ('*/400','http://httpcats.herokuapp.com/401'),     ('*/401','http://httpcats.herokuapp.com/401'),    

[web2py] Re: free web2py host?

2011-08-19 Thread Relsi Hur
Hi Massimo, I deploy an application by following the documentation this way: 1 - send web2py for the root, and create a diretory caled /public in the root too 2 - create a file called web2py.fcgi, in /public dir, with this content #!/usr/bin/python import os, sys _PROJECT_DIR =

[web2py] Re: Authentication for services in iPhone not work

2011-08-10 Thread Relsi Hur
Yes, the objective-C suport xml-rpc, but the developer says that the iphone does not work the wire format https://username:password@my_server/my_app/service/call/xmlrpc. I do not work with the platform iOS, so I do not know the particularities of the platform, I do not want is having to stop

[web2py] Re: Authentication for services in iPhone not work

2011-08-10 Thread Relsi Hur
Anyone else? =) any tips on how to pass the username and password as parameters of the method and continue using the decorator? On Aug 10, 3:56 am, Relsi Hur relsi.ram...@gmail.com wrote: Yes, the objective-C suport xml-rpc, but the developer says that theiphonedoes not work the wire

[web2py] Re: Authentication for services in iPhone not work

2011-08-10 Thread Relsi Hur
from a request.vars or from a request.env On Aug 10, 4:35 pm, Relsi Hur relsi.ram...@gmail.com wrote: Anyone else? =) any tips on how to pass the username and password as parameters of the method and continue using the decorator? On Aug 10, 3:56 am, Relsi Hur relsi.ram

[web2py] Re: Authentication for services in iPhone not work

2011-08-10 Thread Relsi Hur
to change it and take the username:password from a request.vars or from a request.env On Aug 10, 4:35 pm, Relsi Hur relsi.ram...@gmail.com wrote: Anyone else? =) any tips on how to pass the username and password as parameters of the method and continue using the decorator? On Aug 10, 3

[web2py] Authentication for services in iPhone not work

2011-08-08 Thread Relsi Hur
Hello, I have a simple function, like this: @service.xmlrpc def list_car(): cars=db(db.car.id_person==auth.user.id).select(db.car.id, db.car.color) return cars.response Well, I'm accessing the service so: https://username:password@my_server/my_app/service/call/xmlrpc This works fine

[web2py] A simple app with Google Maps API

2011-06-07 Thread Relsi Hur
Hello guys, Last year I made ​​a small application to start my studies in web2py, with the help of Massimo I did deploy in the Google App Engine [1]. Now I realize that not released the code, then, for those who want to use for their studies, or implement in any app, the code is available on

[web2py] XML on GAE

2010-10-06 Thread Relsi Hur
Hello, I'm learning to use web2py and created a small application and deploy on GAE, in this app I have a action that return a xml: #xml tags def export_xml(rows): idx=range(len(rows.colnames)) colnames=[item.replace('users.','') for item in rows.colnames] users=[] for row in

[web2py] Re: XML on GAE

2010-10-06 Thread Relsi Hur
db().select(db.auth_user.bio, db.auth_user.lat, db.auth_user.lgt, db.auth_user.first_name, db.auth_user.country) with db(db.auth_user.id0).select(db.auth_user.bio, db.auth_user.lat, db.auth_user.lgt, db.auth_user.first_name, db.auth_user.country) On Oct 6, 2:23 am, Relsi Hur relsi.ram

[web2py] Re: XML on GAE

2010-10-06 Thread Relsi Hur
, db.auth_user.lgt, db.auth_user.first_name, db.auth_user.country). On 6 out, 13:19, mdipierro mdipie...@cs.depaul.edu wrote: I do not understand. On Oct 6, 9:37 am, Relsi Hur relsi.ram...@gmail.com wrote: Thank you very much Massimo, Now returns alls fiels of model, but not complete structure, have

[web2py] Re: XML on GAE [Resolved]

2010-10-06 Thread Relsi Hur
','first_name','country']) On Oct 6, 11:59 am, Relsi Hur relsi.ram...@gmail.com wrote: well, in this way: db(db.auth_user.id0).select(db.auth_user.bio, db.auth_user.lat, db.auth_user.lgt, db.auth_user.first_name, db.auth_user.country) Returns all fields of database, and not my selected

[web2py] DjangoPeople Clone

2010-10-06 Thread Relsi Hur
Hi, a make a very very simple clone of http://www.djangopeople.net, just to practice the development of applications with web2py. For now, has only the registration and location on the map, later I will implement the listings of users by country, and others things. see:

[web2py] Re: DjangoPeople Clone

2010-10-06 Thread Relsi Hur
+ you will not have to send emails to verify credentials. Massimo On Oct 6, 1:07 pm, Relsi Hur relsi.ram...@gmail.com wrote: Hi, a make a very very simple clone ofhttp://www.djangopeople.net, just to practice the development of applications with web2py. For now, has only the registration

[web2py] Re: DjangoPeople Clone

2010-10-06 Thread Relsi Hur
noticed that the marking system of coordinates must be improved immediately, and try to fix it first. More suggestions are welcome. there are another project like that:http://www.appenginepeople.net/users/tag/web2py 2010/10/6 Relsi Hur relsi.ram...@gmail.com Great suggestions, I'll make