Web2py 2.14.2, imageutils.py in line 31, falta una coma ","
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are
greetings.
excuse me I'm using google translator (my language is Spanish)
location:
a control system for assistance.
* A central computer where managers come and go down the reports.
* Some stations where the person registers its input and output (such
equipment may or may not be connected to the
db = DAL('postgres://usuario:puerto@localhost:5432/welcome',
pool_size=1,check_reserved=['all'], fake_migrate_all=True)
db.define_table('denuncia',
Field('status', 'integer', default=0, writable=False,
readable=False),
Field('descripcion', 'text'),
files presented below:
controller
modules
models
and throws error
controller:
##
@auth.requires_login()
def update():
ubicacion = db.ubicacion(auth_user=auth_user_id)
db.ubicacion.ciudad_pais.widget = SQLFORM.widgets.autocomplete(
request, db.ciudad_pais.nombre, min_length=2,
greetings to all.
in the following model (which generally works well)
http://pastebin.com/DkUvq29r
when the user enters values in the group are not changed
to uppercase by the system .. bone does not apply is_upper () that
Requires to define in this field
the controller is as follows:
I'll try to explain better:
I need my app to do login using facebook.
you can test in juegozona.com
juegozona.com is configured in the panel WebFaction to use the ip:
108.59.6.232
http://i.minus.com/iFYHPECFl6LpM.png
when the visitor tries to login, facebook return to the page from
which you
greetings
3 app I'm developing
of which need all the login is using facebook.
the point is that one of the app has N amounts of domain names
and facebook is necessary to configure a domain for each system login.
I happened to use CAS
in this way the app welcome would serve as a central
The following code gives me error if not explicitly use db.commit ()
can someone explain why I now need to use db.commit () to something so simple?
models/home.py
##
id_user = (auth.user and auth.user.id) or None
db.define_table('home',
Field('titulo', 'string', length=64,
saludos!
quiero tener semi sincrinizada varias app instaladas en varios sitios
diferentes (geograficamente)
quiero poder distribuir la app bajo la licencia MIT y que cualquier la
instale en local, para ser usada cómodamente entre los
usuarios de su intranet.
pero también me interesa que esa app
Greetings!
I write to ask what happened
with checkboxes widget error
reference to the report is as follows:
http://code.google.com/p/web2py/issues/detail?id=221can=1q=checkbox
in my case I tested using 'list:string'
the error persists
Díaz Luis
http://www.facebook.com/diazluis2007
User Linux
when using the autocomplete widget
and the system throws me at least 2 output options,
the list is presented so small that it is impossible to use.
the solution is:
in base.css
/*
input[type=text], input[type=password], select {
height: 16px;
}
*/
Díaz Luis
Greetings
pose the scenario:
I have 2 VPS:
the first where web2py run the app I'm developing.
the second that I have for postgresql database
Now the question ..
as the database is not on the same server
I require to connect securely?
Díaz Luis
http://www.facebook.com/diazluis2007
User Linux
pbreit
that link does not lead me to anything ..
Díaz Luis
http://www.facebook.com/diazluis2007
User Linux 532223
progjuegos.com
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
and 500MB swap
Díaz Luis
http://www.facebook.com/diazluis2007
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
2011/3/19 Luis Díaz diazluis2...@gmail.com
next week I test
.
On Mar 24, 3:55 pm, Luis Díaz diazluis2...@gmail.com wrote:
I just implement a VPS with debian 6 / 64bit
using the script setup-web2py.sh
VPS administrator in me Proxmox typical samples
consumption of 669 ram and without using the application
but from the console I see
-wsgi.sh
Massimo
On Mar 24, 5:37 pm, Luis Díaz diazluis2...@gmail.com wrote:
will try next week to conduct stress tests.
someone has a script-style setup-web2py.sh?
allow me to implement a tornado server
and allows restart in case of failure
Díaz Luishttp://www.facebook.com
Greetings!
I do not remember if I comment the following draft
http://www.freesoftwareuni.com/
well, the area is very active python ..
all have good intentions and desire to contribute with ideas, time and
effort.
in my humble opinion, propose and design something related to web2py
would be
next week I test with that configuration,
whatever the result will comment
Díaz Luis
http://www.facebook.com/diazluis2007
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
+1
Díaz Luis
http://www.facebook.com/diazluis2007
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
2011/3/17 villas villa...@gmail.com
On Mar 17, 7:19 pm, guruyaya
+1
Díaz Luis
http://www.facebook.com/diazluis2007
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
2011/3/12 Anthony abasta...@gmail.com
+1
On Friday, March 11, 2011 10:58:37
add shortcuts and much more magic.
distance of the system of philosophy python
Python is clean, easy to read.
You can love the language and can devote
time reading, that is understandable, allowing you to learn more easily
web2py is easy, because it's python, not have to learn new and
in my humble opinion
I think abbreviations are unnecessary.
this is ruby on rails
remember everyone:
the code is read more times than is written.
Díaz Luis
http://www.facebook.com/diazluis2007
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad de
premature optimization is the root of all evil
otherwise I still use:
URL (f = 'default ', c = 'home')
these characters f =, c =
I may write more readable code
perhaps for lack of time and hard work
has not documented the new features
but a new feature that is not reported or explained, is a feature that does
not exist :S
Greetings and thanks for the good work!
Happy Carnival: D
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad
.
If test passed with success, feature get documented and this feature
will be same in all next releases.
And yes, if it not documented, it is not exist and no complains for
brocked compatibality could be.
fix me.
On 6 мар, 22:52, Luis Díaz diazluis2...@gmail.com wrote:
perhaps for lack
Explicit is better than implicit.
+1
Universidad de Carabobo
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
2011/2/12 Luis Díaz diazluis2...@gmail.com
Translation error .. sorry.
I could not ..
might wonder if any of you?
Díaz Luis
TSU Analisis de Sistemas
,
WSGI and web2py (4 WSGI processes)
i have done this on my work machine (running turnkey Linux (based on
Ubuntu 10.04) in a virtualbox). i will document and post what i have
done on Monday (14th feb 2010)
On Feb 12, 6:10 pm, Luis Díaz diazluis2...@gmail.com wrote:
I'm using
Lundell jlund...@pobox.com
On Feb 14, 2011, at 9:48 AM, Luis Díaz wrote:
Greetings.
I have tried to replicate the error and have had no
exicto.
Thanks. What version of psycopg2 are you using?
Environment:
virtual server 1: debian ssl web2py
virtual server 2: debian ssl postgresql
://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
2011/2/14 Luis Díaz diazluis2...@gmail.com
I have installed:
python-psycopg2/lenny update 2.0.7-4
Question:
What is the funsion of psycopg2?
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad
and cgi setup you are using?
i am really impressed with the speed of cherokee + wsgi + web2py, the
memory foot print is small and the whole thing runs like greased
lightning :D .. i just hope to solve this proxy issue.
On Feb 11, 10:50 pm, Luis Díaz diazluis2...@gmail.com wrote:
I forgot
Greetings.
I could create a web2py.app.error.w2p
and detail the specifications of the environment,
I will try to put him eye to the issue.
I am a rookie .. but I would try
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad de
Translation error .. sorry.
I could not ..
might wonder if any of you?
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
2011/2/12 Jonathan Lundell jlund...@pobox.com
Greetings,
web2py I mention that I use in my work.
and we have a proxy that we restrict the output
by user name and password
I have solved the problem properly configuring the proxy on the computer
where I have installed debian web2py
nano /etc/profile
adding the following lines:
export
I forgot.
if you need to specify username and password
then the structure would be something.
export http_proxy = http://username:password@proxy:port/
export https_proxy = http://username:password@proxy:port /
export ftp_proxy = http://username:password@proxy:port /
2011/2/11 Luis Díaz diazluis2
Results for 13/01/2011
Chrome
1648%Firefox
1339%Explorer
13%Safari
13%Otros
13%opera
13%-
total 33100%
graphic:
https://spreadsheets.google.com/gform?key=0AmLSamhVd-XldEZVOU16eE80VWdPQ0lMVWlTWl82Y2chl=espli=1gridId=0#chart
--
Díaz Luis
TSU Analisis
updated, add operates on the following link.
https://spreadsheets.google.com/viewform?formkey=dEZVOU16eE80VWdPQ0lMVWlTWl82Y2c6MQ
I am developing an extension for chrome (very easy to do).
I am evaluating the development of the same for Firefox based on the number
of users
2011/1/11 cjrh
+1
2010/12/24 Albert Abril albert.ab...@gmail.com
Happy Holidays, happy winter solstice, and happy new year.
No doubt we have a great community!
Kind Regards!
--
Albert Abril,
@desmondo
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
+1
2010/12/24 ron_m ron.mco...@gmail.com
I for one am happy with the current release cycle. It is a good balance
between new features and the ultimate stability of release 1.XX.N where N
is the last version before XX+1 for example. The nightly build is a bit of a
misnomer, many projects (C
in particular whenever new versions come out ... I always say ... have to wait
1 week or 2 to becomestable ...
unless the new features are highly anticipated and then one is
dedicated to testing
the system
2010/12/22 KR kaerbu...@gmail.com
I support that.
For me the last stable is 1.89.5 (or
+1
2010/12/22 R. Strusberg strusb...@gmail.com
Another reason to switch from *webframework to web2py!.
+1 :-) Merry Christmas +1
2010/12/21 mdipierro mdipie...@cs.depaul.edu:
For now trunk only. This will propagate to stable since 1.91.1
--
Díaz Luis
TSU Analisis de Sistemas
forgot comment:
1) PEST was changed by TAB
2) the system detects the color of the main DIV and appliesthe tab
3) can even customize the color of the tab off, default is light green
2010/12/18 Luis Díaz diazluis2...@gmail.com
as recommended by a friend: Bruno Rocha
make some changes
+1
excellent teamwork
2010/12/18 mdipierro mdipie...@cs.depaul.edu
This is a major - major release mostly because it includes the new
DAL.
It is supposed to be 100% backward compatible but cleaner, and more
readable. We have fixed every known issue. If 1.90.1 breaks you DAL
queries,
Greetings.
I like working with tabs
here posted something that I designed,
http://www.box.net/shared/6p0hfupjin
I hope to improve the work with your comments and suggestions
and also post my progress on the mailing list in Spanish
I personally like ... obvious is my creation ha ha ha
notes:
* very good perspective you used
* TAG is certainly easier to read than PEST
use PEST because my language is Spanish and use it asshorthand for
PESTAÑA
* with respect to:
Needs a Proper way to output dynamic CSS
I do not understand, I could explain with an example?
* I do not like the plugin.
as recommended by a friend: Bruno Rocha
make some changes to the system tab
I get it link:
http://www.box.net/shared/6p0hfupjin
is the same but the file is new version
2010/12/18 Luis Díaz diazluis2...@gmail.com
* very good perspective you used
* TAG is certainly easier to read than PEST
is't code:
db.define_table('tag',
Field('nombre', 'string', length=32, ondelete='CASCADE'),
format='%(nombre)s'
)
db.define_table('producto',
Field('nombre', 'string', length=64, ondelete='CASCADE'),
Field('codigo', 'string', length=10),
Field('tag', 'list:reference tag'),
use the SQLFORM.widgets.checkboxes.widget with a
list:reference
On Dec 15, 12:11 pm, Luis Díaz diazluis2...@gmail.com wrote:
is't code:
db.define_table('tag',
Field('nombre', 'string', length=32, ondelete='CASCADE'),
format='%(nombre)s'
)
db.define_table
empty database
and the error disappears.
may be in the tests were corrupted data
could show me how to do what I need without having to install plugin_wiki?
2010/12/15 Luis Díaz diazluis2...@gmail.com
eliminating SQLFORM.widgets.checkboxes.widget
I still get the error
2010/12/15 mdipierro
thanks for the help Massimo Di Pierro and Bruno Rocha
2010/12/15 rochacbr...@gmail.com
could show me how to do what I need without having to install plugin_wiki
?
http://web2py.com/plugins/default/multiselect
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
in the following statement:
db.producto.stock.requires = IS_INT_IN_RANGE(0, 999, error_message='Error')
value of 999 in stock returns me error.
only works with maximum values of 998
in gluon.validators
in line 588:
elif self.minimum = value self.maximum:
should be
elif self.minimum = value =
suggestion for def navbar
only requires users to register with your email and password
therefore comment (#) fields and requires that do not need.
everything works fine.
the only thing auth.navbar
Welcome None.
that I can adapt to my needs ... and would thus be
Welcome usua...@dominio.com
the
Greetings.
I have problems when trying to read the file populate.py
I just want to see the code and my system is experiencing a strange
behavior.
use linux
I tried it with the beaver and Komodo editor
the problem does not prevent me from working
my apps run perfectly
just commented Case
--
thanks and quiet
only was the comment,
I also thought of the size of line 3
and I read
I like to read the code
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
Facultad de
other suggestions:
button to temporarily disable the application mind, but which allows run on
127.0.0.1
in this way could work in the system and the visitor would see that the
system is under maintenance
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
other suggestions:
a mini database administrator PostgreSQL / MySQL or another.
I mean:
one uses SQLite because it does not require any configuration or MySQL as
the hosting is provided.
would be great in the admin web2py have an assistant you can connect, create
and delete easily PostgreSQL
+1
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
+1
http://nodebox.net/code/index.php/Boost_Graph
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
I had a similar problem and was produced by my work poxy
if you are behind a proxy, I recommend you disable it in your browser while
you do local tests.
--
google translator
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
As I think I prefer the old style
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
thanks for the info
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
cuales serian los a favor y los contras en comparación a Google app engine?
what would be the pros and cons compared to Google App Engine?
2010/10/22 glimmung phil.kil...@gmail.com
Hi All,
For anyone looking for hosting, Amazon's recent announcement of the
AWS Free Tier may be of
congratulations very good job.
request:
can you write an article ... recommendations or suggestions .. or good
practices applied during the development of Instant Press?
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
Facultad de
short question:
could be implemented as flash p2p?
know any example using amfast in web2py?
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
Facultad de
I have found lots of information
http://groups.google.com/group/web2py/browse_thread/thread/17b65f7b52d1217a/c23323bb9567c6b5?lnk=gstq=RTMP#c23323bb9567c6b5
http://dev.rtmpy.org/wiki/RTMP
http://marcbc.blogspot.com/2009/03/file-sharing-using-stratus-part-2-send.html
very good design!
I like the irc channel
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
Thank you very much ..
problem solved
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
http://web2pyfacil.blogspot.com/
Facultad de
Odontologíahttp://www.odontologia.uc.edu.ve/index.php?option=com_contentview=articleid=102Itemid=85
#google translator
Need:
- main application welcome
- many applications related app1, app2, App3 ... etc.
- users to register and login in welcome, assign groups, permissions and
that the session is valid at any app
- the primary database is in welcome and any app can work with
perhaps I have a similar problem ..
I just installed with:
wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
chmod + x setup-web2py-ubuntu.sh
sudo ./setup-web2py-ubuntu.sh
the system could not connect ..
until I happened to switch to https
Nor did then download:
Greetings,
there is an option select multiple problems.
should have at least 5 lines minimum
to select various options to see
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
my thoughts:
Mailing List seems an excellent idea ..
when you have time in the group realizes that mdipierro answers most
questions ...
looks great and sincerely thank him personally.
my language is Spanish and sometimes do not understand the emails from this
list and why I use a translator lol
Greetings:
I implement JanRain
and I have an account and I have the api key and
I imagine that the domain is localhost
remove the comments in the models.py and make changes and domain api_key
I'm still under development, so my application runs in:
http://localhost:8000/welcome/
the system
: S solved ..
I did not know that the domain is the one recorded in JanRain
The simple version ..
example:
https: / / superapp.rpxnow.com
the domain is: superapp
at this point that the basics work ..
wonder ..
as I draw pictures of the user profiles?
commented that after about 1 hour try .. I did not understand
and chooses to leave aside crud.select by SQLTables
where:
db.define_table ('tabla_x'
Field ('type', 'string'),
Field ('fecha_x', 'date'),
)
this does not work:
mi_fecha = request.now
rows = db (tabla_x.fecha_x == mi_fecha). select ()
wonder how I can implement off-line cache for content:
Type:
http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html #
application-cache-api
I created the file:
static / mi_manifest.manifest
and I added: layout.html
html manifest=mi_manifest.manifest
with the necessary
new user specific groups
I want the users who register
they are not set up a group automaticamante.
so disable the option ..
auth.settings.create_user_groups = False
now I need that users successfully achieve registration are added to the
group type 1 or type 2 .. conditionally speaking
I tried
Greetings, my personal and humble opinion about plugin_wiki:
You're on the right track and if it remains as plugin, I congratulate you
in advance!
Plugin_wiki I hope to keep growing and allow more people to become part of
Community shows
I hope it is another tool and not something that
me gusta la idea de tener pestañas en mis diseños.
y no quiero hacerlas todas a mano.
entonces cree varios script que me facilitan el trabajo:
en layout.html:
!-- mas o menos a nivel de head --
{{ pestania = response.pestania}}
{{if pestania:}}
script type=text/javascript!-- inicio
how I can create your own functions, style MENU () or URL ()?
I want to call them from any (controllers, view) without import
with local_import
as they like web2py native code
--
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo
thank you very much.
2010/7/19 rāma ranjeev...@gmail.com
Usually you create a function in the model so that it is available
throughout the view and and controllers.
On Jul 20, 1:57 am, Luis Díaz diazluis2...@gmail.com wrote:
how I can create your own functions, style MENU () or URL
ask
You can create an intranet-style distributed in web2py p2p?
Each client node is connected to the primary node and stores your content:
reference bone contents (not the full content)
client nodes are connected to the main content to search and locate the
reference of closest nodes which serve
the same happens? if you run the application directly with python without
using apache?
in my job application can be used by about 160 users simultaneously .. download
music, send messages, among other things
original Spanish
translated with google
--
Díaz Luis
TSU Analisis de Sistemas
I have no problems ..
sole wonder
better performance if I run python directly web2py? (Is what I have thought
to ask)
I like what the bottleneck, because the user can enjoy music from the
application
I further commented that my application was thought initially to 160 users
.. where does this
83 matches
Mail list logo