Hi:
What string type pass for this work?
file: gluon/serializers.py (from 25 Sep 2014)
line: 182
def safestr(obj, key, default=''):
return str(obj[key]).encode('utf-8', 'replace') if key in obj else
default
This code fail for me if have special characters.
Example:
if:
obj[key]
on web2py 2.9.5
obj[key] I pass a unicode
Solution
now pass
obj[key] a string
and on gluon/serializers.py line 167 I changed (encode for decode)
return str(obj[key]).encode('utf-8', 'replace') if key in obj else default
for
return str(obj[key]).decode('utf-8', 'replace') if key in obj else def
Hi:
This patch broke my rss.
When update web2py 2.9.5 to 2.9.11 the RSS produces an encoding error.
Ticket ID
>
> 192.168.0.109.2014-11-18.08-43-24.a4e11dac-b0ab-49b8-83b7-105ea1ba5ad2
> 'ascii' codec can't encode
> character u'\xf3' in position 23: ordinal not in range(128) Version
> web2py
Hi:
I search an dms (documental management system) as
http://mayan.readthedocs.org/en/latest/contents.html than is in django.
I search some write on web2py, but not found anything.
Does anyone know any? Any idea?
Thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
I have same problem (occasionally)
SO Debian 7 VPS
83.37.153.54.2013-10-09.08-47-01.c139aa5f-0503-4642-933c-a4b3460c70a0
Version web2py™ Version 2.6.4-stable+timestamp.2013.09.22.01.43.37
Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
Traceback (most recent call last):
File
Hi,
Gmetrix set a performance for welcome app of 57%.
http://gtmetrix.com/reports/www.web2py.com/bS32Abg0
how optimize?
how performance "Leverage browser caching"
Thanks
--
Dani
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Sour
Now work!!
the code is:
submenus = db.menus.with_alias('menusoptions')
query = (db.menus.parent_id == 0)
count = submenus.id.count()
# bad hack
count.tablename = 'menus'
count.readable = True
count.represent = False
count.formatter
Hi,
I followed this example with your answer.
https://groups.google.com/forum/#!topic/web2py/FwWJGn6LGH8
I add (your "bad hack"):
submenus = db.menus.with_alias('menusoptions')
query = (db.menus.parent_id == 0)
count = submenus.id.count()
# bad hack
Hi,
I'm using web2py 2.6.0. test.
on line sqlhtml 1916
columns = [f for f in fields if f.tablename in tablenames]
AttributeError: 'Expression' object has no attribute 'tablename'
when field count, count not attribute 'tablename'
My code:
submenus = db.menus.with_alias('menusopt
Hi:
this solution, work for me:
file: routes.py
add:
routes_in = (
('./', '303->http://www.domain.org/folder'),
('.', '303->http://www.domain.org/folder'),
)
En 04/09/2013 12:46, dam...@gmail.com escribiu:
SO debian, apache2 with wsgy and mod_rewrite load
Is posible redirect to subfolder
SO debian, apache2 with wsgy and mod_rewrite load
Is posible redirect to subfolder when app is not specified on url?
example:
http://www.mysite.com/ -> http://www.mysite.com/wordpress/index.php
in case
http://www.mysite.com/welcome/ (normal work, no redirect anything)
I test on /etc/apache2/
Hi,
Thanks.
My solution was:
if self.table_name not in db._migrated:
self.install()
Best regards.
On Tuesday, April 16, 2013 3:31:12 PM UTC+2, dam...@gmail.com wrote:
>
>
> Hi,
> In my init class have a install() with create table.
> When creates second instance, fail.
>
>
Hi,
In my init class have a install() with create table.
When creates second instance, fail.
table already defined: mytable Version
web2py™ Version 2.4.6-stable+timestamp.2013.04.06.17.37.38 Python Python
2.7.4: C:\Python27\python.exe (prefix: C:\Python27)
How check is this exists this table?
(For developers)
Hi,
now, when flash message, this is show
Example
web2py upgraded; please
restart it×
This is viewed
web2py upgraded; please restart it×
web2py upgraded; please restart itx
I think that is more beautiful with a space before ""
added space in web2py.js line 61
if(flash)
Hi,
Very thanks!, now work fine!
En 16/04/2013 0:59, Massimo Di Pierro escribiu:
You need to upgrade web2py.js in your applications copy it from welcome.
On Monday, 15 April 2013 11:32:16 UTC-5, dam...@gmail.com wrote:
Hi,
I have same problem:
response.flash = T('Thank you for
Hi,
I have same problem:
response.flash = T('Thank you for your reply!')
return
Thank%20you%20for%20your%20reply%21
gluon/main.py
if request.cid:
if response.flash:
http_response.headers['web2py-component-flash'] = \
Hi,
I have same problem:
response.flash = T('Thank you for your reply!')
return
Thank%20you%20for%20your%20reply%21
gluon/main.py
if request.cid:
if response.flash:
http_response.headers['web2py-component-flash'] = \
On Monday, October 22, 2012 4:59:15 AM UTC+2, weheh wrote:
>
> There appears to be some new code in gluon/main.py to handle component
> flash.
>
> # @line 564 in gluon/main.py
> if response.flash:
> http_response.headers['web2py-component-flash'] = urllib2.quote(
> xmlescape(response.flash).
Hi:
I´m sorry if this isn´t the place for this question.
I am looking a project to build anything similar to joomla (a cms) for
contribute to development (if I a can/know).
I´d like learn web2py while contribute with programing (I know a little).
I can start from zero but I prefer join a open sour
Thanks.
I search anything as joomla CMS, with backend and with plugins.
I think instantpress seem more complete.
All is discontinued.
Exist any project with development active in this moment?
On Friday, March 29, 2013 10:08:47 PM UTC+1, samuel bonilla wrote:
>
> look
>
> https://github.com/
Hi:
Wanted to start a project and wanted to know what you recommend for me.
>From what I've seen there are several options
http://stackoverflow.com/questions/8161644/what-are-the-mature-cmss-and-blogs-built-on-web2py
What do you think of instantpress 2.0?
Another?
None?
Thanks!
On Friday, May
21 matches
Mail list logo