On Sun, 27 Dec 2009 11:46:50 -0800 (PST)
mdipierro mdipie...@cs.depaul.edu wrote:
import xmlrpclib
server=xmlrpclib.ServerProxy('http://127.0.0.1:8000/app/xmlrpctest/
call/xmlrpc')
print str(server.add(3,4)+server.sub(3,4))
I found my mistake.
The right format for calling is as below:
When I access my web2py application at:
https://admin.domain.com/welcome/default/index
and navigate to the administrative interface, I get the following
error:
admin disabled because unable to access password file
This is how I started web2py:
[...@webxxx ~]$ cd webapps/apachewsgi/web2py
https runs on port 443.
rename the file to
parameters_443.py
-Thadeus
On Mon, Dec 28, 2009 at 3:04 AM, annet annet.verm...@gmail.com wrote:
When I access my web2py application at:
https://admin.domain.com/welcome/default/index
and navigate to the administrative interface, I get the
Massimo,
Thanks for your explanation.
Kind regards,
Annet.
--
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
Thadeus,
Thanks for your reply, it pointed me in the right direction. I had to
change the file name to parameters_80.py to solve the problem.
I find all the port stuff rather confusing. In the httpd.conf file:
Listen is set to: 32043
NameVirtualHost and VirtualHost are set to: 127.0.0.1:8000
The number in the parameters file maps to the port that web2py is listening on.
If you are using WSGI, you should never have to start web2py
manually... since apache executes it for you, but I have no experience
with webfaction.
-Thadeus
On Mon, Dec 28, 2009 at 4:04 AM, annet
Hey Massimo, would you take a patch to Cache that allows it to keep
track of its hit ratio? It is nice from a profiling prospective, so
that you can easily determine if you have your cache settings too high
or too low.
Here is a screenshot of it in action...
On 27 dic, 21:32, Timbo tfarr...@swgen.com wrote:
editor. Their goal is to eventually create an IDE but it is far from
that at present. Other problems include no IE support and it suffers
from the same highlighting inconsistancies that plague Editarea since
it uses regexp-based parser. It
where we find the not finalised plugin spec?
2009/12/9 Darcy Clark d4r...@gmail.com
sorry to answer my own (dumb) question . looks like the plugin
spec isn't finalised yet, so understandably there aren't many docs
floating around yet
On Dec 9, 4:08 pm, Darcy Clark d4r...@gmail.com
On 27 dic, 19:50, mdipierro mdipie...@cs.depaul.edu wrote:
Ideally I would like to have a better web based IDE fully coded in JS.
An IDE coded in JS? That can be a thing of the past, in a short time.
Native CLient (NaCl) lets running native code in web applications. So
could be used i.e.
Hi there,
it would be nice to have the _next variable working for user/logout
like it works for user/login
In my case i always show a menu on top, whenever a user wants to log
in I open the login page an after a sucessfull login I redirect them
to wherever they have been before, doing the same
Hi all,
I followed the tutorial on
http://wiki.web2py.com/build_wiki_with_versioning_and_auth_in_3_minutes_and_deploy_on_google_cloudto
quickly add a wiki to an existing application I have, but I'm having
acess denied messages when trying to create a wiki page. I boiled down to
the current user
I like it. Could you email me the new cache.py?
On Dec 28, 5:43 am, Thadeus Burgess thade...@thadeusb.com wrote:
Hey Massimo, would you take a patch to Cache that allows it to keep
track of its hit ratio? It is nice from a profiling prospective, so
that you can easily determine if you have
I also like the screenshot. Would you add a page to appadmin?
On Dec 28, 5:43 am, Thadeus Burgess thade...@thadeusb.com wrote:
Hey Massimo, would you take a patch to Cache that allows it to keep
track of its hit ratio? It is nice from a profiling prospective, so
that you can easily determine
I cannot find the page you link. Do you refer to this:
http://www.vimeo.com/6782736
?
On Dec 28, 3:12 am, Alexandre airm...@gmail.com wrote:
Hi all,
I followed the tutorial
onhttp://wiki.web2py.com/build_wiki_with_versioning_and_auth_in_3_minut...
quickly add a wiki to an existing
I think it is correct
self.storage[key] = (time.time(), value)
so
self.storage[key][0] is time and self.storage[key][1] is value
web2py does not use this anywhere but apps may use it.
Massimo
On Dec 28, 12:05 am, Thadeus Burgess thade...@thadeusb.com wrote:
def increment(self, key,
Hi Przemyslaw,
I am forwarding your email to the mailing list since this issues are
probably of general interest.
request.function is always the function requested by the browser in
the URL. When your program calls redirect, it tells the browser to
request the other page. If you want to
Thadeus, your web interface its simply awesome!, clear and nice... what
is this blogitize about? could you tell us something more?
Thanks in advance,
Alex F
El 28/12/2009 15:56, mdipierro escribió:
I also like the screenshot. Would you add a page to appadmin?
On Dec 28, 5:43 am, Thadeus
If you build it, I will come. =)
On Dec 28, 6:34 am, Joan Miller pelok...@gmail.com wrote:
On 27 dic, 19:50, mdipierro mdipie...@cs.depaul.edu wrote: Ideally I would
like to have a better web based IDE fully coded in JS.
An IDE coded in JS? That can be a thing of the past, in a short time.
about calendar.js, I found in http://docs.jquery.com/Plugins/Calendar
that it has renamed to http://docs.jquery.com/UI/Datepicker.
Datepicker suports localization:
--
I am all for replacing the current calendar.js with another datepicker
but it must have datetimepicker functionality too. The one you propose
does not.
We could use this http://plugins.jquery.com/project/DateTimepicker but
I have not tried it.
I would take a patch to replace it.
Massimo
On Dec
I'm using web2py for an intranet but notice that in the default config
web2py does not handle all requests to the port you serve from.
Basically I want to accept connections from
'localhost','127.0.0.1','whatevermyhostnameis','etc' all on say port
80 of the server. I know how to set this up but
If you use the built-in web server, when you start it, serve from
0.0.0.0
On Dec 28, 11:39 am, Delaney delaneygilli...@gmail.com wrote:
I'm using web2py for an intranet but notice that in the default config
web2py does not handle all requests to the port you serve from.
Basically I want to
On Mon, Dec 28, 2009 at 13:05, mdipierro mdipie...@cs.depaul.edu wrote:
I cannot find the page you link. Do you refer to this:
http://www.vimeo.com/6782736
?
Yes, it's exactly that tutorial but it's written down. Weird, the link is
working for me. I didn't followed the tutorial line by line
Thanks... This works as a param on the command line ''' start
web2py_no_console.exe -t -a recycle -p 80 -i 0.0.0.0 '''
But if create a options.py with
import socket,os
ip = '0.0.0.0'
port = 80
taskbar = True
password = 'recycle'
folder = os.getcwd()
server_name = socket.gethostname()
I get...
Hello,
I'm using eclipse IDE to develop an application. After reading the
FAQ Support Eclipse, web2py, imports, code hints and code
completion. There it explains that to let Eclipse know about
variables being passed into the controller at runtime, you can do the
following
global db
global
Are you logged in? You just need to be logged in to create and edit
pages. When you edit a new one is created and the old version is
archived.
Massimo
On Dec 28, 11:57 am, Alexandre airm...@gmail.com wrote:
On Mon, Dec 28, 2009 at 13:05, mdipierro mdipie...@cs.depaul.edu wrote:
I cannot find
you need these in options.py
extcron = None
nocron = None
On Dec 28, 12:20 pm, Delaney delaneygilli...@gmail.com wrote:
Thanks... This works as a param on the command line ''' start
web2py_no_console.exe -t -a recycle -p 80 -i 0.0.0.0 '''
But if create a options.py with
import socket,os
Yep, with a few more things (profiler_filename, ssl, etc) the options
file works!
On last thing. Since this is a backend that a non-techy will run (as
the 'server' at a expo kiosk) is there anyway to either disable or
modify the splash screen for the web2py_no_console.exe -t at
startup. I have
Not sure if this is what you are asking but if you run web2py.exe with
-a 'password' there will be no splash screen. Not sure about
web2py_no_console.exe since i do not use windows and I never tried it
myself.
Massimo
On Dec 28, 1:04 pm, Delaney delaneygilli...@gmail.com wrote:
Yep, with a few
How about http://milesich.com/timepicker/
On Dec 28, 11:24 am, mdipierro mdipie...@cs.depaul.edu wrote:
I am all for replacing the current calendar.js with another datepicker
but it must have datetimepicker functionality too. The one you propose
does not.
We could use
In the hopes of another google summer of code project. I am hoping on
having web2py as part of the collection of participating organizations.
Could we gather a list of features, fixes, and other additions that
would help web2py become a better platform and help others become great
contributors to
That doesn't seem to be true if you combine with -t option. For
web2py.exe as well.
On Dec 28, 11:32 am, mdipierro mdipie...@cs.depaul.edu wrote:
Not sure if this is what you are asking but if you run web2py.exe with
-a 'password' there will be no splash screen. Not sure about
I improved the function and put it at
http://www.web2pyslices.com/main/slices/take_slice/46
Features:
- links in every breadcrumb
- can set a breadcrumb to args
- can localize/personalize the controllers - using T()
Thanks to Richard richardbp(at)gmail.com, for original function that I
On Dec 28, 3:45 pm, Alexandre Andrade alexandrema...@gmail.com
wrote:
I improved the function and put it
athttp://www.web2pyslices.com/main/slices/take_slice/46
Features:
- links in every breadcrumb
- can set a breadcrumb to args
- can localize/personalize the controllers -
I don't know the specs to do a plugin.
I posted a message yesterday about it but have no answers
2009/12/28 JorgeRpo jorgeh...@gmail.com
On Dec 28, 3:45 pm, Alexandre Andrade alexandrema...@gmail.com
wrote:
I improved the function and put it athttp://
I have a quick question, how do I show an image stored in database (as
blob; the default used in web2py when image is stored using crud)
like, if some one embeds link like /image/24 , it shows image not
html (i mean, content type is automatically set)?
On Nov 19, 10:02 pm, mdipierro
I've read some threads about it but what's the status?
I see Django supports CouchDB and I think that's easy to do it also in
web2py (and then mongoDB and tokyo tyrant).
http://lethain.com/entry/2008/aug/18/an-introduction-to-using-couchdb-with-django/
any ideas?
thanks
--
You received this
I like it. Just make sure that if it is very fancy works cross
browser.
On Dec 28, 1:37 pm, Brian M bmere...@gmail.com wrote:
How abouthttp://milesich.com/timepicker/
On Dec 28, 11:24 am, mdipierro mdipie...@cs.depaul.edu wrote:
I am all for replacing the current calendar.js with another
It is hard to test this for me since I do not have windows. There
should not be a splash screen when running with -t if options.py is
present. I would take a patch to fix this.
On Dec 28, 2:21 pm, Delaney delaneygilli...@gmail.com wrote:
That doesn't seem to be true if you combine with -t
My advice is do not do this manually because it is complicated
db.define_table('mytable',Field('image','upload',uploadfield='ablob'))
this automatically creates a Field('ablob','blob') where it stores
images. Field('image') stores a tmp name for uploaded images including
the original extension.
Via a webform... using SQLFORM
On Sat, Dec 26, 2009 at 12:39 PM, mdipierro mdipie...@cs.depaul.edu wrote:
inserting via web forms or via db.table.insert(...)?
On Dec 26, 7:54 am, Tito Garrido titogarr...@gmail.com wrote:
When I'm inserting strings using ç ã õ é á on GAE
you can create a
Can you check in your page source via the browser if there is any http
meta that sets the encoding to something other than UTF8?
Massimo
On Dec 28, 5:33 pm, Tito Garrido titogarr...@gmail.com wrote:
Via a webform... using SQLFORM
On Sat, Dec 26, 2009 at 12:39 PM, mdipierro
I don't know if I have problems with my email (cause nobody responded me
the last ones asking for help), anyway next try:
Thank you so much Alexandre, I think is a very useful bit of code
because this feature (breadcumbs) its a must for web 2.0 nowdays, and
from my point of view I think it
I am working in a new plugin comments. I could use some help in testing.
You can add comment to any page just do
{{=LOAD('plugin_comments',args=['tablename',1])}}
where 1 is the record_id of the db[tablename] you want to add comments
to.
--
You received this message because you are
P.S. Requires trunk web2py or add this at the bottom of your models/
db.py
auth.user_id = (auth.user and auth.user.id) or None
On Dec 28, 7:27 pm, Massimo Di Pierro mdipie...@cs.depaul.edu wrote:
web2py.plugin.comments.w2p
2KViewDownload
I am working in a new plugin comments. I could use
Yes but it is incrementing the **value**, not the **time**.
-Thadeus
On Mon, Dec 28, 2009 at 9:06 AM, mdipierro mdipie...@cs.depaul.edu wrote:
I think it is correct
self.storage[key] = (time.time(), value)
so
self.storage[key][0] is time and self.storage[key][1] is value
web2py
Should it not be incrementing the time?
-Thadeus
On Mon, Dec 28, 2009 at 7:46 PM, Thadeus Burgess thade...@thadeusb.com wrote:
Yes but it is incrementing the **value**, not the **time**.
-Thadeus
On Mon, Dec 28, 2009 at 9:06 AM, mdipierro mdipie...@cs.depaul.edu wrote:
I think it
Yes, I do, but failed .
is it ok for u ?
the database I use is mysql . Even I insert a row into mysql through mysql
client manually, no change at all, either.
module code start ###
os.chdir(/path/to/web2py/)
from gluon.shell import env
Massimo... Let me send you mine :)
-Thadeus
On Mon, Dec 28, 2009 at 7:30 PM, mdipierro mdipie...@cs.depaul.edu wrote:
uires trunk web2py or add this at the bottom of y
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group,
After testing, it was an issue with how I was sending the pings... it
was stupidly obvious and one of those moments that make you say
Dope!
So its right there, in request.headers['X-Pingback'] just as it should be.
[SOLVED]
-Thadeus
On Wed, Dec 23, 2009 at 11:56 AM, Thadeus Burgess
please do!
On Dec 28, 8:17 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Massimo... Let me send you mine :)
-Thadeus
On Mon, Dec 28, 2009 at 7:30 PM, mdipierro mdipie...@cs.depaul.edu wrote:
uires trunk web2py or add this at the bottom of y
--
You received this message because you
Blogitize is my personal blogging software I am making in web2py :)
I don't like how you need different systems for different things,
(wordpress to blog, another one for an image gallery, another one to
host projects/source code) which is why I am making this, to be an all
in one solution.
Here
Buried beyond 100's of google posts.
Good Luck!
There is also a screen cast on plugins at vimeo.
http://www.vimeo.com/7182692
The reason there is no official spec is because the system most
likely change. In my recent efforts making plugins, it leads to a
quite archaic design pattern for the
What about...
auth.settings.login_url = URL(r=request, c='admin/user', f='login')
auth.settings.logged_url = URL(r=request, c='admin/user', f='profile')
auth.settings.login_next = URL(r=request, c='admin', f='index')
auth.settings.logout_next = URL(r=request, c='admin', f='index')
I have a db.py that is giving me all sorts of problems. If I start Python on
the command line, what do I need to do to initialize my environment to be
like web2py ? Is there a way to source db.py and start debugging?
Thanks,
C. Helck
--
You received this message because you are subscribed to
Thanks for the response. I believe I understand your suggestion. DBs are not
one of my areas of strength, and so I'm struggling with issues that may be
simple. So, I have a few follow up questions:
Question 1
In:
db.define_table('application',
Field('name'),
Field('version'),
Here you go, I hope it works since I have not tested it outside of my
blog's environment. There are a ton of customizations that can be done
and settings that can be edited. Also the comments will use WMD editor
if you choose to use markdown syntax for comments, however it does not
ship with it.
Hi, I'm relatively new to both web2py and google app engine. I'm
running on Fedora 11. I played around with standalone GAE for a while
and got some things working before jumping to web2py. However, I can't
seem to get web2py to run under GAE. When I start it up, there is a
series of warnings, but
I cannot find it either.
On Dec 28, 8:51 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Buried beyond 100's of google posts.
Good Luck!
There is also a screen cast on plugins at vimeo.
http://www.vimeo.com/7182692
The reason there is no official spec is because the system most
likely
web2py.py -S yourapp -M -R yourscript.py
web2py.py -h
for help
On Dec 28, 10:00 pm, Christopher Helck christopher.he...@gmail.com
wrote:
I have a db.py that is giving me all sorts of problems. If I start Python on
the command line, what do I need to do to initialize my environment to be
like
On Dec 28, 10:23 pm, Christopher Helck christopher.he...@gmail.com
wrote:
Thanks for the response. I believe I understand your suggestion. DBs are not
one of my areas of strength, and so I'm struggling with issues that may be
simple. So, I have a few follow up questions:
Question 1
In:
Thank you a ton!
On Dec 28, 10:53 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Here you go, I hope it works since I have not tested it outside of my
blog's environment. There are a ton of customizations that can be done
and settings that can be edited. Also the comments will use WMD editor
you cannot use Google dev_appserver with python 2.6. It requires
Python 2.5. Google App Engine runs on 2.5.
Massimo
On Dec 28, 9:18 pm, reyelts reye...@gmail.com wrote:
Hi, I'm relatively new to both web2py and google app engine. I'm
running on Fedora 11. I played around with standalone GAE
I assumed that the line:
requires=IS_NOT_IN_DB(db
(db.application.name==request.vars.name),db.application.version)
Was a typo and that you had forgotten a comma. I parsed it as:
requires=IS_NOT_IN_DB(db, (boolean expression, field)
But it really is:
requires=IS_NOT_IN_DB(db(expression),
When I set
auth.settings.controller = 'admin'
Shouldn't it then default to that?
When I request an action that requries login, it takes me to
http://127/init/default/user/login which is... well wrong.
Looking at the code, the login_url, etc... uses self.url() however the
What's the best way to use web2py to process a queue of data in a cron
job without race conditions?
My code basically does this:
for task in db(status != 'done').select():
success = do_long_thing_with(task) # takes a long time, might
fail
if success:
task.update_record(status =
for db(status == 'pending').select():
task.update_record(status == 'processing')
success = do_long_thing_with(task)
fail
if success:
task.update_record(status = 'done')
This way, records that have a status of processing will not get pulled
in by a concurrent thread.
-Thadeus
This still has a big problem. It only checks status when starting the
loop. If thread 2 starts, and then thread 1 does a row, thread 2 will
do that row too.
On Dec 28, 11:19 pm, Thadeus Burgess thade...@thadeusb.com wrote:
for db(status == 'pending').select():
task.update_record(status ==
69 matches
Mail list logo