Hello,
I would like to use the superfish menu that is on the welcome
application but showing only some links depending the role the user
has. Is that possible??
Thanks in advance
Hello,
The following code before I updated web2py via mercurial worked well
for me. Now I get the following error if the ajax parameter is set to
False. If is set to True, there is no error but the place where the
view should be loaded is alway saying: loading... and nothing is
showed.
div
myself.
Thanks for all
On 1 jun, 22:48, Massimo Di Pierro massimo.dipie...@gmail.com wrote:
David and salbefe have different issues.
@David
web2py_component('quick_add_contact.load','contact_list')
should be
web2py_component('{{=URL('quick_add_contact.load'}}','contact_list')
@salbefe
Hello,
Yo can do this:
db.auth_user.insert(first_name=...,last_name=...,email=...,password=db.auth_user.password.validate(myPassword))
On 28 abr, 08:36, 黄祥 steve.van.chris...@gmail.com wrote:
hi,
is there a way to input encrypted user password for the first time
execution? i mean like
...@gmail.com wrote:
hello,
thank you so much for your pointer, salbefe. i can input the encrypted
password but the result not like i've expected before. i mean there is an
additional character on the field password.
e.g.
db.auth_user.bulk_insert([{'first_name
wrote:
hello,
thank you so much for your pointer, salbefe. i can input the encrypted
password but the result not like i've expected before. i mean there is an
additional character on the field password.
e.g.
db.auth_user.bulk_insert([{'first_name
Hello,
In the application were are developing a user with the admin role has
to register the 'other users' that will have access to it. We would
like to make a view that must have a form for registering users and a
list of the users that are currently registered (all in the same view)
For
I have downloaded last updates form
Hello,
I have downloaded last updates from the mercurial repository and when
I try to execute web2py :
python web2py.py
I get the following error:
ImportError: No module named simplejson.scanner
File C:\web2py\web2py.py, line 16, in module
import
Now is working,
Thanks !!
On 1 mar, 20:24, Massimo Di Pierro massimo.dipie...@gmail.com wrote:
Please check again.
On Mar 1, 12:25 pm, salbefe salb...@gmail.com wrote:
I have downloaded last updates form
Hello,
I have downloaded last updates from the mercurial repository and when
Hello,
I have read severals posts about this error before posting but no one
solves my problem.
I'm running web2py from sources on a windows xp machine with python
2.6.6. I have downloaded and installed the last binary stable psycopg2
3.2.1 driver for windows and last I have downloaded
\bdist.win32\egg\psycopg2\_psycopg2.py, line 7, in
module
File build\bdist.win32\egg\psycopg2\_psycopg2.py, line 6, in
__bootstrap__
ImportError: DLL load failed: No se puede encontrar el modulo
especificado.
On 23 feb, 12:21, salbefe salb...@gmail.com wrote:
Hello,
I have read severals posts about
Hello,
I have a controller that gets same data from a database and creates a
new file in excel format. These controller needs some time to write
out the content of the database.
In the view there is a form that when is submited calls this
controller. I need to download the file once this has
Hello,
I need to push some content in my website in 'real time'. I'm asking
if someone had tried orbited (http://orbited.org/). After reading this
post: Integrating Orbited with Web App Frameworks (http://orbited.org/
blog/2008/09/integrating-orbited-with-web-app-frameworks/) it seems
that it
, salbefe salb...@gmail.com wrote:
Hello,
I need to push some content in my website in 'real time'. I'm asking
if someone had tried orbited (http://orbited.org/). After reading this
post: Integrating Orbited with Web App Frameworks (http://orbited.org/
blog/2008/09/integrating
Hello,
I would like to know how can I obtain the number of the current users
that are logged on.
Thanks in advance!
Roberto, thank you for all your responses by I can't make this thing
working.
As you told me I did the following:
In a new terminal and as root I did :uwsgi --pythonpath /var/web2py --
module wsgihandler -s /tmp/
we2bpy.sock --socket :9092 and this one too:
uwsgi --pythonpath /var/web2py
wrote:
Il giorno 10/set/2010, alle ore 10.36, salbefe ha scritto:
Roberto, thank you for all your responses by I can't make this thing
working.
As you told me I did the following:
In a new terminal and as root I did :uwsgi --pythonpath /var/web2py --
module wsgihandler -s /tmp
...@unbit.it wrote:
Il giorno 10/set/2010, alle ore 11.17, salbefe ha scritto:
After downloading the current mercurial tip and after trying to
compile I get the following error:
[r...@tango uwsgi]# make -f Makefile.Py26
python2.6 uwsgiconfig.py --build
Traceback (most recent call last
Yes !! It's working now ! Thank you very much :)
Only one question more: because I'm running uWSGI independently from
cherokee, how can I do to start uWSGI at system startup?
Thanks a lot!
On 10 sep, 12:15, Roberto De Ioris robe...@unbit.it wrote:
Il giorno 10/set/2010, alle ore 12.07, salbefe
Hello,
I'm trying to deploy web2py with cherokee on a fedora core 13 distro
but I have several problems on it. I have read the slice web2py with
Cherokee via uWSGI: a simple, easy guide that it could be found in
web2pyslices but this guide is outdated because it seems to be done
for an older
.
Anyone has any idea?
Thanks in advance
On 9 sep, 15:30, Jose jjac...@gmail.com wrote:
On 9 sep, 07:42, salbefe salb...@gmail.com wrote:
Hello,
I'm trying to deploy web2py with cherokee on a fedora core 13 distro
but I have several problems on it. I have read the slice web2py
looking at /var/log/cherokee/error_log that is what I get:
[uWSGI] parsing config file /var/web2py/config.xml
*** Starting uWSGI 0.9.6 (32bit) on [Thu Sep 9 23:37:45 2010] ***
compiled with version: 4.4.4 20100630 (Red Hat 4.4.4-10)
Python version: 2.6.4 (r264:75706, Jun 4 2010, 18:20:16)
[GCC
Hello,
I'm getting this error when I try to star any of the app:
Ticket issued: admin/127.0.0.1.2010-05-18.10-39-45.4c56ac32-
d0db-4f64-98f0-9e3c1c93518b
Traceback (most recent call last):\n File C:\\web2py\\gluon\
\main.py, line 381, in wsgibase\nserve_controller(request,
response,
Hello,
Only a question, at http://pypi.python.org/pypi/ibm_db/ there is a
Python DBI driver for DB2. Why web2py is still using ODBC?? Will not
be better to use this one instead of pyodbc??
Thanks
On 11 mayo, 16:27, mdipierro mdipie...@cs.depaul.edu wrote:
Thank you. will look into it.
=bWorld/div
this will work because the code is executed onclick and not on ajax
load.
Massimo
On May 7, 12:22 pm, salbefe salb...@gmail.com wrote:
Hello,
First of all, I think I should say sorry because probably this is not
the correct place to post the following problem but I'm getting
Hello,
First of all, I think I should say sorry because probably this is not
the correct place to post the following problem but I'm getting crazy.
My problem with jquery is as follows:
On a view I have a form that is submited via web2py ajax method.
Something like this
[]
form
Hello,
I have a SQLFORM.factory form that I need to prepopulate with some
data from a database.
id_nodo = request.args(0)
## I get the data from the database
nodo = db(db.node.id==id_nodo).select().first()
detalle = db(db.node_details.node_id==id_nodo).select().first()
##Now I need to
:
depending on the logicl you may not need this if statement at all.
Massimo
On Apr 16, 6:55 am, salbefe salb...@gmail.com wrote:
Hello,
I have a SQLFORM.factory form that I need to prepopulate with some
data from a database.
id_nodo = request.args(0)
## I get the data from
[record_id]
db.user.id.default = record.id
db.user.name.default = record.name
... etc etc
form = SQLFORM.factory(
db.user.name, db.user.email, Field('CustomField', default='hi')
)
--
Thadeus
On Fri, Apr 16, 2010 at 9:57 AM, salbefe salb...@gmail.com wrote:
Thank
Hello,
I'm trying to do my custom registration form. I have some problems
with the password_two field.In my custom registration form
form.custom.widget.password_two does not work (when it renders I get a
None value) and as I could read on other thread (on august 2009) it is
said that
I have notice that the welcome application has the same 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
Thanks,
Now is clear to me.
--
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
Hello,
With the following code:
div class=container style=color:#ff;text-align:center;
span onclick=ajax('show_month',[3],'test'){{=month_str}}/
span
div id=test/div
/div
I get the following javascript error message:
document.getElementById(s[i]) is null
I do not why I'm getting
Hello,
I do not know why but on the default login form that I have on my
application, If I click on the register link web2py redirects to the
profile view.
The default/user controller is the same as the welcome application and
the default/user.html view the same.
That happens only on my app. The
... And the register link, links correctly to /init/dafult/user/
register
--
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
SOLVED. Something was happened with firefox
Sorry
--
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.
Hello,
I made a custom login form with the following code.
{{if request.args(0)=='login':}}
{{=form.custom.begin}}
Email:{{=form.custom.widget.email}}
Password:{{=form.custom.widget.password}}
{{=form.custom.submit}}
{{=form.custom.end}}
Now, when the user inputs an incorrect email or password
Hello Massimo,
I'm using a custom layout and I don't get any other flash messages.
On 22 mar, 15:08, mdipierro mdipie...@cs.depaul.edu wrote:
Do you get other flash messages? do you have a custom layout?
On Mar 22, 5:47 am, salbefe salb...@gmail.com wrote:
Hello,
I made a custom
It's working fine now.
Thanks.
On 8 mar, 05:03, mdipierro mdipie...@cs.depaul.edu wrote:
Please check it. It is in.
On Mar 6, 12:17 pm, Jose jjac...@gmail.com wrote:
On 6 mar, 15:36, salbefe salb...@gmail.com wrote:
I'm using the latest version from mercurial repository.
I sent
Hello,
After successfully connecting to the database I tried altering the
definition of a table from this:
db.define_table('node_details',
Field('uid', 'integer', notnull=True),
Field('title', length='255'),
Field('body', 'text'),
I'm using the latest version from mercurial repository.
On 6 mar, 13:53, Jose jjac...@gmail.com wrote:
On 6 mar, 09:14, salbefe salb...@gmail.com wrote:
The output from sql.log is as follows:
ALTER TABLE node_details DROP COLUMN teaser;
The problems is that for dropping a column
Thank you.
Regards
Salva
On 6 mar, 19:17, Jose jjac...@gmail.com wrote:
On 6 mar, 15:36, salbefe salb...@gmail.com wrote:
I'm using the latest version from mercurial repository.
I sent a patch to Massimo.
Jose
--
You received this message because you are subscribed to the Google Groups
Thank you,
I did as Villas said and is working fine but I do not understand the
DAL for checking reserved SQL keywords.
If put the following connection string : db = DAL('firebird://
SYSDBA:master...@localhost/c:\programas\ctodb.fdb',
check_reserved=['firebird']) I get the same error as if I
Hello,
I'm testing web2py with firebird 2.1 and I get the following error
when I try to connect:
Traceback (most recent call last):
File C:\web2py\gluon\restricted.py, line 173, in restricted
exec ccode in environment
File C:/web2py/applications/init/models/db.py, line 34, in
module
Hello,
I need to built a left sidebar from a database. In the main layout
file I have the following code:
div class=unit
div class=container
{{include 'default/leftsidebar.html'}}
/div
/div
, 11:08, salbefe salb...@gmail.com wrote:
Hello,
I need to built a left sidebar from a database. In the main layout
file I have the following code:
div class=unit
div class=container
{{include
the variables needed by both views.
On Feb 14, 5:54 am, salbefe salb...@gmail.com wrote:
Another question
I would like a put a calendar on my website.
div class=unit
div class=container
{{include 'default/calendar.html'}}
/div
/div
I know how to generate
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
Hello,
I would like to know which is the best way to connect to a DB2
database. Could I use for example, the PyDB2 module or have I to
connect through ODBC??
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this
.
Massimo
On Jun 2, 6:04 pm, salbefe salb...@gmail.com wrote:
Annet,
I found the problem but not the solution
The login form that exposes http:///[app]/default/user/login has
a hidden field called _next. This field at the beginning is empty.
Because is empty web2py should redirect
Hello,
To explain what I'm trying to say I will put an example.
For people that come from PHP frameworks like Zend or Code Igniter we
use the models on the following way:
First, we write each model on a file (like web2py) for example:
?php
class Usermodel extends Model {
function
, 6:03 pm, JohnMc maruadventu...@gmail.com wrote:
salbefe,
I understand your point coming from a CakePHP utilization. But most of
the PHP based frameworks naturally gravitate to using a lower level of
abstraction when operating on the DB with a global namespace. What you
will find
Hello,
I don't know If I doing something wrong but I thought that after login
using @auth.requires_login() I should be redirected to the index
function.
With this code, after login I remain on the loging screen: http://
127.0.0.1:8000/test/default/user/login
def index():
example
Thank you Annet
I have tried your code but I does not work :( . Inside the Auth class
source code I found this line of code inside the __init__ function :
self.settings.login_next = self.url('index'). I think that means that
after login it should be redirected to the index funtion.
Tht's what
Hello Annet,
I have set the URLs as you did in db.py, in my case:
auth.settings.login_url=URL(r=request, c='default', f='user/login')
auth.settings.login_next=URL(r=request, c='default', f='index')
auth.settings.logout_next=URL(r=request,c='default',f='index')
I think I do not need the first
Annet,
Which version are you using??
Best regards
Salva
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from
Annet,
I found the problem but not the solution
The login form that exposes http:///[app]/default/user/login has
a hidden field called _next. This field at the beginning is empty.
Because is empty web2py should redirect to auth.settings.login_next=URL
(r=request, c='default', f='index').
Hello Massimo,
Only one question: what's new on this version??? It's possible to
known the changes between versions??
Thanks a lot.!!
On 1 jun, 17:17, mdipierro mdipie...@cs.depaul.edu wrote:
web2y 1.63.1 posted
--~--~-~--~~~---~--~~
You received this message
Sorry I found it
On 1 jun, 17:44, salbefe salb...@gmail.com wrote:
Hello Massimo,
Only one question: what's new on this version??? It's possible to
known the changes between versions??
Thanks a lot.!!
On 1 jun, 17:17, mdipierro mdipie...@cs.depaul.edu wrote:
web2y 1.63.1 posted
Massimo, It happens on the mac version too.
Regards
On 25 mayo, 04:54, mdipierro mdipie...@cs.depaul.edu wrote:
Yes, this is a known problem with the windows version. I will fix it
asap.
Massimo
On May 24, 9:40 pm, Yannick ytchatch...@gmail.com wrote:
Sorry maybe I don't understand
60 matches
Mail list logo