[web2py] Help on macos

2022-12-22 Thread Ian W. Scott
I've just moved to mac for my development and am trying to rebuild my (formerly Linux) web2py dev environment. But I've hit a complete dead end: - web2py is generating 500 errors in the browser - there's no log output in the apache logs at all (so no error messages) - none of the db table files

Re: [web2py] Help: Dynamic Chart.js issue

2022-10-16 Thread Silvian “Top 10 Answers” Cedru
Thanks a lot will have a look muratkas...@gmail.com schrieb am Donnerstag, 13. Oktober 2022 um 19:27:16 UTC+7: > Hi, > > There is a good explanation on these links: > https://www.chartjs.org/docs/latest/developers/updates.html > >

Re: [web2py] Help: Dynamic Chart.js issue

2022-10-13 Thread Murat KAŞIKÇIOĞLU
Hi, There is a good explanation on these links: https://www.chartjs.org/docs/latest/developers/updates.html https://stackoverflow.com/questions/17354163/dynamically-update-values-of-a-chartjs-chart and https://codepen.io/statuswoe/pen/kQMLom I think you can call your function with ajax inside

[web2py] Help: Dynamic Chart.js issue

2022-10-02 Thread Silvian “Top 10 Answers” Cedru
Hello everyone, I want to create a dynamic chart using Chart.js with data from the database but I am not really sure how to do that . I have manager to create predefined and filled arrays but I dont know how to make it dynamic I have here my controller code def calc(): teams =

[web2py] Help with project (many to many form or table)

2020-01-17 Thread Juan Gutiérrez
Hello, I'm creating a small project to test the use of web2py. After going through some of the documentation for web2py I've found myself in quite a problem to deal with a many to many insert/update form. The simplified context for the example is this: Model: There are people (person) and each

[web2py] Help with request.args() and SQLFORM.grid(). Error 404

2020-01-14 Thread Juan Gutiérrez
This sounds crazy but I'm getting an error 404 when using in the same function this lines together: test = db.test(request.args(0,cast=int, otherwise=URL('index'))) or redirect(URL('index')) grid = SQLFORM.grid(db(db.test.id == 2), deletable=False, editable=True) When I comment either one of

[web2py] Help understanding memory use and selects

2019-09-02 Thread Ian W. Scott
I'm trying to lower the memory use of an app and have some general questions about how memory is used in DAL selects: 1. Am I right that the memory used while performing the select isn't released right away, even if the select isn't assigned to a variable? 2. I'm aware of iterselect.

Re: [web2py] Help needed with web2py-book app

2018-12-07 Thread Massimo Di Pierro
Merged. Will deploy tomorrow. Excellent and very much appreciated. On Tuesday, 4 December 2018 00:51:53 UTC-8, Nico Zanferrari wrote: > > Yes, the online version of the book is a web2py application - and I've > made it Python 3 compatible with that PR. > > But indeed the content of the book

[web2py] Help with deploy with nginx and ubuntu 18.04

2018-12-06 Thread carlos valdez
Hi, I'm a noob with web2py, I need some help, because I'm trying to put a site online, for a old project developed in web2py 2.9.5. I need use nginx as a app server, I know I need to use uwsgi, but I'm a little confused with the configuration. I used the script

Re: [web2py] Help needed with web2py-book app

2018-12-04 Thread Ari Lion BR Sp
Congrratulations and Thanks, Nico ari / brazil Em terça-feira, 4 de dezembro de 2018 05:51:53 UTC-3, Nico Zanferrari escreveu: > > Yes, the online version of the book is a web2py application - and I've > made it Python 3 compatible with that PR. > > But indeed the content of the book itself is

Re: [web2py] Help needed with web2py-book app

2018-12-04 Thread Nico Zanferrari
Yes, the online version of the book is a web2py application - and I've made it Python 3 compatible with that PR. But indeed the content of the book itself is still mainly Python2-oriented any help is appreciated ;-) Nico Il giorno Lun 3 Dic 2018, 18:17 Marcelo Huerta ha scritto: > El

Re: [web2py] Help needed with web2py-book app

2018-12-03 Thread Marcelo Huerta
El sábado, 24 de noviembre de 2018, 19:48:32 (UTC-3), Nico Zanferrari escribió: > > I'm proud to announce that I've finished the work, and now the web2py book > is python3 compatible, as with PR #395 > It was a hard work for > me, but I've

