yep
On Tuesday, February 5, 2013 1:04:27 AM UTC+1, pal...@gmail.com wrote:
niphold, what do you mean when you say opening directly the URL that fails?
On Thursday, January 31, 2013 1:10:18 AM UTC-8, Niphlod wrote:
did you try opening directly the url that is failing through ajax ? that
Thanks once again :)
I really appreciate your quick response to these questions.
A happy web2py user.
2013/2/4 Massimo Di Pierro massimo.dipie...@gmail.com
You will be fine. SPAN should be there by default. It is not and that is
an oversight. FONT is not there because deprecated tag.
Pumplerod,
This is not normal, please send here the code (only what is needed no
private data) to reproduce the problem so that it can be investigated.
What is needed is:
model
controller
view
mic
2013/2/5 pumplerod pumple...@gmail.com:
As a more complete test I did 3 things...
1)
Hello,
I have a field like:
Field('reseller', label='Resellers (Optional)',
requires=IS_IN_SET(session.resellers, multiple=True),
widget = SQLFORM.widgets.checkboxes.widget),
which is displayed as a list of checkboxes, which is what I want. But the
list is very long and the submit button
Perfect, thank you very much!
On Monday, February 4, 2013 4:23:55 PM UTC-7, Anthony wrote:
See http://web2py.com/books/default/chapter/29/10#Generic-views. The
framework disables generic views by default, though in db.py of the
scaffolding app, they are enabled on localhost only. Set
Hello all,
-I have downloaded and installed python-ldap 2.4.10 from here:
http://pypi.python.org/pypi/python-ldap/2.4.10
--Windows binary 2.4.10 for Python 2.7
--I get no errors when trying to import in the shell, so it's installed.
-I have followed the directions here to attempt to setup
are the parsed data (files?) being held in memory somehow?
are you building forms with dropdown lists that are growing as you add new
data?
i suspect either something is being held in memory longer than you think it
is, or you are doing something that is causing web2py to do a query under
the
you have to write multiple queries, and depending on what data and how much
you are joining you might use different techniques. you might also
consider adjusting your datamodel to not require a join.
wanna share some more info about your datamodel so we can give some more
pointed feedback?
On Tuesday, 5 February 2013 06:34:12 UTC+11, Leonel Câmara wrote:
Hey,
I don't know if this is relevant but I'm using webfaction with their
wiki's install script.
I was wondering what's the easy way to make the new Scheduler run
automatically when my application reboots.
Thanks
It seems that the newer version of web2py deemed there were some
differences between how the table is defined in the web2py model file and
how it i
Did the DAL migrate functionality change significantly between version
1.93.2 and 2.3.2?
Can anyone advise?
many thanks,
Andrew.
I
Hi Andrew,
Now, I have an application hosted on openshift web2py 2.0.9.
and it is working fine.
If I upgrade to 2.3.2 (by clicking on upgrade now) and then some problems
happened,
How do i return back to 2.0.9 ?
Regards,
Ashraf
--
---
You received this message because you are subscribed
Tim,
I had tried with various permutations of migrate and fake_migrate on the
tables and in the top level db definition, but it kept timing out/freezing.
I now managed to get it to work using only migrate_enabled=False at the db
definition.
The thing is, I want migration enabled. That's one of
Hi web2py-users!
I've got the following question: I've defined two field like this
Field('Beginn','time',requires=IS_EMPTY_OR(IS_TIME()),label=T('Start'),represent=lambda
value, row: value.strftime('%H:%M') if value else ''),
I guess simply disabling migration on auth will work, e.g.
auth.define_table(migrate=False)
PS: if migrations are fired it means that the .table files are out of sync
with your current model.
PS2: if you're totally sure that your current model is in sync with the
database (hence the only
hi ,
I am posting some data to web2py server from IE browser via
XDomainRequest . at the server am using request.post_vars[something] to
make use of the recieved data.
But the DB insertion shows new line , but None as the field data.
Something special I have to be aware of ?
Regards,
Great! I've just tested it and it seems to work very well, I am getting the
304 that I was looking for. Now many resources are no longer sent to the
client saving bandwidth, I think many web2py applications will appreciate
this speed up.
@Niphlod, the header you have mentioned will force to keep
On Tuesday, February 5, 2013 2:49:24 PM UTC+1, Paolo valleri wrote:
Great! I've just tested it and it seems to work very well, I am getting
the 304 that I was looking for. Now many resources are no longer sent to
the client saving bandwidth, I think many web2py applications will
look:
mongodb on web2py
http://www.web2pyslices.com/slice/show/1580/save-the-earth-from-a-total-data-mess-with-mongodbadapter
El lunes, 4 de febrero de 2013 09:39:00 UTC-5, Phyo Arkar escribió:
Hello Web2py.
I haven't update Web2py for long but we are now trying something with
Mongodb
Hi All,
As in the title I'm an absolute beginner... now I'd like to see my app
online. Probably it would be more correct to say that I would learn to
deploy for choosing then the hosting for my app.
I think that using Gae would be the best solution (for a beginner) but I
was not able to find
Hi all,
I have a problem with a form which is not processing and I don't know why.
First things first, here's the definition of the form (this is for a
contact page) from default.py:
def contacts():
form = SQLFORM.factory(
Field('Name', requires=IS_NOT_EMPTY()),
Since you are using the windows binary, it comes with its own python and it
does not see packages you installed on you other python.
Your best option is use the web2py source distribution. It will see
packages you install.
On Monday, 4 February 2013 17:09:13 UTC-6, Nicholas Duffy wrote:
Please open a ticket about this and link to this page. This should
definitively be done automatically. It is a web2py bug if it does not.
On Monday, 4 February 2013 17:24:47 UTC-6, Sebastian Cambeo wrote:
yes it does work ok GAE ;)
I am using currently the following workaround, but this
{{=form}} creates the form/form tags for you, so you've actually put
one form inside another form.
Anthony
On Tuesday, February 5, 2013 9:34:10 AM UTC-5, Calycé wrote:
Hi all,
I have a problem with a form which is not processing and I don't know why.
First things first, here's the
I tried:
from contrib.pypyodbc import pypyodbc as pyodbc
and I get:
gluon.contrib.pypyodbc.OdbcNoLibrary: 'ODBC Library is not found'
Can you help?
On Monday, 4 February 2013 18:09:31 UTC-6, Derek wrote:
Any way we can add this?
http://code.google.com/p/pypyodbc/
It's a pure python
I am wondering to understand if from the theoretical point of view is true
or not that parallel requests are not handled in parallel. In the meanwhile
I will try to monitor the gain that we can have by session.forget in all
the downloads().
Paolo
2013/2/5 Niphlod niph...@gmail.com
On
I'm developing locally and using Git to manage and push updates to my
server (pythonganywhere) via github.
I've excluded databases in gitignore but need to migrate the wiki tables.
I think I could add !databases/*wiki* to the gitignore for the sqlite
tables but I'm thinking ahead when I plan
Yes it exists, independently what I want is to stop and relaunch the
process when the webserver reboots.
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Hey Ashraf,
If you find a particular snapshot or release isn't working for you, you
have a few options.
Since there are a few different scenarios I'll cover the most common ones
only:
Scenario 1:
You've upgraded but nothing is working and you can't even get to your
web2py instance in
Well... hmmm... errr I probably need to buy a new pair of glasses...
That's what happens when one is adapting an existing template...
shame on me... I really should have spotted this by myself...
Thanks a lot Anthony
On Tuesday, February 5, 2013 3:41:35 PM UTC+1, Anthony wrote:
{{=form}}
I think pyodbc works great on windows, for unix you should compile it
with unixODBC support:
http://code.google.com/p/pyodbc/wiki/Building
Anyway, surely in unix you will not have a tipical ODBC database to
test (MS SQLServer, MS Access, etc.) ...
Best regards
Mariano Reingart
Hello,
I have a case where an old site is done with Wordpress as front and
authentication from an external database. Showing of content is then
handled with somekind of XML viewer. Site contains 12 manuals. Manual 13 is
done with web2py and the idea is to though out the very old Wordpress and
Not sure I understand the question.
There are two issues. One is about sessions. Distinct requests from the
same user/session are serialized unless session._unlock(request) is called.
Requests belonging to different session are executed in different threads
but to a max number of threads
Hello,
In addition sending the model, view, controller code, you can try the
following.
It looks like dreamhost is using debian linux. You can try using the strace
command in a shell while your process is running. You can run it against
different process ids (pid) to help figure out what is
Hi Gerd,
Maybe Anthony's reply in this post answers your question:
https://groups.google.com/forum/?fromgroups=#!searchin/web2py/annet$20represent/web2py/dIRLNvDDC_A/WVNLYcwkF4kJ
Kind regards,
Annet
--
---
You received this message because you are subscribed to the Google Groups
On Tuesday, February 5, 2013 5:30:11 PM UTC+1, Massimo Di Pierro wrote:
Not sure I understand the question.
I think the doubt lies into the fact that given 1 request for the wiki page
and ,e.g., 4 requests for 4 embedded images the 5 requests would be
concurrent or serialized. In my apps
Take a look:
http://www.kickstarter.com/projects/1369857650/real-python-for-web-development-featuring-web2py
Why Web2py?
web2py is an open-source web framework for rapid development. You can get
up in running in less than 10 minutes and build a full-featured application
in under an hour. Much
Niphlod,
Thanks for all that information. I was getting issues with more than just
auth tables so had to take a different approach.
I carried out roughly the steps which I described above, and am happy to
report it is all working perfectly!
Regarding PS3, I thought migration only happened when
Still climbing my initial learning curve, the databases/*wiki* files are
the web2py table definition files I believe. I will need to export the
wiki data as part of the migration process.
One option I'm evaluating is to export the wiki data in CSV format. I've
exposed the wiki tables to
Hi All,
Am just about to test using request.requires_https() to force my GAE
sessions into SSL mode.
Is this the best way to do it (a) generally or (b) on GAE in particular?
--
Regards,
PhilK
'a bell is a cup...until it is struck'
--
---
You received this message because you are
Niphlod has written exactly what I have in mind.
Given the fact that distinct requests from the same user/session are
serialized as Massimo has outlined from my point of view we should add
session.forget() or session._unlock(request) as early as possible in the
download() function of globals.py
As I said, I edited dal.py and replaced references to pyodbc to pypyodbc
and that seemed to work. I believe the only adapter referencing it as a
driver was the mssql driver.
On Tuesday, February 5, 2013 7:45:28 AM UTC-7, Massimo Di Pierro wrote:
I tried:
from contrib.pypyodbc import
Hi all,
Can someone tell me if it's possible to change the number of cols for a
textarea when editing a record through SQLFORM.grid ?
I tried with maxtextlength but w/o success. I also saw that there is
maxtextlengths but I'm unsure on how to use it and if it is what I need.
Calycé
--
---
Hi Alan. Seeing your code must have helped because I did get it to run.
The following shows a demo script with functions to upload a file and
download a file utilizing a table containing a blob field. It worked twice
on a pdf for me. Note that I had to change the filename type from 'upload'
I'm reading up on strace now. in the meanwhile, here is the MVC code (not
sure if I can attach a file to google groups)….
Model:
-Nothing. I have an empty model file. Other than the default settings that
come with a new controller.
Ordinarily I am using a Model and writing to the SQLite
I agree. In trunk.
they both unlock but session.forget(response) does not save the session.
session._unlock(response) instead still saves the session when the request
is completed.
On Tuesday, 5 February 2013 12:33:03 UTC-6, Paolo valleri wrote:
Niphlod has written exactly what I have in
Which os? Not for me.
On Tuesday, 5 February 2013 12:53:07 UTC-6, Derek wrote:
As I said, I edited dal.py and replaced references to pyodbc to pypyodbc
and that seemed to work. I believe the only adapter referencing it as a
driver was the mssql driver.
On Tuesday, February 5, 2013 7:45:28
I normally use width
On Tuesday, 5 February 2013 12:55:37 UTC-6, Calycé wrote:
Hi all,
Can someone tell me if it's possible to change the number of cols for a
textarea when editing a record through SQLFORM.grid ?
I tried with maxtextlength but w/o success. I also saw that there is
edit the web2py.css and change the width and height of 'textarea'.
On Tuesday, February 5, 2013 11:55:37 AM UTC-7, Calycé wrote:
Hi all,
Can someone tell me if it's possible to change the number of cols for a
textarea when editing a record through SQLFORM.grid ?
I tried with maxtextlength
Any idea?
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit
On Tuesday, February 5, 2013 6:33:07 PM UTC+1, Andrew Buchan wrote:
Niphlod,
Thanks for all that information. I was getting issues with more than just
auth tables so had to take a different approach.
I carried out roughly the steps which I described above, and am happy to
report it is
+1 for web2py, -1 for blog as an example app.
On Tuesday, February 5, 2013 6:28:50 PM UTC+1, rochacbruno wrote:
Take a look:
http://www.kickstarter.com/projects/1369857650/real-python-for-web-development-featuring-web2py
Why Web2py?
web2py is an open-source web framework for rapid
This was on Windows.
It appears to be looking in these locations:
/usr/lib/libodbc.so,/usr/lib/i386-linux-gnu/libodbc.so,/usr/lib/x86_64-linux-gnu/libodbc.so
So, if it's not in those locations, you might want to add your libodbc.so
location.
line 462 of pypyodbc.py
On Tuesday, February 5,
Hello,
I am using an SSO apache module to handle authentication which passes the
username to web2py via the remote_user environment variable. I added some
logic in the models to check for this and create a user if not already
there.
model file relevant lines:
Recently I updated web2py from 1.99.4 to 2.3.2. Suddenly, a PDF report
stopped working.
Digging into the problem, I found there is a *pdf.py* file in my
application *modules/* folder. Also, I am using Geraldo Reports in *
web2py/site-packages*.
Geraldo reports has the following file:
i'm runing my app on GAE and i get this error :
http://web2pyutil.appspot.com/web2pyutil
Internal errorTicket issued:
unknownhttp://web2pyutil.appspot.com/admin/default/ticket/unknown
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To
Thanks for the reply Massimo.
Do you mean the web2py source? Because that is what I am using. I am able
to import other packages that I've installed via binary in
lib\site-packages like pyodbc and suds. I cannot seem to import ldap,
though.
On Tuesday, February 5, 2013 7:36:58 AM UTC-7,
What you are telling me is that pypyodbc does not require additional python
packages but it requires odbc.
On Tuesday, 5 February 2013 14:02:54 UTC-6, Derek wrote:
This was on Windows.
It appears to be looking in these locations:
The rule is that if something is imported web2py should first look in
app/modules/ because app-level modules should get priority else you cannot
override system wide modules. So 2.3.2 is doing the right thing. This did
not work well in previous versions.
On Tuesday, 5 February 2013 14:40:41
Look in the GAE log for the actual error.
On Tuesday, 5 February 2013 15:10:49 UTC-6, samuel bonilla wrote:
i'm runing my app on GAE and i get this error :
http://web2pyutil.appspot.com/web2pyutil
Internal errorTicket issued:
No idea. Whan you try open the web2py shell and try a manual import
python web2py.py -S welcome
import ldap
import ldap.filter
import sys
print sys.path
On Tuesday, 5 February 2013 16:20:05 UTC-6, Nicholas Duffy wrote:
Thanks for the reply Massimo.
Do you mean the web2py source? Because
I'm still having this error in 2.3.2
Every new user is added to wiki_editor group. Even if I remove the user
from the group, the user still has access to the wiki menu (I've specified
menugroups - see below) and when the user logsout and logsin again they are
automatically added back to the
https://stripe.com/blog/announcing-mosql
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit
but a ge this error in the console
/root//Desktop/webdev/google_appengine/appcfg.py
--email=my_em...@gmail.com--passin update /home/www-data/web2py
05:57 PM Host: appengine.google.com
05:57 PM Application: web2pyutil; version: 5
05:57 PM
Starting update of app: web2pyutil, version: 5
05:57 PM
i'm using: linux backtrack 5.
2013/2/5 samuel bonilla pythonn...@gmail.com
but a ge this error in the console
/root//Desktop/webdev/google_appengine/appcfg.py --email=
my_em...@gmail.com --passin update /home/www-data/web2py
05:57 PM Host: appengine.google.com
05:57 PM Application:
i'm using: linux backtrack 5 r3...
2013/2/5 samuel bonilla pythonn...@gmail.com
but a ge this error in the console
/root//Desktop/webdev/google_appengine/appcfg.py --email=
my_em...@gmail.com --passin update /home/www-data/web2py
05:57 PM Host: appengine.google.com
05:57 PM Application:
On Tue, Feb 5, 2013 at 6:03 PM, samuel bonilla pythonn...@gmail.com wrote:
but a ge this error in the console
2013-02-05 17:57:39,281 ERROR appcfg.py:1856 Filename cannot contain .
or .. or start with - or _ah/:
applications/init/static/menu/css/bootstrap.css.
Could not guess mimetype for
Looks awesome..
I already used the Mongo Data Wrapper (
https://github.com/citusdata/mongo_fdw) to replicate my Postgres data to
Mongo, I will take a closer look on this.
Thanks for sharing.
--
---
You received this message because you are subscribed to the Google Groups
web2py-users
Yup. It uses ctypes to access your existing odbc libraries.
On Tuesday, February 5, 2013 3:22:45 PM UTC-7, Massimo Di Pierro wrote:
What you are telling me is that pypyodbc does not require additional
python packages but it requires odbc.
On Tuesday, 5 February 2013 14:02:54 UTC-6, Derek
Have you installed python-ldap - http://pypi.python.org/pypi/python-ldap/ ?
On Tuesday, February 5, 2013 4:20:05 PM UTC-6, Nicholas Duffy wrote:
Thanks for the reply Massimo.
Do you mean the web2py source? Because that is what I am using. I am able
to import other packages that I've
C:\Console2python
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
on win
32
Type help, copyright, credits or license for more information.
import ldap
import ldap.filter
import sys
print sys.path
['', 'C:\\Python27\\lib\\site-packages\\setuptools-0.6c11-py2.7.egg',
I agree they should get priority over system wide modules, but not over
imports for files on the same directory. So in Geraldo reports, it does not
make sense that in the situation:
.../site-packages/geraldo/generators/__init__.py - from pdf import
PDFGenerator
Hi Annet!
So if i understand this right there is no possibility to change the
representation in an update form?
Thank you
Gerd
Am Dienstag, 5. Februar 2013 17:33:56 UTC+1 schrieb Annet:
Hi Gerd,
Maybe Anthony's reply in this post answers your question:
72 matches
Mail list logo