Re: [web2py] Multiple file download

2015-04-13 Thread Louis Amon
Alternatively, you could also use a tempfile : https://docs.python.org/2/library/tempfile.html > Le 12 avr. 2015 à 02:55, 'sasogeek' via web2py-users > a écrit : > > I managed to get it working. I looked up the download method in the Response

Re: [web2py] Application Arquitecture advices

2015-04-13 Thread Richard Vézina
If it all for the same client, I would say single app... Think : db backup, one app will growth faster than the other, more boiler plate (2X, or more if you have more than 2 apps), all the issues you already aware of regarding authentification... I would suggest you to use web2py plugin system if

Re: [web2py] unicode error with postgre on 2.10.3 (with sample app)

2015-04-13 Thread Richard Vézina
Ian, better make sure you can reproduce the problem... You may pack an app that allow developper to test the issue and attach it to your ticket... Richard On Sat, Apr 11, 2015 at 10:38 AM, Ian W. Scott wrote: > Thanks Richard. My production server is working fine with 2.9.11. I'll > open an iss

Re: [web2py] Re: Using Travis CI to test a web2py app on Github

2015-04-13 Thread Richard Vézina
I would not say that, I would say it didn't kept attention of any body or no one want to work on this because it is a particular need you have... Also, it out of topic, since we are here to discuss web2py related thing and not the way you intend to test your app... On Sat, Apr 11, 2015 at 11:13 AM

Re: [web2py] Re: Log db operation to file

2015-04-13 Thread Angelo Compagnucci
Hi Massimo! 2015-04-11 6:09 GMT+02:00 Massimo Di Pierro : > All the db operations are on db._timings along with their timings. > You can do {{=response.toolbar()}} to embed a toolbar to see them all. You > can log them to a file yourself > > open('file','w').write(repr(db._timings)) Poking at the

[web2py] Re: Need help with web2pyslices plugin administration

2015-04-13 Thread Mirek Zvolský
So (Niphlod? or other core developer?), how we can solve this? 1) Can we change web2pyslices sources to get access to update uploaded data for the original authors, or 2) should we make new simple application on pythonanywhere with grid of plugins and update link in web2py in admin/controllers/d

[web2py] Re: Need help with web2pyslices plugin administration