Re: [web2py] Help needed with web2py-book app

2018-11-24 Thread Nico Zanferrari
Hi, I'm proud to announce that I've finished the work, and now the web2py book is python3 compatible, as with PR #395 It was a hard work for me, but I've learned a lot ;-) Cheers, Nico Il giorno lun 15 ott 2018 alle ore 22:26 Nico Zanferrari ha

Re: [web2py] Help needed with web2py-book app

2018-10-15 Thread Nico Zanferrari
Thank you all, I've finally resolved by using io.open() for the encode problem, and by putting the message in the redirect for bypassing the session.forget() command. Nico Il giorno ven 12 ott 2018 alle ore 21:34 Dave S ha scritto: > > > On Friday, October 12, 2018 at 2:52:44 AM UTC-7, Nico

Re: [web2py] Help needed with web2py-book app

2018-10-12 Thread Dave S
On Friday, October 12, 2018 at 2:52:44 AM UTC-7, Nico Zanferrari wrote: > > Hi Dave! > > On > https://github.com/web2py/web2py-book/blob/master/controllers/default.py > the session.forget() command is on line 10 - and I suppose it's quite > necessary. > > I wonder if that's for development,

Re: [web2py] Help needed with web2py-book app

2018-10-12 Thread Nico Zanferrari
Hi Dave! On https://github.com/web2py/web2py-book/blob/master/controllers/default.py the session.forget() command is on line 10 - and I suppose it's quite necessary. If I change the convert2html function in order to test for import errors: try: from pygments import highlight as

Re: [web2py] Help needed with web2py-book app

2018-10-12 Thread Dave S
On Thursday, October 11, 2018 at 1:29:04 PM UTC-7, Nico Zanferrari wrote: > > Thank you Ben, > > I was looking at the same official page ;-) > It seems that using the io module is the way to go, and it's already used > in pymysql . I'm testing it. > > Nobody has suggestions about the

Re: [web2py] Help needed with web2py-book app

2018-10-11 Thread Nico Zanferrari
Thank you Ben, I was looking at the same official page ;-) It seems that using the io module is the way to go, and it's already used in pymysql . I'm testing it. Nobody has suggestions about the session.foget() and session.flash message? thank you, nico Il giorno gio 11 ott 2018 alle ore

Re: [web2py] Help needed with web2py-book app

2018-10-11 Thread Ben Duncan
Also found this: http://python-future.org/compatible_idioms.html On Thu, Oct 11, 2018 at 10:30 AM Ben Duncan wrote: > Try These suggestions: > > > https://stackoverflow.com/questions/491921/unicode-utf-8-reading-and-writing-to-files-in-python/83 > http://www.evanjones.ca/python-utf8.html >

Re: [web2py] Help needed with web2py-book app

2018-10-11 Thread Ben Duncan
Try These suggestions: https://stackoverflow.com/questions/491921/unicode-utf-8-reading-and-writing-to-files-in-python/83 http://www.evanjones.ca/python-utf8.html On Thu, Oct 11, 2018 at 9:38 AM Nico Zanferrari wrote: > Hi, > > the encode-decode problem on question 1 is mostly related to

Re: [web2py] Help needed with web2py-book app

2018-10-11 Thread Nico Zanferrari
Hi, the encode-decode problem on question 1 is mostly related to the opening of files. For example: filename = os.path.join(FOLDER, subfolder, 'chapters.txt') if PY2: lines = open(filename) else: lines = open(filename, encoding='utf-8') In PY2 there is no option for

Re: [web2py] Help needed with web2py-book app

2018-10-11 Thread Ben Duncan
Exactly what are you running into? I ran into this with my rewrite of of extract extract_pgsql_models.py: .. f['type'] = "'decimal({},{})'".format(f['precision'],f['scale']) had to become f['type'] = "'decimal({0},{1})'".format(f['precision'],f['scale']) And so one. The changes work

[web2py] Help needed with web2py-book app

2018-10-10 Thread Nico Zanferrari
Hello, I'm playing with the web2py-book app, in order to make it python 3 compatible and also to improve it a bit. I have a couple of questions related to default.py: 1. there were some encode-decode errors. I was able to resolve them (see https://github.com/nicozanf/web2py-book for a preview)

