I have an Informix database (testdb) where web2py creates the
necessary table but returns the following error from the web UI. I
have looked through the code, but haven't been able to locate the
exact area of the problem. Would someone point me in the direction of
where to specifically look for
Well it could be put into web2py.py or the model or the controller.
However, this has to be maintained when upgrading to the next version
of the svr. Thus it becomes a maintainance issue. Oh sure, this isn't
the end of the world, but if it weren't for this password thing, I'd
think that they could
You should be aware that this "tagging" style is ok, and works - but the way
it works may not be the right thing for your application.
If you have limited references (say ~20 or so per a "many") then this is
simple, efficient, and you can probably manage your many-to-many this way.
What this doe
When you do
attendees = models.ManyToManyField(User, through='Attendance')
in Django, it does not create any field. It just informs Django of the
many to many and Django uses it to build forms. Web2py does not
automatically builds forms out of many to many (unless you use Tagging
as Fran sug
I did not write that test and I do not recall what it is supposed to
test.
I think the problem is with the test, not with web2py.
Any idea?
On Jul 28, 12:47 pm, Jonathan Lundell wrote:
> When I run test_rewrite in the trunk, I get an error. I must say that
> it's not all that helpful a messag
and you are browsing to http://102.168.1.40, correct?
Something is not adding up here -
First: why are you doing sudo? (you should not run web2py as root!)
Second: what happens if you get to the server locally? (you can do that
with ssh & port forwarding - "ssh -L 8080:localhost:8000 remo
On Jul 28, 9:27 pm, Tito Garrido wrote:
> I'm using the generic data... is there a way to set it?
If you're happy for the same class for all tables, then:
def data():
form = crud()
if request.args(0) == 'select':
form['_class'] = 'myclass'
return dict(form = form)
F
--~--~--
On Jul 28, 10:52 pm, rb wrote:
> 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.
Could you not just have it as a line in your model which you can
easily comment-out when going into production?
> To use winpdb you just add
> import rpdb2; rpdb2.start_embedded_debugger('any_password')
> to your code where you want to start debugging.
>
Oh. Thankyou. I can just put this code snippet into my controller
default.py and winpdb can attach? Lessee... nope. Ok I put this code
snippet into web2
I'm using the generic data... is there a way to set it?
Thanks Fran!
On Tue, Jul 28, 2009 at 5:26 PM, Fran wrote:
>
> On Jul 28, 9:18 pm, Tito Garrido wrote:
> > Is there a way to set the class of /data/select table?
>
> If you do your own Controller function instead of using the generic
> dat
On Jul 28, 9:18 pm, Tito Garrido wrote:
> Is there a way to set the class of /data/select table?
If you do your own Controller function instead of using the generic
data()
See this thread:
http://groups.google.com/group/web2py/browse_thread/thread/facc2fa9eb80be5f
F
--~--~-~--~~---
On Jul 28, 8:42 pm, Fran wrote:
> > I am already confused about how to implement the Django style many-to-
> > many relationship in web2py.
> The Many<>Many support native to Web2Py is the
> Tagging-style:http://www.vimeo.com/2720410
I do a full Many<>Many in my application, for which you can b
Is there a way to set the class of /data/select table?
Thanks,
Tito
--
Linux User #387870
.
_/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Not that it is convenient, but one could go here and have a looksee...
http://news.gmane.org/gmane.comp.python.web2py
It looks to have the complete set searchable.
Funny looking at the google archive its all there.
JohnMc
On Jul 28, 1:25 pm, vihang wrote:
> exactly... this group is my source
On Jul 28, 5:47 pm, __future__ wrote:
> I am already confused about how to implement the Django style many-to-
> many relationship in web2py.
The Many<>Many support native to Web2Py is the Tagging-style:
http://www.vimeo.com/2720410
F
--~--~-~--~~~---~--~~
You re
On Jul 28, 7:26 pm, weheh wrote:
> What command-line option do I need to use to get web2py to run as a
> Windows service and at startup to execute a web2py application.
Windows service isn't application-specific...only the interactive
Shell is...
> What
> if I want it to execute a bunch of web2
I suppose to clarify my question I would have to ask:
What command-line option do I need to use to get web2py to run as a
Windows service and at startup to execute a web2py application. What
if I want it to execute a bunch of web2py applications, each of which
never terminate?
The second case co
exactly... this group is my source of advance documentation
On Jul 28, 8:25 pm, Fran wrote:
> On Jul 28, 3:58 pm, vihang wrote:
>
> > I have noticed something since the group name was changed... the
> > search results are limited to posts of last month or so. Is anyone
> > facing this problem o
When I run test_rewrite in the trunk, I get an error. I must say that
it's not all that helpful a message. There's no routes.py in the tree,
so I assume that it's using the one from NewOpen(). Am I doing
something wrong, or is there a bug? FWIW, the other tests in the
directory run fine.
On Tue, Jul 28, 2009 at 4:48 PM, carlo wrote:
>
> After several tries I have to ask: are any particular issues with
> embedding flash objects in views?
>
> I put the usual in my view:
>
> {{url=URL(r=request,c='static',f='somefilename.swf)}}
>
>
>
>
>
>
> what's bad here? Thank you
> carlo
I
hi Fran
thanks!
For now your first solution is fab (& simple to boot).
[and yes I mean EnvoyAuth not MyAuth - a typo in my post]
C
On Jul 28, 5:36 pm, Fran wrote:
> On Jul 28, 1:43 pm, Carl wrote:
>
> > I have created MyAuth(Auth)
>
> You mean EnvoyAuth(Auth) ?
>
>
>
>
>
> > I have overri
no, I mistyped but I have the same :
{{url=URL(r=request, c='static', f='somefilename.swf' )}}
I can see the the "box" on the html page but no flash player
starting.
On 28 Lug, 18:38, Fran wrote:
> On Jul 28, 4:48 pm, carlo wrote:
>
> > {{url=URL(r=request,c='static',f='somefilename.swf)}}
>
>
In trying to better wrap my head around the workings of web2py, I am
attempting to convert a Django tutorial I used a while back to learn
Django into web2py-speak. It is a series of video tutorials that walk
one through building a twitter-ish site (Start The Dark).
I am already confused about ho
On Jul 28, 4:48 pm, carlo wrote:
> {{url=URL(r=request,c='static',f='somefilename.swf)}}
{{url=URL(r=request, c='static', f='somefilename.swf')}}
F
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" gro
On Jul 28, 1:43 pm, Carl wrote:
> I have created MyAuth(Auth)
You mean EnvoyAuth(Auth) ?
> I have override the method register() with
> if self.environment.response.mode == 'buyer':
> onaccept = registerBuyer
> return super(EnvoyAuth, self).register(next, onvalidation, onaccept,
> log)
> wh
On Jul 28, 3:57 pm, weheh wrote:
> Couldn't find this in any discussions. I have web2py running as a
> service for my main app, which generates some input for a background
> queue. A second app runs the background queue-ing function, which is
> CPU intensive but never talks to the outside world.
On Jul 28, 3:58 pm, vihang wrote:
> I have noticed something since the group name was changed... the
> search results are limited to posts of last month or so. Is anyone
> facing this problem or its an issue with google servers in my side of
> the planet?
Ah, that explains why my searches weren'
Interesting observation as I am getting it too. Though I do note that
I can get older threads from ones that I save that were of interest.
So the data is there in the Groups.
On Jul 28, 9:58 am, vihang wrote:
> Hi,
>
> I have noticed something since the group name was changed... the
> search res
After several tries I have to ask: are any particular issues with
embedding flash objects in views?
I put the usual in my view:
{{url=URL(r=request,c='static',f='somefilename.swf)}}
what's bad here? Thank you
carlo
--~--~-~--~~~---~--~~
You received this mes
Hi,
I have noticed something since the group name was changed... the
search results are limited to posts of last month or so. Is anyone
facing this problem or its an issue with google servers in my side of
the planet?
Vihang
--~--~-~--~~~---~--~~
You received this
Couldn't find this in any discussions. I have web2py running as a
service for my main app, which generates some input for a background
queue. A second app runs the background queue-ing function, which is
CPU intensive but never talks to the outside world. It only serves the
main app. Do I need to
Also, there's only one web2py process as yarko had asked.
On Jul 28, 10:07 am, David Watson wrote:
> Thanks for all the responses.
>
> I'm not doing os.chdir in my code.
>
> What happens is this:
>
> I launch from an ssh session to my ubuntu 9.04 server machine:
>
> sudo nohup python web2py.py -
- What OSes do you use? (which flavor of Linux, which Windows
version,
does anybody here use a Mac?) And why?
Primary Linux XFCE Ubuntu 8.04.2 LTS, Centos. I am a cheap SOB and
hate paying the Microsoft tax.
- What IDEs? What benefits do you get from using Eclipse or other
IDEs?
Feel
Thanks for all the responses.
I'm not doing os.chdir in my code.
What happens is this:
I launch from an ssh session to my ubuntu 9.04 server machine:
sudo nohup python web2py.py -p 80 -i 192.168.1.40 -a whatever &
I hit port 80 in the browser and get /init/default/index.
I then exit the ssh
On Mon, Jul 27, 2009 at 5:00 PM, Anand Vaidya wrote:
>
>
>
> On Jul 27, 7:49 am, Oleg wrote:
>> 1) moonlight will do the same job on other platforms (as soon as it
>> will be completed :))
>
> No, it does not. I have FF plus moonlight plugin - and the app fails
> with an error that SL>2 is needed
hi,
I have created MyAuth(Auth)
I have override the method register() with
if self.environment.response.mode == 'buyer':
onaccept = registerBuyer
return super(EnvoyAuth, self).register(next, onvalidation, onaccept,
log)
when users have been successfully register, my own registerBuyer is
ca
On Jul 28, 12:46 am, rb wrote:
> learn some of Winpdb so I think I will switch from eclipse to SPE and
> Winpdb, *after* I can figure out this bizarre password thing it does -
> apparently you must decorate your code with a password and then Winpdb
> can find it. I haven't gotten it to work yet.
On Jul 28, 4:59 am, Randell wrote:
> - What OSes do you use? (which flavor of Linux, which Windows version,
> does anybody here use a Mac?) And why?
Windows XP laptop as this is what I expect my primary audience to run
Ubuntu server as I hate Windows ;)
> - What IDEs? What benefits do
Well, everything works again, and my "special" error was not in the
svr model/controller code nor in the client. I had put my virtual
client into NAT networking mode, while I was trying to debug why my
Mac VirtualBox upgrade was hosed. Putting my xmlrpc-client vitual
machine back into bridge mode
I was trying to see if limiting to 1 thread would make the debugger
work and stop in my controller code (like it used to).
Nope. No joy. I've really borked this up. As always, it's the thing
you _don't_ check that an be the problem. I have scoured over my
client and svr code and I can't find *any
Hello.
My resume is attached.
Usually I work mostly on backend software, not websites, but for last 3-6
months I gradually shift to web development.
Currently I work on a web2py project for transport company startup.
Already implemented features include:
* Registration (custom, not web2py)
* City
41 matches
Mail list logo