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

2012-06-08 Thread kralin
this should be self explanatory http://vimeo.com/33670166 I was using fluxflex and their great integration with github, too bad they are no longer in business. I'm going to try pythonanywhere now. On Thursday, June 7, 2012 11:06:26 PM UTC+1, Omi Chiba wrote: Bruno, I'm interested in

Re: Re : Re: [web2py] Re: fluxflex

2011-10-10 Thread kralin
issue described above. Regards, Marin On Oct 7, 11:26 am, kralin andrea.pierle...@gmail.com wrote: I've been testing the  web2py-for-fluxflex github forking approach and it works very well. however there is one problem when I deploy to fluxflex all the views that goes through

Re: Re : Re: [web2py] Re: fluxflex

2011-10-07 Thread kralin
I've been testing the web2py-for-fluxflex github forking approach and it works very well. however there is one problem when I deploy to fluxflex all the views that goes through generic.html gets 404 error. I'm using the 1.99.2 web2py version. maybe this is related to routes, but I don't have

[web2py] creating table with custom sequence name

2011-01-26 Thread kralin
Hi guys, I've been trying to use legacy postgres databases that uses a custom sequence name. I'm able to read and write a table, by specifying the sequence_name parameter when declaring the Table object lets say: table_name = 'table' db.define_table(table_name,

[web2py] Re: creating table with custom sequence name

2011-01-26 Thread kralin
there is also the problem that a default sequence is created by DAL even if no sequence_name is specified, or sequence_name is set to None. still I don't know if this was the intended behavior. On 26 Gen, 16:51, kralin andrea.pierle...@gmail.com wrote: here it is: http://code.google.com/p

[web2py] auth_permission in multiple db configuration

2010-11-23 Thread kralin
Hi, I've got a sistem with multiple db, some are SQLlite, some are postgresql and one in MSSQL. is there a way to use auth authorization within tables that do not belongs to the db where auth data is specified? in the auth_permission table, I'm only required to add a table name, but what if the

[web2py] Re: auth_permission in multiple db configuration

2010-11-23 Thread kralin
of auth. let me check... On 23 Nov, 14:41, mdipierro mdipie...@cs.depaul.edu wrote: You just need to remove the validator: db.auth_permission.table_name.requires = None On Nov 23, 6:19 am, kralin andrea.pierle...@gmail.com wrote: Hi, I've got a sistem with multiple db, some

[web2py] Re: auth_permission in multiple db configuration

2010-11-23 Thread kralin
yes, my db objects are unfortunately too complex to be used with CRUD. so no prob. it worked well! thanks a lot, again ;) hope this helps someone else... On 23 Nov, 15:37, mdipierro mdipie...@cs.depaul.edu wrote: On Nov 23, 8:31 am, kralin andrea.pierle...@gmail.com wrote: Thanks Massimo

[web2py] Re: improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-12 Thread kralin
, currently I have no plans to work on this. On 9 feb, 10:47, kralin andrea.pierle...@gmail.com wrote: Let me know if I can help. anyhow a good starting point would be making the table.insert() able to return None if no primary key or ID is defined. what do u think? is this possible

[web2py] Re: improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-12 Thread kralin
it. Currently in web2py you can only set unique multicol constraints at the web2py level (IS_NOT_IN_DB(subset,...)). This could be added but would make migrations a nightmare. Massimo On Feb 12, 8:42 am, kralin andrea.pierle...@gmail.com wrote: I've being doing some testing and actually setting

