[web2py] Re: ajax_trap=False behavior on ajax loaded component

2017-03-06 Thread LightDot
Perhaps someone can make an alternative suggestion if you explain what exactly does a form do if it isn't trapped by ajax_trap. Does it refresh the page, redirect, something else..? Regards On Friday, March 3, 2017 at 9:38:55 PM UTC+1, Carlos Cesar Caballero wrote: > > Hi, I am using a componen

Re: [web2py] Re: why you should upgrade to web2py 2.13.4

2016-12-28 Thread LightDot
On Saturday, December 24, 2016 at 2:05:53 PM UTC+1, Rodrigo attique santana wrote: > > .. an app created in 2.14 does not run in 2.11. It returns me invalid > request. ... > That's only to be expected. One can create an app in 2.11.x and it should run under later versions of web2py (as it's gu

[web2py] Re: stuck up on Deployment on CentOS 6.7

2016-05-21 Thread LightDot
by the OS? That would simplify your sysadmin life a lot. Regards On Friday, May 20, 2016 at 12:09:24 PM UTC+2, Rahul wrote: > > Hey LightDot, >Thats correct I have manually installed Apache2. However I also > have python2.7.11(I guess that is the latest one) installed in

[web2py] Re: stuck up on Deployment on CentOS 6.7

2016-05-20 Thread LightDot
Go for 3. Two caveats: - apache installed in /usr/local/apache2 is not a part of CentOS distribution. It must have been installed manually at some point - if you're using python provided by the OS, you'll be stuck on this last version of web2py. Web2py > 2.14.6 isn't python 2.6 compatible anymor

[web2py] Re: How to add payment integration in web2py?

2016-04-26 Thread LightDot
On Tuesday, April 26, 2016 at 9:10:32 PM UTC+2, Dave S wrote: > > On Tuesday, April 26, 2016 at 11:37:58 AM UTC-7, Steve Joe wrote: >> >> But the code for stripe is only for credit cards. What about debit cards >> and net banking? > > > I would expect it to cover debit cards that have the Visa or

[web2py] Re: CMS WEB2PY

2016-02-19 Thread LightDot
You're comparing two different categories. Web2py is a programming framework, Mezzanine is a CMS. Web2py is a tool you would use to build a CMS like a Mezzanine (same as Django is used in this particular case). In other words, what you should be comparing is Web2py vs Django, not web2py vs proj

[web2py] Re: Web2py-appreport

2016-02-12 Thread LightDot
I've been using it in production for years, generating quite a few pdfs daily. If I remember correctly, I made only minor modifications for my needs. Can't help with your issue though. Regards On Friday, February 12, 2016 at 1:05:22 PM UTC+1, Anthony Smith wrote: > > Hi, > I gather this plugin

Re: [web2py] Upgrading to the latest version

2015-06-23 Thread LightDot
On Tuesday, June 23, 2015 at 1:28:11 PM UTC+2, Vinicius Assef wrote: > > Besides that, I would copy the files under static folder that comes with > the welcome application. > > Sometimes there’s some update in web2py.js, etc. > > IMHO, that's not a prudent advice, especially not to inexperienced

[web2py] Re: New web2py user with some questions/need for advice

2015-05-18 Thread LightDot
Well, with the information given, I would opt for using web2py's scheduler for the background tasks and ajax on the client side. I would probably try to add records to the database as needed, rather than new tables. Database records and resident files can be later pruned by another scheduler tas

[web2py] Re: Cron-like job

2015-04-14 Thread LightDot
If "periodically from the time of saving" is a must and you also need to refresh the data changes in real time, not, for example, retroactively, once per hour, then I suggest using the web2py's Scheduler. It's in the 4th chapter of the book. Otherwise a regular system's cron job would be enough.

[web2py] Re: Can we disable moderation in the group?

2015-03-12 Thread LightDot
I have some experience in moderating Googlegroups, stumbled on everything from regular bots to some determined individuals with personal issues. The most efficient policy was to moderate the new users and approve them after the first post. Everything else was a gamble and the spam got trough. T

[web2py] Re: IMPORTANT - DROPPING SUPPORT FOR PYTHON 2.5?

2015-03-11 Thread LightDot
RHEL 5 (and naturally CentOS 5 etc.) ship with python 2.4.3, that's already water under the bridge as far ar web2py goes. Keeping python 2.6 compatibility for a good while longer would be greatly appreciated - we have quite a few production apps on RHEL 6 / Scientific Linux 6, but python 2.5 is

