karrigell-main Mailing List for Karrigell (Page 82)
Brought to you by:
quentel
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(12) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(8) |
Oct
(12) |
Nov
(6) |
Dec
(38) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(19) |
Feb
(13) |
Mar
(4) |
Apr
(8) |
May
(4) |
Jun
(12) |
Jul
(3) |
Aug
(6) |
Sep
(4) |
Oct
(8) |
Nov
(6) |
Dec
(8) |
2005 |
Jan
(14) |
Feb
(6) |
Mar
(10) |
Apr
(20) |
May
(60) |
Jun
(80) |
Jul
(11) |
Aug
(32) |
Sep
(25) |
Oct
(9) |
Nov
(25) |
Dec
(60) |
2006 |
Jan
(6) |
Feb
(3) |
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(5) |
Sep
(9) |
Oct
(61) |
Nov
(77) |
Dec
(127) |
2007 |
Jan
(73) |
Feb
(56) |
Mar
(47) |
Apr
(107) |
May
(83) |
Jun
(117) |
Jul
(172) |
Aug
(99) |
Sep
(39) |
Oct
(15) |
Nov
(28) |
Dec
(57) |
2008 |
Jan
(39) |
Feb
(60) |
Mar
(105) |
Apr
(254) |
May
(193) |
Jun
(128) |
Jul
(107) |
Aug
(78) |
Sep
(83) |
Oct
(14) |
Nov
(9) |
Dec
(73) |
2009 |
Jan
(71) |
Feb
(48) |
Mar
(70) |
Apr
(72) |
May
(132) |
Jun
(123) |
Jul
(71) |
Aug
(32) |
Sep
(25) |
Oct
(38) |
Nov
(5) |
Dec
(18) |
2010 |
Jan
(12) |
Feb
(5) |
Mar
(33) |
Apr
(60) |
May
(105) |
Jun
(75) |
Jul
(41) |
Aug
(53) |
Sep
(38) |
Oct
(6) |
Nov
(8) |
Dec
(4) |
2011 |
Jan
(8) |
Feb
(4) |
Mar
(3) |
Apr
(9) |
May
(2) |
Jun
(3) |
Jul
(3) |
Aug
(7) |
Sep
(9) |
Oct
(8) |
Nov
(3) |
Dec
(2) |
2012 |
Jan
(4) |
Feb
(5) |
Mar
(7) |
Apr
(1) |
May
(3) |
Jun
(12) |
Jul
(17) |
Aug
(16) |
Sep
(13) |
Oct
(8) |
Nov
(1) |
Dec
|
2013 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
(12) |
May
(6) |
Jun
(8) |
Jul
(1) |
Aug
(1) |
Sep
(4) |
Oct
(4) |
Nov
(4) |
Dec
(3) |
2014 |
Jan
(4) |
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
(5) |
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(1) |
2015 |
Jan
(2) |
Feb
(1) |
Mar
(3) |
Apr
(1) |
May
(1) |
Jun
(4) |
Jul
(3) |
Aug
(3) |
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <rb...@ip...> - 2003-12-03 08:22:58
|
Hi, I've just downloaded the CSV version, and it seems it's missing a k_utils module. It's possible to use this as a temporary sollution; ## dummy module to fix the missing module k_util ## remco boerma - ipn // rb...@ip... from random import random def generateRandom(length): "This is a dummy, get the complete file.." return str(int(random() * 10**length)) Pierre, i really love the debug button!!! It's perfect!! This could well be the reason for Karrigell to become very widely used! :) I've patched one little error in the karrigell_async.py, updated it so the session object uses k_util.generateRandeom (instead of generatePassword i believe) and it seems to work fine.. I'll have to try some more to be certain, but it sure is looking good. gr. Remco Boerma |
From: quentel.pierre <que...@wa...> - 2003-12-01 20:24:26
|
Re: [Karrigell-main] Threading or not threading ?Since no one voted = against, I have cvs'd a new version of Karrigell which uses a = non-threading server. I've also cleaned up the code a bit : the handling = of POST requests, which is not specific to Karrigell, is now in a = CustomHTTPServer script. I hope this will make Andrew's task of porting = to Apache easier ; I don't think it should significantly slow down the = server (but tell me if I'm wrong) I don't know if Remco's suggestion could be achieved, but if there is no = big speed issue with the non-threaded version I think it's much safer to = stick to only one implementation of the server I also tried to use the asyncore / asynchat framework to build a faster = server. The result is in the CVS under "Karrigell_async.py". Not too bad = when it works, but too unstable yet. I have tried to dig into medusa but = I find the code very hard to understand ; if any of you is a medusa = guru, he's much welcome to work on it ! I've also decided to switch to Python2.3 to be able to use new modules = such as date or built-in functions like enumerate. Many scripts have = been rewritten to reduce the use of the string module, introduce list = comprehensions instead of map/filter, etc The "debugger" subdirectory gives access to information about scripts = which raised an exception : a view of the script text and a way to = browse the namespace (this part still uncomplete). I'll need your = feedback on these scripts... Regards, Pierre ----- Original Message -----=20 From: Remco Boerma=20 To: Kar...@li...=20 Sent: Monday, December 01, 2003 12:52 PM Subject: [Karrigell-main] Threading or not threading ? [due to an error appearing on the sourceforge list archive, this is a = repost] Hi,=20 I can imagine. I have the same problem sometimes.. a non-threaded = system would also reduce my 'resource-lock-related-headaches'...=20 Whilst thinking about it, i'm wondering if it could be possible to = handle simple file (no python magic inside) threaded, while maintaining = a non-threading model for python-enhanced files. This would surely = reduce a lot of my problems, while still maintaing a lot of speed (i = will be using a lot of small graphic files, and a whole buch of = iframes..) As most if this would be done in the apache port by apache = itself (i guess), it shouldn't be a to big problem there.. Cheers,=20 Remco que...@wa... wrote: >Do you see any problem with switching to this non-threaded = version ? Hi, No problem at all, in fact the hacked stdout has been causing me = to pull my hair out whilst trying to do the Apache thing. If you get this = sorted I should be able to finish. Cheers, Andy. -------------------------------------------------------------------------= ----- Dit bericht is gecontroleerd op virussen door Mailmarshal software en = Sophos Antivirus Wilt u meer weten over deze producten? Neemt u dan contact op met ICT = Point Telefoon 0592 316311, of bezoek onze website: www.ictpoint.nl=20 -------------------------------------------------------------------------= ----- = N=18HY?=E9=8A=98????u?=16w=1A+m?>????=E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Rk9OVD48L0RJVj48L0JMT0NLUVVPVEU+CgoNCjxIUj4NCkRp dCBiZXJpY2h0IGlzIGdlY29udHJvbGVlcmQgb3AgdmlydXNzZW4gZG9vciBNYWlsbWFyc2hhbCBz b2Z0d2FyZSBlbiBTb3Bob3MgDQpBbnRpdmlydXM8QlI+V2lsdCB1IG1lZXIgd2V0ZW4gb3ZlciBk ZXplIHByb2R1Y3Rlbj8gTmVlbXQgdSBkYW4gY29udGFjdCBvcCANCm1ldCZuYnNwOyBJQ1QgUG9p bnQ8QlI+VGVsZWZvb24gMDU5MiAzMTYzMTEsIG9mIGJlem9layBvbnplIHdlYnNpdGU6IDxBIA0K aHJlZj0iaHR0cDovL3d3dy5pY3Rwb2ludC5ubCI+d3d3LmljdHBvaW50Lm5sPC9BPjxTVFJPTkc+ IDwvU1RST05HPg0KPEhSPg0KPC9CT0RZPgo8L0hUTUw+ |
From: Andrew N. <an...@ni...> - 2003-11-26 12:51:48
|
que...@wa... wrote: >... > > >Do you see any problem with switching to this non-threaded version ? > > Hi, No problem at all, in fact the hacked stdout has been causing me to pull my hair out whilst trying to do the Apache thing. If you get this sorted I should be able to finish. Cheers, Andy. |
From: <que...@wa...> - 2003-11-25 09:42:23
|
Working on a debugger for Karrigell I again faced difficulties with HTML frames : sometimes the output of the scripts seems to be sent at random to one of the frames. I thought the HackedStdout solved the problem but obviously it doesn't There is a simple solution to this : use TCPServer instead of ThreadingTCPServer and remove all the HackedStdout "magic". The tests I've made (subjective, I didn't use any load test tool) don't show any difference of speed and anyway Karrigell isn't designed for heavy loads Do you see any problem with switching to this non-threaded version ? Regards, Pierre |
From: Pierre Q. <que...@wa...> - 2003-11-18 20:48:23
|
I'd just seen this page today, it was nice to read. I'll send a mail to the author (unless he's already reading this mailing list !) Having an Apache port for Karrigell will surely help. Today on comp.lang.python there was another post by someone looking for a simple web programming tool in Python, he already had an Apache server running. I thought of sending yet another advertizing reply to his post (mentioning the future Apache version) but if any of the other developers could do so in my place it would show the readers that there is more than one person talking of Karrigell... I'm currently working on debugging tools : add a "debug" button on the pages that show an error, and open a page where the script source is shown with syntax coloring, and which shows all the elements of the namespace in which the script was run Brian, Daniel, any spare time to work on one of the unassigned tasks (http://sourceforge.net/pm/task.php?group_project_id=29276&group_id=67940&fu nc=browse) ? Or on anything else ? Cordialement, Pierre ----- Original Message ----- From: "Andrew Nelis" <an...@ni...> To: "Karrigell main" <kar...@li...> Sent: Tuesday, November 18, 2003 5:21 PM Subject: [Karrigell-main] Blah... > Don't know if this was mentioned before but I noticed Karrigell > mentioned at > > http://holton.ltc.vanderbilt.edu/wiki/BundleWebApplicationOnCdRom > > "To make self-contained elearning tutorials with quizzes that run off a > CD, EClass Builder uses Karrigell, a Python </wiki/Python>-based web > server and database ApplicationServer </wiki/ApplicationServer>. EClass > Builder also creates a WxPython </wiki/WxPython>-based desktop frontend > to Karrigell." > > More people using it! > > Secondly, I thought I'd mention how the Apache work is coming on. I've > managed to get a lot of it up and running - there are a few problems > from the way mod_python (what I'm using to combine Apache and Python) > handles requests and how Karrigell handles requests. > > Todo: > - Cookies > - Authentication > - (the current show stopper) Thread Safety. Pages seem to get mixed up > sometimes in frames. > - It'd also be good if Karrigell didn't change directories to get at > files, instead, use absolute paths. > > I'm a little busy right now, but hopefully within a week or two I should > have something working to show you all. > > Seeya, > > Andy. > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl > _______________________________________________ > Karrigell-main mailing list > Kar...@li... > https://lists.sourceforge.net/lists/listinfo/karrigell-main |
From: Andrew N. <an...@ni...> - 2003-11-18 16:21:18
|
Don't know if this was mentioned before but I noticed Karrigell mentioned at http://holton.ltc.vanderbilt.edu/wiki/BundleWebApplicationOnCdRom "To make self-contained elearning tutorials with quizzes that run off a CD, EClass Builder uses Karrigell, a Python </wiki/Python>-based web server and database ApplicationServer </wiki/ApplicationServer>. EClass Builder also creates a WxPython </wiki/WxPython>-based desktop frontend to Karrigell." More people using it! Secondly, I thought I'd mention how the Apache work is coming on. I've managed to get a lot of it up and running - there are a few problems from the way mod_python (what I'm using to combine Apache and Python) handles requests and how Karrigell handles requests. Todo: - Cookies - Authentication - (the current show stopper) Thread Safety. Pages seem to get mixed up sometimes in frames. - It'd also be good if Karrigell didn't change directories to get at files, instead, use absolute paths. I'm a little busy right now, but hopefully within a week or two I should have something working to show you all. Seeya, Andy. |
From: Pierre Q. <que...@wa...> - 2003-11-02 21:28:22
|
Version 1.3 has just been released, only a few bug fixes since 1.3 beta. = See the notes for more information. Just beware the change of variable = name in configuration files ("base" instead of "root", which caused = circular references problems upon parsing) It was a pleasure to read the recent message from "nora central". The = suggestion to develop a version of Karrigell working on Apache makes = sense, I had seen the same on the forum. It is the kind of things I'm = not able to do, so if Andrew can take this task, he is welcome ! I've put a list of some of the other things I'd like to see in the next = version in the Task list on sourceforge, here is a summary : - use the Component framework to build better tools (more than demos) = : nicer looks, more functions - a component assembler : a web application to pick up components from = a list, place then in a page, and generate a site skeleton=20 - a tool to take remote control of the server, and change = configuration options on the fly (for instance set debug mode, add = aliases, etc) - an "address book" component - logging features, statistics - rewrite the forum demo using components (login ; news editing) - a database browser (phpMyAdmin-like, for gadfly for a start...) Are there readers out there ready to start work on some of these tasks ? Oh, and I can't help mentioning the results of October, by far the best = reached by Karrigell since its first release, nearly one year ago... Cordialement, Pierre |
From: Andrew N. <an...@ni...> - 2003-10-31 15:10:38
|
Hiya, Good to hear you like the thing. nora central wrote: >I plan more than 10 domain driven with Karrigell on my Linux Apache >Server. Howto install Karrigell under apache? Any tipps? > > Mod Python (http://www.modpython.org, Apache plugin) is probably the way to go about getting Karrigell to run on that. Right now, Karrigell runs as a standalone thing, but ... I think with a bit of work, it would be possible to plug it into Apache. I'll have a proper look at it once I get home from work. Unless anyone else fancies the job. Cheers, Andrew. |
From: nora c. <nor...@gm...> - 2003-10-31 13:25:58
|
Hallo Karrigell is a Framework, but i do not need print out the manual on paper and reread it x times. Why? His content is Alway simple and Powerfull. No need to learn another language, python is ok. I found geniale idee: "Python in HTML" and "HTML in Python" and .py in same set. I installed on Windows in 10 minutes (python, karrigell, gladfy) and all working. Karrigell has included a remarkable set of example files. Good as tutorial for newbie and start on web programming with python. I plan more than 10 domain driven with Karrigell on my Linux Apache Server. Howto install Karrigell under apache? Any tipps? nora |
From: Pierre Q. <que...@wa...> - 2003-10-23 06:34:29
|
In Python, to test if an object has an attribute called "Compteur", use : h= asattr(object,"Compteur"). The has_component method of session objects in K= arrigell refer to components as defined in the documentation (a script or a= set of scripts) So if you change your script to : sessionObj=3DSession() print "<html><head></head><body>" print hasattr(sessionObj,"Compteur") if not hasattr(sessionObj,"Compteur"): sessionObj.Compteur =3D 0 else: sessionObj.Compteur =3D sessionObj.Compteur + 1 print sessionObj.Compteur print "<form action=3D\"session_test.py\">" print "<input type=3D\"submit\" name=3D\"Test\" value=3D\"Test\">" print "</form>" print "</body></html>" it should work much better !=20 Cordialement, Pierre Message du 22/10/03 21:58=20 De : Patrick Installe=20 A : kar...@li...=20 Copie =E0 :=20 Objet : [Karrigell-main] Session and counter=20 I just try Karrigell (1.3b) for several of days and Python (2.3.2) for a=20 several week, so I a sort of beginner.=20 I wonder why my little script "session_test.py", which just try to count=20 the number of calls, doesn't work.=20 Thanks a lot in advance=20 Patrick Install=E9=20 Making program foolproof is very difficult because fool are so=20 imaginative (anonymous)=20 #-------------------------------------------------------------=20 sessionObj=3DSession()=20 print ""=20 print sessionObj.has_component("Compteur")=20 if False =3D=3D sessionObj.has_component("Compteur"):=20 sessionObj.Compteur =3D 0=20 else:=20 sessionObj.Compteur =3D sessionObj.Compteur + 1=20 print sessionObj.Compteur=20 print " "=20 print ""=20 print " "=20 print ""=20 #-------------------------------------------------------------=20 -------------------------------------------------------=20 This SF.net email is sponsored by OSDN developer relations=20 Here's your chance to show off your extensive product knowledge=20 We want to know what you know. Tell us and you have a chance to win $100=20 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54=20 _______________________________________________=20 Karrigell-main mailing list=20 Kar...@li...=20 https://lists.sourceforge.net/lists/listinfo/karrigell-main |
From: Patrick I. <P-I...@po...> - 2003-10-22 19:57:45
|
I just try Karrigell (1.3b) for several of days and Python (2.3.2) for a several week, so I a sort of beginner. I wonder why my little script "session_test.py", which just try to count the number of calls, doesn't work. Thanks a lot in advance Patrick Installé Making program foolproof is very difficult because fool are so imaginative (anonymous) #------------------------------------------------------------- sessionObj=Session() print "<html><head></head><body>" print sessionObj.has_component("Compteur") if False == sessionObj.has_component("Compteur"): sessionObj.Compteur = 0 else: sessionObj.Compteur = sessionObj.Compteur + 1 print sessionObj.Compteur print "<form action=\"session_test.py\">" print "<input type=\"submit\" name=\"Test\" value=\"Test\">" print "</form>" print "</body></html>" #------------------------------------------------------------- |
From: Pierre Q. <que...@wa...> - 2003-10-14 15:16:58
|
With the release of version 1.3 beta, Karrigell reaches what must be its higher result since the beginning, with over 100 visits on the 12th of October, an activity percentile over 96.5 and a rank of 475 ! Now, I hope the last version does not crash on every machine but mine... Please let me know ! Cheers, Pierre |
From: Pierre Q. <que...@wa...> - 2003-10-12 19:51:13
|
Fairly good results for Karrigell on sourceforge statistics page, the = post to Python Package Index seems to have had an impact ! At the same time, I've just released at last the beta version of = Karrigell 1.3 Here are the notes I've written for this release : Many minor bug fixes, and a couple of new features : - the most important one is the introduction of components, through the IncludeComponent function. This feature allows the development of elementary services (such as calendar, news editing etc) which can be run and tested stand- alone, or included in other scripts with this=20 function. Documentation and examples are provided=20 in the release - another important and required feature is a debug=20 level in which all imported modules are reloaded at=20 every HTTP request. This avoids having to restart=20 the server when a change is made in an imported=20 module - a test suite, written by Didier Wenzek Testing is required before the release of the final=20 1.3 version. Please report bugs on the mailing list :=20 kar...@li... I count on the members of the list to begin testing the version as soon = as possible, and especially on Didier with the test suite ! Please take a special look at this "component" thing. I've been working = on it for a long time and I'm not sure if it's still very stable. Please = tell me at least if you undestand the explanations in the documentation, = I see clearly enough what I wanted to do but I'm not too sure to have = expressed it as clearly... Next steps I foresee are : - release the final 1.3 version of course - then make a list of a couple of things I'd like to be done for the = future and ask those of you who are interested and have time to = contribute Cheers, Pierre |
From: Pierre Q. <que...@wa...> - 2003-10-07 06:33:16
|
For your information : I've added Karrigell to the Python Package Index http://www.python.org/pypi Might bring a couple of new users ! Pierre |
From: Pierre Q. <que...@wa...> - 2003-10-02 17:14:03
|
All you have to do is ask : I've added the REQUEST_HANDLER variable in the latest version on CVS ----- Original Message ----- From: "Gabriele Giorgetti" <gab...@te...> To: <kar...@li...> Sent: Thursday, October 02, 2003 9:05 AM Subject: Re: [Karrigell-main] client address patch. > Pierre Quentel wrote: > > >To be more generic, perhaps it would be even more useful to introduce a > >variable REQUEST_HANDLER which is the current instance of > >karrigellRequestHandler. Then you can find the IP address by : > > > >REQUEST_HANDLER.client_address[0] > > > >and if you need the client port : > >REQUEST_HANDLER.client_address[1] > > > >You can take advantage of all the attributes of this instance (server, > >connection, etc). I think it's better not to add too many names in the > >user's namespace > > > >Would this be ok for what you need ? What do the others think ? > >Cheers, > > > >Pierre > > > Yes I agree with you, it's not good to add too many junk in the user's > namespace. By the way as I already told you my patch is just a temp. > workaround to get the client's ip address, quick > > Please go ahead with the REQUEST_HANDLER thing if you think it's > usefull as well. > > Cheers. > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Karrigell-main mailing list > Kar...@li... > https://lists.sourceforge.net/lists/listinfo/karrigell-main |
From: Gabriele G. <gab...@te...> - 2003-10-02 07:05:30
|
Pierre Quentel wrote: >To be more generic, perhaps it would be even more useful to introduce a >variable REQUEST_HANDLER which is the current instance of >karrigellRequestHandler. Then you can find the IP address by : > >REQUEST_HANDLER.client_address[0] > >and if you need the client port : >REQUEST_HANDLER.client_address[1] > >You can take advantage of all the attributes of this instance (server, >connection, etc). I think it's better not to add too many names in the >user's namespace > >Would this be ok for what you need ? What do the others think ? >Cheers, > >Pierre > Yes I agree with you, it's not good to add too many junk in the user's namespace. By the way as I already told you my patch is just a temp. workaround to get the client's ip address, quick Please go ahead with the REQUEST_HANDLER thing if you think it's usefull as well. Cheers. |
From: Pierre Q. <que...@wa...> - 2003-10-01 21:30:43
|
Do you know of any use of Karrigell in "real world" projects ? With = Google I found one on this site :=20 http://www.rheinbach.com/Software/python.html.en=20 I'd like to know for which kind of site (personal pages, business, etc) = it's used, an idea of the size (number of pages, traffic), feedback on = the software (ease of use, performances, stability, etc) and any useful = information you could have This is for my/our information, and if webmasters agree, to add a = reference page on the Karrigell home page Cheers,=20 Pierre=20 |
From: Pierre Q. <que...@wa...> - 2003-10-01 20:43:25
|
To be more generic, perhaps it would be even more useful to introduce a variable REQUEST_HANDLER which is the current instance of karrigellRequestHandler. Then you can find the IP address by : REQUEST_HANDLER.client_address[0] and if you need the client port : REQUEST_HANDLER.client_address[1] You can take advantage of all the attributes of this instance (server, connection, etc). I think it's better not to add too many names in the user's namespace Would this be ok for what you need ? What do the others think ? Cheers, Pierre ----- Original Message ----- From: "Gabriele Giorgetti" <gab...@te...> To: <kar...@li...> Sent: Wednesday, October 01, 2003 4:00 PM Subject: [Karrigell-main] client address patch. > Hi, I was in the need to get the client's ip address with Karrigell. > > So here is a patch that makes Karrigell log the client's ip address; > also the CLIENT_IP variable is set in the namespace. > > Cheers. > > > > |
From: Gabriele G. <gab...@te...> - 2003-10-01 14:00:27
|
Hi, I was in the need to get the client's ip address with Karrigell. So here is a patch that makes Karrigell log the client's ip address; also the CLIENT_IP variable is set in the namespace. Cheers. |
From: Pierre Q. <que...@wa...> - 2003-09-21 16:36:36
|
Well, I'm afraid this is not possible. The browser reacts according to the "Content-type" header sent by the server (text/html : the browser parses the html code, text/plain : prints plain text, etc) and the server itself uses the script extension (.pih, .html, etc) to determine the content-type to send So if a pih file is run, the content-type will always be text/html, regardless of the Included files. Anyway, if in push.pih there was another Include, such as <% Include ("data.xyz") %>, how could Karrigell decide between the content-types matching .pih, .atc or .xyz ? If what you want is to let users download "file.atc" I think you should do a link <a href="file.atc"> and add a line in Karrigell.ini, in the [Application] section : atc=application/vnd.acucorp.thincommandline But I guess that on Windows you'd also have to create the association with the Internet Settings. Not very sure about that, I'll check Cheers, Pierre ----- Original Message ----- From: "Gabriele Giorgetti" <gab...@te...> To: <kar...@li...> Sent: Friday, September 19, 2003 6:34 PM Subject: [Karrigell-main] Problem including files != .html > Hi there, I'm in the need of including (printing out) documents with > a Content-Type that is not Text/Html. > So to clarify the thing a bit what I'm trying to do is > the following : > > --- "push.pih" --- > <% > Include ("file.atc") > %> > > --- "file.atc" --- > Content-type: application/vnd.acucorp.thincommandline" > > atc-something 1 > atc-something 2 > > > > Basically I want the browser to get the file.atc (by downlading or > executing it) > by loading the push.pih page. > Actually this results in plain text output of file.atc > > Cheers. > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Karrigell-main mailing list > Kar...@li... > https://lists.sourceforge.net/lists/listinfo/karrigell-main |
From: Gabriele G. <gab...@te...> - 2003-09-19 20:10:37
|
Hi there, I'm in the need of including (printing out) documents with a Content-Type that is not Text/Html. So to clarify the thing a bit what I'm trying to do is the following : --- "push.pih" --- <% Include ("file.atc") %> --- "file.atc" --- Content-type: application/vnd.acucorp.thincommandline" atc-something 1 atc-something 2 Basically I want the browser to get the file.atc (by downlading or executing it) by loading the push.pih page. Actually this results in plain text output of file.atc Cheers. |
From: Pierre Q. <que...@wa...> - 2003-09-17 19:31:02
|
Hello William, Thanks for mentioning the Deprecation message, I should move to Python 2.3 now ! I've changed SmartCookie into SimpleCookie as suggested by Andrew (nice reading you again !) and I've found it worked as before For Didier : I have restored the directory change in karrigellHandle, for the reason I mentioned in my mail Cheers, Pierre ----- Original Message ----- From: "Andrew Nelis" <an...@ni...> To: <kar...@li...> Sent: Wednesday, September 17, 2003 11:44 AM Subject: Re: [Karrigell-main] First-time User > William Trenker wrote: > > Hello, > > Hello, > > > First, I notice the following DerecationWarning. Is there a real security concern here? > > > > /src/Karrigell# python Karrigell.py -P 8081 > > Karrigell 1.2 ok > > /usr/local/lib/python2.3/Cookie.py:712: DeprecationWarning: Cookie/SmartCookie class is insecure; do not use it > > DeprecationWarning) > > > > http://groups.google.co.uk/groups?selm=7xd6whehjj.fsf%40ruckus.brouhaha.com > > Has this to say: > > > WARNING! DANGER WILL ROBINSON! The default ("smart") cookie class > > defined by that module uses pickle to encode arbitrary Python objects > > into cookies. This creates a security hole at the server side since > > attackers can create cookies that instantiate class instances with > > malicious data passed to the class initializers. Don't use smart cookies. > > The solution just is to replace instances of SmartCookie with > SimpleCookie which doesn't use the pickle stuff. I think it appears > twice in Karrigell.py. I've tried this, it seems to work though I'm not > on python 2.3 yet (long loading time and my modules still use 2.2 :| ) > so you might still get the warning. > > > Cheers, > > Andrew. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Karrigell-main mailing list > Kar...@li... > https://lists.sourceforge.net/lists/listinfo/karrigell-main |
From: Andrew N. <an...@ni...> - 2003-09-17 09:44:13
|
William Trenker wrote: > Hello, Hello, > First, I notice the following DerecationWarning. Is there a real security concern here? > > /src/Karrigell# python Karrigell.py -P 8081 > Karrigell 1.2 ok > /usr/local/lib/python2.3/Cookie.py:712: DeprecationWarning: Cookie/SmartCookie class is insecure; do not use it > DeprecationWarning) > http://groups.google.co.uk/groups?selm=7xd6whehjj.fsf%40ruckus.brouhaha.com Has this to say: > WARNING! DANGER WILL ROBINSON! The default ("smart") cookie class > defined by that module uses pickle to encode arbitrary Python objects > into cookies. This creates a security hole at the server side since > attackers can create cookies that instantiate class instances with > malicious data passed to the class initializers. Don't use smart cookies. The solution just is to replace instances of SmartCookie with SimpleCookie which doesn't use the pickle stuff. I think it appears twice in Karrigell.py. I've tried this, it seems to work though I'm not on python 2.3 yet (long loading time and my modules still use 2.2 :| ) so you might still get the warning. Cheers, Andrew. |