[web2py] Web2py Cron depreciado ?

2017-07-06 Thread felipe . marcos
Li que o Cron no web2py está depreciado, isso traria problemas caso eu atualize meu projeto não é ? Qual é a alternativa para o procedimento ? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p

[web2py] upload image and save in dinamic directory profile

2017-04-28 Thread felipe . marcos
hi, I want save one image in dinamic directory web2py, but ai not using SQLFORM, When i do upload the image i recieve in controller C:/FAKEPATH/imagename how do i handle this path or other upload ? sorry my inglish. look my code: View: Primeiro Nome

[web2py] Re: how to get user name before login is completed

2017-04-04 Thread felipe . marcos
thanks for help. Em sexta-feira, 15 de julho de 2011 05:25:47 UTC-3, J Zaragoza escreveu: > > In a view: > > {{if auth.user_id:}} > {{=H4(T('Welcome ') + db.auth_user[auth.user_id].first_name)}} > {{pass} > > > > On 14 jul, 14:42, Anthony wrote: > > On Thursday, July 14, 2011 1:03:24 AM

[web2py] web2py csv files

2016-02-12 Thread Felipe dos Santos Ferreira
Hi guys, I am new to web2py. Recently I was trying to import some data from a csv file to my sqlite database through the web2py admin area. The problem was I had to create several different csv files untilll I've found one which I could import properly. All the others files i've had tried retu

[web2py] BaseAdapter supporting driver selection

2015-04-05 Thread Felipe Augusto Meirelles
Hi, On pydal/adapters/base.py, on line 170 shouldn't it be: items = uri.split('://', 1)[0].split('+') instead of items = uri.split('://', 1)[0].split(':')? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code

[web2py] Re: Bootstrap3 package - help to test

2014-03-20 Thread Luiz Felipe Pedone
Hi Paolo! This package is available on GitHub? I think I can help you out with the development. Em segunda-feira, 23 de dezembro de 2013 18h20min48s UTC-2, Paolo Caruccio escreveu: > > I just completed a package that applies the bootstrap3 style to some > web2py elements - the current version

[web2py] parse_as_rest possible problem

2014-01-03 Thread Felipe Augusto Meirelles
Hi, Can some one on the devs team explain this on DAL.py (line 8098): if count > limits[1]-limits[0]: return Row({'status':400,'error':'too many records','response':None}) I'm trying to use the parse_as_rest function, sending a request as /auth-us

[web2py] Google Cloud SQL

2013-08-09 Thread Felipe Augusto Meirelles
Hi! I'm trying to update to the latest versions of web2py. I use GAE + Google Cloud SQL. On the latest release version I got the error "AttributeError: 'GoogleSQLAdapter' object has no attribute 'cursor'" for every action I try to make on DB. On trunk, its even creates the tables and complain

[web2py] Re: SQLForm.grid() + LEFT JOIN + common_filters

2013-03-27 Thread Felipe Meirelles
Added a ticket with the patch that worked for me. Thanks! On Wednesday, March 27, 2013 1:05:22 PM UTC-3, Felipe Meirelles wrote: > > Actualy it worked but not for reason i expected. Ill run some more tests > here and let you know. > > On Wednesday, March 27, 2013 1:03:26 PM UT

[web2py] Re: SQLForm.grid() + LEFT JOIN + common_filters

2013-03-27 Thread Felipe Meirelles
gt; > On Wednesday, 27 March 2013 10:57:54 UTC-5, Felipe Meirelles wrote: >> >> What is happening is the complete oposite. Its aplying to the leftjoin >> table, but not to the main table. >> >> The problem is on dal.py line 1553: >> tables_to_merge.keys() con

[web2py] Re: SQLForm.grid() + LEFT JOIN + common_filters

2013-03-27 Thread Felipe Meirelles
; > https://code.google.com/p/web2py/issues/detail?id=992&q=common > > On Wednesday, 27 March 2013 09:13:20 UTC-5, Felipe Meirelles wrote: >> >> I'm facing a problem where if I have something like this: >> >> grid = SQLFORM.grid(db.table1, >>

[web2py] SQLForm.grid() + LEFT JOIN + common_filters

2013-03-27 Thread Felipe Meirelles
I'm facing a problem where if I have something like this: grid = SQLFORM.grid(db.table1, left=[db.table2.on(db.table2.id==db.table1.reference)], ) my common filters are not processed for table1, only for table2! including is_active filter for version recording. Is there a bug? --

[web2py] Re: VirtualFields on select options

2013-02-20 Thread Felipe Meirelles
I was using a outdated version of web2py, in the new version the line is 511 On Wednesday, February 20, 2013 12:42:05 PM UTC-3, Felipe Meirelles wrote: > > Hi, > > Just found a bug in validators.py, line 468. > > If I use a virtualfield to format the select options, it will dr

[web2py] VirtualFields on select options

2013-02-20 Thread Felipe Meirelles
Hi, Just found a bug in validators.py, line 468. If I use a virtualfield to format the select options, it will drop an exception, trying to order the select by de virtual field. Can you patch it in trunk? from gluon.dal import FieldVirtual fields = filter(lambda f: type(f) != FieldVirtual, fie

[web2py] Re: Record versioning on delete CASCADE

2013-02-03 Thread Felipe Meirelles
. This are even more complex since there may be > non-trivial circular references. > > On Saturday, 2 February 2013 21:10:56 UTC-6, Massimo Di Pierro wrote: >> >> It is possible but very very inefficient since it would not be handled at >> the database level. >> >&g

[web2py] Re: Record versioning on delete CASCADE

2013-02-02 Thread Felipe Meirelles
I think they should, to be compatible with the default behaviour. Is this possible to do? On Saturday, February 2, 2013 6:41:25 PM UTC-2, Massimo Di Pierro wrote: > > Good point. No. they are not set to is_active=False. Should they? > > On Saturday, 2 February 2013 06:20:47 U

[web2py] Re: Record versioning on delete CASCADE

2013-02-02 Thread Felipe Meirelles
er deleted, only > filtered out. I think cascade should work as expected. > > On Friday, 1 February 2013 11:54:25 UTC-6, Felipe Meirelles wrote: >> >> The cascade feature should work for record versioning enabled tables? >> >> Thanks. >> > -- --- You received th

[web2py] Record versioning on delete CASCADE

2013-02-01 Thread Felipe Meirelles
The cascade feature should work for record versioning enabled tables? Thanks. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegro

Re: [web2py] Re: Grid with multiple left joins

2013-01-30 Thread Felipe Meirelles
db._adapter.tables(left) >>> >>> >>> >>> On Friday, January 18, 2013 11:17:19 AM UTC-5, Massimo Di Pierro wrote: >>>> >>>> Looks good. >>>> Can you please send me a patch applied to the trunk version? >>>> >

[web2py] Re: Grid with multiple left joins

2013-01-18 Thread Felipe Meirelles
Did anyone saw it? On Monday, January 14, 2013 5:41:36 PM UTC-2, Felipe Meirelles wrote: > > Please desconsider the sorter_icons parameter, its a custom implementation > of mine. > I can post this patch too if you think its relevant. > > Thanks! > > On Monday, January 1

[web2py] Re: Grid with multiple left joins

2013-01-14 Thread Felipe Meirelles
Please desconsider the sorter_icons parameter, its a custom implementation of mine. I can post this patch too if you think its relevant. Thanks! On Monday, January 14, 2013 5:38:53 PM UTC-2, Felipe Meirelles wrote: > > Hi, > > When you try to make more than one left join on a SQL

[web2py] Grid with multiple left joins

2013-01-14 Thread Felipe Meirelles
Hi, When you try to make more than one left join on a SQLFORM.grid as: grid = SQLFORMCustom.grid(db.device, fields=[db.device.serial, db.device.device_type, db.device.vehicle, db.vehicle.plate, db.chip.imei, ], field_id=db.device.id, left=[db.chip.on(db.chip.id==db.device

Re: [web2py] Re: Add a WHERE clause to every request

2013-01-11 Thread Felipe Meirelles
2013 5:39:05 PM UTC-2, Felipe Meirelles wrote: > > It worked. Is there a way to debug SQL on appengine. My DEBUG env_var is > set to True but it dosen't output any SQL. > > On Friday, January 11, 2013 4:52:54 PM UTC-2, Felipe Meirelles wrote: >> >> I'll test. T

Re: [web2py] Re: Add a WHERE clause to every request

2013-01-11 Thread Felipe Meirelles
It worked. Is there a way to debug SQL on appengine. My DEBUG env_var is set to True but it dosen't output any SQL. On Friday, January 11, 2013 4:52:54 PM UTC-2, Felipe Meirelles wrote: > > I'll test. Thanks (: > > On Friday, January 11, 2013 3:21:40 PM UTC-2, rochacbruno w

Re: [web2py] Re: Add a WHERE clause to every request

2013-01-11 Thread Felipe Meirelles
I'll test. Thanks (: On Friday, January 11, 2013 3:21:40 PM UTC-2, rochacbruno wrote: > > little fix. > > On Fri, Jan 11, 2013 at 3:21 PM, Bruno Rocha > > wrote: > >> for table in db.tables: >> db[table]._common_filter = lambda query: db[table].is_active == True >> > > > --

[web2py] Add a WHERE clause to every request

2013-01-11 Thread Felipe Meirelles
Is there possible add a WHERE clause to every query that runs in the application (like record versioning is_active)? --

[web2py] Re: GAE + Cloud SQL: Tickets

2013-01-08 Thread Felipe Meirelles
ticket_data', 'text'), db.Field('created_datetime', 'datetime'), migrate=False ) table = db[tablename] except: pass return table On Tuesday, January

[web2py] Re: GAE + Cloud SQL: Tickets

2013-01-08 Thread Felipe Meirelles
Never mind, this solution just worked the first time, when I need to define the table, the second time it fails too... On Tuesday, January 8, 2013 4:21:01 PM UTC-2, Felipe Meirelles wrote: > > Well, the real problem is I'm using GAE with Google Cloud SQL, so I have > the migratio

[web2py] Re: GAE + Cloud SQL: Tickets

2013-01-08 Thread Felipe Meirelles
, 2013 10:58:07 PM UTC-2, Massimo Di Pierro wrote: > > Admin is readonly on GAE and by default not deployed. > > On Friday, 4 January 2013 17:10:56 UTC-6, Alan Etkin wrote: >> >> El jueves, 3 de enero de 2013 11:31:45 UTC-3, Felipe Meirelles escribió: >>&

[web2py] Re: GAE + Cloud SQL: Tickets

2013-01-03 Thread Felipe Meirelles
Well, the problem is when the ticket is saved, self.db points to but when load() is called, it points to . Where the admin application DAL is defined? On Thursday, January 3, 2013 11:47:38 AM UTC-2, Felipe Meirelles wrote: > > Actualy, it is displaying the SQL as: > > select [,

[web2py] Re: GAE + Cloud SQL: Tickets

2013-01-03 Thread Felipe Meirelles
Actualy, it is displaying the SQL as: select [, , , ] where )]> On Thursday, January 3, 2013 11:36:15 AM UTC-2, Felipe Meirelles wrote: > > Just added a self.db.commit() after the insert command, and it worked as > spected, but the load() function cant retrieve the ticket data

[web2py] Re: GAE + Cloud SQL: Tickets

2013-01-03 Thread Felipe Meirelles
Just added a self.db.commit() after the insert command, and it worked as spected, but the load() function cant retrieve the ticket data... I've tried to inspect the select stmt with _select(), but it dosent returns the SQL. Any ideas? On Thursday, January 3, 2013 11:07:04 AM UTC-2, F

[web2py] Re: GAE + Cloud SQL: Tickets

2013-01-03 Thread Felipe Meirelles
t here is a problem talking to database or other > internal web2py error, not an application error. Please check for traceback > in the app engine logs. > > On Tuesday, 18 December 2012 06:08:56 UTC-6, Felipe Meirelles wrote: >> >> Hi, I'm using GAE + Cloud SQL but eve

[web2py] Re: Encoding works on production but fails in development

2012-12-27 Thread Felipe Meirelles
evelopment db: https://groups.google.com/forum/?fromgroups=#!search/cloud$20sql$20utf8/google-cloud-sql-discuss/cmmNTT1lJ18/ZBzmsYdcdNwJ Thanks all. On Thursday, December 27, 2012 4:47:08 PM UTC-2, Felipe Meirelles wrote: > > It also fails when rendering the grid, but again, only in devel

[web2py] Re: Encoding works on production but fails in development

2012-12-27 Thread Felipe Meirelles
It also fails when rendering the grid, but again, only in development server, wich makes me think its something related to google sdk. Is there some ideia? On Thursday, December 27, 2012 12:51:23 PM UTC-2, Felipe Meirelles wrote: > > I'm using GAE + Google Cloud SQL and when I inser

[web2py] Encoding works on production but fails in development

2012-12-27 Thread Felipe Meirelles
I'm using GAE + Google Cloud SQL and when I insert some data to local server with special chars like in "Água" it saves the data, but when i try to retrieve it i get an encoding error from python. In production it is automaticaly encoded to \u00c1gua and saves to DB. Is it some mysql feature tha

[web2py] GAE + Cloud SQL: Tickets

2012-12-18 Thread Felipe Meirelles
Hi, I'm using GAE + Cloud SQL but every time I get an error, there is no ticket. Can I set web2py to save tickets to database as in Google NoSQL (big table)? --

Re: [web2py] Re: Login form password widget chaned

2012-11-30 Thread Felipe Meirelles
Well, and is there possible to set his placeholder this way? On Fri, Nov 30, 2012 at 2:31 PM, Niphlod wrote: > yep, now it carries the script to enable the entropy color codes. > > Il giorno venerdì 30 novembre 2012 17:21:15 UTC+1, Felipe Meirelles ha > scritto: >> >>

Re: [web2py] Re: Login form password widget chaned

2012-11-30 Thread Felipe Meirelles
x27;: , 'dspval': , 'id': , 'email': }>}> That password widget used to be a gluon.html.INPUT same as email but now it is a CAT On Fri, Nov 30, 2012 at 1:12 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > What change are you referring to

[web2py] Login form password widget chaned

2012-11-30 Thread Felipe Meirelles
Did you changed the password widget on the login form from INPUT to CAT? Is there a reason to this change? I had a placeholder on it and since DIVs dont have this property, my placeholders don't work any more. --

Re: [web2py] CASE Tool for python (preferably web2py)

2012-11-28 Thread Felipe Meirelles
Richard > > On Tue, Nov 27, 2012 at 2:02 PM, Felipe Meirelles < > fel...@felipemeirelles.com.br > wrote: > >> So, is there any tool capable of generating python code from diagrams? >> I was taking a look at Xtext, is there some MDA tool in python language? >>

[web2py] CASE Tool for python (preferably web2py)

2012-11-27 Thread Felipe Meirelles
So, is there any tool capable of generating python code from diagrams? I was taking a look at Xtext, is there some MDA tool in python language? Or any tool designed to generate web2py models from diagrams? Or even generate diagrams from web2py models? Thanks --

[web2py] NDB Support

2012-09-27 Thread Felipe Meirelles
Hey guys, Is there some effort going on (or at least planed) to support NDB on appengine? Thanks! --

Re: [web2py] Re: Lazy Tables and Cached Results on GAE

2012-09-10 Thread Felipe Meirelles
e all set of rows. > > Mind that if you do rows.update_records(...) and rows is cached, it should > update the cached row as well. > > > On Monday, 10 September 2012 08:16:07 UTC-5, Felipe Meirelles wrote: > >> But it will invalidate all the cache data. I want to inval

Re: [web2py] Re: Lazy Tables and Cached Results on GAE

2012-09-10 Thread Felipe Meirelles
ar() > > this will clear all ram. You can also pass a regex to clear to clear only > some keys. > > On Monday, 10 September 2012 07:49:27 UTC-5, Felipe Meirelles wrote: >> >> Only one more question, can I enforce the cache to invalidate (as when I >> know the rec

[web2py] Re: Lazy Tables and Cached Results on GAE

2012-09-10 Thread Felipe Meirelles
07:05:11 UTC-5, Felipe Meirelles wrote: >> >> Anyone tested the new 2.0.2 changes on GAE? Should this work fine? >> >> Can someone tell me how the internals work for this two features and how >> to use it? >> >> Thanks. >> > --

[web2py] Lazy Tables and Cached Results on GAE

2012-09-10 Thread Felipe Meirelles
Anyone tested the new 2.0.2 changes on GAE? Should this work fine? Can someone tell me how the internals work for this two features and how to use it? Thanks. --

Re: [web2py] SQLFORM.smartgrid field labels not I18N

2012-08-16 Thread Felipe Meirelles
eat. Or simply list the parts not internationalized > > -- > > > > -- Att, Felipe Meirelles. --

[web2py] SQLFORM.smartgrid field labels not I18N

2012-08-16 Thread Felipe Meirelles
Yarrr! So, I'm using the smartgrid beta and noticed that some parts of it are not I18N. Should I fix it and send a patch or you guys are working on it already? Thanks --

Re: [web2py] Re: Auth and Model less

2012-08-14 Thread Felipe Meirelles
n Tue, Aug 14, 2012 at 1:52 PM, Felipe Meirelles wrote: > Well, but even initializing db and auth for evey request I still get the > not validating bug... > > ill attach my code to you to take a look. > > > On Tue, Aug 14, 2012 at 1:44 PM, Felipe Meirelles wrote: > >> S

Re: [web2py] Re: Auth and Model less

2012-08-14 Thread Felipe Meirelles
Well, but even initializing db and auth for evey request I still get the not validating bug... ill attach my code to you to take a look. On Tue, Aug 14, 2012 at 1:44 PM, Felipe Meirelles wrote: > Sorry, the DB was still static. Just created a init_db() and worked as > spected. > &

Re: [web2py] Re: Auth and Model less

2012-08-14 Thread Felipe Meirelles
Sorry, the DB was still static. Just created a init_db() and worked as spected. On Tue, Aug 14, 2012 at 1:18 PM, Anthony wrote: > Can you show the exact code you're using in the module and controller? > > > On Tuesday, August 14, 2012 12:07:15 PM UTC-4, Felipe Meirelles wr

Re: [web2py] Re: Auth and Model less

2012-08-14 Thread Felipe Meirelles
Now I'm getting this error when I call the initialization method: SyntaxError: invalid table name: auth_user On Tue, Aug 14, 2012 at 10:38 AM, Anthony wrote: > On Tuesday, August 14, 2012 9:14:21 AM UTC-4, Felipe Meirelles wrote: >> >> But the DB object can be static thro

Re: [web2py] Re: Auth and Model less

2012-08-14 Thread Felipe Meirelles
object from the controller: > > module: > > def initialize_auth(db): > auth = Auth(db, ...) > auth.define_tables > return auth > > controller: > > import initialize_auth > auth = initialize_auth(db) > > Anthony > > -- > > > > -- Att, Felipe Meirelles. --

[web2py] Auth and Model less

2012-08-14 Thread Felipe Meirelles
Hello again, I'm having some trouble with my model less aproch with auth module. I've put him on a separeted file on modules folder, and, when needed, I import it as follows: modules/web2py/auth.py: auth = Auth(db, hmac_key=Auth.get_or_create_key()) controllers/tracking.py: from applications

Re: [web2py] Re: Appengine CPU cycles

2012-08-12 Thread Felipe Meirelles
Just a last update about the tests, my overall application cost (in dolars from appengine) droped 25% with the change, so, at least in appengine lazy models are a must. On Wednesday, August 8, 2012 12:24:37 PM UTC-3, Jonathan Lundell wrote: > > On 8 Aug 2012, at 7:59 AM, Massimo Di Pierro > >

Re: [web2py] Re: GAE datastore: how to unindex a field?

2012-08-12 Thread Felipe Meirelles
Just reviving this topic. Its not setable via index.yaml. On Wednesday, May 16, 2012 1:07:10 PM UTC-3, howesc wrote: > > actually the question at hand here i think is whether or not web2py can > support indexed=False in the property constructor when defining GAE > models: > > https://developers

Re: [web2py] Re: Appengine CPU cycles

2012-08-08 Thread Felipe Meirelles
th store sessions in DB (web2py > does)? > > It is likely Django uses simplejson binary while web2py (for portability) > only ships with simplejson in pure python. This may be another performance > loss if you use json a lot. We need to fix this at the web2py level. > > Massimo >

Re: [web2py] Re: Appengine CPU cycles

2012-08-08 Thread Felipe Meirelles
e). Also, after the model less aproch, compared to web2py it self, I got a huge performance gain, and expect a solid cost reduction (I'll post the cost reduction latter, when appengine consolidates the billing). Thanks you all for sharing your toughts. On Tuesday, August 7, 2012 6:56:15

Re: [web2py] Re: Appengine CPU cycles

2012-08-07 Thread Felipe Meirelles
; auth.define_tables(migrate=False) to avoid migrations on the auth tables in > production. > > Anthony > > -- > > > > -- Att, Felipe Meirelles. --

Re: [web2py] Re: Appengine CPU cycles

2012-08-06 Thread Felipe Meirelles
y > are stored and retrieved from datastore. > > I do not know how Django stores sessions on GAE by default. > > massimo > > > > > > > On Monday, 6 August 2012 14:19:35 UTC-5, Felipe Meirelles wrote: >> >> Without any model I have a huge drop

Re: [web2py] Re: Appengine CPU cycles

2012-08-06 Thread Felipe Meirelles
, rochacbruno wrote: > > On Mon, Aug 6, 2012 at 4:19 PM, Felipe Meirelles < > fel...@felipemeirelles.com.br> wrote: > >> Without any model I have a huge drop on the cpu use, from around 300ms to >> around 60ms. Still higher than with Django, but its acceptable by th

Re: [web2py] Re: Appengine CPU cycles

2012-08-06 Thread Felipe Meirelles
t; import logging > > def test(): > logging.info("Just making a performace test") > > Makes difference? > > > > On Mon, Aug 6, 2012 at 3:59 PM, Felipe Meirelles < > fel...@felipemeirelles.com.br> wrote: > >> Even the simplest controller give

Re: [web2py] Re: Appengine CPU cycles

2012-08-06 Thread Felipe Meirelles
Even the simplest controller give me a high cpu usage: import logging def test(): logging.info("Just making a performace test") ms=559 cpu_ms=612 api_cpu_ms=245 On Monday, August 6, 2012 3:37:38 PM UTC-3, Felipe Meirelles wrote: > > Just compiled the app and deployed agai

Re: [web2py] Re: Appengine CPU cycles

2012-08-06 Thread Felipe Meirelles
Just compiled the app and deployed again, seems to make no diference. App engine uses the bytecode generated on web2py? Did I need to change some config at app.yaml? On Monday, August 6, 2012 3:21:29 PM UTC-3, Felipe Meirelles wrote: > > Pre compiled by the admin interface? Not yet, is

Re: [web2py] Re: Appengine CPU cycles

2012-08-06 Thread Felipe Meirelles
Pre compiled by the admin interface? Not yet, is there some impove with the precompiled code? On Mon, Aug 6, 2012 at 3:16 PM, Derek wrote: > Have you compiled your app? > > On Monday, August 6, 2012 10:46:33 AM UTC-7, Felipe Meirelles wrote: >> >> Hi, >> >> I

[web2py] Appengine CPU cycles

2012-08-06 Thread Felipe Meirelles
Hi, I'm using web2py in a project that stands on top of a REST api. The project is write intensive (around 110k requests a day, with all the requests making at least 2 updates to the datastore). All my requests seems to uso at least 200 cpu_ms (even dummy requests that only places a item on the

[web2py] GAE datastore: how to unindex a field?

2012-05-14 Thread Felipe Meirelles
Hi, I'm porting a commercial project from django + djangoappengine ( http://www.allbuttonspressed.com/) to web2py and one thing I could'nt find at all is how to manage per field indexes on App Engine. My project is database intensive so every entity is written hundreds of thousend times a day a

[web2py] Sqlite3 error

2011-02-20 Thread Felipe AP
None of my web2py apps are working anymore. I'm getting this error. What can I do about it? Please answer. Thanks! Traceback (most recent call last): File "/home/felipe/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/home/felipe

[web2py] Re: Problem with import of Site-Packages

2011-02-13 Thread Felipe AP
please, help me! it's urgent!

[web2py] Problem with import of Site-Packages

2011-02-13 Thread Felipe AP
Hi. I'm using the tweepy library, for twitter auth. I import it after adding its site-packages folder to the sys.path. Last week, I had to install tweepy to my python2.6. Now it doesnt work anymore. It says 'ImportError: No module named tweepy'. What to I do?? Ps: I'm also getting an '_sqlite3' er

[web2py] Re: SimpleGeo - free tools for creating location aware apps with Python Client and SDK

2010-12-27 Thread Felipe Pedrini
Do you know if simplegeo Storage will become a paid service? It looks exactly what I need. Thanks for sharing! On Dec 27, 9:10 am, Tom Atkins wrote: > Just for interest if you're building a location aware app: > > http://simplegeo.com

[web2py] Re: Decoding problem - UTF8

2010-06-11 Thread Felipe
;utf8') except: #lista[i][key] = lista[i][key] return lista when I do a select() in the database, I use the dic_lista(select_result.as_list()) anyone has a fancier workaround? please tell me ! On Jun 8, 11:43 am, Felipe wrote: > I trie

[web2py] Re: Decoding problem - UTF8

2010-06-08 Thread Felipe
'test',Field('name')) > db.test.insert(name='testé') > print db(db.test.id>0).select() > > and it works fine with me. I cannot reproduce your problem which > > On Jun 8, 7:36 am, Felipe wrote: > > > > > xmlrpclib.Fault: > 'exceptio

[web2py] Re: Decoding problem - UTF8

2010-06-08 Thread Felipe
xmlrpclib.Fault: :'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)"> same problem ... On Jun 7, 3:17 pm, mdipierro wrote: > hmmm, please try > > bd[tab].insert(nome=u'testé') > > or > > bd[tab].insert(nome

[web2py] Decoding problem - UTF8

2010-06-07 Thread Felipe
Hi, I'm having problems with UTF8 words and databases... Now I'm using postgres with web2py. I used a xml-rpc script, just for testing, to insert into a table the word 'testé', apparently everything worked well, but when I try to get the info from the table I receive an error, 'cant decode unicod

[web2py:34027] Re: Http Error 500

2009-10-29 Thread Felipe
This is the messege that I receive from the fault event on the remote object ... (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) correlationId = "A1177FFF-9229-469A-DEB1-9FDB5D961B5D" destination = "" extendedData = (null) faultCode = "Client.Error.MessageS

[web2py:33801] Re: Http Error 500

2009-10-27 Thread Felipe
58 am, Thadeus Burgess wrote: > > > > > Can you browse the site without Flex? > > > Also, I've found the apache error logs and wsgi error logs can be > > invaluable. > > > -Thadeus > > > On Mon, Oct 26, 2009 at 7:24 AM, Felipe wrote: > > >

[web2py:33711] Http Error 500

2009-10-26 Thread Felipe
Hello, My problem is -> I have a server, with Apache2 and wsgi enabled to call the web2py server, and a Flex application. But when I make a remote Object call, it returns a Http error 500, something about the server. The server side is located at Linode, with ubuntu 9 instaled, everything just l

[web2py:31999] Apache + web2py + FLEX + crossdomain

2009-10-01 Thread Felipe
Hi, I have a problem and i will try to explain it here : In my aplication I configurated Apache with WSGI so that when someone redirects to my ip, apache redirects it to the web2py. Then I use a Flex aplication with the web2py, calling remote method's with remote objects, but flex has a securit