On 5 September 2011 20:04, brushek wrote:
> Can anybody help ? or grid and smartgrid shouldn't be used with custom
> fields ?
>
>
I have tried your model and controller and get the following error when I
try to use SQLFORM.smartgrid or -grid:
File "/home/js/web2py/applications/isi_proef/control
Hi António,
I implemented a file chooser for the elrte widget.
Please try it:
http://dev.s-cubism.com/plugin_elrte_widget
Since the file chooser is very primitive, you may need to customize
it.
But, the customization would be easy with the expressive power of
web2py (see the demo code).
(Notice:
You are the man... :)
2011/9/6 Anthony
> On Monday, September 5, 2011 12:18:28 PM UTC-4, Ramos wrote:
>>
>> hello, i dont like the shell in the admin because in windows i cannot
>> repeat last command also the pythonwin is way more friendly...
>>
>> 1 - in windows how can i do the shame as the a
Hi Massimo
For some strange reason the update language mechanism leave out some
empty strings. I'm not sure why this bug occurs, my guess is, it's one
of the crazy things I'm doing in this project.
I was wondering, why an empty string in the translation file, won't
return the default string? It doe
Hello all,
I'm looking at using web2py to build a SOAP service to work as a test
harness for an infrastructure upgrade we're planning. Unfortunately, all
the web2py SOAP info I've found has been trivial services such as adding 2
numbers together - in my case, I need my SOAP server to be able to d
On Tue, Sep 6, 2011 at 4:05 AM, Johann Spies wrote:
> if field.type in ('string','text')])
>
> TypeError: reduce() of empty sequence with no initial value
>
>
That is a bug I already reported [0]
grid does not works with tables without fields of type 'string' or 'text',
also it can't work with
anyone can help me with these file , i dont know what to put in them
how can i deploy web2py on IIS ??
i followed this tutorial
http://www.xenocafe.com/tutorials/linux/centos/openssl/self_signed_certificates/index.php
2011/9/6 Web2Py Freak
> anyone can help me with these file , i dont know what to put in them
Ciao
è la prima volta che partecipo ad un gruppo, complimenti per il
web2py.
Volevo segnalare un errore:
quando si crea "New application wizard", step1, voce Plugins,
non è possibile visualizzare i contenuti, con nessun browser.
Basta correggere la classe incriminata con float left
.ui-multisele
Sorry, slight mistake -- it's:
python web2py.py -S your_app -N -M
(I left off the .py in my original reply.)
Also, this assumes you have your own installation of Python and you are
running the web2py source code version rather than the Windows binary
version. If you are running the Windows bin
Hello, has anyone thought about creating an app in web2py that would be an
email client?
Thank you
António
Thanks Noel and Anthony both have worked!
what it was worrying me is that I didn't want to just redirect the user, it
will have to run some code and will redirect to specific pages based on user
group and data on page. I guess i would put these codes in a page anyway and
redirect, but perhaps i
Shared hosting is the cheapest type of hosting for simple web sites and
blogs. In order to get your app to run on a web server, the web server must
first have web2py installed. When web2py is installed and running on a
server, it acts like an application server (server that runs individual
apps
Exactly! This is an importent security feature.
On Sep 5, 9:39 pm, pbreit wrote:
> It's hard to say exactly what is allowed but according to my reading
> ofhttp://tools.ietf.org/html/rfc3986* is definitely not allowed and . and ..
> may not be allowed in the path (since they have meaning in a f
Try this and please report errors.
Start web2py as usual on port 8000
python web2py -p 8000 -i 127.0.0.1 -a 'password'
Create:
C:\inetpub\wwwroot\web2py
C:\inetpub\wwwroot\web2py\bin
Download http://managedfusion.com/ and extract
C:\inetpub\wwwroot\web2py\Web.config
Create C:\inetpub\wwwroot\we
Grazie Paolo. Decisamente utile.
On Sep 6, 4:48 am, PaoloPk wrote:
> Ciao
> è la prima volta che partecipo ad un gruppo, complimenti per il
> web2py.
>
> Volevo segnalare un errore:
> quando si crea "New application wizard", step1, voce Plugins,
> non è possibile visualizzare i contenuti, con ne
If you are on linux you can create a ~/.forward file that contains
"|/home/youraccount/yourprogram.py"
(quotes required) and all received emails will be passed as stdin to /
home/youraccount/yourprogram.py.
That program can "from gluon import *" and you are in business!
Massimo
On Sep 6, 6:4
where dose my application files go ? or my packed project go
Massimo ,
if you may please , can you explain thing a little more this is my
first time doing this . Thank you .
> web2py gives the file in the download
> directory for example
> 5e74c950-95b2-4843-b4c6-53bc8efca8fe lrte_widget_file.file.9a877c8c8c9d285c.4361726f6c696e61323031305f612e646f63
> .doc>
The former random string is a display file name, and just for demo.
The latter one is an actual file name gener
Very cool! Thanks for sharing...
If you want to use your own Python installation, then download the web2py
source code version instead of the Windows binary version. The Windows
binary version includes its own Python interpreter and standard library and
won't work with your regular Python installation.
Anthony
On Tuesday, Sep
i wanna ask you guys , dose the html files in views should be working
like normal html pages .. and anyone can tell me how to publish my
projects ??
On Tuesday, September 6, 2011 11:05:29 AM UTC-4, Web2Py Freak wrote:
>
> i wanna ask you guys , dose the html files in views should be working
> like normal html pages
Not exactly. They are intended to be processed by the web2py framework,
which transforms them into standard HTML to be displa
would you take a look at my project and tell me what have i done
wrong ??
i´n not using my python instalation
I´m using web2py binaries for windows
the output you saw is from the web2py console,and not the python command
line
2011/9/6 Anthony
> If you want to use your own Python installation, then download the web2py
> source code version instead of the Windows bin
Sure.
On Tuesday, September 6, 2011 11:22:36 AM UTC-4, Web2Py Freak wrote:
>
> would you take a look at my project and tell me what have i done
> wrong ??
>
On Tuesday, September 6, 2011 11:25:47 AM UTC-4, Ramos wrote:
>
> i´n not using my python instalation
> I´m using web2py binaries for windows
> the output you saw is from the web2py console,and not the python command
> line
>
But I think pythoncom.py is trying to import something that isn't incl
After i upload a file i get a icon in the text.
How do i lauch the file that i just embedded in the text?
Thank you
2011/9/6 kenji4569
> > web2py gives the file in the download
> > directory for example
> >
> 5e74c950-95b2-4843-b4c6-53bc8efca8fe >
> lrte_widget_file.file.9a877c8c8c9d285c.4361
I'm not sure about the error, but in that screenshot you are running
version 1.90. Try doing a mercurial pull/update. You should end up
with version 1.98.2.
Matt
On Sep 6, 9:54 am, António Ramos wrote:
> ok, doing that i got another error
>
> sorry
>
> 2011/9/6 Anthony
>
>
>
>
>
>
>
> > On Tu
dear anthony,
what happened with you ??
Working now!
updated to 1.98.2
2011/9/6 Matt Gorecki
> I'm not sure about the error, but in that screenshot you are running
> version 1.90. Try doing a mercurial pull/update. You should end up
> with version 1.98.2.
>
> Matt
>
> On Sep 6, 9:54 am, António Ramos wrote:
> > ok, doing that i g
Why not so with: request = current.request?
Is it safe to use the following?
# modules/myobjects.py
from gluon import *
request,session,response,T,cache =
current.request,current.session,current.response,current.T,current.cache
and then use some class method :
if form.accepts(request, session):
On Tuesday, September 6, 2011 12:15:41 PM UTC-4, Web2Py Freak wrote:
>
> dear anthony,
> what happened with you ??
What do you mean?
I think the problem was that back in version 1.90, you had to do
auth=Auth(globals(),db)
-- with the introduction of the new thread local 'current' object,
auth=Auth(db) can be used instead, but trying that with an older version
will result in this error.
Anthony
On Tuesday, September 6, 2011
http://blog.carduner.net/2011/09/06/easy-facebook-scripting-in-python/
I am not a windows user s I am just reposting somebody else info.
I guess web2py goes in
C:\inetpub\wwwroot\web2py
and you start it from there
cd C:\inetpub\wwwroot\web2py
c:/python/python.exe web2py -p 8000 -i 127.0.0.1 -a 'password'
C:\inetpub\wwwroot\web2py\Web.config is the only file you
This was a funny exchange!
On Sep 6, 11:47 am, Anthony wrote:
> On Tuesday, September 6, 2011 12:15:41 PM UTC-4, Web2Py Freak wrote:
>
> > dear anthony,
> > what happened with you ??
>
> What do you mean?
I posted the step by step instruction in my blog.
http://ochiba77.blogspot.com/2011/09/how-to-connect-db2-with-python-pyodbc.html
hehe i know massimo but u can imagine how lost i am now
I'm try to use a lambda to set a default value based on a value in
another table. Here is my model:
db.define_table('trip_instance', timestamp, sos_table,
Field('trip_type_id', db.trip_type, label='Trip Type',
widget=trip_select_widget, requires = IS_IN_DB(db, 'trip_type.id', '%
(name)s'), r
Hi,
The book describes connection pooling and when new sessions are
created, but when are they closed ?
If I do not have connection pooling turned on, will the session close
after each request ?
I am trying to determine if I can make use of dynamically created
volatile tables in the database. The
Hi web2py users,
I'm running a web2py server on a windows xp machine. Let's call it
the kiosk machine. The kiosk machine has a static IP. I am able to
ping the kiosk machine from other computers on the network. However,
I'm unable to send an http request from a computer on the network to
the
Any news about it?
On 31 ago, 18:08, Jay wrote:
> The only comment I have is that there may be problem in the code at
> redirect. Raising an exception in redirect does not seem to work. I
> would look there.
> My $.02.
>
> Jay
http://ochiba77.blogspot.com/2011/09/how-to-connect-db2-with-python-pyodbc.html
How are you starting web2py?
You should be using
python.exe web2py.py -i 0.0.0.0 -p 80
0.0.0.0 means accessible publicly (if no firewall) and -p 80 sets the
port.
On Sep 6, 2:15 pm, Christopher Baron wrote:
> Hi web2py users,
>
> I'm running a web2py server on a windows xp machine. Let's call
On Tue, Sep 6, 2011 at 2:41 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> http://blog.carduner.net/2011/09/06/easy-facebook-scripting-in-python/
Awesome! Thanks for sharing it.
I added it classes in facebook.py, now I have a more complete facebok graph
API. How easy is to upload
Ah, I see, thanks.
This allows remote machines to hit the server, but the request
receives a 200.
Let's say this machine is on a secure network.
If I wanted to hack web2py so that remote machines on the network
could access the application, could I simply uncomment line 17 from
applications/mode
Wondering if anyone saw any new neat date picker widgets lately?
Also;
How hard would it be to replace the current date picker with jquery-ui
datepicker?
Thanks.
Freak, have you read the web2py book? There's a lot of information about views
and how to deploy web2py. It's goin to be difficult to explain those topics
here in google groups.
That's how regular web2py form handling works.
Great
i tested the example from the python shell and i connected to my company
AS400 with success.
FANTASTIC
Tomorrow i will kick the ass of the RPG guy.
:)
2011/9/6 Massimo Di Pierro
>
> http://ochiba77.blogspot.com/2011/09/how-to-connect-db2-with-python-pyodbc.html
I tried the DAL Example and i could not connect to my AS400
does the DAL only works with db2 on windows or linux?
i have my db2 in a OS400 machine
Thank you
António
Em 6 de setembro de 2011 21:56, António Ramos escreveu:
> Great
> i tested the example from the python shell and i connected to
I didn't replace the one in web2py, I just use the jQueryUI one by including
the necessary CSS and JS files and placing the files in static/js and
static/css after downloading a custom build from jQueryUI
In the view where it is needed I add these lines before the extend
'layout.html' line
{{r
Have you seen this: http://dev.s-cubism.com/plugin_anytime_widget?
On Tuesday, September 6, 2011 4:40:49 PM UTC-4, David J wrote:
>
> Wondering if anyone saw any new neat date picker widgets lately?
>
> Also;
>
> How hard would it be to replace the current date picker with jquery-ui
> datepicker
No, you can connect to the OS400 machine (Actually, that's where I
tested)
Check your "System:" name ,"SQL default library:" name, user id and
password.
If your machine can start session with iSeries Access then you can
connect.
On Sep 6, 4:07 pm, António Ramos wrote:
> I tried the DAL Example a
>
>
> {{response.files.append(URL('static','css/cupertino/jquery-ui-1.8.14.custom.css'))}}
>
> {{response.files.append(URL('static','js/jquery-ui-1.8.14.custom.min.js'))}}
>
I included the files above and also changed web2py_ajax.js[0] a bit
As you can see in line 37 I kept the default calendar
Works for me. I'm running from source using trunk from a week or so
ago. Did not work for me when running on windows running web2py.exe.
Probably has to do with PyODBC not being available unless you have it in
the modules directory. Just a thought
-Jim
On 9/6/2011 4:32 PM, Omi Chi
Ok, seems to get someting now.
I have to change in AS400 the permissions to allow my username to create a
table
ProgrammingError: ('42000', '[42000] [IBM][Controlador ODBC do iSeries
Access][DB2 UDB]SQL0551 - Not authorized to object in *N type *USRPRF.
(-551) (SQLExecDirectW)')
How about
Shall we include it contrib? if no dependencies
On Sep 6, 2:59 pm, Bruno Rocha wrote:
> On Tue, Sep 6, 2011 at 2:41 PM, Massimo Di Pierro <
>
> massimo.dipie...@gmail.com> wrote:
> >http://blog.carduner.net/2011/09/06/easy-facebook-scripting-in-python/
>
> Awesome! Thanks for sharing it.
>
> I ad
you can do {{=A('clickme',callback=URL())}}
and the URL is called via ajax. You can also pass a target="..." the
id of a DIV where to post the result and a delete='tr' which will
delete the tr including the link.
On Sep 6, 3:51 pm, pbreit wrote:
> That's how regular web2py form handling work
I use jquery datetimepicker (from
http://trentrichardson.com/examples/timepicker/)
Seems to work OK, but I use only ISO "style" data inputs using
internationalizations is probably only a matter of time spent on the
initialization on timeFormat and dateFormat
excerpt from web2py_ajax.js
There is no dependency, I just put fbconsole.py in my /modules and did
something like this:
import fbconsole
fbconsole.APP_ID = CLIENT_ID # comes from facebook auth, (Michelle's
code)
fbconsole.SERVER_PORT = 8000
fbconsole.REDIRECT_URI = 'http://localhost:%s/tutor' %
fbconsole.SERV
I think I have a first working draft for using redis as a backend for
cache like gluon.contrib.memcache
I dind't get completely the internals of cache, though .
storing with 'predefined' keys works ok, and also the expire works out
of the box.
I removed the mutex lock found in other cac
I'm able to connect to mssql using python and in test mode.
but I'm getting the 500 internal server errroris there a way to
figure out what the problem is?
log looks pretty messy. I'm was trying to get json back from mssql.
Was successful under mysql. json format does not seem to be
any
Yea, Inapplications admin page, on top right you will find error log button
in the menu (or link https://127.0.0.1:8000/admin/default/errors/APPNAME)
Also It might be useful to use Firebug, (i.i network, script)
Cheers
good luck
On 7 September 2011 01:08, patrick moon wrote:
> I'm able to con
> After i upload a file i get a icon in the text.
> How do i lauch the file that i just embedded in the text?
The elrte editor prevents the icon link from clicking to download the
file.
So you have to first submit the editing html,
and save the html in db,
and then display the html in the view (as
>How about using auth with as400 users. Is it possible?
I'm not sure about it since I'm still new for web2py but your problem
should be related to the permission just like your error says.
My library is like...
Object secured by authorization list . . . . . . . . . . . .
*NONE
Object
User
Please send me a patch. Make sure it includes is own license (MIT, BSD
or LGPL).
On Sep 6, 6:07 pm, Bruno Rocha wrote:
> There is no dependency, I just put fbconsole.py in my /modules and did
> something like this:
>
> import fbconsole
> fbconsole.APP_ID = CLIENT_ID # comes from facebook
meta_storage is a dict and a class variable (there is only one for all
apps). Given one app meta_storage[app] is the dictionary that stores
that cache for that app.
You do not need this if you use a third party cache system but make
sure the generated keys includes a prefix that avoids conflicts
b
Perhaps check out web2pyslices.com --
http://www.web2pyslices.com/slices/take_slice/128 "Install web2py on
Windows with IIS"
I haven't tried it (I just use the built-in rocket server or apache +
mod_wsgi even on windows)
Good Luck
~Brian
Hi.
I found in 1.98.2, text field type default length is 512 not 65536?
It's correct?
Toan.
Code:
if form.accepts(request.vars, session):
arr = ['a','b','c']
for i in range(3):
arr[i] = form.vars.x
Desired:
In the for loop, I wanted to have
arr[0] = form.vars.x0
arr[1] = form.vars.x1
arr[2] = form.vars.x2
As you can see, I am not yet a python
Do an explicit length declaration in your model definition:
Field('txt','text', length=65536),
Look here:
http://www.web2py.com/book/default/chapter/06?search=Field+constructor
On Sep 7, 3:10 pm, toan75 wrote:
> Hi.
>
> I found in 1.98.2, text field type default length is 512 not 65536?
Hi,
I have seen you struggle setting up a deployment environment and
deploying your web2py app for some time now, and wonder why you not
simply decide to deploy your app at e.g Webfaction. Apart from my Mac
OS X Leopard Server I do have a hosting account there at $ 9.50 a
month, and in order to be
Hi David,
I didn't like the calendar that comes with web2py, not for its
functionality but for its appearance. Instead of replacing it I just
restyled it:
.calendar {
cursor: default;
background-color: #FF;
color: #44;
font-size: 11px;
border: 1px solid #AA;
border-radius:
Very nice style annet!
I think we should make teh headers gray and replace calendar.css in welcome
app
On Wed, Sep 7, 2011 at 3:23 AM, annet wrote:
> Hi David,
>
> I didn't like the calendar that comes with web2py, not for its
> functionality but for its appearance. Instead of replacing it I ju
[image: Selection_034.png]
How it looks like, header in gray will fit welcome app.
<>
79 matches
Mail list logo