, I am not currently using
migrate=true. Perhaps...
As always, many thanks for the advice and other comments. You all are
a great support to have.
--
Rb
On Sep 29, 8:47 am, mdipierro mdipie...@cs.depaul.edu wrote:
Because model are re-read at every request, modules are not.
I am not sure
, I am not currently using
migrate=true. Perhaps...
As always, many thanks for the advice and other comments. You all are
a great support to have.
--
Rb
On Sep 29, 8:47 am, mdipierro mdipie...@cs.depaul.edu wrote:
Because model are re-read at every request, modules are not.
I am not sure
tables but need only 4 to 6 of them at a time,
I would like to avoid the setup time for all 93 of the tables in the
model files.
---
Rb
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post
My ISP will send someone out in 5 days or so to fix my connection.
Until then I am... alone.
(Sent from local library branch)
On Sep 11, 8:26 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I do not know. Can you post some code to reproduce it?
On Sep 11, 2:07 pm, rb rbspg...@gmail.com wrote
xmlrpc client app I get the above traceback.
Help!
--
Rb
--~--~-~--~~~---~--~~
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
Ok, so I went back to 1.65.5 and everything just works. Eek!
---
On Sep 11, 11:28 am, rb rbspg...@gmail.com wrote:
I tried to upgrade once before but ran into problems. So I've stayed
at 1.65.5. Today I upgraded to 1.66.2 and I'm getting the 500 INTERNAL
SERVER error when I make a xmlrpc
(db.tblInsts.frmName==frmName).select()
else:
rows = db((db.tblInsts.frmName==frmName) \
(db.tblInsts.tblInstName==tblInstName)).select()
return rows.response
In desperation I also nuked all the database files. This had no
effect.
---
Rb
On Sep 11, 11:36 am, mdipierro mdipie
fails ***SILENTLY*** and this is no fun at all.
I guess because the error was in an import statement in the
controller, the svr could just go on running. Ok, so now I've learned
to look thru the errors folder. Why was a ticket not generated for
this?
---
Rb
On Sep 11, 11:45 am, rb rbspg
.
--
Rb
On Sep 2, 1:15 pm, weheh richard_gor...@verizon.net wrote:
Thanks, waTR, very constructive (LOL). I see this thread has devolved
about as rapidly as I expeted it would. At this point, unless there's
a tsunami of support, it looks like poor Max is going to get voted off
the island. Maybe
Thx. Good point.
http://xkcd.com/327/
---
Rb bobby drop tables
On Aug 17, 11:58 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You are sending via xmlrpc a string and the tring is eval-ed on the
server. A malicious client could send a string like os.system('rm -f
*') instead of a database
and to include the db.
prefix in the colSelectStr creation.
At least, that's my (current) understanding.
--
Rb
On Aug 17, 2:30 pm, mdipierro mdipie...@cs.depaul.edu wrote:
It is not a bug.
db(query)
query can be a DAL query or a SQL query (string).
mind that what are you doing is dangerous
In my client code (of my thick xmlrpc client) I perform a Read (or
Select) with code, some of which follows:
---
def Read( self, keyName=pri, maxRowCount=0):
keyColNames = self.tblInfo.GetKeyColNames(keyName)
keySegValues = self.record.GetNonNullColValues (keyColNames)
Furthermore, a good service should be designed to work
with no state. State is the client's job, not the service, and this
makes your service more scalable.
An n-tier (web) app has at least a database facility, business logic
facility, and presentation. Your comment above implies that all
distant clients and
local (stateful) processes?
On Aug 13, 1:14 pm, weheh richard_gor...@verizon.net wrote:
To add some levity to this important topic, rb is also, unfortunately,
confused about the meaning of wherefore art thou, oh session
attribute?, which I believe him as asking where
) instantiated in between calls. I'm new to
this web app thing.
So, thx for the clarification. I'll either try to hack the code you
referenced or else I'll just end up using the web2py server as a data
server and keep the business logic in the thick client.
---
Rb
On Aug 11, 10:39 pm, mdipierro mdipie
A very good explanation. I think I get it now. In the bad ol' static
webpage days, a webserver's job was to figure out the mapping from the
requested url to the static file and then send that file back. Later,
dynamic webpages were created on the fly by processes which were fed
request parameters
... )
===
Rb web programming is haard.
On Aug 12, 12:23 am, Yarko Tymciurak yark...@gmail.com wrote:
Ahem
Knock, knock! --- says the browser...
Whose there? --- says the server...
If the request (browser) identifies itself with information given it by the
server as a continuation from
Further, I added a :
session.hello = hello, world
in order to see if it just didn't want to hold onto MY data. No dice.
session.hello is gone on the next call as well.
---
On Aug 11, 3:02 pm, rb rbspg...@gmail.com wrote:
In my think-client xmlrpc protocol to web2py svr code I am trying
the xmlrpc protocol does
not use cookies to maintain persistence.
On Aug 11, 5:02 pm, rb rbspg...@gmail.com wrote:
In my think-client xmlrpc protocol to web2py svr code I am trying to
maintain data in the session global variable but it doesn't seem to
hold it. For example I first start
Thx. But where'd you get this info from?
On Aug 6, 10:31 pm, Richard richar...@gmail.com wrote:
try auth.settings.expiration = X
On Aug 7, 2:35 pm, rb rbspg...@gmail.com wrote:
Section 4.8 from the Web2py Manual states that session data remains
until/unless the user deletes the session
Section 4.8 from the Web2py Manual states that session data remains
until/unless the user deletes the session cookie or else the session
expires. When does a session expire - or what causes a session to
expire? Do I have any control over maintaining the life of a session ?
I guess I can delete a
mode of course means that *nothing* works now.
Are we having fun yet?
--
Rb
Oh yeah. I put this error into the stupid category. ***Sigh***
(fingers and eyes crossed that this IS the problem)
On Jul 27, 11:20 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Why setting these parameters?
-n 1 -o
. I'm
impressed that when the eth0 failed it actually got through on wlan0.
But it was DARN slow.
Putting it back to wlan0 fixes the problem and now I can happily step
through both client and svr code and look at all my wonderful SOFTWARE
bugs.
---
Rb I'll take 'configuration' for 1000, Alex
into web2py.py and then WinXP could attach to it. Debugging
can now proceed.
WinXP looks good. But I'm not crazy about having to modify code in
web2py.py in order to do debugging. I've never used a debugger before
that forced me to modify code.
Am I missing the obvious?
--
Rb
run. That is I select 'attach' from Winpdb's main menu. Can
Winpdb be automatically launched and attached from that code snippet?
Hmm I was putting it into web2py so that the seb2py process would show
up in the 'attach' list in Winpdb.
Maybe I don't know enough about this.
---
Rb
On Jul 28, 3:02
Arghhh
I have been using eclipse (successfully up til now) to run the web2py
svr (ubuntu 9.04 desktop) on a lan address of 192.168.0.155,
connecting to a winXP client, also on the LAN. This allowed me to
single step through my controller code and it was working...
beautifully... I
beastie does NOT play nice when it fails.
---
Rb
*sigh*
On Jul 27, 6:03 pm, mdipierro mdipie...@cs.depaul.edu wrote:
NO. Running web2py as root is a very bad idea.
Your problem does not look like a web2py problem but, assuming it is,
it is possible that you run it as root (not good) and not you
this?
@services.xmlrpc
def xrGetColDefs( ):
pass
Err... what is this 'services' in the code example? Do I have this
decoration correct?
2. What is a good timeout for the webserver for xmlrpc functions? Any
idea?
---
Rb
On Jul 27, 6:01 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You should not decorate call
to come out so wait for that but *definitely* get
the book.
What else?
--
Rb
On Jul 27, 8:59 pm, Randell josephrandell.benavi...@gmail.com wrote:
Hi guys,
How do you setup your web2py development environment? Of course, we all know
that we don't need complicated setup to develop web2py since
are often combined into:
rows = db(db.tasks.student_id==db.student.student_id).select
(db.tasks.ALL, db.student.first_name)
---
Rb
PS. it's all in the Programmer's Guide pdf. (There's a new version
coming out shortly).
On Jul 27, 8:12 pm, Alastair Medford alastairmedf...@gmail.com
wrote:
I've been
up a trouble ticket and shows where the code failed. Very nice.
--
Rb (still stuck in WTF-land)
On Jul 25, 5:29 am, Jason Brower encomp...@gmail.com wrote:
I used pydev for a while. But when I am running off the server, have
you ever concidered using the -X feature?
I use that often when
Can anyone tell me how to change the default colour of the cursor in
the web-edit of files? On my systems the cursor colour against the
background is almost impossible to see. Currently I must turn of
highlighting when editing so that I can see where I am.
it. If this collision happens in my controller code,
what happens? Is an exception thrown or what is the return value/
status from the record_update fiunction?
I need to catch this error to allow a retry.
---
Rb
--~--~-~--~~~---~--~~
You received this message because
some, I guess.
--
On Jul 24, 8:12 pm, Jason Brower encomp...@gmail.com wrote:
I have asked this one before. I actually, got really used to using my
own editor.
Regards,
Jason
On Fri, 2009-07-24 at 14:19 -0700, rb wrote:
Can anyone tell me how to change the default colour of the cursor
switch between full screen and small screen with the save
button.
Thx, in advance.
---
Rb
--~--~-~--~~~---~--~~
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
If you are using SQLite then you could create a db in memory and keep
your temp table there. You can create the table outside of web2py and
then in your SQLDB call you can add the parameter migrate=False to
import the db into web2py.
--
Rb
On Jul 22, 1:34 am, phneoix neo.stea...@gmail.com
indices outside of the DAL
then must the user also turn off migration ?
--
Rb
--~--~-~--~~~---~--~~
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
I am a bit flummoxed over dbs that insist on using an id field as
their primary key. Specifically I would like to be able to access
records via a more btrieve or old-style ordered set mode of
GetFirst, Get Prev, GetNext, GetLast. The web2py manual gives a neat
trick to paginate records which,
] ?
And to get the last record could I use:
rows = db().select(db.table.ALL, orderby=~db.table.name, limitby=
(0,1))
with the last record being in rows[0] ?
On Jul 20, 11:57 am, rb rbspg...@gmail.com wrote:
I am a bit flummoxed over dbs that insist on using an id field as
their primary key. Specifically
.
On Jul 20, 12:14 pm, Yarko Tymciurak yark...@gmail.com wrote:
On Mon, Jul 20, 2009 at 2:07 PM, rb rbspg...@gmail.com wrote:
Oops. I made a small mistake. Isn't it true that I could get the Next
record (of a table having the 'name' field as its primary key) using
rows = db(db.table.name
Thx so much for your (quick) replies. It really helps to have a
conversation sometimes.
On Jul 20, 12:40 pm, Yarko Tymciurak yark...@gmail.com wrote:
On Mon, Jul 20, 2009 at 2:27 PM, rb rbspg...@gmail.com wrote:
No, what is an ordering table?
YOU create a db table where YOU impose your
just do a
1 db(db.tbl.keyColumn==key).count() 0
Is that efficient?
--
Rb
--
Rb
On Jul 20, 3:18 pm, Hans Donner hans.don...@pobox.com wrote:
Hi,
1. Currently web2py relies for this on the DB engine
2. Can always happen. There is no way to prevent this.
The main risk with using
is*), but it
fails only when downloading multiple copies of the same file. Of
course the problem could be something like file permissions, etc. I
mention this only because it sounds suspiciously like the other
complaints above.
--
Rb.
--~--~-~--~~~---~--~~
You received
Err.. I'm new to web2py. What is it's history? Where did it begin?
What was the vision/impetus?
On Jul 14, 4:51 pm, lpg lucas.gei...@gmail.com wrote:
I’m interested in using web2py for some business/enterprise
applications, but other collaborators of mine have reservations about
web2py
Isn't it true that the choice between using a return error code and
using the exception mechanism is decided by whether the result is
expected or not? If record_not_found is a common, reasonably expected
outcome then maybe it is better to use a return code to signal this so
that the logic to deal
is the minor field in the sorting order? Is it the
default ordering of value content (string order, numeric order) of the
fields that are included in the or'ing? So if I wanted to sort first
by id in the example above, I would list it first in the or'ing ?
---
Rb
On Jul 11, 7:57 am, Massimo Di
questions are:
i) am I missing the obvious? Is there a much simpler/better way to do
this?
ii) does the DAL add much overhead?
On Jul 9, 9:21 pm, mdipierro mdipie...@cs.depaul.edu wrote:
On Jul 9, 11:04 pm, rb rbspg...@gmail.com wrote:
Hi all,
I'm using Web2py to serve a wxPython thick
2) I'm confused as to which models get run when a controller is
accessed. If I have db.py and uom.py models and I access the uom
controller, what happens? From stepping thru the debugger I saw db.py
get run first, then uom.py and then uom.py again (weird). I've
simplified things down to
and there won't be a tomorrow if I have to use
ajax.
But again, I'm kinda new to all this stuff, so I stand to be corrected
if I'm being naive... ;-)
---
Rb
On Jul 10, 12:31 am, Yarko Tymciurak yark...@gmail.com wrote:
I just have to point this out: by definition (at least some) thick clients
am, mdipierro mdipie...@cs.depaul.edu wrote:
There is no eval in DAL. Actually b) is safer. The overhead is
negligible compared to the database IO times. You are doing the right
thing
On Jul 10, 1:55 am, rb rbspg...@gmail.com wrote:
Thx for the speedy reply. Here's another question:
3
On Jul 10, 5:48 am, Fran francisb...@googlemail.com wrote:
On Jul 10, 9:40 am, rb rbspg...@gmail.com wrote:
I don't have the resources for ajax thin client programming. I'll
stick with the trials of deploying the thick client.
I don't think you need full-blown GWT to have an AJAX client
your mileage may
vary, from a BSOD to a nasty worded MessageBox from the OS, still, it
is definitely something which is NOT a good thing.
--
my 3 cents.
Rb.
On Jul 10, 2:19 pm, eric cs eeri...@gmail.com wrote:
They compare Ruby 1.9 with Python, than a Python guy change the
algorithm from being
tables (eg.
how to specify a UNIQUE constraint over two or three fields for my
primary key?). Oh gosh, I shouldn't post my questions here.
Anyway, I'd like to help if I can.
--
Rb
On Jul 6, 8:04 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Thank you. I am going to work on this probably one or two
, but I'm
wondering if the infrastructure's intent is to run all model files
upon each and every controller access. Oh, my access of the controller
is via XMLRPC function (if that changes anything).
Thx in advance,
Rb.
--~--~-~--~~~---~--~~
You received this message
54 matches
Mail list logo