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 (nothin
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? :)
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
Fiel
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/
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...
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 :)
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 www
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" grou
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
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 rel
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 web...@go
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 re
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 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 pos
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,
is there something like SqlSoup in web2py ? (http://www.sqlalchemy.org/
docs/reference/ext/sqlsoup.html)
and another
will happened something to the rest of database if I will create a
single table to work with?
http://nginx.org/
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
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 " + nstree.ve
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 messag
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 becau
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 th
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 are
why that is not working, always shows 'invalid controller' for simple
http://localhost/ request
routes_in = (
('/(.*)', '/myapp/$1'),
)
routes_out = (
('/myapp/(.*)', '/$1'),
)
hi Massimo,
I think this is due to a list of backward incompatibilities
http://www.pyamf.org/whatsnew/0.6.html
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
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,
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 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 )
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
I got this error
import cPickle
ImportError: No module named copy_reg
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 ev
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
>
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
"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 himse
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
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:}}
{{=T('Posting messages requires login')}}
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
uw
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
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
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
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
how
I think this is cool
http://morepypy.blogspot.com/2011/02/pypy-faster-than-c-on-carefully-crafted.html
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
What is the status, I would like to test it
On Jan 31, 4:19 pm, Massimo Di Pierro
wrote:
> g...
>
> I can port it to the new one. Can you help with testing?
>
> On Jan 31, 3:04 am, elffikk wrote:
>
>
>
>
>
>
>
> > hi Massimo,
>
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 T
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 cannot find in the book how to use recaptcha with simple forms
for now I need recaptcha or requires login for comments,
any thoughts?
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-us&utm_medium=new-features-link&utm_campaign=en
how to use reCaptcha in other form then authorization forms?
is it possible or do I need to implement that?
please help
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)
https://docs.google.com/document/d/1ZOwRUJz4gRPI875rftTfwOBIera1JgZDP
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
http://projects.unbit.it/uwsgi/wiki/Example
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 ? (
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/ca
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
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
you have a wrong spelled link on https://bitbucket.org/speedbird/pyforum,
please fix http://pyfroum.org/ to http://pyforum.org/
62 matches
Mail list logo