[web2py] Re: improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-09 Thread kralin
, DenesL denes1...@yahoo.ca wrote: On Feb 8, 5:02 am, kralin andrea.pierle...@gmail.com wrote: well, a primary key is always a good thing in a table, but not everybody seems to use it, particularly in many to many tables. while this is not in the web2py specifications( by not requiring

[web2py] Re: improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-08 Thread kralin
it but I would consider this a bug. How would you insert/retrieve/... records without a key?. Unless it has been changed to support it, this was not part of my original code. On Feb 5, 1:12 pm, kralin andrea.pierle...@gmail.com wrote: so if i have no primary key should i use an empty list

[web2py] improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-05 Thread kralin
Hi, In the last days I've been trying to use the web2py DAL to access a public DB shema widely used in bioinformatics (BioSQL, www.biosql.org). this schema does not follow web2py constraints, however most of the tables have a primarykey that can be set as the 'id' fields. howver web2py DAL as

[web2py] Re: improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-05 Thread kralin
get_currval_string ='select ' + column_default[0].replace('nextval', 'currval') self.execute(get_currval_string) return int(self.cursor.fetchone()[0]) else: return None #or the appropriate value On 5 Feb, 12:22, kralin andrea.pierle...@gmail.com wrote: Hi

[web2py] Re: improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-05 Thread kralin
...@cs.depaul.edu wrote: Thank you Andrea! these will definitively go in. Massimo On Feb 5, 5:58 am, kralin andrea.pierle...@gmail.com wrote: since in the same schema there are many to many tables with no primary key, a further improvement to the one described above can permitt the DAL to write

[web2py] Re: improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-05 Thread kralin
to fix. Please if you make these patches use dal.py, not sql.py. On Feb 5, 8:51 am, kralin andrea.pierle...@gmail.com wrote: you're welcome. since I'm dealing with tables without primarykeys in legacy is there some web2py standard behaviour for this case? do you think that returning None

[web2py] Re: improvement in web2py compatibility with legacy postgresql datbases column sequence name

2010-02-05 Thread kralin
so if i have no primary key should i use an empty list? [] On 5 Feb, 17:55, DenesL denes1...@yahoo.ca wrote: primary_key must be a list of fields from the table On Feb 5, 10:06 am, mdipierro mdipie...@cs.depaul.edu wrote: I do not know. You need to try that. I think if you use keyed tables

[web2py] Re: LOAD function anybody?

2010-01-22 Thread kralin
I just discovered thsi LOAD function and I'm loving it! very well done guys!! :) just one question, I'm loading via ajax a div that takes some seconds to come up. in the mean time a 'loading...' string appears in the div. is there a way to specify what has to be written (and how) while loading?

[web2py:26239] Re: sending HTML emails

2009-07-11 Thread kralin
() server.login(username, password) server.sendmail(sender, to, msg) server.quit() look into the docs for datils. Mind that the docs say .ehlo and .helo are the same. They are not. The latter does not work with starttls On Jul 10, 4:46 pm, kralin andrea.pierle...@gmail.com wrote: ok, so smtplib should

[web2py:26135] Re: web2py based queue

2009-07-10 Thread kralin
the tasks returns. Massimo On Jul 10, 8:11 am, kralin andrea.pierle...@gmail.com wrote: I finally made it, at least for now. There is a database table where all the processes are stored, both to be processed and completed ones. db.define_table('work',                 SQLField('name

[web2py:26156] Re: web2py based queue

2009-07-10 Thread kralin
') Note that if your web server kills processes that work too long you'll have to increase the timeout. On Jul 10, 4:07 pm, kralin andrea.pierle...@gmail.com wrote: I'm actually using the web2py cron. Is there a way I can launch the cron external process by the action, without waiting

[web2py:26207] Re: sending HTML emails

2009-07-10 Thread kralin
to use the MIME encoding and that should be transparent to what mail.send does now. If I am wrong please provide an example of how to change the headers to send a MIME encoded message. On Jul 10, 1:31 pm, kralin andrea.pierle...@gmail.com wrote: I spent the whole afternoon trying to send

[web2py:26212] Re: sending HTML emails

2009-07-10 Thread kralin
on GAE, if you want to send MIME you should not use Mail native SMTP. On Jul 10, 4:31 pm, kralin andrea.pierle...@gmail.com wrote: I've also tried to use MIME to encode both the html, and an alternative text/html message, however all the encoding goes after the double newline

[web2py:26067] web2py based queue

2009-07-09 Thread kralin
Hi All, I'm diving into web2py that at the moment gives me the power and the time do a lot of cool things. so thanks a lot to you guys. I was wondering if any of you ever had the need to set a queue for a heavy process. Let's suppose I've got one heavy process that takes 2 mins to run on a

[web2py:26076] Re: web2py based queue

2009-07-09 Thread kralin
. queue.append( On Jul 9, 4:07 pm, kralin andrea.pierle...@gmail.com wrote: Hi All, I'm diving into web2py that at the moment gives me the power and the time do a lot of cool things. so thanks a lot to you guys. I was wondering if any of you ever had the need to set a queue for a heavy

[web2py:16982] dynamically modify dropdown lists

2009-02-26 Thread kralin
Hi everybody, this is my first post here. I'm learning to use web2py since a month now, and I really appreciate it's simplicity and speed of use. However, I've got a problem I'm not able to solve by myself. I read the manual and searched everywhere, but I still cannot find any hint. So you guys

[web2py:16987] Re: dynamically modify dropdown lists

2009-02-26 Thread kralin
this? Massimo On Feb 26, 10:03 am, kralin andrea.pierle...@gmail.com wrote: Hi everybody, this is my first post here. I'm learning to use web2py since a month now, and I really appreciate it's simplicity and speed of use. However, I've got a problem I'm not able to solve by myself. I read