I'm not sure of the best way to approach this, any suggestions?
I am inserting records into a table that contains an upload field for
an image (which is stored in the table as a blob). The user will be
able to later change this image via a form, and I wish to expose the
field for download, thus t
Yes, in my application comma creates "invalid request' error too. I
had to write a special javascript routine to ensure that there is no
commas in requests (they are produced by flot library when you drag an
area in the chart). I recommend to use /geocoder/index/london/ontario
and retrieve values
FIREBIRD 2.1.2 and web2py 1.66.2 . After renamed fieldname and
tablename i registrated user and i input login and password but after
error. Not insert ticket... On sqlite this application work. What is
problem? Thank's for help
Error traceback
Traceback (most recent call last):
File "/web2py_1
Hello! I test KPAX+FIREBIRD. tablename and fieldname
('user','password','page','file') not create to database. May be
rename tablename and fieldname... But this'is very much problem in
scripts. May be edit sql.py where cleanup. Thanks for help.
--~--~-~--~~~---~--
Looking in the help forums, this appears to be a similar problem for others.
On Sun, Aug 30, 2009 at 10:11 PM, Yarko Tymciurak wrote:
> I think first we need to raise the issue with searching to google;
>
> On Sun, Aug 30, 2009 at 9:42 PM, Alexandre
> Andrade wrote:
>> Well, if the problem is hos
I think first we need to raise the issue with searching to google;
On Sun, Aug 30, 2009 at 9:42 PM, Alexandre
Andrade wrote:
> Well, if the problem is host, I can host it
>
>
>
> 2009/8/29 Pynthon Pynthon
>>
>> True, it is more professional. Only problem is the hosting...
>>
>> 2009/8/29 mr.free
Julio,
Well, I try it on new version of web2py, and it can't install.
Can you provide a new package, using a new version of web2py?
2009/8/30 Alexandre Andrade
> Well, if the problem is host, I can host it
>
>
>
> 2009/8/29 Pynthon Pynthon
>
> True, it is more professional. Only problem is t
Well, if the problem is host, I can host it
2009/8/29 Pynthon Pynthon
> True, it is more professional. Only problem is the hosting...
>
> 2009/8/29 mr.freeze
>
>
>> Also, I think a web framework that eats it's own dog food is more
>> convincing.
>>
>> On Aug 29, 1:34 pm, "mr.freeze" wrote:
>
Hi,
I'm doing some geocoding. I have a geocoder.py file with an index
function.
A url like:
/geocoder/index/london
uses the value 'london' (stored in request.args[0]) just fine. But if
I add a comma, as in:
/geocoder/index/london,_ontario
I get an "Invalid request" error. It's not even a web
Oh thanks a lot for the tips.. yes now it works... Thanks :)
On Aug 30, 1:57 pm, Mladen Milankovic wrote:
> Hi.
>
> I tried it and it didn't work, and then looked at it with firebug and changed
> it a little. The ul that contains the menu has the class menu, in this case.
> As you wrote the css,
hello,
there was a lot of enthusiasm a month back about developing the
estore:
http://groups.google.com/group/web2py/browse_thread/thread/371616dac1584bd5
I was wondering whether that effort got off the ground.
The current description for estore says "Almost complete" - is there a
list of missin
The search on google groups seems broken to me. For example, go to
http://groups.google.com/group/web2py/topics?start=4630&sa=N. This
will bring up the oldest posts (Oct 2007). Now try searching for one
of the subjects listed (i.e. cookbook tutorial). I get no results.
Also, whenever I search,
also, is pyforms still tied to MySQL? It would be good to update for
DAL usage (e.g. db independent), and would be interesting to see it
running on GAE.
On Sun, Aug 30, 2009 at 8:05 PM, Yarko Tymciurak wrote:
> better or worse, the best place for information is where people use
> it, and questio
yeah I've also noticed some weird results when searching. I assumed
Google would nail it!
On Aug 31, 11:15 am, "mr.freeze" wrote:
> The search on google groups seems broken to me. For example, go
> tohttp://groups.google.com/group/web2py/topics?start=4630&sa=N. This
> will bring up the oldes
better or worse, the best place for information is where people use
it, and questions and answers accumulate (e.g. content trumps function
to a large degree). Ultimately, people will go where they can find
answers (either through replies or searching). In general, even the
forums are google sear
hi Massimo,
didn't realize exec_environment was not recommended. Perhaps that
could be mentioned in the manual (p 125).
How would you recommend I import my model? I created models/
__init__.py and then tried:
>>> from gluon.sql import SQLDB
>>> from applications.test.models import db
which thre
I really like pyforum and consider it the best available web2py app
out there.
However Google Groups has worked well - no downtime, low amount of
spam, good search support, email updates, etc. (It is a much better
system than Yahoo Groups.)
Is pyforum ready for all that?
And I like with Google Gr
I dont like to have a clugged email box. So, for instance, I dont
receive email updates from this group, and from no other, really.
A forum is better organized given that it has sub forums and the
threads are more easy to search-find.
Google groups has been ok when the user base is still a newbo
It worked, thank you for help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+u
Hello Everybody,
I've seen a *possible* bug if I got things right in the authentication code,
let me tell you about how to reproduce it first.
*
*
*steps to reproduce:*
1. I use LDAP authentication (LDAP only, no local authentication wanted)
so I set my
auth.settings.login_methods = ldap_au
Hi Iceberg -
With regards to bypassing source code parsing overhead, I think that
overhead only occurs when the site is not compiled. Once you compile a
site in the web2py admin pages the .pyc bytecode files are created for
the models, and then on each webpage request it looks like these .pyc
fil
Hi Yarko -
Just from feedback for you - From my tests I found with all
optimisations enabled (migrate=False, python files compiled etc.) that
running in database model definitions does not take a lot of time,
just as you suggest.
Running model definitions in once takes even less time, but I stil
Hi all - just had time this weekend to look further into this.
Thank you to suggestions from Iceberg, Yarko and Massimo. I have tried
putting table definitions into a module, and also run some timing
tests against a Postgres database
As a note, for my previous tests coming out at 12ms page respo
Hi.
I tried it and it didn't work, and then looked at it with firebug and changed
it a little. The ul that contains the menu has the class menu, in this case.
As you wrote the css, it says ul which is somewhere in some element with class
menu.
So I changed the definitions like this:
ul.menu{
Thanks for the note mmlado... I tried that before it works BUT what i
meant is when i change the class to my customize CSS horizontal menu
(NOT this one web2py-menu web2py-menu-horizontal" ) it always appear
as Vertical menu...
Here is my Horizontal CSS menu:
.menu{
font-weight: bold;
width: 100%
Hi.
Don't know how does your code for the menu look like, but I'll assume you're
using the built-in function MENU.
So if you have something like this:
{{=MENU(response.menu, _class = 'web2py-menu web2py-menu-vertical')}}
just change the vertical to horizontal, like:
{{=MENU(response.menu, _c
Hi.
Hmm... I thought designers know javascript. At least for design things like
this... :)
Try something like this.
Give a class to the element that needs the click action. You can reference
elements in a jquery through any valid css selection. This way you can get all
the elements and assig
Thanks Mladen for menioning the the import os, I wasn't aware of this.
As for (2), I was using the original approach to try to be as
unobtrusive as possible to JS from HTML (we're trying assign
developers to cookie-cut each area: models for DBAs, controllers for
Pythonists, and HTML/CSS for desig
Try running it like this:
python2.5 web2py -p 80
By default, webfaction runs python 2.4 so if you don't specify 2.5 you
may run into problems.
I had really good luck following instructions written by dhmorgan and
yarko in webfaction's forums. You can view it at
http://forum.webfaction.com/view
Hello mate,
I have a quick question Does anyone please knows how to use the
menu-helper to create an Horizontal menu ? I can't find it in the
previous threads of this group I can do the vertical menu but not
horizontal...
Thanks in advance for your help...
Cheers,
Yannick P.
--~--~-
Hi.
1.
If you want to open a file you have to give the file with path on the file
system
and not through url.
I do like this:
import os
filename = os.path.join(request.folder, 'modules', 'appsettings.py')
request.folder contains the path to the current application
2.
I think it's bad idea to
On Aug 30, 5:15 am, Scott Hunter wrote:
> Complaint #3: Having to do strange things (like double-imports and
> reloads) to pick up run-time changes in my module. (This may be where
> the complaint about 3rd party modules comes from.)
> Response #3: I believe the issue here is that there is a mod
I want to open and append a javascript file (placed in Static folder)
from default.py file but not seem to get past the error:
filename = URL(r=request,c="static",f="jquery_dynamic.js")
try:
logfile = open(filename , 'w')
for each in restaurantsFeatures:
logfile.
On Sat, Aug 29, 2009 at 6:15 PM, Scott Hunter wrote:
>
> A colleague has lodged the following complaints about web2py, and I'd
> like to run my responses by this group in order to correct/strengthen
> those responses.
>
> Complaint #1: No real-time debugging (i.e. proper step-debugging in a
> real
If you have downloaded the windows versoin of web2py, then you will
just have web2py.exe (no *.py)
The web2py.py file is only part of the source file. To run the
windows (or Mac) web2py you don't need anything (not even python)
other than the download.
To run the source version, you need a vers
35 matches
Mail list logo