Hi all,
I am using ubuntu and chrome.
When I pass as ajax param the vale of a input['file'] tag I obtain not
a FieldStorage object in request.vars.filepath, but the string C:
\fakepath\websys.py that isn't the real directory of file
How can I get Fieldstorage object with filename and file strea
Hi all,
how can I use redirect() inside a ajax callback?
Thanks in advance
leone
Ah got it, thanks =) Missed that bit.
On Nov 13, 8:40 pm, villas wrote:
> Hi Ruiwen,
>
> See also 'orderby' in the book. Do something like this:
>
> db().select(db.person.ALL, orderby=~db.yourtable.created_date,
> limitby=(0, 15))
>
> Don't overlook the tilde (~), this is important because it mak
Hi,
I have now installed web2py Version 1.89.1.
>From /admin/default/index it return
Internal error
Ticket issued: admin/
127.0.0.1.2010-11-14.10-27-16.28da5829-363a-47d4-8295-814808f71b52
It is impossible to open ticket, that calls another ticket in deadlock
loop.
(ubuntu os)
Thanks.
I must be more trusted in web2py!
On Nov 12, 3:16 pm, mdipierro wrote:
> crud.settings.update_next = URL(c=request,f='select')
>
> should be
>
> crud.settings.update_next = URL(r=request,f='select')
>
> or
>
> crud.settings.update_next = URL('select')
>
> On Nov 12, 6:52
Restart the Web2py server.
-D
On Nov 14, 9:36 am, leone wrote:
> Hi,
> I have now installed web2py Version 1.89.1.
> From /admin/default/index it return
> Internal error
>
> Ticket issued: admin/
> 127.0.0.1.2010-11-14.10-27-16.28da5829-363a-47d4-8295-814808f71b52
>
> It is impossible to open tic
On Sun, Nov 14, 2010 at 1:44 AM, b00m_chef wrote:
> Let me just say that the chance that your app will have the traffic of
> facebook or twitter or even livejournal (yes it is still alive) is so
> small, that you really don't need to worry about it too much at such
> an early stage.
True.
--
Br
+1
Totally agree with that.
Speed is a luxary problem - concentrate on making an awesome app, not
a fast one.
On Nov 14, 1:44 am, b00m_chef wrote:
> Let me just say that the chance that your app will have the traffic of
> facebook or twitter or even livejournal (yes it is still alive) is so
>
And I wonder.. in large large large deployments:
I suppose we should use distributed deployment as GAE, EC2.. or run on our
servers APPScale, typhoonae, eucalyptus.
I know we are not talking about the same, but there's related with that.
On Sun, Nov 14, 2010 at 11:38 AM, Branko Vukelic wrote:
Hi Mart,
No problem, you can define a second connection, say db_ms, that
connects to your ms sql database. And then query and insert across
databases.
Nico
On 14 nov, 07:30, mart wrote:
> Hi,
>
> So, application "build system" uses SQLite for most current and future
> software builds. But woul
Hello,
On Sun, Nov 14, 2010 at 2:11 AM, mdipierro wrote:
> I do not remember the reason for that suggestion.
>
> My only concerns are:
> 1) I would be best to have just one verison online (the most updated
> one) even if hosted at multiple places.
>
You can host it by yourself or reuse mine a
A good advise, but, not always possible. I am considering to migrate an App
in the range of 70-100 tables to web2py and there are tables that are like
pillars, belong to several groups (customers, employees, projects,...) How
we could manage this shared tables?
Also sometimes its hard to determine
2010/11/14 José Ignacio Hurtado :
> A good advise, but, not always possible. I am considering to migrate an App
> in the range of 70-100 tables to web2py and there are tables that are like
I thought it would become obvious by now that you cannot _keep your
existing architecture_ if your app hits t
On Sun, Nov 14, 2010 at 1:51 PM, Branko Vukelic wrote:
> 2010/11/14 José Ignacio Hurtado :
>> A good advise, but, not always possible. I am considering to migrate an App
>> in the range of 70-100 tables to web2py and there are tables that are like
>
> I thought it would become obvious by now that
On Sun, Nov 14, 2010 at 1:20 PM, Boris Manojlovic
wrote:
> You can host it by yourself or reuse mine at already mentioned location (it
> is hosted on gae). Attached application can be deployed to GAE directly
> after
> adding corresponding route files
Couldn't it just be included in the distribut
I was trying to make a point and talk about boundaries of web2py and large
applications, or better, applications with large models.
I see the limits of scalability way far ;)
2010/11/14 Branko Vukelic
> On Sun, Nov 14, 2010 at 1:51 PM, Branko Vukelic
> wrote:
> > 2010/11/14 José Ignacio Hurtad
matplotlib recently added an HTML5 backend:
http://code.google.com/p/mplh5canvas/
It supports interactive plots using something called websockets. I've
been wondering if it would be possible to implement an interactive
plot widget for plugin_wiki. I use matplotlib a lot, both for
interactive de
I would love to see that.. SQL designer (somehow) distributed with
web2py. I just think SQL designer needs a small extra work to better
fit web2py.
A while ago, one of my crazy ideas would help us on this, a small
application update API for each application...
On Nov 14, 1:00 pm, Branko Vukelic
sounds easy enough then :) I think I equated something I configured
wrong to something not supported. SO, will do the second connection as
you suggest.
Thanks for the reply :)
Mart
On Nov 14, 6:28 am, Nico de Groot wrote:
> Hi Mart,
>
> No problem, you can define a second connection, say db_ms,
I guess another question, is ... does the DAL support migrating the
MSSQL DB (MS SQL server 2005) to SQLite?
Thanks
Mart :)
On Nov 14, 9:37 am, mart wrote:
> sounds easy enough then :) I think I equated something I configured
> wrong to something not supported. SO, will do the second connection
I assume you mean a redirect from within the browser, after recieving
the ajax response and evaluating the retrieved data.
In that case you must set the window.location object in your
javascript. In the view you could do smthg like that:
//... your callback code here
window.location.href = {{=URL
thx, really, it saved my time, it works that way
--
Kuba
Right, i must be more specific.
I have javascript code that call back (by ajax) a controller function
in which i compute variables sent from ajax and i redirect forward a
new address with args.
Python code is simple but doesn't redirect using redirect(URL(...)).
Is it possible redirect from python
>>>A good advise, but, not always possible. I am considering to migrate an
App in the range of 70-100 tables to web2py and there are tables that are
like pillars, belong to several groups (customers, employees, projects,...)
How we could manage this >>>shared tables?
>>>
>>>Also sometimes its hard
On Nov 14, 2010, at 8:31 AM, leone wrote:
>
> Right, i must be more specific.
> I have javascript code that call back (by ajax) a controller function
> in which i compute variables sent from ajax and i redirect forward a
> new address with args.
> Python code is simple but doesn't redirect using r
input file requires multipart forms. To use them via ajax you need
this:
http://jquery.malsup.com/form/
On Nov 14, 2:59 am, leone wrote:
> Hi all,
> I am using ubuntu and chrome.
> When I pass as ajax param the vale of a input['file'] tag I obtain not
> a FieldStorage object in request.vars.file
connect to mssql
db.export_to_csv_file(file)
change uri to connect to sqlite
db.import_from_csv_file(file)
Should work
On Nov 14, 8:54 am, mart wrote:
> I guess another question, is ... does the DAL support migrating the
> MSSQL DB (MS SQL server 2005) to SQLite?
>
> Thanks
> Mart :)
>
>
Nothing prevents you in web2py to create a
modules/models/mymodel.py
then
import applications.yourapp/modules/models.mymodel.py
and then call a function in there that defines the tables you need.
And you can have more than one mymodel.
This anyway will be easy if we add support for lazy
depends how you make the ajax callback.
If you use LOAD() the redirect should work.
If you use ajax(...,':eval') you can
return "document.location='%s'" % URL(...)
On Nov 14, 3:23 am, leone wrote:
> Hi all,
> how can I use redirect() inside a ajax callback?
> Thanks in advance
> leone
Well, I'm afraid all the solutions you gave, though seem reasonable,
won't solve the scenerio I talked about. The problem is with the face
the session won't change on login (so I can just get into the website,
before someone else does, copy the session data, and then wait for him
to log in).
On N
I installed a modified version of timeentry instead of timepicker in
trunk.
It has less options, it is smaller, and has a more natural behaviour
(in respect to tab and if you type a valid time, it will take it)
Please give it a try and let us know if it works with your browser.
Massimo
On Nov 1
P.S. I also removed the spinner and mouse wheel support. I hate the
spinner.
On Nov 14, 11:57 am, mdipierro wrote:
> I installed a modified version of timeentry instead of timepicker in
> trunk.
>
> It has less options, it is smaller, and has a more natural behaviour
> (in respect to tab and if y
great! was going through the book and had just spotted something
looking like that:) thanks :)
One issue though:
have been trying to connect to the remote mssql db for a while, and
not really getting anywhere :( any tips and tricks with that one?
I'm on MAC OS, 10.6
installed pyodbc
the MSSQL db
Thanks,
i understand.
On Nov 14, 6:24 pm, mdipierro wrote:
> depends how you make the ajax callback.
>
> If you use LOAD() the redirect should work.
>
> If you use ajax(...,':eval') you can
>
> return "document.location='%s'" % URL(...)
>
> On Nov 14, 3:23 am, leone wrote:
>
>
>
>
>
>
>
> >
session.secure() does solve the problem since it forces the session
over https and therefore it cannot be stolen. Even if the session were
to be reset at login, without a https connection it can still be
stolen after login.
One solution is
session.client=session.client or request.client
if not se
Is it possible to use the autocomplete widget on a select box where
when someone clicks into the text field the dropdown with all the
selections are available and then the user has the option to type and
have the possible selections reduced? I have tried using the
SQLFORM.widgets.autocomplete with
Hi,
there must be a trick maybe?
I can connect using something razor, but unable with web2py Just
hoping has an undocumented trick :)
I am on MAC OS 10.6.
this is the connection string:
db = DAL("mssql://sa:passw...@build-control:1433/quickbuild")
ran it through a debugger, and drilled dow
as a test... leave min_lenght=0 and in gluon.sqlhtml.py after
attr['_onkeyup'] = ""
add
attr['_onfocues'] = attr['_onkeyup']
(occurs in two places)
Does it do what you ask?
On Nov 14, 1:56 pm, oneroler wrote:
> Is it possible to use the autocomplete widget on a select box where
> when
We have a new layout. Thanks Branko.
Some people have not uploaded a profile. You must upload one.
About the picture. You must upload a picture of yourself in decent
quality. An orange does not qualify.
Massimo
On Nov 12, 9:42 am, mdipierro wrote:
> Thank you for all the reported corrections. I
On Sun, Nov 14, 2010 at 10:20 PM, mdipierro wrote:
> quality. An orange does not qualify.
Unless you actually are an orange, obviously. :)
--
Branko Vukelić
bg.bra...@gmail.com
stu...@brankovukelic.com
Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.
On Nov 13, 11:33 pm, Christopher Steel wrote:
> Works fine for me from the web2py shell:
>
> 1) install plugin
>
> 2) run the web2py shell:http://web2py.com/book/default/chapter/04?search=shell
> OR
>
> 3) run shell from browser:
>
> http://127.0.0.1:8000/admin/shell/index/yourapp
>
> 3) set the v
What a great idea! I don't yet have the skills to join, but for now
e4s will certainly have my moral support (maybe some casual
proofreading, too ;-).
For those of us not directly involved in e4s, I think it would still
be interesting to hear what's going on from time to time, so hopefully
there w
The idea is that clients contact the members directly so I may not
always know what is going on but I will report things that I know.
Massimo
On Nov 14, 3:56 pm, Anthony wrote:
> What a great idea! I don't yet have the skills to join, but for now
> e4s will certainly have my moral support (maybe
On Sun, Nov 14, 2010 at 10:58 PM, mdipierro wrote:
> The idea is that clients contact the members directly so I may not
> always know what is going on but I will report things that I know.
You could add a page where clients can submit their impression of how
the project went. That way you'll know
I've sent Massimo the more changes to the current theme. Please keep
in mind that the profile image will be (brutally) rescaled to 100px x
100px using width and height CSS properties so I suggest you crop and
scale your profile images. If you need a hand with that, please send
me the image (private
Could it be that the corrected version is not online yet ?
On Sun, Nov 14, 2010 at 11:32 PM, Stefaan Himpe wrote:
> Could it be that the corrected version is not online yet ?
It's not online yet. I've sent Massimo the last version minutes ago.
--
Branko Vukelić
bg.bra...@gmail.com
stu...@brankovukelic.com
Check out my blog: http://www.brankovukelic.c
Hello, thanks for designing a beautiful theme!
One remark though: on my screen the white "experts4solutions" logo (as
inlined in the text) is hard to read.
Best regards,
Stefaan.
Hi Massimo,
There's a small bug in this code.
The line (3491) in Tools.py
except Service.JsonRpcException, e:
--> return return_error(id, e.code, e.info)
Needs to include the id. As above.
Cheers,
Matt
On Nov 12, 9:12 am, Matt wrote:
> Thanks Massimo :)
>
> Will check it out.
On Sun, Nov 14, 2010 at 11:35 PM, Stefaan Himpe wrote:
> Hello, thanks for designing a beautiful theme!
>
> One remark though: on my screen the white "experts4solutions" logo (as
> inlined in the text) is hard to read.
Yes, I'm aware of that. I'll think of a better solution.
--
Branko Vukelić
Stefaan Himpe wrote:
Could it be that the corrected version is not online yet ?
To be clear: I'm referring to the spelling corrected version.
On Sun, Nov 14, 2010 at 11:37 PM, Stefaan Himpe wrote:
> Stefaan Himpe wrote:
>>
>> Could it be that the corrected version is not online yet ?
>
> To be clear: I'm referring to the spelling corrected version.
Oh that. Massimo gave me the application files before the spelling
corrections were impl
Nice theme,
The expert name at the top should be capitalized.
http://www.experts4solutions.com/e4s/default/expert/2
Would be good to have a badge for linking this.
Enviado via iPhone
Em 14/11/2010, às 20:51, Branko Vukelic escreveu:
> On Sun, Nov 14, 2010 at 11:37 PM, Stefaan Himpe
> wr
Good night.
I am starting with jqgrid and i need a litle grid with a drowndonw list, and
in line edit. Options to add a line and delele a line. It looks a bit
complicated to me, I wonder if someone has something to start to work on it
Thanks
e4s should probably have its own favicon too (currently using the web2py
favicon)...
> From: Branko Vukelic
> Date: Nov 14, 5:44 pm
> Subject: web2py organization - important for consultants !!!
> To: web2py-users
>
>
> On Sun, Nov 14, 2010 at 11:35 PM, Stefaan Himpe
> wrote:
> > Hello, than
Doesn't work with code completion, and will be a maintenance nightmare!
I spent weeks trying different code organisation patterns with web2py
including what you mentioned, everything I attempted just caused more
problems and made the code less maintainable.
Like I keep saying, it all comes down t
in trunk. thanks.
On Nov 14, 4:42 pm, Matt wrote:
> Hi Massimo,
>
> There's a small bug in this code.
>
> The line (3491) in Tools.py
>
> except Service.JsonRpcException, e:
> --> return return_error(id, e.code, e.info)
>
> Needs to include the id. As above.
>
> Cheers,
> Matt
>
I just downloaded Version 1.89.1 source code version of web2py to upgrade
(I skipped a few versions, in case that matters.) When I go to the "about"
screen and click edit, I get an edit window and can type changes, but I
can't save them. I clicked the disk icon in the upper left corner, but
noth
Hello,
I am using web2py to monitor and control an instrument. I am
dynamically generating plots using matplotlib following the DNA
application example from SC2009 (http://www.web2py.com/examples/static/
sc/sc_dna_talk.pdf)
I was able to get the basic aspects working based on that example.
However
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What do you think, would it be good idea to attach web2py process to one
CPU core to avoid overhead related to switching between cores?
Ryan Kelly writes: "I just halved the running time of one of my test
suites."
http://www.rfk.id.au/blog/entry/a-gi
On Mon, Nov 15, 2010 at 12:39 AM, Anthony wrote:
> e4s should probably have its own favicon too (currently using the web2py
> favicon)...
Mental note to self:
* Capitalize names of experts in subheader area
* Make a favicon for e4s
* Go over typos again
That should cover it? 1AM here, so if you
> I want to customize the result of SQLTABLE so that it can make me a
> nice table without lines and lines of code in my view file. To
> achieve that, I need for example to:
>
> 1) Add columns to hold icons and links and extra stuff.
> 2) Customize the rows, e.g. links which depend on content,
> I want to customize the result of SQLTABLE so that it can make me a
> nice table without lines and lines of code in my view file. To
> achieve that, I need for example to:
You can add any column to select result. The result can be passed to
SQLTABLE.
See:
http://groups.google.com/group/web2py/b
yes.
On Nov 14, 5:50 pm, David Zejda wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> What do you think, would it be good idea to attach web2py process to one
> CPU core to avoid overhead related to switching between cores?
>
> Ryan Kelly writes: "I just halved the running time of one
Nice one Ivan! Will the patch be included in Web2py? I hope Massimo
likes it.
-D
On Nov 15, 12:27 am, Ivan Matveev wrote:
> > I want to customize the result of SQLTABLE so that it can make me a
> > nice table without lines and lines of code in my view file. To
> > achieve that, I need for ex
Hello,
I've tried to edit my language files but my changes are all the time
overwritten.
When I use the web interface of web2py to edit these files, some
fields are in yellow. What is the meaning of this?
How should I edit these files to have permanent changes?
> Will the patch be included in Web2py? I hope Massimo
> likes it.
So do I. Otherwise I will have to patch after every web2py update.
Massimo,
Thanks, this basically does what I asked. Is the best way to get more
advanced selection dropdowns to build a widget? What I'm really after
is a dropdown more like the one linked here.
http://developer.yahoo.com/yui/examples/autocomplete/ac_combobox.html
Thanks again for you quick res
Hi Massimo
Thanks for addressing this.
Interesting that you removed the spinner altogether, I got a feeling
from this thread that many users wanted to use the mouse almost
exclusively for picking the time. Anyway that decision is fine with
me.
I only have one issue so far, that is tabbing out of
^bump^
On Nov 13, 10:25 pm, Ivan Matveev wrote:
> DAL keyed tables support is fragile and outdated.
Could you expand on why you say it is?.
I have also encountered a similar problem. I have a View file called
status.load that I could not save changes to. By renaming it to
status.html, I could save changes as usual. It seems like some issue
with file types that are not recognized.
On Nov 14, 3:45 pm, Audra Rudys wrote:
> I just downlo
Good night
I currently could make a basic grid using the plugin_jqgrid or the
plugin_editable_jqgrid. But i need include a drowndown list in a cell of the
grid and the options to add or delete a line.
Thanks for any advice.
Napoleon
On Sun, Nov 14, 2010 at 6:20 PM, Napoleon Moreno wrote:
> Good
On Nov 14, 7:00 pm, pierreth wrote:
> Hello,
>
> I've tried to edit my language files but my changes are all the time
> overwritten.
Do you use windows? If so, do you Mark hammond win32 extesions
>
> When I use the web interface of web2py to edit these files, some
> fields are in yellow. What
I am confused. Where is the patch?
On Nov 14, 7:16 pm, Ivan Matveev wrote:
> > Will the patch be included in Web2py? I hope Massimo
> > likes it.
>
> So do I. Otherwise I will have to patch after every web2py update.
The change is in trunk
On Nov 14, 7:18 pm, oneroler wrote:
> Massimo,
>
> Thanks, this basically does what I asked. Is the best way to get more
> advanced selection dropdowns to build a widget? What I'm really after
> is a dropdown more like the one linked here.
>
> http://developer.yahoo.com/y
I modified this... not sure if this is what you asked or not.
In my version [tab] moves you to the next INPUT and [shift]+[tab]
moves you back. To move across HH:MM:SS fields you have to use arrow
keys.
Massimo
On Nov 14, 7:59 pm, villas wrote:
> Hi Massimo
>
> Thanks for addressing this.
>
> I
Hi,
Can we submit closed w2p applications without source code? Any
specific rules if one does not want to expose the code?
Rahul
On Nov 12, 5:23 pm, selecta wrote:
> How do I submit? Should I just send you (NetAdmin) the code by email?
> I am working on the project constantly, will you accep
fixed in trunk
On Nov 14, 8:13 pm, DenesL wrote:
> ^bump^
fixed in trunk, although I may have to revise this solution.
On Nov 14, 10:40 pm, G wrote:
> I have also encountered a similar problem. I have a View file called
> status.load that I could not save changes to. By renaming it to
> status.html, I could save changes as usual. It seems like some issu
Hi,
Since connecting remotely is an issue for now, I went to the server
hosting the MSSQL DB.
I am cinnecting fine (to localhost), but this cmd :
db.export_to_csv_file('quickbuild.csv')
is getting this error:
File "C:\Documents and Settings\buildmonkey\Desktop\blue_framework
copy\src\mssql_
I am getting unexpected results using the IS_NOT_IN_DB validator and
also the unique=True validator. I have the following code:
Field('unique_id', type='integer', default=auth.user_id,
label=T('Unique
ID'),readable=True,writable=False,unique=True)
db.bio.requires=IS_NOT_IN_DB(db, 'bio.u
Hi Percy,
The validator should read:
db.bio.unique_id.requires=IS_NOT_IN_DB(db,'bio.unique_id')
I hope this solves the problem.
Annet.
83 matches
Mail list logo