[web2py] Re: Off Topic - Webix

2014-12-25 Thread LightDot
There is a bunch of nice projects out there and so little time to keep track of everything. Could you please write a couple of sentences about what is the project especially good at it and how does it relate to web2py? Did you use it with web2py? Also, I saw pricing on their page but a quick lo

[web2py] Re: new feature in trunk: TODO panel in admin editor

2014-12-21 Thread LightDot
Didn't have time to take look yet, but If I understand correctly, just make a comment in any .py file, starting with TODO and it will show in the panel. This is similar to e.g. Sublime text's SublimeTODO plugin and others... I suggest looking at those for ideas, e.g. SublimeTODO shows comments

[web2py] Re: web2py deployment: Apache, Nginx and Plesk Panel

2014-11-14 Thread LightDot
1:41:25 AM UTC+1, lesssugar wrote: > > @LightDot, thanks for your reply. I agree that the first, clean option is > the way to go. > > So, I am trying to make web2py work on Apache, keeping access to Plesk. I > will try to make this post up to date, in case anyone has similar iss

[web2py] Re: web2py deployment: Apache, Nginx and Plesk Panel

2014-11-13 Thread LightDot
We've been running Plesk on our servers for more than a decade now but I'm afraid I don't have a ready-made & tested solution for Plesk and web2py. We're phasing Plesk out and a large part of our hosting infrastructure has been moved to a custom solution that's better suited for web2py too, amon

Re: [web2py] Re: web2py trunk is broken??

2014-10-08 Thread LightDot
Googlecode and Github repos are equal, there are no plans to abandon either one, AFAIK. I'll raise this up on the devel list. I just pulled from both, made a diff and there really is a problem at the moment. I'll report the issue in a bit. This happened a couple of times in the past and was alw

[web2py] Re: is there w2p script for letting users drag table data to set the order they want?

2014-09-29 Thread LightDot
There's S-cubism's Table Permuter: http://dev.s-cubism.com/plugin_tablepermuter On Monday, September 29, 2014 6:27:41 PM UTC+2, Alex Glaros wrote: > > for example, script would let user prioritize most important projects by > dragging them higher on the window than other projects. > > if there i

Re: [web2py] Re: ssl certificate?

2014-09-15 Thread LightDot
In my experience, startssl staff manually checks the site for which the certificate is requested for (non)commercial content. Some borderline sites pass, some don't. If this is for web2py.com itself, I think there shouldn't be any issues. For non-free certificates, various Comodo, GeoTrust or T

[web2py] Re: Send data to print.

2014-08-10 Thread LightDot
What is the location of the printer? If this is going to be on the client side, then you'll need to open the browser print dialog. You can use javascript to do so, plenty of examples can be found on the web. Regards On Sunday, August 10, 2014 1:20:05 PM UTC+2, Avi A wrote: > > Hi, > I need help

[web2py] Re: web2py vs others. Status of 2014

2014-08-07 Thread LightDot
Bleeding edge in terms of enterprise means something completely different then on a personal device. If they are running CentOS or Red Hat or Scientific Linux then they are a good step towards running a solid enterprise IT system, so good for them. In their case, beeing bleeding edge means test

[web2py] Re: Switch off cookies unless the user logs in?

2014-08-03 Thread LightDot
In the beginning of your controller (e.g.): def index(): if not auth.is_logged_in(): session.forget(response) Regards On Sunday, August 3, 2014 2:11:29 PM UTC+2, Thomas Wimmer wrote: > > How can i switch off (session) cookies unless a user logs in? > > Thanks! > -- Resources: - htt

[web2py] Re: How to remove the symbol. What is the cause of its appearance?

2014-08-02 Thread LightDot
It's a common issue with unicode & python, perhaps this will give you some ideas on how to proceed: http://stackoverflow.com/questions/2153920/returning-the-first-n-characters-of-a-unicode-string Regards On Tuesday, July 29, 2014 6:41:26 PM UTC+2, Капылов Данил wrote: > > Maybe you're right. Bu

[web2py] Re: which web2py version contains the hypermedia api in gluon contrib?

2014-06-23 Thread LightDot
What's a bigger pointer than a big red button called "Git repository" or "Mercurial repository"..? They are right there, on the downloads page... :) Regards On Monday, June 23, 2014 10:43:46 PM UTC+2, greaneym wrote: > > Hi, > > Never mind, I found the version on github. Thanks ( There should

[web2py] Re: PIL library not working with apache 2.2

