[web2py] Re: s3fs uploadfs error saying file name cannot be string - must be unicode

2018-06-08 Thread b00m_chef
I have upgraded to the master branch on github, and here is the new error: Ticket ID 184.67.247.98.2018-06-08.17-44-04.323a9bf9-4ee3-4150-9c1c-bacc7b84e0df coercing to Unicode: need string or buffer, tuple foundVersion web2py™ Version 2.16.1-stable+timestamp.2018.05.24.15.00.45Traceback 1. 2.

[web2py] s3fs uploadfs error saying file name cannot be string - must be unicode

2018-06-07 Thread b00m_chef
web2py version 2.16.1 and this may be related to this bug: https://github.com/web2py/pydal/issues/502 I am trying to use S3 as my file repository for uploads. Here is my code and error I get: *CODE* from fs_s3 import S3FS import datetime bucket = "pobook", region = 'ca-central-1', aws_akey = "

[web2py] Re: One of the best things that happened to web2py

2013-10-28 Thread b00m_chef
I use PA, and am supper happy. I have thought about doing a VPS or Shared Hosting at other places, however, PA is just so well integrated with web2py (or vice-versa?), that it just makes sense to just go with them. Well done Giles!! Currently using the free account, but thanks to the great pric

Re: [web2py] Server performance (cpu/memory)

2013-06-21 Thread b00m_chef
Hi Marco, Did you ever resolve this? Did you ever improve the performance of your server? Any insights you could share? Thanks, On Thursday, 11 April 2013 08:02:14 UTC-7, Marco Tulio wrote: > > > > > 2013/4/11 LightDot > > >> Are you using db connection pooling and do you cache your queries?

[web2py] Re: Folder structure for components

2013-05-02 Thread b00m_chef
pter/29/04#Cooperation. > > Anthony > > On Thursday, May 2, 2013 3:10:44 PM UTC-4, b00m_chef wrote: >> >> Essentially it is another app. However, it still needs to talk to the >> other apps' DBs, and one must still be able to LOAD the app's views in >&

[web2py] Re: Folder structure for components

2013-05-02 Thread b00m_chef
2, 2013 11:24:51 AM UTC-7, Anthony wrote: > > If it's self-contained, you might consider putting it in another app. > > Anthony > > On Thursday, May 2, 2013 11:44:58 AM UTC-4, b00m_chef wrote: >> >> Correct. That way, if you have your webapp built from components

[web2py] Re: Folder structure for components

2013-05-02 Thread b00m_chef
Correct. That way, if you have your webapp built from components, your main controller/model/view folders will not look like a complete mess of hundreds of files. At the moment, the current component & plugin structure only works for web apps containing less than 20 components / plugins. As soo

[web2py] Folder structure for components

2013-05-01 Thread b00m_chef
I am sure this has been brought up before, but, is there any plan to allow making more self-contained components. Where the model, view, and controller are under the same directory? In other words, something similar to Django, where one imports the element containing the component, but all the

Re: [web2py] SQLFORM question

2013-01-09 Thread b00m_chef
I found why it wasn't working. It is because the db was set to migrate=False. However, the code doesn't work. I still get a listing of all Collars from all owners. On Wednesday, January 9, 2013 10:25:25 PM UTC-8, b00m_chef wrote: > > I get an error on loading the new pupp

Re: [web2py] SQLFORM question

2013-01-09 Thread b00m_chef
collars However, the table IS there...no idea what's causing this... Thanks for the help!! On Wednesday, January 9, 2013 9:40:18 PM UTC-8, rochacbruno wrote: > > > On Thu, Jan 10, 2013 at 3:09 AM, b00m_chef > > wrote: > >> requires=IS_IN_DB(*db(db.owner.user == auth.user.id)*, 'owner.id', >> '%(name)s') >> > > > --

[web2py] SQLFORM question