[web2py] HELP: Communication error

2018-08-31 Thread Carlos Zenteno
When editing app source from web interface there is a problem while saving ...I'm getting 'Last saved on: communication error' and nothing saved ... tried several times and even re-installed simplejson No luck it was working perfect last night and this morning this happened. Help !! --

[web2py] Help with an error:

2018-08-14 Thread Morganti
Hi guys, I am having the error below: Número do Ticket 187.122.40.48.2018-08-14.20-50-49.b4d5d6f0-071d-4f6b-aec3-1c662eb5ea0c function sum(character varying) does not exist LINE 1: SELECT SUM("ov_home"."valor") FROM "ov_home" WHERE ((("ov_ho... ^ HINT: No function matches the given name and

[web2py] Help with CAS logout

2018-08-01 Thread fiubarc
Hello, I am wanting to implement CAS, but during the tests, when I close session in the "provider" application it does not close the session in the rest of the "consumers" applications. I have several applications distributed on several servers and the CAS application on a separate server.

[web2py] Help a noob - I have run script setup-web2py-nginx-uwsgi-ubuntu.sh, now what?

2018-07-07 Thread William Chen
Hi web2py community, I am a complete noob, so bear with me. I have set up my server on DigitalOcean, set up my SSH and user permissions, and run the following script successfully: cd ~/ wget https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh chmod

[web2py] Help with cascading drop down list

2018-02-08 Thread 'Matthew J Watts' via web2py-users
Hi community I'm having a few problems trying to understand how create a cascading drop down list. I've followed this tutorial - http://www.web2pyslices.com/slice/show/1526/cascading-drop-down-lists-with-ajax-2 i've managed to adapt it slightly, but i'm having trouble trying to add more

Re: [web2py] Help with icons

2017-12-04 Thread Richard Vézina
I think this can be fix in web2py.js .fire() : /* Triggers an event on an element and returns false if the event result is false */ fire: function (obj, type, data, target) { var event = $.Event(type, { 'containerTarget': $('#' + target)[0]

Re: [web2py] Help with icons

2017-12-04 Thread Richard Vézina
I don't see much of icon stuff in widget.py and validators.py... There is also one thing that bug me with custom widget when you want to use bts "add-on" or semantic ui "label" : $ .00 You have to handle error message that get inserted before the div ui label stuff with js... It would be better

Re: [web2py] Help with icons

2017-12-04 Thread Richard Vézina
Hello Massimo, Whit font-awesome 3.2.1 it was drop in replace, sadly they change their way how to hook icons... I think we should suggest to pass them more than include them in the core code there is these settings for instance which is good : # jQuery UI ThemeRoller classes (empty if

[web2py] Help with icons

2017-12-03 Thread Massimo Di Pierro
In the old days of BS2 we used "icon icon-{name}" for icons. then to support BS3 we also added "glyphicon glyphicon-{name}". now we use BS4 and there are no more icons we have to use Font Awesome so we should add "fa fa-{name}". I can easily add this to sqlhtml.py and we will all be fine but

[web2py] Help with python classes...

2017-10-27 Thread António Ramos
Hello i'm blocked so i need your opinion I have many groups of Objects. Each group has some fields. Each field has 3 functions: visible,init and disabled. I'm coding something like main.py from all_fields import * all_fields.py Class Load_fields: def f1(): this field should

[web2py] Help - Grid with left joins and sending arguments/variables to other functions

2017-07-19 Thread 'Matthew J Watts' via web2py-users
Hi all I'm having some problems trying to achieve the following I have a grid with left joins which selects a subset of entries in my database -(query between 3 tables) Once i get the desired result, i want to be able to set up links within the table that then send the id from each row

[web2py] Help with building query functions in a web app - links to tutorials etc

2017-04-29 Thread 'Matthew J Watts' via web2py-users
Hi there everyone! I'm new to Web2py, i'm really enjoying using the framework so far. I am trying to rebuild a legacy database. I want to produce a web app that can query data from multiple tables using drop down boxes e.g. locations, species etc.. I want to be able to select info using

[web2py] Help with creating a Select within the Web2Py DAL for a SQL query that uses an 'exists' clause

2017-04-21 Thread George D Elig
I have a simple SQL query that pulls a column value from a secondary table, based on a ID being equal in both tables. The query uses an exists clause on a subquery. select sites.domain_name, batch.batch_name from sites, batch where exists (select batch.id from batch where

[web2py] Help! I need to show a short name of languages in a dropdown

2017-03-01 Thread Yoel Baez
How can I show a short name of the languages in a dropdow? I updated the languages files, but not working... Ej. "English (US)" = "EN" "Español" = "ES" --

[web2py] Help at counting comments of a post and restrict access to certain categories

2017-01-16 Thread 'N. Fischer' via web2py-users
Hi all, I am currently working with a friend on a web2py project. This is our first time, we do anything with web2py and we managed to build the reddit clone and do little improvements, Massimo Di Pierro did in his video tutorials, thank you at this point for your great videos. Now we want to

[web2py] Help needed simplifying creation of response.menu 4-tuple

2017-01-08 Thread Terrence Brannon
I attempted to simplify creation of the response.menu list of tuples by the following function: def menu_item(menu_item_text, url, sub_menu=None, ignore=False): # First element of tuple is the text of the meny item. retval = list(menu_item_text) # Second element of the tuple

[web2py] Help writing my first Web APP using Web2py

2016-12-28 Thread Sif Baksh
I’m trying to use web2py to create a program for some of my buddies, it’s called “Home Run Derby”. Each member will pick 6 baseball players, only the top 5 score will count as a total score for each member. Now I get the players name, team and HR by scraping a website and put it in a CSV

[web2py] help,passing java script variable using ajax

2016-12-28 Thread nishanta sarma
function my_function() { var val = 'val'; ajax('{{=URL('default','other' vars = {'key':val})}}',[],'target')"/>; } 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

[web2py] Help about html helper composition

2016-12-06 Thread António Ramos
I have an error in the next code and cant see the problem. I would appreciate some help here. thanks {{for x in kpi:}} {{=DIV(DIV(H3("???"),P(x["waiting"]),_class="inner"),DIV(I(_class="fa fa-hourglass-end"),_class="icon"),A(T("Please wait..."),_class="small-box-footer"),_class="small-box

[web2py] Help with App memory usage

2016-10-13 Thread daniel
Hello im an developing an opensource POS (link ) using web2py, everything is fine except that on my development environment and in a production server, my app memory usage grows without limits, it does not crash the server however sometimes i

[web2py] Help needed to understand/utilise a CSS element

2016-10-02 Thread Peter
Would anyone haver time to explain briefly how to utilise this CSS code. /* Global Event Styles */ .fc-event, .fc-agenda .fc-event-time, .fc-event a { border-style: solid; border-color: #36c; /* default BORDER

[web2py] Help with Patterns

2016-08-28 Thread Diego Marinho
I have this pattern: "/jobs/year-start/{jobs.year_start.year}/amount-range-id/{jobs.amount_range_id}/neighbourhood-id/{jobs.neighbourhood_id}" I have tree fields that im using to filter the 'jobs' table. How can i make those filters optional? Let's say i want to use only two of the tree

[web2py] Help with setting up apps with virutualenv and nginx

2016-07-14 Thread Jason Solack
Hello all, I am trying to get my head around setting up apps with virtual env on my server running nginx. i have found this: http://www.web2pyslices.com/slice/show/1464/setting-up-web2py-in-a-virtual-environment but i am not able to make the connection between running web2py locally and

[web2py] Help with memory leak

2016-06-18 Thread DNeuman
I'm having trouble running Web2py on Mac OS X 10.11.5 El Capitan - the memory consumed by Web2Py just keeps growing. Left overnight it crashes my application, corrupts my tables, and creates an unrecoverable mess. I have uninstalled, and loaded a new download. This didn't work. Running from a

[web2py] help setup nssm services in windows

2016-04-19 Thread Jason Solack
Hello all, I'm trying to setup a service in windows to utilize the scheduler. I found this: http://www.web2pyslices.com/slice/show/1614/nssm-webserver-and-scheduler-as-services-in-windows-oses but the version of NSSM is different than the version shown in the example above. I have path

[web2py] Help with displaying content from my database table

2016-03-02 Thread henry
So I have my table (as seen below) and I want to make it display in the view below but I don't want it to show all the records, just the records with the same 'auth_user.teacher_id' as the currently logged in user. How would I do this? My Controller: def default_obs(): obs =

[web2py] Help with deployment

2015-12-23 Thread Alfonso Serra
Im trying to mount a fresh web2py in a hosting with mod_python, i dont have shell access, only ftp and htaccess editing. Steps ive done: 1. Unzip web2py in my hard drive and execute rocket server to create deposit, logs folders and parameters_80.py (password and port 80) 2. Delete all

[web2py] Help with custom widget for list:reference field

2015-12-02 Thread Carlos Cesar Caballero Díaz
Hi, I am working in a plugin (based in the Tim Richardson ckeditor4 plugin galley) for creating a global media galley for web2py applications (some functionality like the wordpress and other cms galleys), it is in https://github.com/daxslab/web2py-media-galley. If you look at the functions

[web2py] help on sessions

2015-09-05 Thread dirman
is it possible to delete or clear an item in session.cart.items() ? -- 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

[web2py] help on form button inner text

2015-09-05 Thread dirman
i need help here this works fine with form input form.element('input[type=submit]')['_value']='Go!' but this does not output the inner text on form button form.element('button[type=submit]')['_submit_button']='Go!' -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Help with MSSQL Connection

2015-06-30 Thread Massimiliano
Hello, I've a problem with odbc. I'm developing on OSX 10.10.3 and I found some problems connecting to sql server express 2005 I'm tried few things 1. I installed pyodbc and web2py said: Version 2.10.4-stable+timestamp.2015.04.26.15.11.54 Database drivers available: psycopg2, pymysql,

[web2py] Help/documentation on auth.wiki

2015-06-29 Thread St. Pirsch
Hi, I'am trying to get familiar with the auth.wiki, which I think is great to use for simple cms tasks. The documentation in the book is a bit short, a least from the perspective of a novice. I couldn't find much more information on auth.wiki here nor elsewhere. Maybe it would help other

[web2py] Help with two python operators

2015-03-28 Thread Paul McDonald
In the web2py Application Development Cookbook: page 69 the | operator alphabetical = User.first_name|User.last_name *← | what is this doing??* page 82 the = operator if not form: # search flatpage according to the current request query = db.flatpage.c==request.controller

[web2py] Help with two Python operators

2015-03-28 Thread Paul McDonald
In the Web2py Application Development Cookbook: p82the = operators if not form: # search flatpage according to the current request query = db.flatpage.c==request.controller query = db.flatpage.f==request.function *- what is going on here?* if request.args: query =

[web2py] Help deleting a row when using components LOAD

2015-03-07 Thread niki
hi everyone, So i have two components on my page. I can insert comments on my components just fine. However i am trying to allow my users to delete a comment they have inserted. I am not sure how to go about it. Somebody please help it will be appreciated. This is what i have. *In

[web2py] Help deleting a row when using components LOAD

2015-03-07 Thread Ron Chatterjee
U can use the dictionary (or table) as a list n use regular python syntex for list. Like li =['a', 'b']; n then do li.remove ('a'). Ur table a dictionary in python. Db (table.field) r dictionaries. But, u can use [] to make it a list I belive or use select method a pass as a set n then

[web2py] Help using aliasnames instead of real names on my app

2015-02-20 Thread niki
hi, I have an app that allows people to login in using their Facebook credentials. However i want them to be able to choose if they want to use their real Facebook names or just alias names. can somebody break it down for me how i would go about achieving this. Thanks -- Resources: -

Re: [web2py] HELP!! One click upgrade failed for pythonanywhere site

2015-01-21 Thread Philip Kilner
Hi, On 21/01/15 16:13, Omi Chiba wrote: Hi, I clicked the upload on admin and tried to upgrade from 2.4.6 to 2.9.12. As soon as I clicked I got ticket but cannot see the ticket because now I get a ticket to see the ticket... It means I cannot open admin site. My app is still working fine. I

[web2py] HELP!! One click upgrade failed for pythonanywhere site

2015-01-21 Thread Omi Chiba
Hi, I clicked the upload on admin and tried to upgrade from 2.4.6 to 2.9.12. As soon as I clicked I got ticket but cannot see the ticket because now I get a ticket to see the ticket... It means I cannot open admin site. My app is still working fine. I don't where to start to fix. Can you guys

Re: [web2py] Help with web2py on webfaction

2014-11-09 Thread António Ramos
Post a ticket on webfaction , they are very friendly and know about web2py. There is also a script to install web2py. I used it and never had problems so far. 2014-11-08 23:47 GMT+00:00 Hans Soflao hansof...@gmail.com: Can somebody help me with getting web2py app to work with webfaction? This

[web2py] Help with web2py on webfaction

2014-11-08 Thread Hans Soflao
Can somebody help me with getting web2py app to work with webfaction? This is a very simple question I imagine. The way my folders are structured are like this: home/user/webapps/appname. Inside appname folder, there are these folders: apache2, htdocs and web2py. These get created when an app

[web2py] Help in server config

2014-08-30 Thread Carlos Correia
Hi, After migrating a web2py tree with several apps from one server to the other, I found that in the new server I had to put a symbolic link in admin/static to itself with the release name prefixed by an underscore in order to get a normal (css/js) admin interface, i.e., in

[web2py] Help with Application-Specific pattern based routes

2014-08-15 Thread Manuele Pesenti
Hi! Can somebody show me few examples of routes_in and routes_out variables for a pattern based and Application-Specific routes.py file please? Thanks a lot Manuele -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] help

2014-08-05 Thread ROHIT NEGI
Hi I am new to web2py and I'm quite confused as to how I will be able to deploy application on web? Even if I make a web2py app, how will I be able to make a site from it as I'm making apps on the web2py site? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Help! Invalid request when the url has special characters in it. e.g. - abcd%2Bfdf.jpg

2014-07-26 Thread kenny c
I am currently working on generating a jpg file and the filename contains special characters in it. when the link to image file is www.somedomain.com/abcd%2Bfdf.jpg It gives invalid request error. I am currently using request.args to read the filename. I tried to understand routes.py but I

[web2py] Help me stop bashing me head on keyboard...

2014-07-24 Thread Jesse Ferguson
I have a Form that will submit to multiple tables, most items reference items.. For the life of me I cannot figure out how to make the form item not a select box (default behavior). I would like a input/suggest input field and if the input is not in db I would like to add it to DB. If it is in

[web2py] Help building a query to use in SQLFORM.grid

2014-07-20 Thread asumal
Hello everyone, I am having troubles building a query that can be used in SQLFORM.grid. #models db.define_table('boats', Field('category_of_boat'), Field('value_of_boat')) I want to get the the record with the smallest value for each category, but I don't know how to properly use aggregate

[web2py] help with join

2014-07-09 Thread Fabiano Almeida
Hi, I'm trying to do a join table auth_user and auth_membership. I need the list of users with membership.group_id in [2,3,4]. I tried to create a query for membership before the join, but it did not work. Is to make this join? How? Thanks in advance, Fabiano. -- Resources: -

[web2py] Help with the eb2py calendar?

2014-05-21 Thread Cliff Kachinske
Here is what I want to do. I have several divs with date field inside them. It uses the Web2py calendar widget. I want to trap the onSelect event for the calendar widget and trigger an ajax call when that happens. I know I can put a fake submit button next to the calendar widget and trigger

[web2py] help with helper!

2014-05-14 Thread greenpoise
I need help with this helper! I have this a href=index.html title=Homei class=fa-home/i span class= menu-item-parentHome/span/a and I made this: [A(I(SPAN(_class=('menu-item-parent','Home')), _class='fa-home',_title= 'Home',), False, None, []),] I am missing the URL('home) cant get it to

Re: [web2py] help with helper!

2014-05-14 Thread Carlos Costa
Like this A(I(_class=fa-home),SPAN(Home,_class=menu-item-parent),_href=index.html, _title=Home) 2014-05-14 18:59 GMT-03:00 greenpoise danel.sega...@gmail.com: I need help with this helper! I have this a href=index.html title=Homei class=fa-home/i span class= menu-item-parentHome/span/a

Re: [web2py] help with helper!

2014-05-14 Thread greenpoise
I tried this but didnt work. I am using it in the menu section Thanks On Wednesday, May 14, 2014 3:59:19 PM UTC-7, yamandu wrote: Like this A(I(_class=fa-home),SPAN(Home,_class=menu-item-parent),_href=index.html, _title=Home) 2014-05-14 18:59 GMT-03:00 greenpoise

[web2py] Help with a helper!

2014-05-14 Thread Danel Segarra
I cant get this one: a href=index.html title=Homei class=fa-home/i span class= menu-item-parentHome/span/a I have this so far: [A(I(SPAN(_class=('menu-item-parent','Home')), _class='fa-home',_title= 'Home',), False, None, []),] I am missing the URL part. Dont know where it goes! Thanks --

Re: [web2py] help with helper!

2014-05-14 Thread Carlos Costa
Are you using it in the MENU helper? 2014-05-14 20:14 GMT-03:00 greenpoise danel.sega...@gmail.com: I tried this but didnt work. I am using it in the menu section Thanks On Wednesday, May 14, 2014 3:59:19 PM UTC-7, yamandu wrote: Like this

Re: [web2py] HELP: REST service problem when api in remote server.

2014-05-02 Thread Richard Vézina
Hello Charles, I think you miss the views in prod for your parser controller and api function... http://web2py.com/books/default/chapter/29/10/services?search=generic#Generic-views For security reasons the generic views are only allowed to be accessed on localhost. In order to enable the

[web2py] Help defining architecture for app

2014-04-02 Thread Francisco Betancourt
Hello everyone. I need some help defining the architecture for an application. We already have something in place, but the size of the the users data files is making the site very unresponsive. The app works as follows: 1. The user uploads a csv file 2. The user file is read to a table

[web2py] Help with SQL Query without using executesql preferably :)

2014-03-10 Thread brahama von
This is the result i get from a simple select like this: legacy_db(legacy_db.cursodado.gp_pro_id==course).select() cursodado.gp_id cursodado.gp_pro_id cursodado.gp_historicdate cursodado.gp_curso_id 10003600042014-01-27 16:02:10None 10003600042014-01-27 17:18:31None 10003600042014-01-27

Re: [web2py] help with jsonrpc

2014-03-03 Thread Dave S
On Saturday, March 1, 2014 4:34:42 PM UTC-8, Trevor Overman wrote: Finally got things working. For anyone out there reading this, I fixed the problem by utilizing urlfetch in GAE. Works with curl, or works with your Android app? In either case, thanks for the update! /dps

[web2py] help with jsonrpc

2014-03-01 Thread Trevor Overman
So I'm trying to connect an android application to my web2py website back end database by using json remote procedure calls. Currently, I am trying to make a simple test function to remotely add entries in the db. Additionally, I am running on GAE. What I have right now is: db.py

Re: [web2py] help with jsonrpc

2014-03-01 Thread Jonathan Lundell
On 1 Mar 2014, at 11:46 AM, Trevor Overman trover...@gmail.com wrote: So I'm trying to connect an android application to my web2py website back end database by using json remote procedure calls. Currently, I am trying to make a simple test function to remotely add entries in the db.

Re: [web2py] help with jsonrpc

2014-03-01 Thread Trevor Overman
Finally got things working. For anyone out there reading this, I fixed the problem by utilizing urlfetch in GAE. @service.jsonrpc def test_add(a,b): number_sum = a+b db.testing.insert(number_sum=number_sum) return a+b def test(): from gluon.contrib.simplejsonrpc import

[web2py] HELP with bootstrap 3

2014-02-23 Thread Massimo Di Pierro
Urgent. We need help fixing the bootstrap 3 menu in welcome in trunk. Can it be done without changing any python code, except perhaps the MENU helper? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] help with request

2014-01-10 Thread Tarun Kumar
Hi! people I am new to web2py and web development. I am a bit confused about the request object. In its variables which can be accessed by request.vars.variable_name are the values stored only for the most recent request or for all the past requests. Considering the example given in web2py

Re: [web2py] help with request

2014-01-10 Thread Jonathan Lundell
On 10 Jan 2014, at 12:16 AM, Tarun Kumar reach.tarun.h...@gmail.com wrote: Hi! people I am new to web2py and web development. I am a bit confused about the request object. In its variables which can be accessed by request.vars.variable_name are the values stored only for the most recent

[web2py] Help with query from multiple tables and groupby

2013-12-31 Thread Francisco
Hello Guys (by the way Happy New Year everyone). I'm having a problem writing a query to get product details, price and only one image for every product. I have tables like this: *db.define_table('price_lists'* *Field('name')* *)* *db.define_table('products',* *Field('name'),* *

[web2py] Help me understand how to create a search

2013-12-23 Thread Keith Planer
I'm new to web2py, and Python. I created a database, and I want to create a page where I can return records from a table of people, using their first and last names as search terms. What I have so far is: def patient_lookup(): #form = SQLFORM.grid(db.consumer, deletable = True)

Re: [web2py] Help me understand how to create a search

2013-12-23 Thread Marco Mansilla
El Mon, 23 Dec 2013 13:08:20 -0800 (PST) Keith Planer kwplan...@gmail.com escribió: I'm new to web2py, and Python. I created a database, and I want to create a page where I can return records from a table of people, using their first and last names as search terms. What I have so far is:

[web2py] Re: web2py help

2013-12-12 Thread 黄祥
1. When the user perform a successful register process, i need to perform an insert of that user in a new table. Not sure where i can embed this process please take a look at the book for record versioning ref:

[web2py] help-block in Bootstrap forms

2013-12-12 Thread Annet
Some field definitions in my models have comments, which in a Bootstrap form are being displayed in a help-block. The problem is that this help-block span class=help-blockmy comment/span is added to every form field, resulting in 20 px of extra padding between form fields, margin-bottom: 10px

Re: [web2py] web2py help

2013-12-11 Thread Johann Spies
On 9 December 2013 22:19, Michel Hayek mic...@agileprecis.net wrote: Hey guys, i need your help i'm new to web2py and trying to use all its features. i need help in 2 things You will get better help if you post the code of what you have tried so far. Did you browse or read the book

[web2py] web2py help

2013-12-09 Thread Michel Hayek
Hey guys, i need your help i'm new to web2py and trying to use all its features. i need help in 2 things 1. When the user perform a successful register process, i need to perform an insert of that user in a new table. Not sure where i can embed this process 2. After the admin

Re: [web2py] Help me test model subfolders

2013-10-22 Thread Johann Spies
On 21 October 2013 21:28, Massimo Di Pierro massimo.dipie...@gmail.comwrote: I do not understand. You have r'^\db\.py$', shouldn't this be? r'^db\.py$', Yes it should be. Thanks. But that does not make any difference to the result: python web2py.py -M -S nkb/akb web2py Web

Re: [web2py] Help me test model subfolders

2013-10-22 Thread Johann Spies
Thanks Anthony and Massimo for *Revision:* *5a3f2701b077 *in the trunk a few hours ago. That fixed the problem for me. Both admin and the app works as expected. Regards Johann On 22 October 2013 08:26, Johann Spies johann.sp...@gmail.com wrote: On 21 October 2013 21:28, Massimo Di Pierro

[web2py] Help with production deployment on virtual server

2013-10-22 Thread curiouslearn
I want to get web2py running on a Digital Ocean virtual server with nginx and uWSGI. I followed the instructions on deployment recipes in Web2py book, but things are not working. The following are the differences between the instructions given in the book and my specific case. *Differences

Re: [web2py] Help me test model subfolders

2013-10-21 Thread Johann Spies
Hallo Massimo, There is a problem with sorting of model subfolders in 2.7.2. We made some changes in trunk. After this morning's updates from the trunk I got problems for the first time which reflected a sorting problem: Traceback (most recent call last): File

Re: [web2py] Help me test model subfolders

2013-10-21 Thread Johann Spies
On 21 October 2013 11:20, Johann Spies johann.sp...@gmail.com wrote: In the end I go the app working again by doing: hg rename db.py 0db.py hg rename dbcommon.py 0dbcommon.py I have talked too soon. The admin interface works with this setup but still not the app itself. I will have to

Re: [web2py] Help me test model subfolders

2013-10-21 Thread Johann Spies
It seems that when the app is working, the admin interface does not and vice versa. I went back to last weeks version (Version 2.7.4-stable+timestamp.2013.10.16.09.10.20) and the error is still the same. So the problem was not with this morning's edition. I just did not use the admin interface

  1   2   3   4   >