2014-06-11 Thread LightDot
Show us some code. How are you importing the library, how are you using it? Regards On Wednesday, June 11, 2014 12:16:47 PM UTC+2, Sharjeel Ali Shaukat wrote: > > I m having a problem when running PIL library with apache i always get > this error > global name 'ImageGrab' is not defined > pleas

[web2py] Re: What is a clear procedure to style web2py css files using Bootstrap theme generators/choosers?

2014-05-09 Thread LightDot
have to use the responsive features or even load the bootstrap-responsive.min.css, it's optional. Regards On Friday, May 9, 2014 5:24:23 PM UTC+2, JoeCodeswell wrote: > > Dear LightDot and Ari, > > Thanks for the responses. The situation is getting clearer in my mind. > &g

[web2py] Re: apply static html/graphic to layout template

2014-05-07 Thread LightDot
I don't think there is a straight definitive answer to what you're asking. It depends on the expertise and preference of both the designer and the web2py developer you'll end up working with. Since you already have the design made, I would proceed with looking for a web2py developer and then as

[web2py] Re: What is a clear procedure to style web2py css files using Bootstrap theme generators/choosers?

2014-05-07 Thread LightDot
The three bars in the upper right of your Firefox are a part of the browser, not your page. That's how the recent Firefox menu looks like. The web2py welcome app currently comes with Bootstrap 2, not 3. If you wish to use a bootswatch theme or any similar, you'll need to use an older, Bootstrap

[web2py] Re: 2.7 support up to 2020

2014-04-22 Thread LightDot
That's good news. Red Hat was already going to support it until 2024 (end of RHEL 7 production phase) / 2027 (extended life) anyway, this makes it that much easier for them and everybody else... On Tuesday, April 22, 2014 9:36:58 AM UTC+2, Michele Comitini wrote: > > 2.7 life span doubled: > >

[web2py] Re: Classic Error with Rocket - can't launch web2py any more

2014-04-21 Thread LightDot
The error is pretty self-explanatory. Another service (or another instance of the same one) is already using port 8000. So, the solution is to: - find out which service is it (execute the command 'netstat -lnptu' in your terminal) - shut that service down. BTW, installing or uninstalling clama

[web2py] Re: 500 Internal Server Error under CentOS Apache and Web2py 2.9.5

2014-04-21 Thread LightDot
You use /opt/web-apps/web2py_2.9.5/ in one place and /opt/web-apps/web2py/ in other places. Besides, you should copy the wsgihandler.py into the web2py directory, don't call the file directly from handlers... (unless you've modified the paths within, but running directly from handlers isn't a r

Re: [web2py] Nginx/passenger/web2py -> 504 Gateway Timeout?

