020 at 1:24:11 AM UTC+8, Jim S wrote:
>
> Where are you seeing a need for make install? I haven't run across it.
>
> -Jim
>
> On Monday, March 2, 2020 at 9:39:54 AM UTC-6, lyn2py wrote:
>>
>> Hi,
>>
>> May I know where is the "right" or "be
Hi,
May I know where is the "right" or "best" place to put my custom modules
(those I wrote myself) in py4web?
I usually have many controller files in web2py. With py4web, does it mean
that there will only be 1 controller file and all the controllers go into
that file only?
Why is there a
Now the error message changes to:
Enter a number between -1e+100 and 1e+100
On Thursday, January 17, 2019 at 6:41:02 PM UTC+8, sandeep patel wrote:
>
> @lyn2py
> instead of using Field Type Integer use double
> Like This
> Field('one_field_only', 'double'))
>
> Thanks
&g
My code did not change, but upgrading web2py caused my Form Validation to
fail.
Older (working) version: Version 2.17.1-stable+timestamp.2018.08.05.17.57.00
New (not working) version: Version
2.17.2-stable+timestamp.2018.10.06.11.34.06
Controller Code (did not change):
def index():
form =
Web2py Version 2.17.2-stable+timestamp.2018.10.06.11.34.06
Using psycopg2
Using python2
I used CSV method to back up (export_to_csv_file) and then dump (im
port_from_csv_file) the Postgres db data to another Postgres db (let's say
v9.6 to v10), and ran the same query, same code. I actually did
I'm using Python 3, and when I run into a traceback, this is the ticket
details (it's the same one...)
'NoneType' object has no attribute 'strip'Version
web2py™ Version 2.17.1-stable+timestamp.2018.08.05.17.57.00Traceback
1.
no traceback because template parsing error
On Monday, August 6,
layout.html to do what you want.
>
> Anthony
>
> On Monday, August 20, 2018 at 4:46:22 AM UTC-4, lyn2py wrote:
>>
>> Hello,
>>
>> I am using the latest pulled version from GitHub and I am not able to use
>> either of the solution listed by Anthony
>
To choose which view, put
response.view="view.html"
in the 2 controllers that share the same view.
And you need to return the same variables used for the view in both
controllers.
On Monday, August 20, 2018 at 4:44:29 AM UTC+8, lbjc...@gmail.com wrote:
>
> I have two controllers in an
Hello,
I am using the latest pulled version from GitHub and I am not able to use
either of the solution listed by Anthony
Version 2.17.1-stable+timestamp.2018.08.05.17.57.00
Solution 1:
('Label', False, dict(_href=URL(...), _target='blank'))
gave this link: http:
Yes I'm using this way to run both py2 and py3 on the same machine
Have 2 folders, one for py2 and one for py3.
python2 ...path to py2 folder/web2py.py
...and do the same for py3.
Works!
On Tuesday, May 8, 2018 at 8:11:37 AM UTC+8, 黄祥 wrote:
>
> plan to test web2py both python2 and python3
ticket for py3 soon. Thank you
for looking into it!
On Sunday, May 6, 2018 at 10:59:04 AM UTC+8, Massimo Di Pierro wrote:
>
> can you show an example of what you mean?
>
>
> On Friday, 27 April 2018 21:21:47 UTC-5, lyn2py wrote:
>>
>> Hello,
>>
>> The trac
log web2py tickets. Thank you!
On Wednesday, May 2, 2018 at 9:19:38 AM UTC+8, lyn2py wrote:
>
> Now I have an error like this one:
>
> RecursionError: maximum recursion depth exceeded while calling a Python object
>
>
> ...and I have no idea how to debug it, since I'm no
troubleshoot it or ask anyone about it without a
proper traceback. Admittedly I'm no traceback expert, as a quick-fix, I
tried to print the traceback results to console but nothing came up :(
On Wednesday, May 2, 2018 at 2:31:43 AM UTC+8, lyn2py wrote:
>
> Hello,
>
> I've started u
Hello,
I've started using python3 with web2py and it has saved me a lot of
encoding headaches.
However, the traceback Tickets in web2py are not as comprehensive as those
in python2 with web2py. They look like:
'dict' object has no attribute 'content'Version
web2py™ Version
Hello,
The traceback for Python 3 is not like the ones in Python 2 and it can get
difficult to debug the program, is it possible to see a fix soon?
Thank you!
On Tuesday, November 14, 2017 at 1:59:52 PM UTC+8, Massimo Di Pierro wrote:
>
> web2py 2.16.1 is OUT
>
> Lots of bugs fixes contributed
I just git cloned the latest web2py and started it up with *python3*
Version 2.16.1-stable+timestamp.2018.03.08.10.23.01
Database drivers available: sqlite3, imaplib, pymysql, pyodbc
I got this error in console
ERROR:root:New installation error: unable to create welcome.w2p file
When I quit the
Hello guys!
Just stumbled upon something. Google released "AMP" that will reduce page
load time if you add some syntax to HTML. It is also optimised for mobile.
An introduction article here:
https://www.shopify.com/partners/blog/how-google-s-amp-project-is-changing-the-mobile-web
The official
I have a json field and I want to turn each key-value in the json field
into an HTML field-value.
For example,
{"add1":"abc", "add2":"xyz"}
into
INPUT( _name="json_field[add1]", _value="abc")
INPUT( _name="json_field[add2]", _value="xyz")
in HTML.
However, when the form is POST-ed, the
new helper?
On Monday, July 31, 2017 at 10:54:10 PM UTC+8, Pierre wrote:
>
> thanks Anthony
>
> I'll use ASSIGNJS. I'd never heard of this helper.too bad it's
> unpublished in the book
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
How do I resolve this error?
Traceback (most recent call last):
File "/Users/web2py/web2py/gluon/restricted.py", line 219, in restricted
exec(ccode, environment)
File "", line 83, in
File "/Users/web2py/web2py/gluon/globals.py", line 422, in write
re you saying that used to work but doesn't any longer?
>
> How about db(db.table).select(max)?
>
> Anthony
>
> On Thursday, July 13, 2017 at 1:16:31 PM UTC-4, lyn2py wrote:
>>
>> I'm using a simple query to get aggregate:
>>
>> max = db.table.date.max(
values()))
File "/Users/web2py/web2py/gluon/sqlhtml.py", line 3319, in
tablemap = dict(((f.tablename, f.table) for f in fieldmap.values()))
AttributeError: 'Expression' object has no attribute 'tablename'
On Friday, July 14, 2017 at 5:43:57 AM UTC+8, Anthony wrot
Thank you Leonel,
I actually have a very complex query, and it ran into the error I
mentioned. In my query I have:
db(query).select(other_fields, aggregate, groupby=...etc..., orderby=...etc
...)
and I ran into the error. So I tried to identify if it was my complex query
throwing the error, my
ther table_name
> and field instance are...
>
> So maybe the flaw is somewhere in the escaping related to rname feature...
>
> Richard
>
> On Thu, Jul 13, 2017 at 2:11 PM, lyn2py <lyn...@gmail.com >
> wrote:
>
>> Following this lead
>> https://stackoverflow.com/
at 1:48:10 AM UTC+8, lyn2py wrote:
>
> Table code:
> db.define_table('TABLE_of_sites',
> Field('site_id', 'reference sites'),
> Field('title', 'string'),
> Field('date','datetime'),
> ...
> Field('updated','datetime', update=request.now, writable=False),
> format=
Table code:
db.define_table('TABLE_of_sites',
Field('site_id', 'reference sites'),
Field('title', 'string'),
Field('date','datetime'),
...
Field('updated','datetime', update=request.now, writable=False),
format='%(site_id)s'
)
In controller:
table = db['TABLE_of_sites']
rows =
are the straightforward ones:
db(db[table]).select()
In fact I also tried distinct and there's an error too, I will make a
separate post.
On Friday, July 14, 2017 at 1:22:01 AM UTC+8, Richard wrote:
>
> @lyn2py, seems more a issue with naming in your model than anything
> else... Can you show us y
I'm using a simple query to get aggregate:
max = db.table.date.max()
row = db().select(max)
Just following the example
here
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum-avg-min-max-and-len
But I ran into this error:
Traceback (most recent call last):
After switching to psycopg2 I still run into the same errors. However,
after I updated to 2.15.1 (after Massimo's announcement on the groups), it
now works.
On Tuesday, July 11, 2017 at 9:44:19 PM UTC+8, Leonel Câmara wrote:
>
> pydal uses text for json fields if you're using pg8000 because
"json_string__tmp" is of type json but expression
is of type text
LINE 1: UPDATE "data_table" SET "json_string__tmp"="json_string"...
^
HINT: You will need to rewrite or cast the expression.
I have tried to cast the expression, again, manually, in psql, b
rote:
>
> what do you mean by " manually altered the type to JSON"? Anyway, please
> use psycopg2 instead of pg8000.
>
> On Tuesday, 4 July 2017 04:03:00 UTC-5, lyn2py wrote:
>>
>> I'm using Postgresql, with the pg8000 adapter.
>>
>> One of
I'm using Postgresql, with the pg8000 adapter.
One of the fields I have is of 'json' type
Field('json_string','json'),
And each time I restart the web2py server, this error will show one time.
Refreshing the page the second time makes it go away:
ProgrammingError: (u'ERROR',
I ran my app on *sqlite* and things are working well, so I ported it over
to *postgresql*... however I noticed one glaring difference in the results
retrieved immediately...
On sqlite, no matter how many times I edit an entry, for example, an entry
with id==1, it will always be the first row
Is this an web2py an instance on a production server or virtualenv or local
desktop?
On Tuesday, May 23, 2017 at 8:30:08 PM UTC+8, robin deatherage wrote:
>
> Ive tried many times and have reset everything and also deleted all
> browser history. Here is the Ticket error it sends--
> Internal
I have 2 tables:
db.define_table('TABLE_1',
Field('name','string'),
format='%(name)s'
)
db.define_table('TABLE_2',
Field('tab_id','reference TABLE_1'),
Field('name','string'),
format='%(tab_id)s %(name)s'
)
Let's say TABLE_1 has an entry like:
id = 1,
name = 'Fred',
=> represented as 'Fred'
Result looks fine, actually. Are there empty elements in the list, or are
you calling any empty img in those elements, or are there any accidental
elements before "IMC"
On Friday, May 19, 2017 at 3:48:30 PM UTC+8, sunda...@gmail.com wrote:
>
>
>
This looks to be a CSS issue.
Can you share your code? In your view
On Friday, May 19, 2017 at 2:57:14 PM UTC+8, sunda...@gmail.com wrote:
>
> Hello everyone,
>
>
> So i started web2py it have been 1 month but i have still have some
> questions. What is sad is that with normal html and css it
Finally resolved the import. I added a line to
File "../web2py/gluon/packages/dal/pydal/objects.py"
csv.field_size_limit(500 * 1024 * 1024)
and it worked!
Hope that helped someone.
On Friday, May 19, 2017 at 9:52:35 AM UTC+8, lyn2py wrote:
>
> My code for exporting/import
My code for exporting/importing is extracted from the book, it is simply:
def export_db():
db.export_to_csv_file(open('db_dump.csv', 'wb'))
return
def import_db():
db.import_from_csv_file(open('db_dump.csv', 'rb'))
return
I just run the function and out comes the db_dump.csv
I
n not sure if this info helps.
If there is any clue on how to resolve this, kindly assist!
Thank you
On Thursday, May 18, 2017 at 7:46:58 PM UTC+8, lyn2py wrote:
>
> I did as Anthony and Pierre suggested, first export to CSV, then remove
> all files from database/ folder, load web2py
blem.
>
> Cheers.
> ===
>
> On Tuesday, May 16, 2017 at 5:46:25 PM UTC+5:30, lyn2py wrote:
>>
>> Is there is a way to define a table without adding it to the sqlite
>> database? I wish to define a table and have data in that table, but not add
>> it to the sqlite db.
>
tables to CSV, drop the tables and have web2py
> re-create them, and then import the CSV data (back up the database file
> before doing any of this).
>
> Anthony
>
> On Tuesday, May 16, 2017 at 12:48:18 PM UTC-4, lyn2py wrote:
>>
>> I think I found it with Anthon
r, that particular table will be "loaded", and with
that particular set of data. If another controller tried to access that
table, that data had vanished.
Thank you.
On Wednesday, May 17, 2017 at 6:48:16 AM UTC+8, Anthony wrote:
>
> On Tuesday, May 16, 2017 at 12:34:01 PM UTC-4, l
the new tablename with web2py?
I ask this because there may be other table names that I would like to
change, due to the code evolving
Thank you!
On Tuesday, May 16, 2017 at 9:06:22 PM UTC+8, Anthony wrote:
>
> On Monday, May 15, 2017 at 10:09:18 PM UTC-4, lyn2py wrote:
>>
&
you again!
On Tuesday, May 16, 2017 at 9:09:44 PM UTC+8, Anthony wrote:
>
> On Tuesday, May 16, 2017 at 8:16:25 AM UTC-4, lyn2py wrote:
>>
>> Is there is a way to define a table without adding it to the sqlite
>> database? I wish to define a table and have data in that table
Is there is a way to define a table without adding it to the sqlite
database? I wish to define a table and have data in that table, but not add
it to the sqlite db.
The reason is because I have a table with a fixed set of data, that I use
across different apps.
Thank you!
--
Resources:
-
I have data in that table that I want to keep. How do I accomplish this?
I'm sorry if this seems an easy question, but I am not familiar with
importing and exporting data such that the integrity of the data is
preserved.
Thank you.
On Tuesday, May 16, 2017 at 5:01:15 PM UTC+8, Pierre wrote:
>
I had a setup that was working. But it's broken after I changed the name of
a table. This was what I did:
1. Shut down web2py
2. Edit the model - table name + all references to the table name
3. Edit the sqlite - table name
4. Set fake_migrate_all=True
5. Start the server
6.
You might need to be more detailed describing your issue.
On Wednesday, March 22, 2017 at 11:19:21 AM UTC+8, Scott Hunter wrote:
>
> Has anyone been able to use Stripe's Checkout with web2py? If so, how did
> you do it? I'm having trouble getting the token it generates back.
>
> - Scott
>
--
6, 2017 at 3:59:47 PM UTC-7, lyn2py wrote:
>>
>>
>> I've loaded a bunch of data into the DB, and some of the tables and rows
>> has the datetime field "-00-00"
>>
>> That caused web2py admin > this app's database to raise an error because
>&g
I've loaded a bunch of data into the DB, and some of the tables and rows
has the datetime field "-00-00"
That caused web2py admin > this app's database to raise an error because of
the datetime field:
"year is out of range"
(1) I tried to use filter_out on the field but it is not working.
I've written an app that is quite involved, and it has gotten very slow as
I add code to it. I would like to see what goes on behind the scenes (like
what function was invoked, what variables were passed to the function, and
if possible, the time it takes to run), so that I don't have the code
I am planning to go with DigitalOcean or Linode or Aliyun.
What do you do or steps do you take to secure your server?
Thank you, I am a noob at this.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
ber, like 15. It's
all fixed per the web2py book when I enforced "int()". Gr.
On Thursday, January 12, 2017 at 11:35:12 PM UTC+8, lyn2py wrote:
>
> Hi guys, I just wanted to confirm this.
>
> The web2py book (link =
> http://www.web2py.com/books/default/chapte
Hi guys, I just wanted to confirm this.
The web2py book (link =
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#callbacks-on-record-insert-delete-and-update)
says:
"The return values of these callback should be None or False. If any of the
_before_* callback
It is working now. O.O Sorry for the noise and thank you for your time Mark.
I blew a fuse in the house and then it worked. Prior to that I restarted
the computer and it still didn't work. This is crazy and not
reproducible... YMMV...
On Tuesday, January 3, 2017 at 10:54:35 PM UTC+8, lyn2py
lease list the output of:
>
> import os
> print os.environ['PYTHONPATH']
>
> import sys
> print sys.path
>
> On Tue, Jan 3, 2017 at 3:58 AM, Mark Graves <mgra...@gmail.com
> > wrote:
>
>> Wait wait, whats the output of
>>
>> which python
>>
Nope :)
On Monday, January 2, 2017 at 10:55:59 AM UTC+8, Mark Graves wrote:
>
> Is it in a virtual environment?
>
> -Mark
>
> On Sun, Jan 1, 2017 at 8:37 PM, lyn2py <lyn...@gmail.com >
> wrote:
>
>> First, it is a working folder that I've been using.
rent folder so you don't mess up exising apps.
>
> Also, is it broken with the downloaded version via zip?
>
> On Sun, Jan 1, 2017 at 9:02 AM, lyn2py <lyn...@gmail.com >
> wrote:
>
>>
>>
>> On Saturday, December 31, 2016 at 5:06:07 AM UTC+8, Mark Gr
>
> On Thursday, December 29, 2016 at 11:29:08 PM UTC-6, lyn2py wrote:
>>
>> I am not sure if this is the right place to ask this, but it only happens
>> with web2py (for now).
>>
>> Due to a need to use pip, I used homebrew to install python.
>> Sidenote
I am not sure if this is the right place to ask this, but it only happens
with web2py (for now).
Due to a need to use pip, I used homebrew to install python.
Sidenote: Homebrew used to require additional configuration to work as "the
python" on the system, but now it does everything
It will always be allowed to take a value in insert, a value that you
assign it to, for example, via "default", like so:
db.table.field.default = some_value
To make the field non-editable to the end user, use:
db.table.field.editable = False
...
form = SQLFORM(db.table)
for the above examples,
Thank you Niphlod, I had to read your answer twice to fully understand what
you meant. Now I get it. I appreciate your pointers!
Thank you Stifan for the suggestion. I am deliberately not using that
because the result is too long, and the uid will be used on html for id and
other future
Hello!
I have set a field to "unique=True", it is a generated "unique id". I write
in quotes because there are no guarantees, although there is a slim chance
that a generated id is repeated. In the rare case that it happens, it would
raise a form.error
My question is, how do I "regenerate"
ext
>
>
> or you can instead pass the attributes as a dictionary and make use of
> Python's ** function arguments notation, which maps a dictionary of
> (key:value) pairs into a set of keyword arguments:
>
>
>
> >>> print DIV('text', **{'_data-role': 'collapsib
Hello guys! Long time no see :)
With HTML5 attributes being widely used, I thought I could add one to the
response.menu
I tried but it didn't work, I appreciate help and pointers! =)
This is the current response.menu generated HTML (specifically, the *first*
ul):
...
...
...
This is the
I have a database of data, which will periodically update the older entries or
newly inserted entries, depending on how old the entry is, or if it was a newly
created entry.
For instance, the availability of a website.
Someone adds a new website, date created is request.now
I schedule a
use web2py for routing and angular for frontend
On Wednesday, July 8, 2015 at 8:53:41 PM UTC+8, Aravind S wrote:
Our *web2py* project has two parts :
1) Dashboard console (Single Page App).
2) Customer Form.
We are now trying to rebuild the *dashboard console* using *Angular js* which
Hi,
If I have 2 columns, date_created, date_updated
db.define_table('table',
Field('date_created', 'datetime',default=request.now),
Field('date_updated', 'datetime',update=request.now),
)
and I want to do a DAL query to get the datetime that is the furthest from
now (i.e. the db entry
Thank you for highlighting this! Learnt something new today
On Monday, June 29, 2015 at 10:12:19 PM UTC+8, Massimo Di Pierro wrote:
You are right. we should make it more clear.
On Monday, 29 June 2015 08:16:36 UTC-5, 黄祥 wrote:
i think it's already documented on web2py book
ref :
I see niphlod, this is the code:
def index():
text =
##H2
paragraph text
+s
+locals
+r
paragraph text
paragraph text
###H3
-
This is a paragraph in a blockquote
+ item 1
+ item 2
-- item 2.1
-- item 2.2
+ item 3
-
0 | 0 | X
0 | X | 0
X | 0 | 0
When I add the newline, the result became two hr, one at the top and the
other at the bottom, specifically:
-
This is a paragraph in a blockquote
+ item 1
+ item 2
-- item 2.1
-- item 2.2
+ item 3
-
0 | 0 | X
0 | X | 0
X | 0 | 0
-:tableclass1
-
Hi guys I'm trying MARKMIN here and the block quotes I have look like this
This is a paragraph in a blockquote + item 1 + item 2 -- item 2.1 -- item
2.2 + item 3 - 0 | 0 | X 0 | X | 0 X | 0 | 0 -:tableclass1
And not like the one shown in:
:
if you don't paste your contents in a code block on the forum, it's
impossible to tell you what's wrong because normal posts don't keep
spacing and newlines
On Saturday, December 27, 2014 2:53:02 PM UTC+1, lyn2py wrote:
Hi guys I'm trying MARKMIN here and the block quotes I have look like
I think a lot has to do with the culture. Notice in Meteor there is a very
commercial culture about it. In web2py it's a family of giving and sharing.
At least that's how I perceive it. I feel more comfortable here.
On Tuesday, November 18, 2014 7:15:04 PM UTC+8, Ramos wrote:
Funding web2py
Hi guys, I just looked up how to do it, but because web2py uses special
Nginx configurations, I'd like to ask if anyone installed Awstats on the
Ubuntu, Nginx, WSGI configuration, and how did you do it?
This is the closest I can find regarding installing Awstats but I'm stumped
at the
Why would you want to do that?
On Saturday, October 18, 2014 10:20:17 AM UTC+8, Jigar Mistry wrote:
Hello everyone,
Is this possible to deploy single web2py app on nginx without web2py?
Thanks,
Jigar Mistry
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
It's good for the widgets but not the grid.
It looks better by itself than to mix with others like zurb and bootstrap.
It's a tad bigger, and different kind of style.
Out of the box, I personally did not find its styling as nice as zurb and
bootstrap, and it requires to input quite a bit of
Translation Markmin is available.
T.M('**bold** this text')
On Wednesday, October 1, 2014 6:03:44 PM UTC+8, Pablo Angulo wrote:
I sometimes find very inconvenient the translate feature. Some views
contain a lot of static text, so if I want to translate it I would do:
p{{=T('I sometimes
Hello there, I am adding lxml to the modules folder. And ran into error
(below).
1. I am using the latest version of web2py from git
2. I used to use lxml this way and it worked (that was 2 years ago)
3. This app was created brand new with the only line added from lxml import
Yes you are right Leonel, I just found this:
http://lxml.de/2.1/build.html
it needs to be compiled first.
Thank you!
On Wednesday, September 24, 2014 11:07:57 PM UTC+8, Leonel Câmara wrote:
Did you compile lxml? I'm also not sure non pure Python modules work in
the app modules folder.
--
Thanks Derek. If the uuid field were specified, shouldn't the specified field
be used, the way a uuid field is used, to de-duplicate records?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Assistance, anyone? Thanks.
--
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 are subscribed to the Google Groups
Hi again :)
I would like to import a CSV file but set the unique field/column to
*full_name_code* (instead of *uuid*).
So here's what I did:
def import_csv():
form = SQLFORM.factory(
Field('csv_file','upload',uploadfield=False)
)
if form.process().accepted:
ff =
I'm not using the welcome app since I will be moving away from using BS3 in
my next app, but I want to keep the functionality of response.flash.
So I added web2py.js (I did not include web2py_ajax.html because I won't be
needing the other items)
The response.flash functionality was in place,
('static','js/web2py.js')}}/script
Appreciate any help. Thanks!
On Wednesday, August 20, 2014 10:15:25 PM UTC+8, lyn2py wrote:
I'm not using the welcome app since I will be moving away from using BS3
in my next app, but I want to keep the functionality of response.flash.
So I added web2py.js
, 2014 5:36:58 PM UTC+2, lyn2py wrote:
This is the code in the HTML HEAD:
...css files here...
script src={{=URL('static','zurb/js/vendor/modernizr.js')}}/script
script src=//
ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js/script
script src={{=URL('static','zurb/js/vendor
Yup, you need to change logging to the smtp gmail server, in other words,
switch them around (put the smtp first followed by logging).
Logging will print the email in the console, which you can use to check the
contents.
On Sunday, August 17, 2014 1:50:05 PM UTC+8, Alex Glaros wrote:
on
With reference to SimpleCV http://simplecv.org. Although it is a PY (I
can drop into the modules folder and just import), it has a number of
dependencies:
pygame=1.9.1
PIL==1.1.7
nose=1.0.0
ipython=0.12
numpy=numpy-2.0.0
Please correct me if I am wrong:
1. Only pure python modules can be
Have you looked at auth groups?
http://web2py.com/books/default/chapter/29/09/access-control
You can create different types of accounts without separate tables.
On Sunday, August 10, 2014 3:01:14 PM UTC+8, eric cuver wrote:
nobody know how we can create two types of accounts or login ?
Le
to help
Le lundi 11 août 2014 12:25:58 UTC+2, lyn2py a écrit :
Have you looked at auth groups?
http://web2py.com/books/default/chapter/29/09/access-control
You can create different types of accounts without separate tables.
On Sunday, August 10, 2014 3:01:14 PM UTC+8, eric cuver wrote
A few things…
1)
- args takes a list
- vars takes a dict
do you mean to use vars instead of args?
2) If deploy_name is a field in the form, and you want to get the value of
it on clicking the button, you need to use javascript, like jQuery or the
likes.
3) Actually I am not sure
Maybe you can let us see your code and explain what you would like to do,
if you would like some input on the direction of how to do it?
On Tuesday, August 12, 2014 12:52:14 AM UTC+8, Stephen Weiss wrote:
Well, I'm VERY new to Web2Py, so at this point I've got a lot of learning
to do...
Just spotted this bug.
If you have a ' in your text, it cannot be italicized, instead it is
printed as is.
Examples to test:
''try this, it works''
''but then this doesn't work''
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
Thanks guys. Going to trunk now :)
On Sunday, August 10, 2014 10:30:37 PM UTC+8, Leonel Câmara wrote:
I think changing markmin regex_em from ''(?Pt[^\s']+(?:
+[^\s']+)*)'' to ''(?Pt([^\s']| |'(?!'))+)'' would solve this.
--
Resources:
- http://web2py.com
- http://web2py.com/book
Did you manage to figure this out?
I am trying out the gluon/ contrib/ imageutils and it isn't working for me
either.
The
db.table_name.picture.requires = RESIZE(200, 200)
and
db.table_name.thumbnail.compute = lambda row: THUMB(row.picture, 200, 200)
Both are not working for me. Instead
is discouraged for security reasons
and most browsers including Chrome and IE strip the from the URL:
http://support.microsoft.com/default.aspx?scid=kb;%5bLN%5d;834489
On Tuesday, 5 August 2014 21:39:10 UTC-5, lyn2py wrote:
Hi Massimo, in case you missed this, this is a call out, I hope you can
shed
Hello,
I have setup the code for FB oauth per web2py book here:
http://web2py.com/books/default/chapter/29/09/access-control
The code here:
## Define oauth application id and secret.
FB_CLIENT_ID='xxx'
FB_CLIENT_SECRET=
## import required modules
try:
import json
except ImportError:
setup on my side so check that
too
2014-08-07 19:37 GMT+02:00 lyn2py lyn...@gmail.com javascript::
Hello,
I have setup the code for FB oauth per web2py book here:
http://web2py.com/books/default/chapter/29/09/access-control
The code here:
## Define oauth application id and secret
...
On Friday, August 8, 2014 10:50:53 AM UTC+8, lyn2py wrote:
Good one Michele!
This was what I did:
if not self.accessToken():
print 'no accesstoken'
return None
No accessToken(), what then should I do? Or where should I consult?
On Friday, August 8, 2014 5:40:09 AM
1 - 100 of 470 matches
Mail list logo