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 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 = "
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
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?
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
>&
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
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
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
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
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')
>>
>
>
>
--
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'
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:
>
&
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',
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
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
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?
--
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
>
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.
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 ).
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
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
--
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
>
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
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: 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
>
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
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
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
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 "
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
http://jacobian.org/writing/great-documentation/
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
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
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
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
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
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.
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?
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
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.
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
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
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
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,
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
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
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
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
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
63 matches
Mail list logo