2013-01-09 Thread b00m_chef
I need the code below to generate a form with a list of only names that are owned by the user logged in, not all names made by all people. db.define_table('owner', Field('user', db.auth_user), Field('name', 'string')) db.define_table('collar', Field('user', db.auth_user), Field('name', 'string'

[web2py] Re: YUI3 IO POST

2012-12-30 Thread b00m_chef
The solution was that I needed to get rid of the following in my YUI 3 code: headers: { 'Content-Type': 'application/json' } Woohoo!! I can now send and receive JSON data :-D On Sunday, December 30, 2012 8:55:34 PM UTC-8, b00m_chef wrote: > &

[web2py] YUI3 IO POST

2012-12-30 Thread b00m_chef
I have been trying to get web2py to read a post request sent from javascript, but without any success. I hope you guys can help figure out what is going on. Here is the code: View: YUI().use("json-stringify", "io", "dump", "json-parse", function(Y) { Y.io('data', { method: 'POST',

[web2py] web2py YUI3 and JSON

2012-12-05 Thread b00m_chef
So I have been wanting to get JSON working in web2py and be able to pull data from web2py and use it in some javascript. I made it work. Thought I would share. See attached. Note also that I am using YUI3 instead of jQuery, just for a little extra... Next, I will need to find a way to send JSON

[web2py] Looking to build a checkbox form

2012-12-02 Thread b00m_chef
I have a bookmark that I wish to assign various tags to. I have a table of tags, and a table of bookmarks, and I have a table of bookmark_tags. I wish to click on a bookmark's tags link, and to see a list of tags with checkboxes next to them. I also want the tags that are already assigned to th

[web2py] GAE: importing code into controllers

2012-10-15 Thread b00m_chef
I have an app and need to split out some code. However, importing from modules doesn't seem to work on GAE. How do you guys go about solving this? Where do you keep your non-controller code? --

[web2py] Re: GAE issue - app works on Appspot - not on desktop

2012-10-14 Thread b00m_chef
So my code works on v1.99 of web2py, but not on 2.0.9 on GAE. On Sunday, October 14, 2012 6:38:21 PM UTC-7, b00m_chef wrote: > > I have an app that I wrote in web2py using version 1.99. It has been > running on appspot for the last 1.5 years with no issues. I recently wanted >

[web2py] Re: GAE issue - app works on Appspot - not on desktop

2012-10-14 Thread b00m_chef
I have taken out the modules import call and placed the code inside each of the controllers. Is there no way to import code into controllers from other files? On Sunday, October 14, 2012 6:38:21 PM UTC-7, b00m_chef wrote: > > I have an app that I wrote in web2py using version 1.99.

[web2py] GAE issue - app works on Appspot - not on desktop

2012-10-14 Thread b00m_chef
I have an app that I wrote in web2py using version 1.99. It has been running on appspot for the last 1.5 years with no issues. I recently wanted to continue working on it, so I downloaded all my source code. I installed GAE on my desktop, and added the app folder (put it on my root C:\appname ).

[web2py] Re: GAE Import error

2012-10-14 Thread b00m_chef
This error was fixed, but now my app just throws a 500 error, with no error code. On Sunday, October 14, 2012 5:33:59 PM UTC-7, b00m_chef wrote: > > Using web2py 2.0.9 source with AppEngine 1.7.2 > > I get an error in GAE: > > ERROR2012-10-15 00:29:49,611 cgi.py:121] Trac

[web2py] GAE Import error

2012-10-14 Thread b00m_chef
Using web2py 2.0.9 source with AppEngine 1.7.2 I get an error in GAE: ERROR2012-10-15 00:29:49,611 cgi.py:121] Traceback (most recent call last): File "C:\gaeapp\gaehandler.py", line 41, in from gluon.settings import global_settings ImportError: No module named gluon.settings --

[web2py] Re: Bookings Manager

2011-04-12 Thread b00m_chef
You need to add a db Boolean field for "validated". You will need to set default to False. Then simply have the admin validate page return all records in db that have validation=False. On Apr 11, 6:27 pm, Ialejandro wrote: > Hi everybody!! Again with my booking example, but now I'm really >

[web2py] Re: Help rate this logo I designed.

2011-04-11 Thread b00m_chef
am bot. :D > > I like the design. but I think a bit of work needs to be done outside > > the font and into the logo itself. (Both can go together or just the > > logo itself, your option. > > Just my two cents. > > BR, > > Jason Brower > > On 04/10/201

[web2py] Re: Help rate this logo I designed.

2011-04-09 Thread b00m_chef
A little off-topic isn't this? Wouldn't you benefit more from getting feedback from http://www.reddit.com/r/graphic_design or ARS Technica? On Apr 9, 2:48 pm, Pystar wrote: > This is a logo I designed for a project of mine, I would like some > criticism about it, and what image it evokes in yo

[web2py] Re: Another jerk!

2011-03-15 Thread b00m_chef
Web2py: the framework for everyone! or Web2py: for realists with deadlines! or Web2py: best thing since django/ruby! On Mar 14, 10:04 pm, VP wrote: > Another vote for dropping the word "Enterprise".  I don't think the > word will make it any more convincing for "enterprise" people when >

[web2py] Re: recommended ERP system?

2011-02-11 Thread b00m_chef
Based on your criteria listed in your original post, the answer is easy -> http://www.xtuple.com/ You can interface with the database that xTuple uses (postgresql) from any language. So you can extend xTuple using any set of tools you want. Don't bite off more than you can chew though...ERPs are

[web2py] Re: Website

2011-01-21 Thread b00m_chef
Integrating web2py into existing designs is where web2py really shines. You need to research SQLFORM, SQLFORMFACTORY, SQLFORM.element (for CSS), and DAL. If you read about those things, you will be able to do a lot. On Jan 21, 7:17 am, VP wrote: > I'd do this: > > 1. create a new app called my

[web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-13 Thread b00m_chef
Let me just say that the chance that your app will have the traffic of facebook or twitter or even livejournal (yes it is still alive) is so small, that you really don't need to worry about it too much at such an early stage. On Nov 13, 3:11 pm, Branko Vukelic wrote: > On Sat, Nov 13, 2010 at 9

[web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-13 Thread b00m_chef
I disagree that web2py would become messy wrt the code-base. The solution I found was to simply put all my actual logic code in "modules", then, I simply call up the specific object method in the controller function linked to the particular html file (view). I therefore don't keep any code in the "

[web2py] Re: I may have missed some posts....

2010-11-01 Thread b00m_chef
Ping! http://groups.google.com/group/web2py/browse_thread/thread/8d926f428bf5c3ba On Nov 1, 11:20 am, Branko Vukelic wrote: > On Mon, Nov 1, 2010 at 6:57 PM, mdipierro wrote: > > If there is any open that I missed please ping me. > > Ping! > > http://groups.google.com/group/web2py/browse

[web2py] Re: Passing pointer to session, requestion, etc objects to module

2010-11-01 Thread b00m_chef
need is > there, similar to auth and crud. > > auth = Auth(globals(),db) > crud = Crud(globals(),db) > > On Oct 31, 4:36 pm, b00m_chef wrote: > > > > > The problem was that I was using self.session.forget() thinking that > > that would take care of getting r

[web2py] Re: Passing pointer to session, requestion, etc objects to module

2010-10-31 Thread b00m_chef
behavior gave me some doubt. Thanks for the pointer to look at the environment argument, though that didn't give any useful info...was there anything particularly interesting about that argument in that class? On Oct 31, 12:11 pm, b00m_chef wrote: > thanks! > > On Oct 31, 6:12 

[web2py] Re: Passing pointer to session, requestion, etc objects to module

2010-10-31 Thread b00m_chef
ssion and request. > > On Oct 30, 9:00 pm, b00m_chef wrote: > > > > > How does one go about passing a pointer to the session and request > > objects from your app to a module in said app. Basically, in a module, > > I need to be able to manipulate all those ob

[web2py] Passing pointer to session, requestion, etc objects to module

2010-10-30 Thread b00m_chef
How does one go about passing a pointer to the session and request objects from your app to a module in said app. Basically, in a module, I need to be able to manipulate all those objects without having to return and re-assign them. If I simply pass all the session, request, response, etc objects

[web2py] web2py testing & release cycle

2010-10-30 Thread b00m_chef
I was just wondering if it would be possible to have the development team compile a list of features that need tests written for them. I would enjoy writing a few tests, though, I don't have time to dig through the whole code base and figure out on my own what needs testing. Ideally, if you guys c

[web2py] Re: Bug or break with backwards compatibility?

2010-10-24 Thread b00m_chef
bed in the book. > > On Oct 24, 1:10 am, b00m_chef wrote: > > > > > > > > > My desired result was achieved...Thanks to your explanation above. I > > wanted to have 1 html file linking the two header.html and footer.html > > files. This example would be

[web2py] Re: Bug or break with backwards compatibility?

2010-10-23 Thread b00m_chef
gt; header.html > > > footer.html > > > main.html > {{include 'header.html'}} my body stuff here {{include > 'footer.html'}} > > You can have various combination of the two but not the one you used. > As explained in the manual the view hierarchy is

[web2py] Bug or break with backwards compatibility?

2010-10-23 Thread b00m_chef
I noticed my app from a few releases back stopped working with regard to the view. I had a file that extended 2 files (a header.html, and a footer.html), it then included (in-between the 2 extends) a body. Only the last extend will execute in the below main.html file in the current release (1.87.3

[web2py] Re: Plugins system (again)

2010-10-23 Thread b00m_chef
assimo My main argument for the framework to have a defined method to this, rather than having everyone find their own work-around, is so that I can release components of my webapp as plugins. > > On Oct 23, 5:59 pm, b00m_chef wrote: > > > > > I like web2py more than django

[web2py] Plugins system (again)

2010-10-23 Thread b00m_chef
I like web2py more than django because it has everything django has, but somehow I feel it was designed to contain those features from the get-go. In django everything feels like it was an after-thought, and the community feels extremely set in their ways to change anything. One thing, thought, th

[web2py] Re: Web2py book software feature request

2010-08-08 Thread b00m_chef
the book and I can make you editor > > Massimo > > On Aug 5, 11:27 pm, b00m_chef wrote: > > > > > I just wanted to request that the book be opened up to editing if you > > register. However, if you register, and make a change, only you can > > see the pages wi

[web2py] Web2py book software feature request

2010-08-05 Thread b00m_chef
I just wanted to request that the book be opened up to editing if you register. However, if you register, and make a change, only you can see the pages with you changes, until your changes are approved to be included in the public view of the page by the editors/moderators. This way, if a user is f

[web2py] Re: web2py suggestions

2010-06-21 Thread b00m_chef
You are correct, that is what decorators are for. @logged in() def myControllerforLoggedInUser() return dict() I agree that the folders need to be organized better, but this can be done without really re-programming, as web2py is very flexible. Why not try to create the folder structure and file

[web2py] Re: request.vars from Javascript

2010-06-19 Thread b00m_chef
You could also use two different forms with two different submit buttons. Each form can have a hidden disabled text field that contains the text, so when it is submitted with the button you can read the form field that is attached to that form and find out if it is an ON or an OFF... or you could s

[web2py] Writing good documentation

2010-06-15 Thread b00m_chef
http://jacobian.org/writing/great-documentation/

[web2py] Re: Custom registration form -- password_two

2010-05-24 Thread b00m_chef
I tried doing that you are trying to do and I never got it to work. I just ended up copying the code from the AUTH.register() method that update the session and DB, and putting it in my controller. So I basically re-built my own AUTH.register() method, as the existing one is very limited in terms o

[web2py] Re: monetize web2py anybody?

2010-05-23 Thread b00m_chef
I am very interested in this. As soon as I am done with my current task, I will get involved in this (next few months). P.S. Consider YUI3 instead of jQuery, because you can use jQuery plugins in YUI3 and YUI3 supports accessibility as part of its mandate (support for disabled individuals). Alter

[web2py] Re: Production releases

2010-05-23 Thread b00m_chef
I am really happy with how web2py development is going. As long as the project keeps growing, the code will keep getting better. You guys are doing a great job! On May 23, 11:34 am, Iceberg wrote: > > On May 22, 1:56 pm, b00m_chef wrote: > > > Learn from the best on how to m

[web2py] Re: [off-topic] UI frameworks like: ExtJs, Pivot

2010-05-22 Thread b00m_chef
I prefer YUI 3. It includes the most revolutionary plugin system. Basically, it has a built in apt-get like system where you just list all the plugins you are going to include in your app, and YUI 3 automatically downloads the additional source code and links it to your app. Also, it has excellent

[web2py] Re: Production releases

2010-05-22 Thread b00m_chef
Learn from the best on how to manage a release cycle: http://www.youtube.com/watch?v=i7pkyDUX5uM On May 22, 7:31 am, mdipierro wrote: > I am very much interested in this. We may even find a couple of $100 > to pay for some security testing of web2py. Let me know what we need > to do. > > Massimo

[web2py] New to web development? Watch this!

2010-05-13 Thread b00m_chef
http://academicearth.org/courses/building-dynamic-websites Watch all the videos in the series. Lots of NEED TO KNOW stuff for all those starting out.

[web2py] Re: UTF-8 question and link

2010-05-13 Thread b00m_chef
ierro wrote: > All utf8 > On May 13, 2:15 pm, b00m_chef wrote: > > > I was wondering where web2py stands on this issue? Is the framework > > utf-8 by default or something else? Is there any documentation on how > > to implement utf-8 in web2py if it is not the default?

[web2py] Re: Encoding using as_dict not using UTF-8?

2010-05-13 Thread b00m_chef
Note that if you are using mySQL that might be because mySQL, if not set to use utf-8 uses a latin encoding. You have to manually tell MySQL to use utf-8, and even then you will still have problems with it...mySQL sux http://lobstertech.com/2009/jun/07/python_unicode_tutorial/ On Apr 12, 6:59 p

[web2py] UTF-8 question and link

2010-05-13 Thread b00m_chef
I was wondering where web2py stands on this issue? Is the framework utf-8 by default or something else? Is there any documentation on how to implement utf-8 in web2py if it is not the default? http://lobstertech.com/2009/jun/07/python_unicode_tutorial/ Thx.

[web2py] Re: Review my web2py app: Radbox.me

2010-05-11 Thread b00m_chef
FYI: Fix your routes.py http://radbox.me/index.html = Invalid Controller. On May 11, 2:40 am, Adi wrote: > I saw some discussions flying around about web2py applications and > users out there (http://groups.google.com/group/web2py/browse_thread/ > thread/606b6e90744ab3b5) > and thought it wou

[web2py] Re: Review my web2py app: Radbox.me

2010-05-11 Thread b00m_chef
Great job! I am happy to see web2py apps that don't just use the default admin interface design, and actually do their own. On May 11, 2:40 am, Adi wrote: > I saw some discussions flying around about web2py applications and > users out there (http://groups.google.com/group/web2py/browse_thread

[web2py:30778] IS_EMAIL or IS_NULL

2009-09-11 Thread b00m_chef
Is there a way make sure a table field that has requires = IS_EMAIL doesn't prevent form from being submitted if the field is left blank? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post t

[web2py:30749] Using 'double' variable type in tables

2009-09-11 Thread b00m_chef
Hi, Is there any way to override the SQLForm default to require value to be not null for table fields set to 'double'? Thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group,

[web2py:30052] model not updating when called by SQLForm

2009-09-04 Thread b00m_chef
I setup a model using sql light default db. I then built a simple SQLForm. However, when I change a field in the model to notnull=True, the SQLForm still processes the form as though it was False. That is until I delete the files in the database folder in web2py, and close and re-open web2py.app

[web2py:28188] Web2py.com down

2009-08-07 Thread b00m_chef
Just tried to access web2py.com and was not up. Tried using a proxy (guardster), same result. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegr

[web2py:28105] Web2py Plug-in system

2009-08-06 Thread b00m_chef
Is this being worked on? Who is involved? Is there a specification somewhere? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsub

[web2py:28052] Web2py WIKI SSL error

2009-08-05 Thread b00m_chef
Just FYI, every-time I click on the WIKI link on web2py.com I get a crappy screen telling me some stuff about untrustworthy certificate, and looks very much like a 404. Does the wiki really have to be running through SSL??? --~--~-~--~~~---~--~~ You received this me

[web2py:27097] Good news for DAL + Non-relational databases

2009-07-21 Thread b00m_chef
http://db.cs.yale.edu/hadoopdb/hadoopdb.html It works with PostgreSQL & MySQL. Anyone have some other info on this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send e