2015-04-13 Thread Niphlod
I think that some great deal of time was spent already on web2pyslices, so coming up with yet another app to store plugins isn't the best choice. The weird point is that even if I know who dealt with web2pyslices.com to add "packages" and the corresponding web2py's integration in admin (spametki

[web2py] Re: Using Travis CI to test a web2py app on Github

2015-04-13 Thread Niphlod
take from the lack of response that if it doesn't run on your machine, it's not going to run on travis-ci For starters, it seems that gluon is not importable how do you fetch web2py's libraries and put them into the path ? -- Resources: - http://web2py.com - http://web2py.com/book (Docu

[web2py] Re: SQLFORM hanging on insert

2015-04-13 Thread Derek
You may want to run some database consistency checks. I've had that happen when one of my tables was corrupted. On Saturday, April 11, 2015 at 8:16:22 AM UTC-7, Ian W. Scott wrote: > > Update: When I put together a minimal app I couldn't reproduce the > problem. I've had to set aside working on

[web2py] Re: Issue with lookup foreign key / format statement in 2.10.3

2015-04-13 Thread Niphlod
yes, it's a bug. there's no reference anymore to the format.opened on web2py/pydal On Monday, April 13, 2015 at 7:34:58 AM UTC+2, wish...@gmail.com wrote: > > Hey guys! > > Did 2.10.3-stable+timestamp.2015.04.02.21.42.07 change something in the way* > format statements *%(fields)s are ha

[web2py] LOAD component inside component

2015-04-13 Thread Richard
Hello, I create a page with multiple components inside of it (the index page is basically an empty shell for the components)... But one of there is a form in one of the embed component which as a field with a widget that trigger modal form allowing to insert a value in another table and select

Re: [web2py] Re: Triggering a one-time migration when schema changes

2015-04-13 Thread Niphlod
that call to appadmin is the same I recommended to "hit" manually. it's the only controller that loads EVERY module, even if it's conditional... It's a smart usage of cmdline though :-P On Saturday, April 11, 2015 at 9:46:39 AM UTC+2, Pablo Angulo wrote: > > > -BEGIN PGP SIGNED MES

[web2py] Re: SQLFORM displaying fields that are readable/writeable = false

2015-04-13 Thread Niphlod
what version of web2py are you using ? On Saturday, April 11, 2015 at 6:00:33 AM UTC+2, Thomas Sitter wrote: > > Hello, > > I have the following in my db.py file: > > db.define_table('customer', >> Field('firstname'), >> Field('lastname'), >> Field('account', unique=True, length=12), >> Field('ema

[web2py] Re: pygraphviz library not found (site5 webhosting)

2015-04-13 Thread Ron Chatterjee
I have the same problem. I am using source. Is that the issue? On Saturday, June 1, 2013 at 3:00:54 PM UTC-4, Massimo Di Pierro wrote: > > Are you using web2py source? > > On Saturday, 1 June 2013 02:36:09 UTC-5, Tomáš Slobodník wrote: >> >> Hi everybody, >> >> I am running web2py 2.4.7 on site5 w

[web2py] Re: pygraphviz library not found (site5 webhosting)

2015-04-13 Thread Niphlod
code in appadmin is pretty straightforward. If you have pygraphviz importable it worksif not, it displays the message "pygraphviz library not found". On Monday, April 13, 2015 at 10:43:36 PM UTC+2, Ron Chatterjee wrote: > > I have the same problem. I am using source. Is that the issue? > > O

[web2py] Cron-like job

2015-04-13 Thread 'sasogeek' via web2py-users
I want to do something but I doubt cron is the right thing to attempt, I'm not even sure what I'm supposed to do except that it's going to be a scheduled task and it may or may not be solved by cron, I need some guidance. I want to simulate a bank. users get to 'save' some (virtual) money in th

[web2py] Re: pygraphviz library not found (site5 webhosting)

2015-04-13 Thread Ron Chatterjee
I understand. Getting it imported is the hard part. But its not a web2py issue. On a separate note, do you know why the link to the plugin for threaded comment is not found? I am trying to get something going similar to: http://martinfitzpatrick.name/article/django-threaded-comments/ It also

[web2py] Re: pygraphviz library not found (site5 webhosting)

2015-04-13 Thread Ron Chatterjee
Was referring to this link: https://groups.google.com/forum/#!searchin/web2py/reply$20to$20post/web2py/2CsGmWcMX1U/43TPqTiYLqUJ On Monday, April 13, 2015 at 8:02:02 PM UTC-4, Ron Chatterjee wrote: > > I understand. Getting it imported is the hard part. But its not a web2py > issue. On a separat

[web2py] Any plugin available for threaded comment as the link shown below

2015-04-13 Thread Ron Chatterjee
http://martinfitzpatrick.name/article/django-threaded-comments/ -- 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 message because you ar

[web2py] Re: Any plugin available for threaded comment as the link shown below

2015-04-13 Thread 黄祥
perhaps you can check around this thread https://groups.google.com/forum/#!topic/web2py/Bw792rYt_nM best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repo

[web2py] SQLFORM displaying fields that are readable/writeable = false

2015-04-13 Thread Ramkrishan Bhatt
Readable=False for hiding fields. -- 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 message because you are subscribed to the Google Group

[web2py] SQLFORM displaying fields that are readable/writeable = false

2015-04-13 Thread Ramkrishan Bhatt
Writable and readable both make False than try. check writable in your code. -- 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 message bec

[web2py] Re: Any plugin available for threaded comment as the link shown below

2015-04-13 Thread Ron Chatterjee
Thank you. Thats all I was looking for it. Appreciate the help!:-) On Monday, April 13, 2015 at 9:50:18 PM UTC-4, 黄祥 wrote: > > perhaps you can check around this thread > https://groups.google.com/forum/#!topic/web2py/Bw792rYt_nM > > best regards, > stifan > -- Resources: - http://web2py.com -

[web2py] Re: SQLFORM displaying fields that are readable/writeable = false

2015-04-13 Thread Anthony
It should be "writable", not "writeable". Anthony On Saturday, April 11, 2015 at 12:00:33 AM UTC-4, Thomas Sitter wrote: > > Hello, > > I have the following in my db.py file: > > db.define_table('customer', >> Field('firstname'), >> Field('lastname'), >> Field('account', unique=True, length=12),

[web2py] Re: where to set up localization in web2py

2015-04-13 Thread Dmitry Ermolaev
I use settings in models/0.py from gluon.storage import Storage LANGS = Storage({ 'ru': ['Русский', 'ru.png'], 'en': ['English', 'gb.png'], 'ge': ['German', 'ge.png'], 'tr': ['Türkçe', 'tr.png'], }) settings = Storage( develop = True, migrate = True, title = 'b..', subtitle = 'G