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

2014-06-23 Thread greaneym
Hi, Never mind, I found the version on github. Thanks ( There should probably be a pointer from the downloads page on the main web2py site to github ). Margaret On Monday, June 23, 2014 10:42:32 AM UTC-5, greaneym wrote: > > Hello, > > I am interested in testing the hypermedia

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

2014-06-23 Thread greaneym
Hello, I am interested in testing the hypermedia collectionjs combination in web2py. I downloaded 2.9.5-trunk+timestamp.2014.03.29.21.54.41 but it's not in the gluon/contrib. which version should I download to test please? thanks -- Resources: - http://web2py.com - http://web2py.com/book (Do

[web2py] Re: uploading a csv file and read it with python module pandas

2014-03-20 Thread greaneym
Gastron, try using read_csv instead of read.csv? data = read_csv('csvfiles/train.csv') this syntax works for me. Margaret On Wednesday, March 19, 2014 8:50:15 AM UTC-5, Gaston wrote: > > I am statistician and new in web2py. > I tried to build an application that allows users to: > >- uploa

[web2py] Re: json error when trying mongo slice

2014-02-06 Thread greaneym
thanks, this works well. I should have tried that. This is a nice application. On Thursday, February 6, 2014 5:47:27 AM UTC-6, Alan Etkin wrote: > > this kind of entry: >> { u'counter':3, u'now':'2014:05-02 13:00:00' ) >> >> the web2py manual shows this kind of entry: >> { 'counter':3, 'now':'201

[web2py] json error when trying mongo slice

2014-02-05 Thread greaneym
Hi, I am trying out the slice by Alan Etkin that demonstrates the use of the mongodb adapter. Everything works ok, but when I try to enter the description part of the form and the description should be in json format, it returns "invalid JSON". Here are two examples of what I entered for the des

[web2py] Re: questions about using xml files in web2py

2014-01-24 Thread greaneym
, greaneym wrote: > > Hi, > > I am learning about using xml files in web2py and have some questions. > > This controller allows me to view an xml file, > > from gluon.tools import Expose > import osdef showtree3(): > expath = '/Users/mgreaney/examples/ex_01.xml

[web2py] questions about using xml files in web2py

2014-01-11 Thread greaneym
Hi, I am learning about using xml files in web2py and have some questions. This controller allows me to view an xml file, from gluon.tools import Expose import osdef showtree3(): expath = '/Users/mgreaney/examples/ex_01.xml' return dict(files=Expose(expath)) This allows me to view the x

[web2py] Re: Online classes

2013-12-09 Thread greaneym
These videos are fantastic and very helpful. Thank you, Massimo. Margaret -- 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 be

[web2py] Re: how to access static file from controller

2013-10-26 Thread greaneym
Thank you Anthony, that worked well. Margaret On Saturday, October 26, 2013 12:04:33 PM UTC-5, greaneym wrote: > > Hi, > > I have written an app using pygeoip and MaxMind data files that works but > I want to make a change. This library with the data files allows > one to m

[web2py] how to access static file from controller

2013-10-26 Thread greaneym
Hi, I have written an app using pygeoip and MaxMind data files that works but I want to make a change. This library with the data files allows one to map ip addresses to geographic locations. in my controller, I have a line, gic = pygeoip.GeoIP('/User/mgreaney/geostuff/GeoLiteCity.dat'), pygeo

[web2py] Re: sharing my d3.js experiments with web2py community

2013-08-17 Thread greaneym
Margaret: > > OK I played with your samples. > Great technology. > I would like to see such effects overlayed onto an existing page. > > - Dave Lypka. > > On Saturday, August 10, 2013 7:47:00 PM UTC-5, greaneym wrote: >> >> >> Hi there, >> >> I am

[web2py] Re: sharing my d3.js experiments with web2py community

2013-08-16 Thread greaneym
t; > OK I played with your samples. > Great technology. > I would like to see such effects overlayed onto an existing page. > > - Dave Lypka. > > On Saturday, August 10, 2013 7:47:00 PM UTC-5, greaneym wrote: >> >> >> Hi there, >> >> I am

[web2py] sharing my d3.js experiments with web2py community

2013-08-10 Thread greaneym
Hi there, I am sharing my experiments with D3.js this week. It's Geek Week, according to Google and I tried some animations with svg and images. These are at htttps://github.com/greaneym/d3anim I tried adding them to the slices page but it didn't look like that worked. Also, pl

[web2py] Re: need help testing app

2013-07-30 Thread greaneym
I fixed some database problems and added more error checking and this seems to work fine now. Thanks for the help and tests. Margaret -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving ema

[web2py] Re: need help testing app

2013-07-28 Thread greaneym
I don't know if it was a cache or timeout problem but the weather app is working ok now. I checked that the github version is the same as on my server node and local node and it is, so any more testing would be very appreciated. https://github.com/greaneym/weather/ On Thursday, July 25,

[web2py] Re: need help testing app

2013-07-27 Thread greaneym
rt = airportname + '.rss' TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' On the local machine, this works to get an airport location, then delivers the observation. Further testing needed. On Saturday, July 27, 2013 6:16:41 PM UTC-5, greaneym w

[web2py] Re: need help testing app

2013-07-27 Thread greaneym
Sorry, there is a problem, wait to test. thanks On Saturday, July 27, 2013 5:48:40 PM UTC-5, greaneym wrote: > > I have updated this app to use city,state for the location rather than > zipcode, and added checks for None, and some validations. If anyone has > time for further

[web2py] Re: need help testing app

2013-07-27 Thread greaneym
t; Thank you margaret. Will test it asap. >> >> Massimo >> >> On Saturday, 20 July 2013 16:18:10 UTC-5, greaneym wrote: >>> >>> Hello, >>> >>> I would like to share an app with the web2py community, and also am >>> asking for he

[web2py] Re: need help testing app

2013-07-26 Thread greaneym
ill test it asap. >> >> Massimo >> >> On Saturday, 20 July 2013 16:18:10 UTC-5, greaneym wrote: >>> >>> Hello, >>> >>> I would like to share an app with the web2py community, and also am >>> asking for help testing it. >>&g

[web2py] Re: need help testing app

2013-07-21 Thread greaneym
Thanks for testing! On Saturday, July 20, 2013 4:43:49 PM UTC-5, dhmorgan wrote: > > After installing BeautifulSoup, it ran fine. Results matched those > provided by wunderground. > > > <https://lh5.googleusercontent.com/-Q9oTeGGJHug/UesEfjZbvnI/ByY/maI-K

[web2py] need help testing app

2013-07-20 Thread greaneym
Hello, I would like to share an app with the web2py community, and also am asking for help testing it. https://github.com/greaneym/weather It needs more work but please feel free to try it. It gave me some practice using BeautifulSoup. It uses the National Weather Service's web servi

Re: [web2py] web2py roadmap

2013-07-17 Thread greaneym
Hi, I get a blank screen also on that url link. margaret On Tuesday, July 16, 2013 11:10:32 AM UTC-5, jjs0sbw wrote: > > I get a blank screen??? > > > On Sun, Jul 14, 2013 at 1:30 PM, Niphlod >wrote: > >> web2py's developers work often "behind the curtain" and users are not >> able to see what

[web2py] Re: feeding python string object to d3.js csv

2013-06-26 Thread greaneym
y, June 26, 2013 3:07:06 PM UTC-5, Anthony wrote: > > In your browser developer tools, can you watch the ajax request and see > what web2py is returning? > > On Wednesday, June 26, 2013 4:03:47 PM UTC-4, greaneym wrote: >> >> This addition of quotes did nothing for me. Som

[web2py] Re: feeding python string object to d3.js csv

2013-06-26 Thread greaneym
This addition of quotes did nothing for me. Somehow the d3 does not load the url because I get a d3 error that there is no data found. I can get json to work with this, json_data = sj.dumps(pt_data) then in the view, var jdata = {{=XML(response.json(pt_data))}} g = new Dygraph( document.

[web2py] Re: feeding python string object to d3.js csv

2013-06-25 Thread greaneym
Anthony, I look forward to your incorporation of d3 into web2py! Maybe you have enough d3 knowledge to help me make this work. in my controller, powertoday.py there is a function, def csvtab(): #return dict(rows = db(db.ptoday.id>0).select( )) rows = db(db.ptoday.id>0).select( ) for

[web2py] Re: feeding python string object to d3.js csv

2013-06-25 Thread greaneym
Thanks for the answers Anthony, I am going to try to report a bug. I am using web2py 2.4.6-stable+timestamp.2013.04.06.17.37.38 the source version, on mac os and when I copy and paste the csv as a service example from the book section on Remote procedure calls, to the default.py in the welcome

[web2py] Re: feeding python string object to d3.js csv

2013-06-24 Thread greaneym
to set the content type to 'text/csv' rather than what is > shown in that example). You would then provide D3 with the URL that serves > the CSV file (note, it doesn't actually generate a CSV file on the server > -- it just uses a cStringIO object and sends its content a

[web2py] Re: feeding python string object to d3.js csv

2013-06-24 Thread greaneym
Hi, I tried the @service.csv example in the book and it does return values, but they are not in the form of a url but a download. I wonder if this is the expected behavior? I am using mac os. When I enter the path to the url including values, the system immediately returns the downloads interf

[web2py] Re: feeding python string object to d3.js csv

2013-06-24 Thread greaneym
rovide D3 with the URL that serves > the CSV file (note, it doesn't actually generate a CSV file on the server > -- it just uses a cStringIO object and sends its content as the HTTP > response). > > Anthony > > On Monday, June 24, 2013 4:02:35 PM UTC-4, greaneym wrote: &g

[web2py] feeding python string object to d3.js csv

2013-06-24 Thread greaneym
Relating to d3.js and csv files, I'm having two problems trying to get a string object to load either 1. with d3.csv.parse or with 2. function() {return x; } right after the line, g = new Dygraph( document.getElementById("div_pt"), that begins to generate a d3 graph. The problem is similar

Re: [web2py] d3.js stays in view even after selecting menu change

2013-06-12 Thread greaneym
I was able to get this to work with further experimentation. I switched to jQuery-UI as you hinted and now it is working. I put an example of what I did on github so it may help others. https://github.com/greaneym/d3jsweb2py Thank you, Niphlod, Margaret On Tuesday, June 11, 2013 10:13:36 AM

[web2py] d3.js stays in view even after selecting menu change

2013-06-11 Thread greaneym
I am learning D3 to use it in an app for visualization but having problems with multiple graphs loading when I only want one to show per menu selection. Using the bootstrap welcome app, I am able to load d3 examples using a tabbable nav menu, however, once loaded they do not go away between cl

[web2py] Re: how display var in menu

2013-06-05 Thread greaneym
I am experimenting some more with bootstrap and d3.js and trying to understand how to add more graphs to this menu. I was able to get two different views working by using the LOAD helper. The following things are either not working or I would like some more explanation about what could be wrong.

[web2py] Re: how display var in menu

2013-06-03 Thread greaneym
Hi, I decided to go with a different solution and am trying to modify a twitter bootstrap tabbable nav html. But I have a question about it. How do I associate the div id #2 in example below with a web2py url ? I made many attempts but haven't made it work yet. Thanks for any suggestions or he

[web2py] Re: how display var in menu

2013-05-29 Thread greaneym
thanks Niphlod, I will try this. On Monday, May 27, 2013 1:50:05 PM UTC-5, greaneym wrote: > > How would I display the output of this function in a menu? > > def test1(): > a = 20 > b = 30 > myval = a+b > return myval > > These come close but I don

[web2py] Re: how display var in menu

2013-05-29 Thread greaneym
; > def afunction(a, b): > return a + b > def yourcontroller(): > thesomething = afunction(4,5) > response.menu.append( >(thesomething, False, URL('bla bla')) >) > return dict() > > > > Il giorno mercoledì

[web2py] Re: how display var in menu

2013-05-29 Thread greaneym
27;bla', 'bla')), >('menu 1.2', False, URL('bla', 'bla')) >]), >('menu 2', False, URL('bla', 'bla')) > ] > > From there on, it's basic list slicing and dicing with python. >

[web2py] Re: how display var in menu

2013-05-28 Thread greaneym
quest. thanks. On Tuesday, May 28, 2013 3:25:53 PM UTC-5, Niphlod wrote: > > > > On Tuesday, May 28, 2013 10:15:24 PM UTC+2, greaneym wrote: >> >> Thanks that was helpful and got me further but I need a bit more help. >> >> >> > on what ? > -- --- Yo

[web2py] Re: how display var in menu

2013-05-28 Thread greaneym
Thanks that was helpful and got me further but I need a bit more help. I want to have a menu item that shows the current total value of a > calculation, > as well as a sparkline chart showing the values of a time series. > > I read the twitter bootstrap docs to find out what I think I need is a

[web2py] how display var in menu

2013-05-27 Thread greaneym
How would I display the output of this function in a menu? def test1(): a = 20 b = 30 myval = a+b return myval These come close but I don't understand how to implement the second one, response.menu = [ [CAT(I(_class='icon-home'), T('Home')), False, URL('default', 'index')], # shows

[web2py] Re: rss feed

2013-05-23 Thread greaneym
eous characters. On Thursday, May 23, 2013 9:52:06 AM UTC-5, greaneym wrote: > > Thank you, Massimo, > > After reading a lot more about feedparser and xlml, > I began going through xlml examples but figured that feedparser was already > doing most of what I needed, so I

[web2py] Re: rss feed

2013-05-23 Thread greaneym
Thank you, Massimo, After reading a lot more about feedparser and xlml, I began going through xlml examples but figured that feedparser was already doing most of what I needed, so I found this on stackoverflow, http://stackoverflow.com/questions/11157894/less-painful-way-to-parse-a-rss-feed-with-l

[web2py] Re: rss feed

2013-05-22 Thread greaneym
'http://www.w3.org/2005/Atom' > xmlns:cap = 'urn:oasis:names:tc:emergency:cap:1.1' > xmlns:ha = 'http://www.alerting.net/namespace/index_1.0' > > > > > The NOA page is a bit confusing. > > > On Tuesday, 21 May 2013 10:05:47 UTC-5, greaneym wrote: &g

[web2py] rss feed

2013-05-21 Thread greaneym
hello, I am trying to learn about rss feeds. using the feed_parser.py I can have a view with rss_aggregator that will correctly display this feed, http://w1.weather.gov/xml/current_obs/KDPA.xml Also if, instead of that view I use, {{=LOAD('default','rss_aggregator')}} It still partially works

[web2py] Re: custom menu using response.menu

2013-04-29 Thread greaneym
No, inside menu2.py I still had response.menu = [etc.] when I changed that to menu2 = [etc.], it works! thank you, Anthony Margaret -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and s

[web2py] Re: custom menu using response.menu

2013-04-29 Thread greaneym
menu1.py and menu2.py, or wherever: > menu1 = [...] > menu2 = [...] > > In the layout: > {{=MENU(menu1)}} > ... > {{=MENU(menu2)}} > > Anthony > > On Monday, April 29, 2013 6:19:12 PM UTC-4, greaneym wrote: >> >> Is it possible to have two menu.py files in mode

[web2py] custom menu using response.menu

2013-04-29 Thread greaneym
Is it possible to have two menu.py files in models that associate with response.menu? I wanted to have an index file that has something like this, {{extend 'layout.html}} {{include layout.other.html}} {{include dashboard.html}} where layout.other.html has the menu2 for the dashboard. Is it pos

[web2py] Re: problem with sparklines

2013-04-20 Thread greaneym
Thank you, Anthony. That is what I get for not checking with :set list after a cut/paste. Margaret On Friday, April 19, 2013 8:11:16 PM UTC-5, greaneym wrote: > > In trying the sparklines slice, I am getting an error. Using osx with > web2py v2.3.2, > > here is the erro

[web2py] problem with sparklines

2013-04-19 Thread greaneym
In trying the sparklines slice, I am getting an error. Using osx with web2py v2.3.2, here is the error: EOL while scanning single-quoted string (index.html, line 83)VERSIONweb2py™(2, 3, 2, datetime.datetime(2012, 12, 17, 15, 3, 30), 'stable')PythonPython 2.5.1: /Applications/web2py/web2py.ap

[web2py] Re: communication

2013-04-16 Thread greaneym
Thanks for the response. Yes, using ssl. On Tuesday, April 16, 2013 1:05:15 PM UTC-5, Niphlod wrote: > > I'm a bit unsure on the statement "both my app and the api server app are > using ssh". If you mispelled and wanted to write "ssl" instead of "ssh", > then I'm ok. If everything is behind SS

[web2py] communication

2013-04-16 Thread greaneym
Hi, I want to use an app that communicates with an api through webhooks. Both my app and the api server app are using ssh. My app is not decorated with any service. Is that secure enough if the app is using an api key to communicate both ways? The more I think about it, the more I am worried. W

[web2py] how to implement test for unique value in db

2013-04-15 Thread greaneym
Hello, I am learning about api interaction and need some help with figuring out how to handle an error in a program. The program sends an id to a server's api and collects information using urllib. If I run the program 2 consecutive times, this error occurs: column eventid is not unique The

[web2py] Re: No CMS for Web2Py?

2013-03-24 Thread greaneym
Loic, this is a beautiful cms package. Thank you. The only question I would have is how to make the total size smaller? I really like the visual design. Congratulations on your app! Margaret -- --- You received this message because you are subscribed to the Google Groups "web2py-users" g

[web2py] Re: simple loop question

2013-03-23 Thread greaneym
Hi Alex, www.programr.com has python object-oriented examples www.coursera.org has a python course in April. The mvc approach can be learned by trying the examples in web2py's on-line manual, using the welcome app that comes with the install. Trying examples yourself is a great way to lear

[web2py] Re: Book 5th edition out

2013-03-05 Thread greaneym
thanks for the updated manual! Margaret > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit h

Re: [web2py] routes question

2013-02-27 Thread greaneym
Thanks for your help, Jonathan. I'm not sure if this is the intended or best way to use this but I looked in the manual more closely at absolute urls and this is what I added to my menu to get to the other location hosted on a different physical host. On the models/menu.py file on host 1 (T('

Re: [web2py] routes question

2013-02-26 Thread greaneym
rote: > > On 26 Feb 2013, at 6:32 PM, greaneym > > wrote: > > If the parametric routes format is used to route domains, do the domains > have to be on the same physical host? The cookbook refers to an example > where the domains are on the same physical host on p. 273. &

[web2py] routes question

2013-02-26 Thread greaneym
If the parametric routes format is used to route domains, do the domains have to be on the same physical host? The cookbook refers to an example where the domains are on the same physical host on p. 273. Does an example like this work if the domains are on two physically separate hosts? rout

[web2py] Re: routing problem using two routes.py

2013-02-25 Thread greaneym
t. On Friday, February 22, 2013 3:26:10 PM UTC-6, greaneym wrote: > > > Thanks for your response. I added the missing colon, and then reloaded the > routes. > > When I go to www.xxx.com and then use the menu to get to the blog, it > does not route to > xxx-yyy.abc.co

[web2py] Re: lock icon and https

2013-02-25 Thread greaneym
h the lock icon showing on the page with the desired app. Safari shows https is loaded but does not allow the icon to be clicked to view cert because it doesn't show the icon. I'm not sure how to add or subtract something to fix this. On Monday, February 25, 2013 2:35:11 PM U

[web2py] Re: lock icon and https

2013-02-25 Thread greaneym
ot; shows when > your connection is secured by ssl, usually accessing the page as https://, > but you have to configure correctly ssl protection on the webserver > (apache, lighttpd, nginx, etc) > > On Sunday, February 24, 2013 10:35:43 PM UTC+1, greaneym wrote: >> >> st

[web2py] Re: unable to remove jqmobile

2013-02-24 Thread greaneym
What I see now when I've upgraded to 2.3.2 is that if I go into the admin app and load the mobile view, I can see what my site would potentially look like on a mobile view. This is great! Thank you. -- --- You received this message because you are subscribed to the Google Groups "web2py

[web2py] lock icon and https

2013-02-24 Thread greaneym
still learning about routes. on a linux install with v2.3.2, python2.6 and this routes.py, with the admin welcome, examples apps installed. I modified the models/menu.py so that https is turned on, by adding this at the top: session.secure() if not request.is_https: redirect('https://%s/%s'

[web2py] Re: routing problem using two routes.py

2013-02-22 Thread greaneym
Thanks for your response. I added the missing colon, and then reloaded the routes. When I go to www.xxx.com and then use the menu to get to the blog, it does not route to xxx-yyy.abc.com/blog. It still routes to www.xxx.com/blog, so I don't believe the local routes.py is working yet. Do you

[web2py] Re: routing problem using two routes.py

2013-02-22 Thread greaneym
How do I add the unaliased domain name to a local routes.py file, please? thanks On Thursday, February 21, 2013 9:24:04 PM UTC-6, Massimo Di Pierro wrote: > > Please do not use 2.0.x it was known to be buggy. Use 2.3.2 or nightly > 2.4.0. > > On Thursday, 21 February 2013 16:55:19 U

[web2py] routing problem using two routes.py

2013-02-21 Thread greaneym
Hello, using web2py v2.0.8 on a linux server. My server hosting my website has a name like xxx-yyy.abc.com. An alias is set up on my domain server's host so that my site is www.xxx.com. The routes.py configuration I have is working, but I want to make a change in order to use the server's ssl

[web2py] Re: unable to remove jqmobile

2013-02-19 Thread greaneym
I figured out how to get my apps back to a state before the jqmobile plugin was added and I learned a lot in this process. I am making a suggestion that some more documentation or information be added for the jqmobile plugin. I thought that adding the plugin would get both the mobile view and

[web2py] unable to remove jqmobile

2013-02-18 Thread greaneym
Hello, I am trying out the jqmobile plugin and finding a strange result. It's stuck on the mobile view no matter what changes I make. I took these steps to get the mobile view to work. 1. copied the plugin_jqmobile from the admin app to my app. 2. copied the views/default/index to index.mobile.h

[web2py] Re: instantpress app fails on server, ok locally

2013-02-15 Thread greaneym
details are on github in Andrew Replogle's area. On Friday, February 15, 2013 2:23:37 PM UTC-6, greaneym wrote: > > > >> Thanks, Andrew Replogle. >> > > The fix was to update the os environment on openshift so that it could see > the modules. The file nam

[web2py] Re: instantpress app fails on server, ok locally

2013-02-15 Thread greaneym
> Thanks, Andrew Replogle. > The fix was to update the os environment on openshift so that it could see the modules. The file named application was updated with the appended path, and then the app worked fine with no restart. Also I tried the older version of instantpress and this worked w

[web2py] instantpress app fails on server, ok locally

2013-02-13 Thread greaneym
Hello, I'm trying out the instantpress 2.1.2. application. It works fine on my local install where it's called "blog2". When I try to access it from my web server, though, I am getting an error that I don't understand how to fix. No module named applications.blog2.modules.appsettings I am

[web2py] Re: skyrocketing memory. How to pinpoint the problem?

2013-02-05 Thread greaneym
Hello, In addition sending the model, view, controller code, you can try the following. It looks like dreamhost is using debian linux. You can try using the strace command in a shell while your process is running. You can run it against different process ids (pid) to help figure out what is ass

[web2py] Re: looking for volunteers to help proof-read book 5th ed.

2013-01-27 Thread greaneym
> Thanks for the wonderful web2py. Here are some spelling errors that I >> found in > > the diff download. > > >> +As soon as you type something in the search box and release a key, the >> client calls the server and sends the content of the 'keyword' field, and, >> when the sever responds, t

[web2py] unable to drop table

2013-01-19 Thread greaneym
Hi, I am using stable web2py, with sqlite db and trying to drop a table. In the shell, I connect to the db, then In [6] : print db._uri sqlite://storage.sqlite In [7] : print db._dbname sqlite In [8] : print db.tables ['auth_user', 'auth_group', 'auth_membership', 'auth_permission', 'auth_even

[web2py] Re: how to select current id record for record updat

2013-01-19 Thread greaneym
Thank you very much for the help, Massimo. What this did was update all the records with the new invoice number. I re-read the chapter on DAL and see the info on the update_record. I still can't get it to select the database record I want and only update a record in memory, but I decided to ch

[web2py] how to select current id record for record updat

2013-01-18 Thread greaneym
Hello, I am working on a shopping cart, using the stable version of web2py, with an sql lite database. In a checkout function, the order information is being inserted into a sales db,(for example it has db.sales[id] == 2 then in a buy function, after a user enters their card information in orde

[web2py] Re: registration field not accessible from appadmin to edit

2013-01-02 Thread greaneym
Thank you, Alan, your solution does make the field editable by appadmin. But I found that I was having some other problems with the appadmin that I had copied from the welcome app. So I copied the appadmin.py from a different app and when I did a diff, it was very different, and this other co

[web2py] registration field not accessible from appadmin to edit

2013-01-01 Thread greaneym
Happy New Year! I hope everyone has a wonderful 2013. Maybe someone can give me a suggestion about how to fix the following problem. I am trying to modify the web2py-estore app which is old, but still works. It does not come with any auth settings or db.py so I copied the db.py from the "welco

[web2py] Re: Web2Py on OpenShift

2012-12-03 Thread greaneym
Andrew, thanks very much for the upgrade. I installed on openshift and tested one of my apps for teachers. It has 3 problems, an rss aggregator which doesn't work now, the data for a google map app did not load, and a video behaves differently (it recycles over and over instead of just playing

[web2py] Re: using Stripe

2012-11-21 Thread greaneym
Thank you, Massimo. I will take a look. Margaret > --

[web2py] using Stripe

2012-11-19 Thread greaneym
Hello, I've looked into stripe.com and it does look like it is easier than google wallet to implement. When I put the example from the web2py manual into a controller, then the charge of whatever amount does communicate with Stripe's server and I can see that a charge went through as a test.

[web2py] Re: Web2Py on OpenShift

2012-10-16 Thread greaneym
TC-5, apps in tables wrote: > > unfortunatelynope > > On Wednesday, October 17, 2012 4:02:33 AM UTC+3, greaneym wrote: >> >> Ashraf, I posted twice to your answer but don't see it on the list. >> Maybe the answers went directly to you. >> margaret >&g

[web2py] Re: Web2Py on OpenShift

2012-10-16 Thread greaneym
not use git before) > > Ashraf > > On Wednesday, October 17, 2012 12:56:59 AM UTC+3, greaneym wrote: >> >> Hi Ashraf, >> >> I don't understand what you mean by using admin deploy to openshift, but >> no, I've just used the rhc commands to cr

[web2py] Re: Web2Py on OpenShift

2012-10-16 Thread greaneym
ou Margaret, > > I am trying to use the admin (deploy to openshift). My understanding is > that you are not using that option for deployment. > > Do you know any requirements for using admin (deploy to openshift) ? > > Ashraf > > On Tuesday, October 16, 2012 5

[web2py] Re: Web2Py on OpenShift

2012-10-16 Thread greaneym
Ashraf, (reposting, as response did not show up on list) This morning I installed a web2py app using the github path to Andrew's v2.0.9 web2py install on openshift and it worked fine. My other app install has been working for months, and it uses v2.0.2. I did receive recently an e-mail from

[web2py] google wallet problem

2012-10-07 Thread greaneym
I am trying to get the level one integration of google wallet working as described in the manual. Here is the view: {{extend 'layout.html'}} Checkout {{from gluon.contrib.google_wallet import button}} {{=button(merchant_id=my_merchantid, products=[dict(names="shoes",

[web2py] Re: how to access auth_user.email to send an email

2012-09-19 Thread greaneym
Thank you, Anthony I will try this and re-read ch 3. On Tuesday, September 18, 2012 7:51:09 PM UTC-5, greaneym wrote: > > Hello, > > In testing the registration on my app, I am confused about how to send a > new > user an email. > > When a new user is registering usin

[web2py] how to access auth_user.email to send an email

2012-09-18 Thread greaneym
Hello, In testing the registration on my app, I am confused about how to send a new user an email. When a new user is registering using the defaults that come with web2py, I can see in the db that for a new user, there is a field db.auth_user.email, so I am trying to use that to send a mail to t

[web2py] Re: How to use maps in plugin_wiki

2012-09-18 Thread greaneym
Phil, I don't maintain the plugin, but here's what I did to test to see if it would still work. I made copies of all my files (backup). I read the Google developer page that says that now only businesses have to pay for a key. So if you are learning how to use the api you don't have to pay any

[web2py] Re: How to use maps in plugin_wiki

2012-09-17 Thread greaneym
Phil, That plugin still works. Look in the model file that comes with the plugin. It tells you how to implement the plugin. Here is a copy of my model, controller and view files where I got it to work. You need to obtain a key from google because if more than a default number of people visit y

[web2py] need help with sandbox testing pos plugin

2012-09-14 Thread greaneym
In the process of sandbox testing with the POS plusing and google checkout, in the pos plugin, the instructions indicate in the model to add, 4) in your payment page add the button http://your.urlname.com'))}}" /> and the web2py-users group queries shows that this is older and won't work anym

[web2py] Re: problem adding members to group

2012-09-12 Thread greaneym
a backup of my app, so I can try again to add the manager group to a restored copy. On Tuesday, September 11, 2012 3:53:56 PM UTC-5, greaneym wrote: > > Got farther but still stuck. I got locked out of the database and am > trying to get back in with "admin". > >

[web2py] Re: problem adding members to group

2012-09-11 Thread greaneym
can/should I add "admin" to it, and how is this done? thanks for any assistance. On Tuesday, September 11, 2012 10:32:47 AM UTC-5, Massimo Di Pierro wrote: > > I do not understand this line: > > python web2py.py -S app -M -N -R applications/myapp -A > > -R should speci

[web2py] Re: problem adding members to group

2012-09-11 Thread greaneym
I see on the groups that I might need to run from the source dist instead of web2py.app since I am on a mac, so I'll try that first. On Tuesday, September 11, 2012 9:48:48 AM UTC-5, greaneym wrote: > > Dear all, > > I'm testing the pos plugin and have it mostly set up

[web2py] problem adding members to group

2012-09-11 Thread greaneym
Dear all, I'm testing the pos plugin and have it mostly set up, but I'm stuck. I had commented all the auth statements and have now uncommented them, and was adding the group called manager and before I could add members was interrupted. My session ended, and after that I could not use the adm

[web2py] Re: need help testing google checkout with pos plugin

2012-09-08 Thread greaneym
Hi, reading through the recent posts about user_signature=False/True I have a better understanding of digitally signed signatures and why they are important for security. I think this answers my question. Thanks! On Tuesday, September 4, 2012 6:08:56 PM UTC-5, greaneym wrote: > > Hello,

[web2py] need help testing google checkout with pos plugin

2012-09-04 Thread greaneym
Hello, I would like to test the google_checkout_plugin and need some help, please. This are the names of the plugin I downloaded: web2py.plugin.google_checkout.w2p and web2py.app.PosOnlineStore.w2p Does this first plugin provide the functionality (of what is described in the Google developer doc

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread greaneym
Web2py and its support community are fantastic. I will try to participate more in testing. On Friday, August 31, 2012 7:46:29 AM UTC-5, Massimo Di Pierro wrote: > > We should have tested the osx and win more. This is my mistake. Other > minor issues are physiological. > Anyway, I believe all is

[web2py] Re: problem upgrading from 1.994 to latest version on mac os

2012-08-31 Thread greaneym
Massimo, I changed nothing on my mac and re-downloaded again just now and it is working. I don't have any file on my system named "Applicatoin". But thank you, it's working now. >> >> >> --

[web2py] Re: problem upgrading from 1.994 to latest version on mac os

2012-08-31 Thread greaneym
Hello, I just now downloaded again and get a zip file web2py_osx.zip, which uncompressed. I mv'd it to /Applications from ~/Downloads. When I open, I get a similar error but notice that the word Applications is now spelled Applicatoins in the error which I copied from a popup screen: OSError:

  1   2   >