Hallo,
Ian Bicking hat gesagt: // Ian Bicking wrote:
> Maybe I'll document these better sometime and put them into MiscUtils,
Oh yes, please do! ;)
ciao
--
Frank Barknecht _ __footils.org__
---
Thi
27;t include cookie values, which
is fine.
> Is it safe to use my code? May be it is not good to refer to
> parent's class method instead it's child implementation?
I think, if you didn't re-define request() in your Page child clas
g that is
picklabe (even more, but this might lead to strange behaviour).
A session example is in http://footils.org/pkg/shop.tgz
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.NET email is sponsor
req = self.request()
filename = req.value("filename", None)
if filename:
cur.execute('insert into userlist values % ;' % filename)
self.writeBody()
ciao
--
Frank Barknecht
ble, but the verson I'm currently running has user managmenet, and
is quite buggy in this field.
ciao
--
Frank Barknecht
---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Somethin
eader('Content-type','text/plain')
and override Page.writeHTML()
but I never did this...
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email is sponsored by:Thin
re prominent in the InstallGuide. I skipped
the WebKit.exe part, because I thought, that was only valid for
W32-systems.
ciao
--
Frank Barknecht
---
This sf.net email is sponsored by:ThinkGeek
Welc
for WebKit.cgi?
ciao
--
Frank Barknecht
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.
ar I believe which is something like:
> SELECT * ... LIMIT 5,10
Yep, you made my day. I was always using Postgres but the shop must
run on MySQL and this is the offset syntax I needed.
ciao
--
Frank Barknecht _ __footils.org__
s 40.000 ints. But this is
sliced to be in a range [startcount:endcount], so it actually is only
used for a very short time, if at all, isn't it?
OTOH I have another select for every Product and there might be a lot
of Products in memory. At least, we hope that people look at the
Products a
27;
# maybe you have to use path[0], this needs experimenting
#file_name = path_info.split('/')[0] or 'NoFileHere'
And you can get at the 'id' as usual by reading the request() object:
id = self.request().value('id', None)
HTH,
ciao
--
Frank Barknecht
Hi,
for a Sourceforge project I'm working with I consider using Webware as
the underlying CMS. Does anyone here know if it is possible to have
Webware running on Sourceforge? Is webware.sf.net Webware powered
(tm) itself?
ciao
--
Frank Bark
This way, I can use extraURLPath in wiki.py almost like before. I
think, in the list returned by split("/") I had to use the [1]
element, where I was using split("/")[0] before, but I would have to
check that again.
--
Frank Barknecht _ __footi
not clear to
> me that the db served pages will be searched by moinmoin like I need
> (full text search).
I think, moinmoin just 'greps' through the Page files, so you'd need
to add SQL/MiddleKit-code to your search function anyways. This also
might be easier, if the search f
our question, but could you post in text
format (as well)? I normally disable HTML view in my mailer, for
security reasons...
Thank you.
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email is sponsor
ython" only. If that is python 1.5 still
somewhere, the sysadmin, distribution maintainer, ... should fix it
or do a workaround like "export PYTHON=/usr/bin/python2.2" or "alias
python /usr/bin/python2.1" or even edit AppServer/Launch.py
themselves.
ci
s, so if anyone has a better tactic, it would be great to
hear...
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a
elf):
self.msg="HT called"
self.writeHTML()
def writeContent(self):
self.writeln(self.msg)
self.writeln("""
Hi,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
> I started using Webware CVS and my PyDiddy-Wiki stopped working :(
> There are two problems. First extraURLPath seems to have changed and
> uses a new algorithm. So my old code:
>
> path_info = self.request().extraURLPa
this a change in CVS, that Page.actions now don't
get (or need to get) the transaction object anymore?
Thanks for your help.
Ciao
--
Frank Barknecht _ __footils.org__
Yes, I'm the same guy, that subscribed
Hi,
Bill Eldridge hat gesagt: // Bill Eldridge wrote:
> To save you the suspense, at least on Linux you can do:
>
> cvs -z9
> -d:pserver:[EMAIL PROTECTED]:/cvsroot/webware co webware
That last "webware" should be "Webware", I t
Hi,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
> I'm still working on a simple UserKit frontend, and now I stumbled
> across the problem, how to save modified users across
> AppServer-restarts.
Sorry for another UserKit related self reply, but it seems, that
UserKit i
lopers do it? Do they remember everything? Do they keep a journal
> running to the side? It seems that with the consistent structure of
> python objects, that a tool may have already been developed to do this.
I use "ctags", which is nice to use with my fav. editor
attribute 'save'
Also playing with the modifiedUserTimeout seems to have no effect. I
tried setting it to 1, waited a minute, and then restarted the
AppServer, but the changed password was reverted...
ciao
--
Frank Barknecht
Hi,
I could solve my problem now.
It was:
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
> But if I try to create another user, this fails with:
>
>
> File "/dos/ibm/hdc18/f/src/python/webware/workdir/thehood/Main.py", line 71, in
>Create
>
running under OneShot.cgi or the AppServer
(I'm sending this a second time, because the first mail didn't come
through, probably because of the attachment, that is missing now.)
ciao
--
Frank Barknecht _ __footils.org__
dUser
AssertionError
Line 152 in UserManager.py says:
assert not self._cachedUsersBySerialNum.has_key(user.serialNum())
So it seems, that the second attempt to create a user runs into a
caching problem.
Do I miss something in my way, how to use UserKi
e is something, that is easily explained to
developers, but if a normal user installs Webware, there is nothing to
see right away. Is this a CMS, how do I use it? - he might ask, but
other than the Example pages there is nothing to see. Maybe Webware
should
gt; interesting, have at it.
I must be stupid, but I didn't find the wiki's source code on your
site: Is it available?
I did find the cool comfyEdit instead and will stop using webware
immediatly now :)
ciao
--
Frank Barknecht
w, since around 0.9.7 I think. I did check with
Mozilla 1.0 on Linux and the "SecureCountVisits" example in the docs.
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email is sponsored by: O
://vim.sf.net has lots of useful Vim
tricks and tips.
ciao,
--
Frank Barknecht _ __footils.org__
---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_
f such a site shouldn't be running something in webware
and would thus function as a kind of "Eat your own stuff"-Dogbowl like
Zope did with the CMF-site.
ciao,
--
Frank Barknecht _ __footils.org__
ong table but want it to show up
> incrementally, you need to start and end the table often.
Yes, that is an annoying behaviour in Netscape until 4.7, but went
away with Mozilla/Netscape 6. But still a lot of people use the older
Netscapes...
ciao,
--
Frank Barknecht
> > [...]
>
> Ok, spamassassin caught it for me
darn, it didn't for me, but almost:
"X-Spam-Status: No, hits=4.8 required=5.0"
--
Frank Barknecht _ __footils.org__
___
ef actions(self): return Page.actions(self) + ['Clicked']
Now you can define the handler for the method "Clicked" (same name as
the button's!):
def Clicked(self, trans):
req=trans.request()
# ...
self.writeHTML()
Ciao,
--
F
rt annoncement here or privatly,
when the text arrives at DevCenter.
ciao,
--
Frank Barknecht _ ___footils__
___
Have big pipes? SourceForge.net is looking for download mirrors. We
can do cronjobs. And if crond dies, some other people
will shout before me...
Thanks and bye,
--
Frank Barknecht _ ___footils__
___
Have big pipes? SourceForge.net is looking for download mirr
Hi all,
my AppServer process died, and I didn't recognize this for one or two
days. How do you guys make sure, the AppServer doesn't die, or if
it dies, that you get to know it or that it gets restarted
automatically?
Ciao,
--
Frank
Perl (duh!), it should run there also.
bye,
--
____
Frank Barknecht
I wrote:
> --- test-foo.py ---
> from foo import *
> bar = _foo()
that above was meant to be "bar = foo()", of course...
--
Frank Barknecht
___
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lis
= _foo()
try:
# will raise NameError:
bar = _foo()
except NameError:
print "_foo not defined"
bye,
--
, I can read html-messages, but I think on a public mailing list one
should send e-mail in a format everyone with every mailreader can read.
I tend to ignore html messages, but I suspected it was just a configuration
error, so I spoke up ;)
Regards,
--
Ross McDonald hat gesagt: // Ross McDonald wrote:
>[html]
I don't know what the list policy is, but I prefer text messages over html.
--
Frank Barknecht
___
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/
Hi, i'm a big number <%= i %>
<% end %><% else: %>
Hi, i'm rather small <%= i %>
<% end %>
<% end %>
I think, the first version looks much better and more natural to
101 - 144 of 144 matches
Mail list logo