/SQLite.
Edit wmconf.py to set paths etc., then run WM.py to generate the
database tables and a user.
Ciao
--
Frank Barknecht _ __footils.org_ __goto10.org__
wm2006.tgz
Description: GNU Unix tar archive
___
Webware-discuss mailing
fix this?
Ciao
--
Frank Barknecht _ __footils.org_ __goto10.org__
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
in Application.config.
ciao
--
Frank Barknecht _ __footils.org_ __goto10.org__
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine
hard
things still possible.
Ciao
--
Frank Barknecht _ __footils.org__
_ __latest track: fqdn _ http://footils.org/cms/show/38
---
SF email is sponsored by - The IT Product Guide
for this.
However plain ol' html is not what I would consider a real template
language, as that would include control structures like for-loops etc.
One might argue, that Python code can be a template language then
itself, though. PSP and Kid work this way behind the curtain anyway.
Ciao
--
Frank
kind of secrets to Webkit.Page or another
place in WW.
Ciao
--
Frank Barknecht _ __footils.org__
---
SF email is sponsored by - The IT Product Guide
Read honest candid reviews on hundreds of IT Products from
reading!
[1] http://www.securenet.de/papers/Session_Riding.pdf
Ciao
--
Frank Barknecht _ __footils.org__
---
SF email is sponsored by - The IT Product Guide
Read honest candid reviews on hundreds of IT Products
step on it
unintentionally. ;)
Ciao
--
Frank Barknecht _ __footils.org__
---
SF email is sponsored by - The IT Product Guide
Read honest candid reviews on hundreds of IT Products from real users.
Discover which
this, but I'm only really interested in web applications, so
something specific to that might have a better set of features.
I think, monit is quite popular, although I never used it. There is
a deb for it.
Ciao
--
Frank Barknecht _ __footils.org__
Hallo,
Michel Thadeu hat gesagt: // Michel Thadeu wrote:
1. The error-messages are hard-coded (i.e. english text).
I don?t use the formkit, but I use the funformkit and had similar
problems.
I also don't know FormKit, but FunFormKit and I also had to translate
errors to another language
be used, one is used a
lot, the others only a little bit. This could be used to tune servers
a bit. In your case it might not be necessary to run all those
threads.
Ciao
--
Frank Barknecht _ __footils.org__
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
I get a very similar picture with a slighty more loaded server. There
are 2 out of 10 threads that appear to never be used, one is used a
lot, the others only a little bit. This could be used to tune servers
a bit. In your case
value normally, so can
get pickled without problems.
Ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by Black Hat Briefings Training.
Attend Black Hat Briefings Training, Las Vegas
Hallo,
last teeny_tiny_cms spam message for now: ttc was checked into the
sandbox on webware-sandbox.sf.net under Sandbox/fbar/teeny_tiny_cms.
Further additions will happen there. btw. the cvs version got
comments for articles, slashdot-like, as new feature.
Ciao
--
Frank Barknecht
Hallo,
small news: teeny_tiny_cms 0.2 is out. grab while hot. now includes a
default.css almost reaching the size of sitepage.py and user
authentification. code bloated to 4798 bytes packed.
dl: http://footils.org/pkg/teeny_tiny_cms-0.2.tgz
ciao
--
Frank Barknecht
tools. Debian also
is well suited to be kept current over the net. It's a good choice.
Another argument: w4py.org also runs Debian, although it's Debian
testing AFAIK.
Ciao
--
Frank Barknecht _ __footils.org__
hallo,
attached is a first one day try of teeny_tiny_cms, the smallest cms
ever for webware at 40k unpacked. requires sqlobject, sqlite and
docutils.
version 0.2 will be an even smaller joke. ;-)
Ciao
--
Frank Barknecht _ __footils.org__
teeny_tiny_cms-0.1
I forgot: it's also necessary to set 'ExtraPathInfo' to 1 in
Application.config
Ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux
tomorrow.
Ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers
'contextDir' referenced before assignment
Ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME
it for example on http://normalmailorder.de which runs
Webware, SQLObject and PostgreSQL.
Ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing
just should use os.system and relatives.
Ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take
a cronjob,
I think. Something like this I just created from the *.txt files in
/var/lib/wiki/wiki.webwareforpython.org on w4py.org:
http://www.webwareforpython.org/~fbar/wiki.w4py.org-040422.tgz
Ciao
--
Frank Barknecht _ __footils.org__
I now use to edit many textareas with Vim. I added
this to the page.
.. _Mozex: http://mozex.mozdev.org/
Ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: IBM Linux Tutorials
!
The only solution I found was to switch to PostgreSQL. All problems
solved, and only little new ones. I was struggling with this MySQL
problem for *months* before...
Ciao
--
Frank Barknecht _ __footils.org__
?
Is mod_webkit that much faster than the C-CGI?
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President
.
But it isn't a very well structured piece of software, the renderer is
hard to extend and it's not template-based. But it is very stable and
generally JustWorks (tm) all the time.
It even has a crude user authentication! But I wouldn't recommend it
for the Webware-site.
ciao
--
Frank Barknecht
faster, but that would be easily lost in the noise
of a real application -- either option is quite fast.
Thanks for this info. In my applications, the adapter surely isn't the
bottleneck so I'll just stay with the C one at least until I find the
time to read the mod_webkit docs. ;)
ciao
--
Frank
can access joined data as pluralized
attributes. The standard example is having one table Person and
another Adress which are joined so you can say:
my = Person.byName(Frank)
for addr in my.addresses:
print addr.phoneNumber
I like that.
ciao
--
Frank Barknecht
/read.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn
little reST-wiki. (I'm only half joking
here.)
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President
? ;)
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything
the idea, I hope.
And maybe this even could breath some new live into some kind of
UserKit? ;)
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux
a cool layout? (I don't care much about logos, a
good layout is more important for a future WW website.)
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free
:
cookie.setDomain(.somesite.com)
As I figure, that someone here might have done this already, I thought
I'd ask how to do that in a Webware-Session?
ciao
--
Frank Barknecht _ __footils.org__
---
The SF.Net
this
in a session anyway. Only put things that can be pickled into a
session.
ciao
--
Frank Barknecht _ __footils.org__
---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools
starting? It must be the one in
your workdir, otherwise it won't work, I guess.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just
In this specific problem this probably will not help, because only one
insert is wanted. Using autoincrement keys you'd create two valid
database rows, when the goal was to just get one.
ciao
--
Frank Barknecht _ __footils.org__
with attrs: name, title, description,...
q = QueryBuilder(Product)
q.url = name/potter/name/harry/description/book/foo/bar/
print q.sql
print Number of results: %d % len (table.select(q.sql))
for n in list(table.select(q.sql)[0:10]):
print %s: %s % (n.name, n.title)
Have fun,
--
Frank
that many rather big sites are quite
happy with it. But my confidence in MySQL has gone to hell. Welcome
back, PostgreSQL.
Oh, and for those interested: The shop lives at
http://normalmailorder.de/shop/ all running with Webware and
SQLObject.
ciao
--
Frank Barknecht
= ExceptionHandler
### end __init__
And this is in Application.Config:
...
'ShowDebugInfoOnErrors': 0,
...
'SaveErrorMessages': 1,
'EmailErrors':1,
...
Thanks again for your pointers.
ciao
--
Frank Barknecht _ __footils.org__
would need a way to restart the AppServer with a kill -9
allAppServerPIDs beforehand automatically...
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November
Hallo,
Thomas E Jenkins hat gesagt: // Thomas E Jenkins wrote:
On Mon, 2003-11-10 at 05:25, Frank Barknecht wrote:
Tried now, but it didn't help. I might have to live with this problem,
but then I would need a way to restart the AppServer with a kill -9
allAppServerPIDs beforehand
how or if Postgres can be made to accept
CSV-data imports with floats using a comma as decimal divider...)
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19
.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV
, but it didn't solve the problem.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP
, which makes automatic restarting a bit of a hassle.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
Hallo,
Ian Bicking hat gesagt: // Ian Bicking wrote:
On Nov 9, 2003, at 8:25 AM, Frank Barknecht wrote:
This happens with using python2.2 mysqldb 0.9.1 (the Debian package)
as well as with python2.3-mysqldb 0.9.2 and SQLObject CVS or 0.5. Did
anybody here run into something like this before
a problem like this seems to be unhandled in the webkit
script, too.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand
SQLObject, too, but with MySQL. Maybe I should just switch
to Postgres. It's just a single variable to change in my whole app,
thanks to SQLObject.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more
* from my_table where id = %d' %
id).fetch() I had before. It also made the code much shorter and
easier to extend later.
Might be worth a look for pyNuke, too.
ciao
--
Frank Barknecht _ __footils.org__
--
Frank Barknecht _ __footils.org__
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE
be done? Does anyone have an example? I found nothing in the
Wiki on this topic...
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net
,
[TextField(firstName, maxLength=20, extraHTML='class=babyblue',
validators=[Validator.NotEmpty()]),
...
But my babyblue-class never shows up in the rendered form. Is this a
bug or should I specify the class in another way?
ciao
--
Frank Barknecht
()
self.writeMainContent()
self.writeMainContentEnd()
self.writeRightMenu()
self.writeNewFooter()
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.net email
, except that y is evaluated only
once (but in both cases z is not evaluated at all when x y is
found to be false).
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email is sponsored by:ThinkGeek
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
Ali hat gesagt: // Ali wrote:
How can i process a request based on the url???
Looking at how webware dispatch the requests seems to me that every one
must map to a real file/directory so how can i config webware to dispatch
You need to enable the ExtraPathInfo in Application.config, and then
you get at it through for example request().extraURLPath().
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email
is, that SQLObject supports more databse
backends than MiddleKit: MySQL, PostgreSQL, SQLite, dbm-file. It's
very easy to write more backends.
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email
with a browser to the AppServer on port
8086 (or any other port). Or well you can but you get bad marshall
data.
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email is sponsored by:ThinkGeek
Welcome
or
http://tplcompiler.sourceforge.net
The Documentation can be found at:
http://mbp.compmed.ucdavis.edu/tplcompiler/docs/template.html
Sorry, such file doesn't exist... is all I get at these pages
(Mozilla, Linux)
(I found http://sourceforge.net/projects/tplcompiler, though)
ciao
--
Frank
I subscribe to.
I'm on several sourceforge list, and as far as I remember I never lost
any mails from there. Maybe it's a configuration or a provider issue?
ciao
--
Frank Barknecht _ __footils.org__
with item IDs as keys,
and the item's count as value. So when it comes to the checkout, the
customer can easily change how many of one item he wants.
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net
or
equivalents on BSD. Those offers nowadays are really inexpensive and
start at around 10 Euro a month.
Of course you then would also need to do general system
administration...
ciao
--
Frank Barknecht _ __footils.org__
and
built with correct options. Very very nice.]
You were youing the wrong Linux distro: Debian does that, too. ;)
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.net email is sponsored by: VM Ware
With VMware
()
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win
Hallo,
Jaros?aw Zabie??o hat gesagt: // Jaros?aw Zabie??o wrote:
I do not like base html tag.
Yes: Sooner or later the base tag will bring trouble. IMO it's as bad
as blink ;)
ciao
--
Frank Barknecht _ __footils.org__
want to experiment with e.g.
req.servletURI() and req.urlPath()
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win
(http://footils.org/cgi-bin/cms/pydiddy/WebwareHouse)
although this is really basic.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data
-script that matches
Debian would be nice ;)
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing more.
Download eval WebKing and get
the same
as http://server/~merk/MyContext/test/test.psp or
http://server/~merk/MyContext/test/test.psp/
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites
reportedly is in use and works just fine,
but as I don't use MK, I could not use UserKit without writing my own
backend.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.NET email is sponsored by: eBay
Great
issue in Webware. Currently everyone has his/her own
security system.
Virtual Host Support
Here you'd need to use your webserver's capabilities with WW.
ciao
--
Frank Barknecht _ __footils.org__
-developer Ian Bicking. SO is very easy to use (with python
2.2) and I now use it everywhere SQL-support is needed.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.net email is sponsored by: Etnus, makers
used Cheetah, I did use PSP, but currently I'm using neither.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB
://webware.colorstudy.com/twiki/bin/view/Webware
There's really great stuff there.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo
1212 S N 0.0 0.2 0:00 python
28779 fbar 13 5 3592 3592 1212 S N 0.0 0.2 0:00 python
Is this correct and what are these other threads doing? I also use
datapool, but only with 2 connections.
Any ideas?
ciao
--
Frank Barknecht _ __footils.org__
by providing unique objects.
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.net email is sponsored by: Tablet PC.
Does your code think in ink? You could win a Tablet PC.
Get a free Tablet PC hat just
/theContext
pages.
It's used like
a href=%s/path/to/servlet.py % self.getServletRoot()
and results in
a href=/~user/cgi-bin/wk.cgi/theContext/path/to/servlet.py
ciao
--
Frank Barknecht _ __footils.org__
,
*all* sessions were put in the URL-path, which is not what I want.
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Hallo,
Karl Putland hat gesagt: // Karl Putland wrote:
On Sat, 2003-02-15 at 02:25, Frank Barknecht wrote:
I see another problem: I doubt, that the IP adress can fully identify
a user, if you have proxies or firewalls in between.
Not to mention that an aol client changes IP addresses
as its getting completed responses?
I see another problem: I doubt, that the IP adress can fully identify
a user, if you have proxies or firewalls in between.
ciao
--
Frank Barknecht _ __footils.org__
Hallo,
Aaron Held hat gesagt: // Aaron Held wrote:
I'll keep my sig's and opinions to myself next time.
Ah, come on, sig's are half of the fun reading mailing lists.
ciao
--
Frank Barknecht _ __footils.org__
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 class,
Page.request() will get called anyways.
ciao
--
Frank Barknecht _ __footils.org__
, None)
if filename:
cur.execute('insert into userlist values % ;' % filename)
self.writeBody()
ciao
--
Frank Barknecht _ __footils.org__
---
This SF.NET
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 sponsored by:
SourceForge
, 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 = Something 2 See!
http
('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:ThinkGeek
Welcome to geek heaven.
http
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
Welcome to geek heaven.
http://thinkgeek.com/sf
Hi,
Ian Bicking wrote:
installation, but in a non-complete manner. In my opinion, only
mod_webkit and wkcgi are worth introducing (though I haven't used
Please forgive my ignorance, but what is wkcgi? I cannot find it in the
InstallGuide. Or is it shorthand for WebKit.cgi?
ciao
--
Frank
:
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__
---
This sf.net
and there might be a lot
of Products in memory. At least, we hope that people look at the
Products a lot... :)
ciao
--
Frank Barknecht _ __footils.org__
---
This sf.net email is sponsored by:ThinkGeek
Welcome
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 Barknecht
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 _ __footils.org__
---
This sf.net email is sponsored by: Are you worried about
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 function would be inside one of your
servlets.
ciao
--
Frank Barknecht
;nbsp;
#self.write(self.testvar)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
passBRnbsp;BR
I don't have an answer to your 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
, 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.
ciao
--
Frank Barknecht _ __footils.org__
1 - 100 of 122 matches
Mail list logo