2014-04-17 Thread LightDot
onfiguration > issue... It is just that I have no clue where to look :( > > On Wednesday, April 16, 2014 12:59:36 PM UTC+2, LightDot wrote: >> >> So, I would say this is a configuration issue... But I'm not sure what's >> the problem. @Krzysztof, when you say y

[web2py] Re: Newbie print question

2014-04-17 Thread LightDot
I think there is a bit of vocabulary mismatch happening here. I assume you, by "print", mean displaying generated html in the browser? In that case, please be more specific about what exactly you want removed or altered. Show us your code or a screenshot and state *exactly* what's the issue. R

[web2py] Re: Hosting separate web2py application and PHP application on same apache fedora server

2014-04-16 Thread LightDot
AM UTC+2, sonu kumar wrote: > > When I open my catdb application on web it says browser could not find... > there is one php.conf file in /etc/httpd/conf.d/ > > my php application is totally independent of web2py application... > > On Wednesday, 16 April 2014 17:45:35 UTC-7,

[web2py] Re: Hosting separate web2py application and PHP application on same apache fedora server

2014-04-16 Thread LightDot
On Wednesday, 16 April 2014 17:04:58 UTC-7, LightDot wrote: >> >> First thing that jumps at me is the "Deny from all" directive in your PHP >> vhost... The other things I notice are the typos: you have catdb subdomain, >> catpdb document root and caspdb directory.

[web2py] Re: Hosting separate web2py application and PHP application on same apache fedora server

2014-04-16 Thread LightDot
First thing that jumps at me is the "Deny from all" directive in your PHP vhost... The other things I notice are the typos: you have catdb subdomain, catpdb document root and caspdb directory. At least one of those is a clear typo. Apache logs are quite helpful with these stuff. Regards On Th

Re: [web2py] Nginx/passenger/web2py -> 504 Gateway Timeout?

2014-04-16 Thread LightDot
I use apache and mod_passenger (Scientific Linux 6.x / EPEL) on a couple of high traffic web2py apps, works like a charm. Passenger is really neat, I'm testing an unified solution that provides python, nodejs and ruby support with seamless passtrough for PHP / HTML / static files. Apart of conf

[web2py] Re: deployment error

2014-04-15 Thread LightDot
Hmm, no... for example, on our servers, setting file permissions of a CGI script to 777 will prevent it from working as a security measure. So, file ownership or permissions are still first things that come to mind. Create a new app from scratch (as you say, this works) and upload/extract a zip

[web2py] Re: Pyston

2014-04-12 Thread LightDot
On Friday, April 11, 2014 9:18:30 PM UTC+2, Joe Barnhart wrote: > > It's Pyston! Guido works at Dropbox, so any new revolutionary Python > system from there is likely to carry his stamp on it. He has seemed > impressed by PyPy in the past, but always a little distant. I think this > is what h

[web2py] Re: Help defining architecture for app

2014-04-04 Thread LightDot
On Friday, April 4, 2014 7:14:39 PM UTC+2, Francisco Betancourt wrote: > > Hello LightDot > > Thanks for the interest in my post, hope we can come up with a way to > improve performance. This is my current setup: > > >- Host: Digital Ocean (and yes I do think thei

[web2py] Re: Help defining architecture for app

2014-04-04 Thread LightDot
It would be prudent to see some numbers and to learn about your setup more... So, what is your current setup like? Which web server are you using, which database? How much simultaneous db connections are we talking about? Digital Ocean is using KVM virtualization, correct? How is you memory us

[web2py] Re: Major issue with request separation

2014-04-03 Thread LightDot
Clients need to be uniquely identified, then you can track and return content to them accordingly. So, you need some form of authentication / identification / authorization. Web2py has access control built in and this might provide all you need to get you started. Regards On Wednesday, April 2

[web2py] Re: Best way for using CSS variables with web2py ?

2014-03-23 Thread LightDot
If it's only such variables you're after, you could achieve the same with Less. Anyway, Bootstrap has an official Sass port, see: http://getbootstrap.com/getting-started/ https://github.com/twbs/bootstrap-sass/ Regards -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: howto: ajax call in FORM with signed URL

2014-03-19 Thread LightDot
Try: TD(INPUT(_id='keyword', _name='keyword', _onkeyup="ajax(URL('callback', ['keyword', 'stype'], user_signature=True), 'target');"), _name= "search_type"))) Regards On Wednesday, March 19, 2014 1:59:38 PM UTC+1, Mike Constabel wrote: > > Hi, > > in a form i have > > TD(INPUT(_id='keyword', _n

[web2py] Re: Database access without DAL but with connection pool

2014-03-19 Thread LightDot
Well, if you want to do it without the DAL, there are several options that might just work without any additional code: - check if specific python libs that you'll use for the db connection already provide a similar pooling function, they might - check if the database backend natively provides su

[web2py] Re: REF: Downloading static files with spaces gives an error

2014-03-19 Thread LightDot
Vital parts of information are missing - are the files served by Rocket , Apache, or..? How is the file being downloaded? By a browser request? How is the request formulated, are you following a link or entering the URL by typing it directly? Regards On Wednesday, March 19, 2014 3:24:03 PM UTC

[web2py] Re: Appadmin on 2.9.4

2014-03-15 Thread LightDot
group for answers and if so, what keywords did you use? I'm trying to figure out how should web2py & it's documentation convey the information about this feature better... Regards On Saturday, March 15, 2014 8:12:22 PM UTC+1, LightDot wrote: > > Er... creating folders is N

[web2py] Re: One Step Production Deployment

2014-03-15 Thread LightDot
As I just wrote in another thread: the _2.9.4 comes from *virtual* static asset management. This number will change now and then, as static files get updated, so please don't go creating actual folders for this. This feature is defined with response.static_version, it's in the book and the trou

[web2py] Re: Appadmin on 2.9.4

2014-03-15 Thread LightDot
Er... creating folders is NOT the solution. You don't have any folders missing. The _2.9.4 comes from *virtual* static asset management. This number will change now and then, as static files get updated, so please don't go creating actual folders for this. Search the book and this group for re

[web2py] Re: Bootstrap3 package - help to test

2014-03-14 Thread LightDot
Are you looking for ways to set the required css class for the table itself or anything more? For example, you can manipulate the DOM for the table class. It's not a perfect approach, but should do for the time being: grid = SQLFORM.grid (...code...) grid.element('table', replace=lambda el: el.

[web2py] Re: Understanding translation and accept-language header?

2014-03-14 Thread LightDot
I'm less familiar with the translation parts of web2py that I'd like to be, but is this connected with the definitions of: '!langcode!': 'en-us', '!langname!': 'English (US)', that can be found in languages/default.py? Regards On Friday, March 14, 2014 8:39:21 PM UTC+1, User wrote: > > I'd re

[web2py] Re: web2py on Mac OS Mavericks, trying to use port 80

2014-03-14 Thread LightDot
Hello Manuel, welcome to the list. The issue you're seeing is not a bug, it's a feature of the OS or, rather, of it's security settings. The same behavior can be observed on Linux, FreeBSD, Solaris, ... any UN*X OS basically: non root users can't bind to ports below 1024. This limit can be cha

[web2py] Re: Verbatim Tag

2014-03-14 Thread LightDot
Hi Massmo, On Friday, March 14, 2014 2:46:58 PM UTC+1, Massimo Di Pierro wrote: > > {{data.message + " world!"}} > > should be > > {{= data.message + " world!"}} > No... this part is fictional AngularJS code, just meant as an example. I think you're missing the point of this thread, and that is

[web2py] Re: Images not showed on linux

2014-03-12 Thread LightDot
First thing that comes to mind is that Linux is case sensitive, while Windows is not. So ../Silos/static is different then ../silos/static/... etc. If not, then please provide the actual errors displayed and/or server logs... There must be an error, "no images showed" doesn't tell us much. Reg

Re: [web2py] Re: recaptcha doesn't work in a component (LOAD)

2014-03-06 Thread LightDot
Well, if people want to use ajax for the recaptcha, they can make a load component out of it. I think that the parameter really is redundant... Anyway, thanks for spotting & fixing this. Regards On Thursday, March 6, 2014 11:56:40 AM UTC+1, Tim Richardson wrote: > > > > On Thursday, 6 March 20

[web2py] Re: web2py official site erroneously displays mobile view from google search

2014-03-04 Thread LightDot
t;> then also show the size in the lower right of my browser so I can see when >> it kicks over to the collapsed menus. >> >> -Jim >> >> >> On Tuesday, March 4, 2014 11:47:26 AM UTC-6, LightDot wrote: >>> >>> Can't reproduce this, tried Chr

[web2py] Re: web2py official site erroneously displays mobile view from google search

2014-03-04 Thread LightDot
Can't reproduce this, tried Chromium 32.0.1.1700.102 and 33.0.1750.117 on Fedora 20 and Chrome 32.0.1700.107m and 33.0.1750.146m on Windows 7, both normal and incognito modes. Google search bar -> top web2py link -> everything is normal, as expected. Regards On Tuesday, March 4, 2014 5:22:11 P

[web2py] Re: Where does Apache HTTP server stores incoming request's data

2014-02-28 Thread LightDot
Well, if files under /var/log/httpd are empty, then apache is either set up not to log anything or it's set up to log to another location. Third possibility would be that it isn't serving requests at all... No way of knowing really, without looking at apache configuration files. How do you have

[web2py] Re: Strange 'SQLTABLE linkto' behaviour

2014-02-26 Thread LightDot
On Wednesday, February 26, 2014 10:44:21 AM UTC+1, mcamel wrote: > > ... > If you agree you can close 1881 ticket. It's not a bug at the code (maybe > at the manual). > > By the way, is it proper to open issues to suggest corrections of the > manual (i have a few)?. > > Thanks. > You can also

[web2py] Re: Submit FORM not working in IE11

2014-02-26 Thread LightDot
Sounds like SSL certs or cookies. I remember once troubleshooting Facebook's OAuth frantically for an hour before I realized my browser had 3rd party cookies blocked. :) Does either of the sites use SSL? If it does, does it have a valid cert or do you need to confirm an exception in your browse

[web2py] Re: HELP with bootstrap 3

2014-02-24 Thread LightDot
o Di Pierro wrote: > > Can you elaborate on the pros and cons? > > On Monday, 24 February 2014 12:31:12 UTC-6, LightDot wrote: >> >> I misunderstood you at first because I was looking at the modernizr too >> much. If the proposal is to put respond.js into stat

[web2py] Re: HELP with bootstrap 3

2014-02-24 Thread LightDot
I misunderstood you at first because I was looking at the modernizr too much. If the proposal is to put respond.js into static/js, and remove modernizr from it, than I'm +1 to that. >> https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4. >> 2/respond.js"> >> >>> https://cdnjs.cloudflar

[web2py] Re: HELP with bootstrap 3

2014-02-24 Thread LightDot
ocal and a comment to enable the cdn version. > > On Monday, February 24, 2014 1:05:13 PM UTC+1, LightDot wrote: >> >> Note to those not reading this group from a web interface: I edited my >> post to fix copy paste typos in the code. This is the correct code again: >&g

[web2py] Re: HELP with bootstrap 3

2014-02-24 Thread LightDot
Note to those not reading this group from a web interface: I edited my post to fix copy paste typos in the code. This is the correct code again: I apologize for the mix up. Regards On Monday, February 24, 2014 12:28:19 PM UTC+1, LightDot wrote: > > How about putting Paolo's bo

[web2py] Re: HELP with bootstrap 3

2014-02-24 Thread LightDot
How about putting Paolo's bootstrap3.py into contrib an have welcome app import it from there? His module provides most of the bootstrap 3 support (forms, navigation, etc.). We could remove all this from core web2py. As for the welcome app static files, these are redundant (leftovers) now and s

[web2py] Re: Change color of grid=SQLFORM.grid(db.abc, user_Signature=False)

2014-02-21 Thread LightDot
Question is a bit vague, yes ;) Like going to a mechanic and saying you want your car fixed, without any additional information and without showing your car. Grid is basically a html table, you have borders, rows, columns, fields, font colors, etc. etc. If your CSS template is overriding the Bo

[web2py] Re: How to schedule a task to run at the same time every day

2014-02-21 Thread LightDot
In "trunk" refers to the development version of web2py. Basically, it means that this feature will be available in the next web2py release, but isn't a part of the current 2.8.2. You can check out web2py from google code or github if you'd like to use it now - keeping in mind that you'll be usin

[web2py] Re: Running a web2py command after sleep

2014-02-17 Thread LightDot
Err... don't do this like you did :) There are some "do's" and "don'ts" in the programming books and you've touched most of the "don'ts" with your code. Use the scheduler: http://web2py.com/books/default/chapter/29/04#Scheduler You'll also most likely be using ajax to poll the database and chec

[web2py] Re: logout error

2014-02-17 Thread LightDot
Keep in mind that redirect() is an equivalent to raising an HTTP(303) exception. In other words, an intentional exception is raised to create a redirect. Looks like it's your own code doing a traceback and creating an error page on every exception, including the cases of the intentional redire

[web2py] Re: Reaching pages by a descriptive pagename

2014-02-10 Thread LightDot
What you're looking for is called a "slug". Web2py makes it really easy, since it already has a validator that can create a slug: http://web2py.com/books/default/chapter/29/07/forms-and-validators?search=is_slug Last time I implemented this was for a concert site, creating a slug from the concer

[web2py] Re: recovering from crash

2014-02-10 Thread LightDot
Sure, shouldn't be complicated either, assuming your database definitions and the actual database structure is the same. Restore your database and it's contents, restore the web2py code and then all that is left is to rebuild the web2py's database metadata. Take a look at fake migrations in the

[web2py] Re: SQLFORM.grid, how to edit non-visible field in the onvalidate function?

2014-02-07 Thread LightDot
Hello Marty, On Saturday, February 8, 2014 6:55:26 AM UTC+1, A36_Marty wrote: > > I've given up on trying hide a field in the grid yet still be able to see > and modify it in the onvalidation route. > > I tried for a few hours to achieve the same via custom forms by using > hidden={'fieldname':v

[web2py] Re: How to reset authentication?

2014-02-07 Thread LightDot
Looks like web2py thinks that your main database structure is different than it really is. With other words, database migrations are broken for your app. That's why auth works if you start with a fresh database and doesn't if you use the existing one. Since you've been replacing one database wi

[web2py] Re: Dreamhost deployment

2014-02-07 Thread LightDot
What kind of access do you have, is it a VPS or a shared hosting, etc.? Did you try their user support? Regards On Friday, February 7, 2014 2:37:08 AM UTC+1, sasogeek wrote: > > how do I install python 2.7 and web2py on dreamhost with a windows > environment? I looked at the dreamhost wiki but

[web2py] Re: Satchless and web2py for e-commerce?

2014-02-04 Thread LightDot
I don't think EStore is using Satchless, or am I missing something... It's late over here, I wouldn't be surprised :) Regards On Wednesday, February 5, 2014 4:00:31 AM UTC+1, samuel bonill wrote: > > yes, look : > > https://github.com/mdipierro/web2py-appliances/tree/master/EStore > > El martes

Re: [web2py] Re: Setting up examples (views/controllers)

2014-02-02 Thread LightDot
Basically, the files you need to have are: applications/kand/controllers/template_examples.py applications/kand/views/template_examples/variables.html Then simply visit http:127.0.0.1/kand/template_examples/variables Post your current directory structure if you can't get it to work. There is no

[web2py] Re: Css cache problem

2014-01-24 Thread LightDot
I saw your original message Don't know why it disappeared, though! I remember there were other similar reports (very seldom, mind you) a while ago, of messages disappearing or not even being posted to the group. I had this happen to me once, perhaps a year ago or so. AFAIK, just a glitch in

[web2py] Re: DAL definition when NOT deployed on localhost ? PythonAnywhere for example...

2014-01-23 Thread LightDot
AFAIK, the server name should be mysql.server, not username.pythonanywhere.com. The rest seems correct, including the username$default for the db name, which might seem odd to some. BTW, localhost is often used for a server name on various hosting providers, meaning that you are making a local

[web2py] Re: Css cache problem

2014-01-18 Thread LightDot
Hi and welcome! If you look at the source of the page in a browser, do you see the static_version inserted as a part of the path to your css? It should be something like /static/_1.1.4/css/somecssfile.css. After a change to 1.1.5, the path should change to /static/_1.1.5/css/somecssfile.css.

[web2py] Re: Bootstrap3 package - help to test

2014-01-15 Thread LightDot
Hm. I expected a flurry of responses by now. I haven't been able to work on this since Christmas, but... come on, anyone?? :) I would think a possibility of Bootstrap 3 and Zorb Foundation 5 welcome apps would draw crowds... Anyway, layout.html: - web2py.css needs minor adjustments as there are

Re: [web2py] Compile app from command line

2014-01-13 Thread LightDot
Looking at your python version, you're running a RHEL 5 (or a derivative, such as CentOS). Just a word of caution if you decide to attempt updating the OS python's version - search the net for previous experiences. It's not straightforward, as other important parts of the OS depend on it (ie. yu

[web2py] Re: How not to update data on live version.

2014-01-12 Thread LightDot
This can be very simple or complex, depending on if you made any changes to the database structure or its access information. Assuming you didn't change anything about your database, the solution is to simply don't upload your applications//databases folder. You really should read about databas

[web2py] Re: wrong version of web2py book on dropbox

2013-12-30 Thread LightDot
My understanding is that: - github repo for the book app has the latest content - the online book app is somewhat regularly updated from the github repo - the pdf is generated only when the actual book gets published. So once the 6th edition gets out, the pdf will reflect this, not before. Regard

[web2py] Re: login crash under 2.8.2

2013-12-24 Thread LightDot
Ok, so you're using one mod_wsgi / web2py instance and map virtualhosts into specific apps within. Looks like a neat solution, but it seems to be problematic in the same way Leonel is describing for the Windows environment. Basically, different virtualhosts under the same WSGIDaemonProcess have

[web2py] Re: login crash under 2.8.2

2013-12-23 Thread LightDot
Apache and mod_wsgi under CentOS 6.x (or any other RHEL derivative, like Scientific Linux) tick like a clock. We us this combo for web2py almost everywhere. Are you using mod_wsgi as a deamon? Have you set up different process groups, users etc. for different virtual hosts? You could post the r

[web2py] Re: auth.is_logged_in(), @auth.requires_signature() behaving ornery in CORS situation

2013-12-21 Thread LightDot
You could also programmatically enforce the usage of ssl across the entire site. Your ajax call would always be https -> https, making CORS redundant... Regards On Saturday, December 21, 2013 3:44:51 PM UTC+1, weheh wrote: > > I am dead in the water trying to make an https ajax call from an htt

[web2py] Re: Can't edit default.py after upgrade to 2.8.2

2013-12-16 Thread LightDot
Hm. It should be looking for "/admin/static/_2.7.3/codemirror/lib/codemirror.css", so _2.7.3 and not -2.7.3. I don't think this dash is a direct typo in the web2py code. A rewrite rule somewhere, regex gone wrong? BTW, the number there is only indirectly related to the web2py version, it isn

[web2py] Re: help-block in Bootstrap forms

2013-12-13 Thread LightDot
Most of the work already done on bootstrap 3, foundation 5, etc. can be reused. The DOM manipulating parts are also bound to be useful - as an example of what can be done, if nothing else. I'm using the plugin_layout_ functionality to keep bootstrap 2 & 3, bootswatch 2 & 3 and foundation 5 play

[web2py] Re: abaut python 2.x and web2py lifetime

2013-12-09 Thread LightDot
If the future python support is the main issue, than I'd say you're worrying without any need. Support for python 2.x won't simply go away in two years, other maintainers will take over if it comes to that. If nothing else, Red Hat has taken on a serious commitment to support python 2.x for a l

[web2py] Re: web2py 2.8.1 -> What would db().select().as_tree()? Has example?

2013-11-28 Thread LightDot
This was announced in this thread: https://groups.google.com/d/msg/web2py/bsGZ4lp-gz4/4olaBq6t7qQJ Regards On Thursday, November 28, 2013 12:26:28 PM UTC+1, Meir wrote: > > Hello! > > Someone could inform the purpose and use of the db()select()as_tree()? > -- Resources: - http://web2py.com - h

[web2py] Re: Theming with Bootswatch

2013-11-05 Thread LightDot
Web2py's Welcome app in trunk already comes with Bootstrap 2.3.2 and 3.0.x is planned for the future. In the mean time, Bootswatch has older versions available at https://github.com/thomaspark/bootswatch/tags so you can download a 2.2.2 version. As you probably know, Bootswatch's css is a drop

[web2py] Re: Web2py freezing on live deployment!

2013-11-04 Thread LightDot
Which version of web2py is it? Are you using gevent or rocket web server? Can you try load testing your devel version and see if you can replicate the issue? You can use something like siege or a similar tool. Regards On Monday, November 4, 2013 4:56:32 PM UTC+1, Andrew Buchan wrote: > > Thank

Re: [web2py] What is inserting '_2.7.3' into my static url's?

2013-11-04 Thread LightDot
The number doesn't really matter. It's supposed to stay the same until a static file's content changes, then it should be changed in order to prevent the browser cache to display the wrong file contents. So it can be 2.7.3 or 19283773.39393.3939393, doesn't matter. How are you using apache? Wit

[web2py] Re: 2.7.4 update leaves admin interface rendering strangely

2013-11-01 Thread LightDot
The admin app now uses response.static_version so your solution is not the most optimal one. If you need a quick fix, I suggest deleting or commenting out the line 48 from current applications/admin/models/0.py, rather than moving the files: https://github.com/web2py/web2py/blob/master/applicat

[web2py] Re: Erro ao criar um campo no postgresql via codigo, e excluir manual...

2013-10-31 Thread LightDot
Could you please post in English? This is an English list and it's impossible to follow either the questions or the answers for all of us that don't speak your language. Thanks and regards On Thursday, October 31, 2013 7:40:42 PM UTC+1, Carlynhos77 wrote: > > ola, percebi fazendo uns testes aq

[web2py] Re: Bootstrap's nav-collapse

2013-10-24 Thread LightDot
What exactly is the problem? Does the downloaded bootstrap behave differently than you expect it to? The bootstrap-responsive.min.css file is missing simply because the customized version includes everything in the basic .css file, it's not an error. Regards On Thursday, October 24, 2013 10:5

[web2py] Re: Code completion: Do I need to install to install web2py from source?

2013-10-20 Thread LightDot
The content of both repositories is identical. I see a trend towards Github due to the ease of use of pull requests for contributions. For checkouts, Googlecode should be just fine. Contributions in the form of diffs/patches attached to the googlecode issues are accepted too, but this seems to b

[web2py] Re: Nothing displayed in edit window

2013-10-20 Thread LightDot
Similar problems have been reported several times in the past week or so. Perhaps one of the other threads already has a solution for your issue? If not, please post your web2py version, if you are using Rocket, OS and browser version and anything else that is different then what's reported in

[web2py] Re: skeleton.css

2013-10-20 Thread LightDot
You seem to be following very old instructions. The skeleton.css used to be a part of the welcome application, but it isn't any more. I strongly suggest following a newer how-to or an up to date web2py book. Regards On Sunday, October 20, 2013 12:05:09 PM UTC+2, Hasanov wrote: > > Hi. I am new

[web2py] Re: gae boilerplate vs web2py

2013-10-17 Thread LightDot
Just to note, Bootstrap is included in the welcome app, not web2py itself. The welcome app is a great starting point and I guess 99% of the web2py users base their applications on it's code. It gives a nice headstart when developing web apps. But web2py itself can also be used with any other CSS

  1   2   3   4   >