hi,
I have such a problem
this url works (unicode in vars
http://localhost:8000/myapp/default/show/products?q=M%C4%83rimea
but this doesn't (unicode in args)
http://localhost:8000/myapp/default/show/products/s-M%C4%83rimea
any ideas?
hi,
I just noticed that webfaction increased memory from 80 to 256Mb
important to notice that this is application memory
This is the actual memory available to your long-running processes
(for instance, your Rails or Django processes). Unlike on a VPS, the
memory used by the operating system, the
http://web2py.com/book/default/chapter/08
please add an 's' to
auth.setting.extra_fields['auth_user']= [
Field('address'),
Field('city'),
Field('zip'),
Field('phone')]
should be
auth.settings
with the latest uwsgi version I cannot login to my website, even no
error is generated
I use also a flex app with web2py service and it gives an error
Traceback (most recent call last):
File /home/yourname/web2py/gluon/restricted.py, line 194, in
restricted
exec ccode in environment
File
and also uwsgi --version doesn't give the version but tells that there
is an error
hi,
is it possible to execute a controller from command line without
running a wsgi server?
I want to use that in a long running applications which from time to
time will call different controllers
hi,
I just managed to use codemirror instead of editarea using
python mode and html mixed mode for views
and codemirror-ui toolbar
I propose to include it in web2py as an alternative to eamy and
editarea,
may be as a default one
I can send the code and files that I used
hi Roberto,
a few questions about uwsgi 1:
- how it is running by default: threaded or async?
- does it limits memory usage or I have to use as before --limit-as
80 ? I suppose that I have to pass parameter as it doesn't know the
memory limit
please tell me what you think about my command
hi,
I need to display a form (similar to a blog post), but only when a
user is registered,
but the page should be displayed even if user is not authenticated,
except the form
#a list of posts
{{if auth.user:}}
{{=form}}
{{else:}}
h3{{=T('Posting messages requires login')}}/h3
hi,
I am thinking how to extend DAL so it could be suitable for OriendDB
SQL
or for
http://www.unqlspec.org/display/UnQL/Home
do you have any thoughts on that?
gae storage is already an example of DAL variations by not supporting
joins and other features
We welcome people of any gender identity or expression, race,
ethnicity, size, nationality, sexual orientation, ability level,
religion, culture, subculture, and political opinion
+1
for me that means that Johan has the right to include his signature,
as we accept him,
that speaks about
hi,
I am interested to know if there is anyone using jython with web2py in
production
- on top of what server
- with what database
- what is the memory consumption
- what is the performance
thank you
hi,
sqlite 3.7+ supports better concurrency (see
http://www.sqlite.org/draft/wal.html),
on webfaction, there are multiple python versions installed, but
python2.7 is built against 3.3.6
so I built from sources sqlite, python 2.7 and now on /home/my_user/
bin/python2.7 I can use latest sqlite
why I think it is time:
- python 3 is already in version 3.2
- pypy will start soon a python 3 implementation
- python 3 has many cool features (OrderedDict, all strings are
unicode, etc), well some of them already ported to 2.7 :)
- many libraries used by web2py already support python 3: rocket
I got this error
import cPickle
ImportError: No module named copy_reg
seems fixed in 0.9.9.2
thank you
and some questions:
is it possible to run uwsgi with jython ?
when do you think it will be possible to run uwsgi with pypy ?
thank you again for your awesome project
hi Roberto,
This version seems to be backward incompatible:
--protocol http --socket 127.0.0.1: doesn't seems to work for me
and using uwsgi --http 127.0.0.1: with --touch-reload makes uwsgi
to exit completely (no uwsgi processes after touching the file )
hi,
just noticed that you added table_class to dal define_table method
thank you Massimo,
do you have anything in mind to use it for? or you did a favor to
me ? :)
hi,
soon I will have a conversation with a client and it is possible that
we will discuss this thing too,
I have good experience with php, but not with Drupal,
if some of you have some experience and migrated to web2py please
share that
thank you
here is an interesting article about source code licenses
http://gskinner.com/blog/archives/2008/07/source_code_lic_1.html
the author in summary says
I would strongly encourage developers to release shared code under
the MIT license.
and
I would also encourage developers to petition the owners
I get an error when access an amfrpc3 service from flex (works for
1.96.4)
[FaultEvent fault=[RPC Fault faultString=Send failed
faultCode=Client.Error.MessageSend
faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Status 500: url: 'http://localhost:8000/myapp/gateway/call/
hi,
I like markmin syntax, I am thinking to use it, yet I have a few
questions
- is there a html to markmin converter? (a markmin to html is - /gluon/
contrib/markmin/markmin2html.py)
- how to emebed flash?
- what about including css or javascript ? (script, link )
thank you
http://projects.unbit.it/uwsgi/wiki/Example
just want to share some news :)
recently released
pypy 1.5
jquery 1.6
codemirror 2
flex 4.5
hi,
I am here to present a work in progress: a lighweight jquery based
html editor
http://8plus2.org/init/static/bolteditor/index.html
it is in alpha version
now it is 10kb of js code + 15kb html+css+images
and of course dependencies jquery and jquery.ui.position
user interface (and just user
Hi,
I am developing a solution to store hierarchical data,
we have already nested sets, but I have some reasons to develop an
alternative
for those interested to contribute with ideas and implementation
the description (draft)
how to use reCaptcha in other form then authorization forms?
is it possible or do I need to implement that?
please help
from my country
http://www.tigan.md/card1.aspx?id=7417ac7c-3188-4652-b9b2-362875219e70
from google
http://www.google.com/mail/help/motion.html#utm_source=en-et-na-usutm_medium=new-features-linkutm_campaign=en
hi,
I cannot find in the book how to use recaptcha with simple forms
for now I need recaptcha or requires login for comments,
any thoughts?
hi,
sqlite supports fulltext search http://www.sqlite.org/fts3.html
also mysql, mssql, oracle, and soon GAE
what could be some steps to add support for fulltext search in dal?
I want to do that
@auth.requires_login()
@service.amfrpc3('myservice')
def item_list():
return [1,2,3]
but of course it will not work as it can't redirect to login form,
how to use then authentication and authorization here?
hi,
I propose to add a few things to DAL
1) an 'act_as' parameter in define_table so I can extend Table class
and use it as regular table
for e.g.
db.define_table(images,
Field(category, db.categories),
Field(title),
act_as=OrderedList,
)
OrderedList is a class that extends Table
What is the status, I would like to test it
On Jan 31, 4:19 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
g...
I can port it to the new one. Can you help with testing?
On Jan 31, 3:04 am, elffikk elff...@gmail.com wrote:
hi Massimo,
I think this is due to a list
hi Massimo,
I would like to have something like sqlsoup,
but I don't need it to inspect database to do class mapping or so
I am just interested to use dal syntax without defining my tables
( they are already in the database)
When I have to develop database parts I have 2 scenarios:
- everything
I think this is cool
http://morepypy.blogspot.com/2011/02/pypy-faster-than-c-on-carefully-crafted.html
hi,
I use dal standalone with gevent for a high io bound program,
there are thousands of users each with his own database (mysql),
I update some tables with info from the web, and to make it fast I use
a few hundreds greenlets,
that means each has a db (DAL) object, which use a db connection
hi Massimo,
I think this is due to a list of backward incompatibilities
http://www.pyamf.org/whatsnew/0.6.html
http://nginx.org/
a few files that I used for CentOS 5+
(I can;t attach them so I provide links)
http://thebookle.com/thebookle/static/install/supay.py
http://thebookle.com/thebookle/static/install/www.d
http://thebookle.com/thebookle/static/install/server_install.txt
use commands from server_install.txt
place
hi,
I use version 1.82.1 (latest) and this seems not to work
('(.*):https?://(.*)site\.com:(.*)/(.*)', '/site/$4'),
for simple site.com getting error
site - is another name :)
Is it possible to use hardcron when running on rocket not on apache?
I am running web2py on top of gevent.pywsgi on CentOS 5.+
soft cron is just not suitable...
I know that web2py aims to be secure, but if you use it with amfrpc
service that could be interesting to read
http://www.ivizsecurity.com/blog/web-application-security/testing-flash-applications-pen-tester-guide/
I am getting such an error in last release of web2py, with previews
versions didn't try
Traceback (most recent call last):
File ...\web2py\gluon\restricted.py, line 178, in restricted
exec ccode in environment
File .../web2py/applications/mailtest/models/models.py, line 7, in
module
will it be hard to add this in web2py?
http://code.google.com/p/amfast/source/browse/#svn/trunk/examples/messaging/python
or it is again a question for Tim? :)
hi,
this is not related to web2py, just to rocket
I just got trac running with Rocket.
Performance is great!
But one thing that I need is authentication using at least basic auth,
since trac is relying on web server authentication
anyone can help with that? seems that cherrypy does it
and
hi,
how to use sql functions in dal expressions ?
particularly I am interested in mod operator (%) for using on updates
need somethings like that
db.table.update( (db.table.field+n) % db.table.count() )
hi,
I want to serve multiple websites (absolutely different domains) using
the same web2py instance
I am getting always an 'Invalid request' message
routes.py is something like that
routes_in = (
('^.*site1\.com.*/(.*)', '/site1/$1'),
('^.*site2\.com.*/(.*)', '/site2/$1'),
)
I read this
a simple test loading one by one the same link, leaving concurrency
and advanced testing to Tim and others :)
just wanted to feel the improvement, and I have to say Tim did his job
very well
web2py 1.76.5 vs 1.77.1 load test
10 requests:
1.76.5 - 0.3016 seconds
1.77.1 - 0.2736 seconds
100
hi,
just downloaded 1.77.2 (from
http://www.web2py.com/examples/static/web2py_src.zip
),
but it shows that is version 1.77.1
content of version file:
Version 1.77.1 (2010-04-19 15:50:56)
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
hi,
I use a few project stored on github, and I find it easier to navigate
source code or to get a trunk version.
What about moving web2py on github?
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
Berkeley DB's new SQLite-compatible SQL API
Oracle Berkeley DB 11g Release 2 introduces a new SQL API, based on
SQLite, which is familiar to a large developer community and helps
simplify application development.
http://www.oracle.com/us/corporate/press/063695
A few things to note (from press
hi,
I am trying to install web2py on hostmonster (fcgid) using this (how
to install django)
http://www.hostmonsterforum.com/showthread.php?t=3100
but ... :(
fcgi scripts are running only from cgi-bin/ directory,
tried to install just cherrypy and it seems not finding a free port,
logs says that
hi,
is there somebody that used sqlalchemy with web2py,
how hard will be to do that?
my thoughts now are to try it with formalchemy as alternative to
web2py models + things like SQLForm or SQLTable
--
You received this message because you are subscribed to the Google Groups
web2py-users
Hi,
have someone used amfast with web2py?
http://code.google.com/p/amfast/
I am interested in using it with web2py in gae
http://code.google.com/p/amfast/wiki/ExampleImplementations
so if someone used it please share your experience, save my time :)
--
You received this message because you
No one had this problem?
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more options, visit
Hi,
I created routes in the root folder of web2py and it look like that
routes_in = (('.*:/crossdomain.xml', '/myapp/static/
crossdomain.xml'),)
I don't see any errors but http://127.0.0.1:8000/crossdomain.xml shows
an 'Invalid request' message
Any thoughts?
--
You received this message
Hi,
A while ago I read in web2py manual that gae doesn't support
transactions
I found this link
http://code.google.com/appengine/docs/python/datastore/transactions.html
Quite confused.. Any one can tell me more about?
--~--~-~--~~~---~--~~
You received this
Hi,
I started a nested sets implementation
Just sharing the code. I welcome any thoughts you have
2 files - nstree_controller (just quick and dirty tests of the model),
and nstree_model
[nstree_controller :]
t1 = nstree(db, db.tree1)
def index():
return dict(message=Version +
Hi,
I am pretty new to web2py and ... need help :)
I am trying this and works (json service)
def call(): return service()
@service.json
def getList():
return db().select(db.classifieds.ALL)
but with amf doesn't work
def call(): return service()
@service.amfrpc
def getList():
return
59 matches
Mail list logo