[Webware-discuss] make mod_webkit errors out
I apologize for a copy of this note sent to the developer list. I would greatly appreciate advice on how to work around or through this. Installing on Centos 6, with gcc and apxs installed. [root mod_webkit2]# make /usr/sbin/apxs -c -Wc,"" -o mod_webkit.la mod_webkit.c marshal.c /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1-c -o mod_webkit.lo mod_webkit.c && touch mod_webkit.slo mod_webkit.c: In function ‘wksock_open’: mod_webkit.c:265: warning: format not a string literal and no format arguments mod_webkit.c: In function ‘webkit_handler’: mod_webkit.c:596: warning: format not a string literal and no format arguments /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1-c -o marshal.lo marshal.c && touch marshal.slo /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -o mod_webkit.la -rpath /usr/lib64/httpd/modules -module -avoid-versionmarshal.lo mod_webkit.lo [root mod_webkit2]#-- ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] catching up to webware v1
On Dec 14, 2009, at 2:41 PM, Christoph Zwerschke wrote: Thanks for the kind words, Mark. You are most welcome. Your efforts are greatly appreciated. After spending way too much time on various web tools, e.g. Django, jQuery and similar, I find webware provides a nice balance of features and simplicity. There are no fundamental API changes between v0.9 and v1. But if you're updating from such an old version, you should recreate the working directory with MakeAppWorkDir, and copy the old context(s) and changes in config settings over to the newly created directory. Understood. Many thanks, - Mark -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] catching up to webware v1
I have been busy on other projects, and webware simply caused me no trouble so I haven't posted in a long while. Recently, a catastrophic hard drive crash forced me to rebuild a system and part of that was to re-install webware for an xml-rpc app built some years ago. I used 0.9 because that was what used before. However, I would like to catch up to the current version. Christoph et al have done such a great job of improving the product. I have poked through the release notes but still have the urge to ask this question: Are there any gotchas in moving from such an old version to the current release? TIA, - Mark Phillips -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Cannot download from SF
On Apr 1, 2009, at 2:01 PM, Christoph Zwerschke wrote: Chuck Esterbrook wrote: I know this is an SF issue given the URL (http://downloads.sourceforge.net/webware/Webware-1.0.1.tar.gz), but is there anywhere else to download from? I have no problems using either URL. But you can always use the following alternative download location: http://www.webwareforpython.org/downloads/ If it helps, I would be happy to set up a download page as a third alternative. - Mark -- ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] ANN: Webware and DBUtils 1.0 released
Congratulations and many thanks for all time and effort. - Mark On Nov 29, 2008, at 5:20 PM, Christoph Zwerschke [EMAIL PROTECTED] wrote: The historic Webware for Python version 1.0 has finally been released. It runs with all Python versions from 2.0 to 2.6. A lot of bugs have been fixed, and a few small improvements and changes have been made since the last release. See the release notes for WebKit, MiddleKit, TaskKit, CGIWrapper and DBUtils for details. Webware for Python is a suite of Python packages and tools for developing object-oriented, web-based applications. The suite uses well known design patterns and includes a fast Application Server, Servlets, Python Server Pages (PSP), Object-Relational Mapping, Task Scheduling, Session Management, and many other features. Webware is very modular and easily extended. Webware for Python is well proven and platform-independent. It is compatible with multiple web servers, database servers and operating systems. DBUtils is a suite of tools providing solid, persistent and pooled connections to a database that can be used in all kinds of multi-threaded environments like Webware for Python or other web application servers. The suite supports DB-API 2 compliant database interfaces and the classic PyGreSQL interface. Check out the Webware for Python home page at http://www.w4py.org --- -- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] [Webware-devel] First release candidate for Webware for Python 1.0
On Jun 6, 2008, at 12:11 PM, Christoph Zwerschke wrote: The first release candidate for Webware for Python 1.0 is now available for download from SourceForge Congratulations, Christoph! - Mark - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] warning from rkhunter
On May 24, 2008, at 8:54 AM, Christoph Zwerschke wrote: I haven't seen this with Suse Linux so far. Maybe it's something particular to RH/Centos or your app? Do you get the same problem with a simple boilerplate application created with MakeAppWorkDir? Do you get the message immediately after starting your app? Does it make a difference when you start it manually using AppServer and when using the /etc/init.d script? I haven't seen it when I start it manually. I haven't checked into a generic app but will do so. Thanks for the tips, Christoph. - Mark - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] warning from rkhunter
I recently upgraded a server to Centos 4 from an older RH distro. After installing webware, my app, the boot launch, rkhunter began reporting as follows: /etc/cron.daily/01-rkhunter: Warning: The following processes are using deleted files: Process: /bin/bashPID: 26222File: /dev/pts/0 Process: /usr/bin/pythonPID: 26224File: /dev/pts/0 These PIDs are for the webware AppServer. Is this typical and/or is it any thing I should worry about? Also, is there something I can do to tidy this up so rkhunter will pipe down? TIA, - Mark - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] One solution for error loading mod_webkit on a Core 2 Duo
On Mar 14, 2008, at 6:32 AM, Christoph Zwerschke wrote: Thanks. I'd like to create a Makefile that can create universal binaries, but unfortunately, I have no Mac to test. Christoph, I have not been following this thread so I may be way off base on this. Still, I am reasonably adept with Mac OS X. If you have the time to assemble the task, I will run the process for you on an Intel Mac and share the results. If I run into osx specific issues, I have associates to help me sort it out. Mark Phillips Mophilly, technology for creative business On the web at http://www.mophilly.com On the phone at 619 444-9210 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Fun with forms
On Jan 18, 2008, at 6:44 AM, Matt Feifarek wrote: I don't know that it's passe, we are still using it extensively on past (running) projects. In the present and the future, I have invested time using ToscaWidgets with FormEncode in Pylons. Thanks for the comment, Matt. It helps me in making a decision. - Mark - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Fun with forms
On Jan 4, 2008, at 12:15 AM, Christoph Zwerschke wrote: I think you are confusing Plug-Ins and Contexts. KidKit and FunFormKit are both examples of Webware Plug-Ins. They are usually installed directly in the Webware directory, at the same level as the WebKit directory (you can control which Plug-Ins are loaded from where with two AppServer.config settings). The Contexts usually only contain your actual Webware servlets. Thank you, Chris. So to exercise a plug-in, I need to set up a context that includes files that sub-class a plug? I am trying to get from Main.py to, say, the Register.py example in FunFormKit. Do I simply copy the register.py into the context directory and add an href link to it from Main.py? Is http://dalchemy.com/opensource/formkit/; a good url for FormKit? - Mark - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Fun with forms
On Jan 4, 2008, at 8:13 AM, Christoph Zwerschke wrote: Please note that FunFormKit is somewhat outdated and not maintained any more - has been superseeded with FormEncode which is not a Webware plug-in but of course you can also use it with Webware. [snip] FormKit is not really actively maintained either. Is this sort of thing passe at this point? What approach is up to date? - Mark - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Fun with forms
I am, at long last, playing around with using Webware for html pages that are information submission forms. I would like to create a dozen or so information request forms that are validated before being accepted. I can see that KidKit is loaded but I don't see how to invoke its examples. I tried adding line in Application.config... Contexts['KidKit'] = WebwarePath + '/KidKit' That displayed a link in the main page. Clicking the link gave a 404 error. Is there a BDU example of this somewhere? Along the same lines, I was playing with Ian Bicking's FunFormKit. I read through the pages about FunFormKit and didn't find a comment as to where to place the files, so I placed the FunFormKit directory in a working directory using MakeAppWorkDir.py. It is at the same level as Main.py. I added this line to Application.config: Contexts['FunFormKit'] = 'FunFormKit/Examples' I am getting an error, here is the tail end of the trace back: File /opt/Webware-0.9.4/WebKit/AppServer.py, line 264, in plugIn [edit] raise KeyError, name KeyError: 'FunFormKit' Examples has __init__.py but it is empty. So, a couple of questions... - Is there a BDU example showing how to set up FunFormKit, KidKit, etc. ? - Is there a current favorite for a baker's dozen of validated forms? Many thanks, in advance, - Mark Phillips - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] restated question about mod_webkit and apache 2.0
I have compiled a how-to for this process, blending the advice from Cactus at SME, with that from Gary and Christoph on this list. [url]http://www.mophilly.com/wiki/Installing_% 26_Configuring_Webware_on_SME_7.2[/url] I will add the instructions for the boot process, if there is anything not covered by the SME documentation. Thanks for all the help. - Mark Phillips - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] restated question about mod_webkit and apache 2.0
On Dec 29, 2007, at 10:05 PM, Christoph Zwerschke wrote: It should work with Apache 2.0 as well. Only the make.bat and dll file for Windows are Apache 2.2 specific. Thank you, Chris, for the clarification. I look forward to setting this up soon. - Mark Phillips - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] restated question about mod_webkit and apache 2.0
Just a follow up on this topic: The compilation worked just fine following Gary's instructions with a couple of additional steps to conform to SME 7 standards as suggested by mcairn of the SME documentation team. The test of Webware worked fine; all the examples worked out of the box, proving Christoph's assurance the mod_webkit.so would work under apache 2.0 is spot on. FYI, next on my list of items to compete is the boot/shutdown script for init.d, and Webware is ready for my application code. Many thanks to all, - Mark Phillips - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] restated question about mod_webkit and apache 2.0
My first note didn't explain my siutation well. Here is another go at it... I am planning to install the current Webware on a box running SME 7.2. SME Server 7 uses many packages from CentOS and RPMForge. As you may know, CentOS 4 is built from publicly available open source Red Hat Enterprise Linux SRPMS. The standard SME 7 distro installs Apache 2.0. FWIW, the SME development team plans to support apache 2.2 in a future release but I would like to get Webware going with the current release. I have thought about upgrading the apache install on my SME server but I am hesitant to move too far ahead of the dev team. The WebKit discussion mentions apache 1.3. and apache 2.2. The WebKit for apache 1.3 version won't work with apache 2.0. Will the WebKit for apache 2.2 work with apache 2.0? That is, is it dependent on 2.2 features or is the reference to 2.2 the highest version it was tested with? TIA, - Mark Phillips - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] restated question about mod_webkit and apache 2.0
Quoting Gary Perez [EMAIL PROTECTED]: I cannot address whether or not the latest version of Webware is dependent on any Apache 2.2-specific features, but--having used many different versions of Webware on a variety of different platforms and OSes--my guess is that its dependencies would be limited to the mod_webkit2 module. Thanks for the link to the setup on Centos 5, Gary. Your instructions are very clear and will be very helpful. I agree that the dependencies, if any, would be in the mod_webkit2 module. That is the specific concern. Thanks again, - Mark Phillips- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] a little more on MVC with PSP
I just realized that Christoph is the man behind KidKit. I had not looked at it too closely before today. I can't say there is any reason for that. In any case, I took a peek today and it has exactly the attributes I find appealing in the TAL approach found in Zope Page Templates. I haven't attempted to use KidKit yet, but I will soon. In the meantime, my apologies to Christoph for my ignorance regarding his contributions. - Mark Phillips - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] init.d, Centos and webkit script
I am still working with a Webware built in 0.9. Following the suggestions from Christoph, I found 0.9.0 has a WebKit script very similar to that in the current work. I hacked it for my purpose and placed it in init.d on a Centos 4.2. box provided by my client. I ran the chkconfigy --add to bless the service. Now I see that the log indicates a successful start. I can find the ThreadedAppServer using the ps command. In the previous installation I used the cgi, simply to avoid horsing around with another admin's apache install. The WebKit.cgi file was created a long time ago. It works, when I invoke WebKit from the terminal. However, I can't access WekKit via the cgi script. That is, this URL does not bring up the intro pages: http://www.mydomain.com/cgi-bin/WebKit.cgi What should I be looking for? TIA, Mark Phillips P.S. I can change to the apache mod if needed on the new server. The new admin is more open to such things. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] another question about WebKit script
I reread the installation instructions, and this sentance jumped out at me: Note that the pid file records the pid of the Python application server, not the pid of the wrapper script AppServer which is responsible for the AutoReload mechanism. Where is the pid file for the python application server, if it is not the appserverpid.txt file created by AppServer? Mark Phillips - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Webware/Apache Threading Problem?
On Sep 14, 2006, at 11:02 AM, Gary Perez wrote: On Sep 14, 2006, at 1:53 PM, Mark Phillips wrote: On Sep 13, 2006, at 10:16 AM, Gary Perez wrote: At Chris' suggestion, removing the chdir calls in the two modules fixes the problem, and everything works as expected. What did you do? or where did you move it to? Parts of my file upload modules were using os.chdir() to switch to a directory and create a new directory inside where the files would ultimately be copied. So instead of: os.chdir(PARENT_DIR) os.mkdir(NEW_DIR) ... I replaced it with: os.mkdir(os.path.join(PARENT_DIR, NEW_DIR)) To actually write a file inside the new directory, instead of: os.chdir(NEW_DIR ) file = open('index', 'wb') ... I replaced it with: file = open(os.path.join(PARENT_DIR, NEW_DIR, filename), 'wb') Basically, I took out any and all calls to os.chdir() - and that was the magic bullet. HTH, -Gary Nice. Thanks. - Mark - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] WebKit linux installation
On Aug 16, 2006, at 8:08 AM, Dehn,Tom wrote: I've been using Webware for over 2 years on windows, any really have had not problem. I tried to install in on a linux box and it fails. I installed it as it was download. I have Python 2.3.4, Webware 0.9.1 The result of a uname -a on the linux box is: Linux resdev1.dev.oclc.org 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux I initially left the WebKit AppServer.config file as it was installed: Host = '127.0.0.1' (This was the recommented procedure to verify a correct install.) When trying to connect with the server with a web browser on another platform and an address: http://resdev1.dev.oclc.org:8080/ The server has no response. I have set up webware in this way too, without a problem. Did you place the WebKit.cgi properly, or use the Apache mod? Assuming cgi, what happens when you try this: http://resdev1.dev.oclc.org/cgi-bin/WebKit.cgi - Mark - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] monitor.py
I have scanned the messages about monitor.py. I am still dealing with an installation of Webware on Fedora Core 2. Occasionally, the AppServer stops responding to to requests through the cgi. Until the owner of the machine agrees to upgrade the os and python installations, and just for good measure anyway, I would like to set up a monitor to keep an eye on the AppServer. Can be remote or local to the machine. I noted Geoffrey's note, from 2005 I think, about monitor.py not detecting AppServer state precisely. Has anyone a suggestion as to how to monitor Webware to determine whether the AppServer + context is truly responsive? TIA, Mark Phillips --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] 0.9.1 and python 2.3.4
One more from the on-going saga of my now infamous FC2 install... Are there any reasons why an install of Webware 0.9.1 would _not_ run on python 2.3.4? I haven't attempt this yet, as I don't have a test machine set up with FC2 and python 2.3.4; my test bed uses current versions. I thought it might be wise to ask the list before running headlong into this. TIA, Mark Phillips --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] monitor_url.py
Thanks, Chuck. I appreciate it! Mark On May 27, 2006, at 12:14 PM, Chuck Esterbrook wrote: Here it is. It can also monitor for good text as in what you expect and bad text as in not found, exception, etc. HTH, Chuck monitor_url.py --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] the fault continues
I have rolled back to python 2.3.4, since Fedora Core 2 doesn't support python 2.4.x. I ran my test suite. I am getting the following error. This occurs once in a batch of requests, at about item 40 out of 100. I guess I have to revert to Webware 0.8.1 for this machine. If anyone has an idea of how to get Webware 0.9.1 working with Fedora Core 2, I would be most grateful to hear from you. - Mark - Thrown by Webware: XMLRPCServlet internal error Traceback (most recent call last): File /usr/local/Webware-0.9.1/WebKit/XMLRPCServlet.py, line 46, in respondToPost params, method = xmlrpclib.loads(data) File /var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/ xmlrpclib.py, line 1012, in loads p.feed(data) File /var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/ xmlrpclib.py, line 528, in feed self._parser.Parse(data, 0) ExpatError: not well-formed (invalid token): line 17, column 29 [Fri May 19 00:40:30 2006] [error] WebKit: Error while executing script MyContext/liveupdate2.py Traceback (most recent call last): File /usr/local/Webware-0.9.1/WebKit/XMLRPCServlet.py, line 46, in respondToPost params, method = xmlrpclib.loads(data) File /var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/ xmlrpclib.py, line 1012, in loads p.feed(data) File /var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/ xmlrpclib.py, line 528, in feed self._parser.Parse(data, 0) ExpatError: not well-formed (invalid token): line 17, column 29 - From httpd/error_log: [Fri May 19 00:40:30 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] the fault continues
On May 19, 2006, at 12:17 AM, Christoph Zwerschke wrote: Mark Phillips wrote: I have rolled back to python 2.3.4, since Fedora Core 2 doesn't support python 2.4.x. I ran my test suite. I am getting the following error. This occurs once in a batch of requests, at about item 40 out of 100. I'd like to figure out what's going wrong there. Can I have that test suite? Maybe I will add something similar to the standard Webware tests. I would be happy to share them, Christoph. Here is the problem: the python scripts I wrote to test the methods I wrote on top of Webware work fine. No errors. It is only during the server-client dialog that the error is raised. So in this case, when I write about tests, I mean a script driving the client. the client is not written in python or some other open source code. This complicates passing it along due to the license of the vendor. Nevertheless, I will keep this in mind and if I can figure how to package it properly, I will contribute it. - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] 0.9.1 waiting on futex call
On May 19, 2006, at 8:48 AM, Tim Roberts wrote: What does that mean -- it does not support Python 2.4.x? The operating system and/or distribution should be completely irrelevant to the Python version. I can believe that some operating system scripts will screw up if you link python2 to python2.4.x, but that shouldn't affect Webware. I thought so too, and would like to be disabused of my present opinion. However, while banging around on the #python, #fedora and #fedora-legacy channels, the common opinion was that FC 2 didn't have everything python 2.4 needs. I was seeing error regarding sockets and so on. The folks on the fedora channels are a bit above my head regarding the os modules and it is difficult for me to ask them a coherent question. So, I can't really tell you why they felt there was an issue. I just took them at their word and moved on to things I can control. I am back to dealing the original error message, the bad token in xmlrpclib.py, which has some promise of a solution. Now where did I set that spare grey matter... - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] 0.9.1 waiting on futex call
On May 19, 2006, at 10:21 AM, Chuck Esterbrook wrote: Maybe I missed this in a previous thread, but is it possible to upgrade to, say for example, Fedore Core 4? I would be so happy if they did. So far, the sys op says it would be a big job and boss isn't inclined to risk having his machine down. I am going to wait a bit, then suggest adding a backup server. Make the current machine the backup, with the new one being more up to date. BTW, following on Oliver's suggestion of examining the incoming data, how should I trap the event in xmlrpcservlet? I was thinking of simply trying to print the transaction parameter as it comes in to the method, and just log the terminal for a while. - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] 0.9.1 waiting on futex call
On a machine running GNU/Linux 2.4.22, Fedora Core. Python 2.4 installed. I modified the WebKit.cgi to call python 2.4 directly, as the machine has several versions of python: #!/usr/local/bin/python2.4 Nothing in Error_Msgs in the Webware application directory. A couple of days ago I was seeing this and, per Chuck's suggestion, I check the port status. The 8080 and 8086 ports were blocked. I set then to allow calls from localhost and it appeared to set things right. However, yesterday and today, the AppServer has hung again. Webware seems to hang. Httpd/error-log shows Premature end of script headers: WebKit.cgi [Wed May 17 16:21:23 2006] [info] (104)Connection reset by peer: core_output_filter: writing data to the network [Wed May 17 16:23:43 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed May 17 16:24:43 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed May 17 16:25:17 2006] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: WebKit.cgi Are there threading issues with the 2.4.22 kernel? Other thoughts? All suggestions are greatly appreciated. - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] no response from Webware
On May 16, 2006, at 6:29 PM, Ruben Gutierrez wrote: I'm guessing you don't have access to a graphical web browser on the host? What about a text-based browser? I was thinking if you could access the site from the host using a text-based browser, at least you would know that your installation/configuration are good. Thanks, Ruben. That is a good suggestion. I do use the web admin in Webware to check on things. This, of course, has limited value if Webware itself is stumbling, but it works great if the issues are configuration or wayward components. - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] 0.9.1 waiting on futex call
Thank you, Geoff. I am looking into the note now. I have been watching the terminal and this popped up: 6 2006-05-18 10:42:54 None Traceback (most recent call last): File ./WebKit/ThreadedAppServer.py, line 418, in threadloop File ./WebKit/ThreadedAppServer.py, line 785, in handleRequest File ./WebKit/Application.py, line 473, in dispatchRawRequest File ./WebKit/Application.py, line 740, in handleExceptionInTransaction AttributeError: 'NoneType' object has no attribute 'request' 7 2006-05-18 10:45:38 /cgi-bin/WebKit.cgi HTTPResponse: /cgi-bin/WebKit.cgi: Moved Permanently 7 0.00 secs/cgi-bin/WebKit.cgi - Mark On May 18, 2006, at 9:34 AM, Geoffrey Talvola wrote: Check out this message from the archives: http://www.mail-archive.com/webware-discuss@lists.sourceforge.net/ msg06849.h tml It suggests that using: export LD_ASSUME_KERNEL=2.4.19 might solve the problem. - Geoff -Original Message- From: Mark Phillips [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 12:24 PM To: webware-discuss@lists.sourceforge.net Subject: [Webware-discuss] 0.9.1 waiting on futex call On a machine running GNU/Linux 2.4.22, Fedora Core. Python 2.4 installed. I modified the WebKit.cgi to call python 2.4 directly, as the machine has several versions of python: #!/usr/local/bin/python2.4 Nothing in Error_Msgs in the Webware application directory. A couple of days ago I was seeing this and, per Chuck's suggestion, I check the port status. The 8080 and 8086 ports were blocked. I set then to allow calls from localhost and it appeared to set things right. However, yesterday and today, the AppServer has hung again. Webware seems to hang. Httpd/error-log shows Premature end of script headers: WebKit.cgi [Wed May 17 16:21:23 2006] [info] (104)Connection reset by peer: core_output_filter: writing data to the network [Wed May 17 16:23:43 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed May 17 16:24:43 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed May 17 16:25:17 2006] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: WebKit.cgi Are there threading issues with the 2.4.22 kernel? Other thoughts? All suggestions are greatly appreciated. - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] 0.9.1 waiting on futex call
It gets more interesting: While watching AppServer run, I see this being raise now and then: XMLRPCServlet internal error Traceback (most recent call last): File ./WebKit/XMLRPCServlet.py, line 46, in respondToPost File /usr/local/lib/python2.4/xmlrpclib.py, line 1079, in loads p.feed(data) File /usr/local/lib/python2.4/xmlrpclib.py, line 527, in feed self._parser.Parse(data, 0) ExpatError: not well-formed (invalid token): line 16, column 29 [Thu May 18 11:19:23 2006] [error] WebKit: Error while executing script MyContext/mykillerapp.py Traceback (most recent call last): File ./WebKit/XMLRPCServlet.py, line 46, in respondToPost File /usr/local/lib/python2.4/xmlrpclib.py, line 1079, in loads p.feed(data) File /usr/local/lib/python2.4/xmlrpclib.py, line 527, in feed self._parser.Parse(data, 0) ExpatError: not well-formed (invalid token): line 16, column 29 A fellow on the #python suggested comparing python expat and system expat to see if they match. I do not know how to do this. When I installed the python 2.4 package, I download the tarball and ran the build/make process. Any ideas? - Mark On May 18, 2006, at 9:24 AM, Mark Phillips wrote: On a machine running GNU/Linux 2.4.22, Fedora Core. Python 2.4 installed. I modified the WebKit.cgi to call python 2.4 directly, as the machine has several versions of python: #!/usr/local/bin/python2.4 Nothing in Error_Msgs in the Webware application directory. A couple of days ago I was seeing this and, per Chuck's suggestion, I check the port status. The 8080 and 8086 ports were blocked. I set then to allow calls from localhost and it appeared to set things right. However, yesterday and today, the AppServer has hung again. Webware seems to hang. Httpd/error-log shows Premature end of script headers: WebKit.cgi [Wed May 17 16:21:23 2006] [info] (104)Connection reset by peer: core_output_filter: writing data to the network [Wed May 17 16:23:43 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed May 17 16:24:43 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed May 17 16:25:17 2006] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: WebKit.cgi Are there threading issues with the 2.4.22 kernel? Other thoughts? All suggestions are greatly appreciated. - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] 0.9.1 waiting on futex call
On May 18, 2006, at 9:34 AM, Geoffrey Talvola wrote: Check out this message from the archives: http://www.mail-archive.com/webware-discuss@lists.sourceforge.net/ msg06849.h tml It suggests that using: export LD_ASSUME_KERNEL=2.4.19 might solve the problem. It turns out that the export statement doesn't do anything on Fedora Core 2, kernel 2.4.22. See this note: http://www.tummy.com/journals/entries/kevin_20050805_114056 - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] 0.9.1 waiting on futex call
Problem solved. It turns out the Fedora Core 2 does not support Python 2.4.x. I set the default python to Python 2.3.4 and, so far, all seems well. - Mark On May 18, 2006, at 11:08 AM, Mark Phillips wrote: It gets more interesting: While watching AppServer run, I see this being raise now and then: XMLRPCServlet internal error Traceback (most recent call last): File ./WebKit/XMLRPCServlet.py, line 46, in respondToPost File /usr/local/lib/python2.4/xmlrpclib.py, line 1079, in loads p.feed(data) File /usr/local/lib/python2.4/xmlrpclib.py, line 527, in feed self._parser.Parse(data, 0) ExpatError: not well-formed (invalid token): line 16, column 29 [Thu May 18 11:19:23 2006] [error] WebKit: Error while executing script MyContext/mykillerapp.py Traceback (most recent call last): File ./WebKit/XMLRPCServlet.py, line 46, in respondToPost File /usr/local/lib/python2.4/xmlrpclib.py, line 1079, in loads p.feed(data) File /usr/local/lib/python2.4/xmlrpclib.py, line 527, in feed self._parser.Parse(data, 0) ExpatError: not well-formed (invalid token): line 16, column 29 A fellow on the #python suggested comparing python expat and system expat to see if they match. I do not know how to do this. When I installed the python 2.4 package, I download the tarball and ran the build/make process. Any ideas? - Mark On May 18, 2006, at 9:24 AM, Mark Phillips wrote: On a machine running GNU/Linux 2.4.22, Fedora Core. Python 2.4 installed. I modified the WebKit.cgi to call python 2.4 directly, as the machine has several versions of python: #!/usr/local/bin/python2.4 Nothing in Error_Msgs in the Webware application directory. A couple of days ago I was seeing this and, per Chuck's suggestion, I check the port status. The 8080 and 8086 ports were blocked. I set then to allow calls from localhost and it appeared to set things right. However, yesterday and today, the AppServer has hung again. Webware seems to hang. Httpd/error-log shows Premature end of script headers: WebKit.cgi [Wed May 17 16:21:23 2006] [info] (104)Connection reset by peer: core_output_filter: writing data to the network [Wed May 17 16:23:43 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed May 17 16:24:43 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed May 17 16:25:17 2006] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: WebKit.cgi Are there threading issues with the 2.4.22 kernel? Other thoughts? All suggestions are greatly appreciated. - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] no response from Webware
Thanks, Chuck. On May 16, 2006, at 3:36 PM, Chuck Esterbrook wrote: My best guess (and it is a guess) is that the port for the WebKit app server is locked down and needs to be opened up. It's been months--maybe more than a year--since I messed with iptables so I can't get real specific. But maybe you can give the port number to your admin and ask him to look into it. -Chuck On 5/16/06, Mark Phillips [EMAIL PROTECTED] wrote: Without warning to me the sys admin repartitioned the disks and I don't know what else (yet). This morning Webware was not responding. If I browse to http://www.mydomain.com//cgi-bin/WebKit.cgi, the browser just hangs. I took the opportunity to update the Webware installation to 0.9.1. Python is 2.4.3 (#1, May 5 2006, 16:20:59) running on Fedora Core (Red Hat Linux 3.3.2-1). The AppServer launches without a complaint. WebKit.cgi is in the cgi- bin directory. The permissions appear correct. The Apache error log reports: Premature end of script headers: WebKit.cgi Not far from the log entry above I find Broken pipe: core_output_filter: writing data to the network. I suppose that's not surprising, if it is related to the prior error. I would be most grateful for any suggestions, links, etc., to enlighten me as to how fix this. - Mark --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Release 0.9 beta 2 available
This beta includes work committed to the trunk on or before August 2, 2005. Download from the web site: http://www.webwareforpython.org/ Or directly with this URL: http://www.webwareforpython.org/downloads/webware-0.9b2.tar.gz Please let me know if you have any problems with it. Happy days, - Mark --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] launch at boot on macos x
I am having trouble launching Webware at boot on MacOS X 10.3.9. A StartupItem is the Apple method to launch a program on MacOS X at boot or login. It is merely a shell script and a preference files in a specific location. I have installed Webware for Python on the osx server in the normal manner. I can start and stop it using cli as root or admin. The system responds correctly to the browser requests. I followed the instructions for creating a Startup Item at http://www.macdevcenter.com/lpt/a/4288 but Webware is unresponsive after reboot. I am pretty confident permissions are correct as I compared my files and the Webware files, to the OpenBase install. The OpenBase server fires up every time. For the record, it is root:wheel for all of them. The system log shows the console message. So the startupitem script is executing. I noticed the process is called AppServer when started from the cli but python when started from the reboot sequence. Any thoughts, suggestions or links would be warmly accepted. Mark Phillips --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] +1 Attaboy for Mark and Webware 0.9b1
On Jul 15, 2005, at 9:40 AM, Roger Haase wrote: 1. The important release notes for WebUtils is rather sparse. I appreciate your wit. On this point, I appeal to the community for a little help. Given the length of time between release 0.8.1 and this release, the volume of commits makes the task compiling the notes rather daunting. There were significant additions to the release notes for WebKit and MiddleKit. I appreciate the effort. The other modules are, as you point out, a bit light on content. Perhaps some of the list members are aware of significant fixes or features that are worthy of inclusion in the release notes. If you know of something, please feel free to send me a few lines on the matter. I will search for them in the commits list and update the notes. As long as I am on the topic, can anyone offer an effective way to perform a narrow search the mail lists on sourceforge? 2. Unpacking the tarball with WinZip resulted in a new Webware directory rather than the expected Webware-0.9b1. I have fixed this and replaced the tarball on the website. The uncompressed package now results in a directory named Webware-0.9b1. Thanks for your work, Mark. This looks like a pretty solid beta. You're welcome. I am happy to play a part but the credit must go to the developers and contributors who have and continue to enhance the code base. If not for them, we wouldn't have this release. Happy days, Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] +1 Attaboy for Mark and Webware 0.9b1
On Jul 15, 2005, at 1:39 PM, Ian Bicking wrote: Mark Phillips wrote: As long as I am on the topic, can anyone offer an effective way to perform a narrow search the mail lists on sourceforge? If you want a nicer interface to the archives (with search), I would recommend: http://webwareforpython.org/archives/splash/index.en.html Cool. Looks useful. The commit list isn't on there, though. I suppose you liked to tease the animals in the zoo when you were a kid, too. ;-) - Mark --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] +1 Attaboy for Mark and Webware 0.9b1
On Jul 15, 2005, at 2:16 PM, Ian Bicking wrote: Won't svn log give you the whole list? That's better than an archive, it seems... except no inline diffs. Thanks, Ian. I hadn't thought about that. I will look into it. - Mark --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Webware 0.9 beta 1 available
A new tarball for Webware is available at http://www.webwareforpython.org. This includes all the changes committed through July 12, 2005. Mark Phillips --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Where is next tgz version?
On Jul 5, 2005, at 1:41 PM, JZ wrote: I heard several week ago that webware tgz should be available soon. And nothing was changed. :( How long old 0.8.1 version will threaten people on the web? Will new webware code stay in svn only for ever and ever? I can handle this question. I have been buried in project work lately and the time just slipped away. I will make a point of putting a beta package together in the next five days. Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Webware and MacOS X server
I have created a Startup Item for macos x server 10.3.9 that invokes a shell script that in turn invokes the AppServer script. The startup item is called but the script fails. The app works if invoked from the terminal. The sys log simply says the script failed. I assume this refers to the shell script for the Startup Item. The Startup Item script is just two shell command lines: cd to the appropriate directory, then ./AppServer to start Webware. The file itself has the same permissions as other files used in this fashion. I don't understand what is failing. Does anyone know where can I find more detail about the failure? Mark Phillips --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] OT: seeking accounting package code base
I will be spec'ing a new project in January. It involves a standard accounting much like QuickBooks and similar, in addition to a few requirements that disqualify QuickBooks and its ilk. It is a small project: a single client, up to about 10 users on average, 100 - 200 insertions per day, historical data is very important. Does anyone have or know of a accounting code base that could be licensed for a small project? Of course, I would be happy if it involves python and webware but that is not an exclusive requirement. I am focusing on packages that follow generally accepted accounting practices appropriate for the United States jurisdiction, and those that have the user interface well removed from the business rules. TIA, Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Session Riding
On Dec 23, 2004, at 8:10 AM, Geoffrey Talvola wrote: Frank Barknecht wrote: Geoffrey Talvola hat gesagt: // Geoffrey Talvola wrote: So the most secure solution is indeed to use URL secrets, like the incrementing id already proposed (which must not be guessable) or random secrets (like in Funcs.uniqueId(), but they lead to uglier URLs), in combination with Cookie based sessions. It might be nice to add some kind of secrets to Webkit.Page or another place in WW. The secret could be automatically placed in the path using a similar mechanism to the one used for path sessions. This wouldn't be hard to add. I may take a crack at it sometime in January. Geoff, I found the article Dos and Don'ts of Client Authentication on the Web from MIT to be enlightening when I implemented a security model for the XML-RPC project I built upon Webware. Here is a link to the abstract on usenix.org: http://www.usenix.org/publications/library/proceedings/sec01/fu.html The full text can be downloaded from that page. The Cookie Eaters page also has this document and several others on topic. http://cookies.lcs.mit.edu/ I would be interested in links for other documents on this topic, should anyone care to share them. hth, Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] automated test suite, your thoughts?
On Oct 28, 2004, at 10:38 AM, Geoffrey Talvola wrote: I think Webware needs an automated test suite With an eye toward some future effort, what tools, techniques, mantras and incantations can the list suggest in response to the comment above? I will compile a list of the responses over the next month or so and make it available in whatever fashion is convenient for the group. Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] automated test suite, your thoughts?
On Nov 29, 2004, at 12:13 PM, Winston Wolff wrote: I have used WebUnit very successfully for high level tests. (http://mechanicalcat.net/tech/webunit) I haven't been able to figure out how to unit-test pages since anything that extends Page requires the AppServer to be running. Perhaps part of the dependency can be eliminated with a mock HTTPTransaction, but I'm not sure. I think it would be good to organize a working group of people willing to work on tests. I know several people including myself have volunteered to work on the release, but not to lead it themselves citing inexperience. However I have not been called to service yet. A difficulty with volunteering to do a release is to know if I've made a mistake in the release process. Hence the need for tests. Once we have a group together, we can pick a few priorities in the tests, and settle anything needed to let people get to work individually, such as how our tests will fit into the larger set of test cases. -winston Thanks for the reply, Winston. I will add your commentary and take a look at WebUnit when I get the chance. I am open to discussing how a release team might be organized and operate. Feel free to send me a note off-list if you wish. Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Activity and Progress
On Oct 28, 2004, at 12:31 PM, lloyd wrote: Geoffrey Talvola wrote: The time is way overdue for a new release from the tip of CVS too, but that won't happen until a new volunteer steps forward because none of the developers (myself included) currently seems to have the time or inclination to do it. what is required? ps - is the traffic on this list low enough to consider making the list address the default reply-to ? Perhaps I don't understand how this type of project is managed. I was waiting for one of the sourceforge project owners to bless someone with the task. Is that the protocol? My offer to work with someone to get a new release built still stands, if needed. Mark Phillips --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Activity and Progress (Modified by Mark Phillips)
On Oct 28, 2004, at 10:38 AM, Geoffrey Talvola wrote: Matt Feifarek wrote: Hi Chas. Perhaps the developers can chime in on the version numbering, but I'd say that it may be this: although the framework is quite stable, I know that there are some things that we all want it to be that it is not yet, so I expect this explains the wait for v 1.0. [snip] I think Webware needs an automated test suite and better documentation in order to be considered 1.0. The time is way overdue for a new release from the tip of CVS too, but that won't happen until a new volunteer steps forward because none of the developers (myself included) currently seems to have the time or inclination to do it. - Geoff A fool rushes in... The automated test suite must surely be a critical path item for a 1.0 release but perhaps a current release (0.8.2?) is more useful in the short term. I have a few days between projects starting next week and I am willing to put in the time to create a new release provided a seasoned resource (or two) volunteers to deal with the clueless questions I am certain to have. I am quite new to the CVS. However, I am getting the hang of it insofar as updating webware projects with current snapshots and I have read the cederqvist document. BTW, I will not be offended if this offer flies like a stone chicken. I am sure there are others on this list far better qualified than I. - Mark Phillips --- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins003001msi/direct/01/ ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] KeyError: 'docs' on install of snapshot
I downloaded a snapshot tonight and attempted to install Webware. An error was raised, see below. Can anyone explain the problem and what I can do to set things straight? Many thanks, in advance, - Mark [EMAIL PROTECTED] Webware]# python2.3 install.py Webware for Python X.Y Installer Date: Mon Oct 11 17:46:12 2004 Python ver: 2.3.4 (#1, Jul 22 2004, 20:47:54) [GCC 3.3.2 20031022 (Red Hat Linux 3.3.2-1)] Op Sys: posix Platform: linux2 Cur dir: /usr/local/Webware Scanning for components... no CVS yes CGIWrapper yes COMKit no Distributions no DocSupport no Docs no Documentation yes MiddleKit yes MiscUtils yes PSP yes TaskKit yes UserKit yes WebKit yes WebUtils no bin yes Webware Propagating stylesheets... Processing raw doc files... Creating browsable source and summaries... CGIWrapper... COMKit... MiddleKit... MiscUtils... PSP... TaskKit... UserKit... WebKit... WebUtils... Webware... Creating ComponentIndex.html... Creating index.html... Creating components' index.html... Traceback (most recent call last): File install.py, line 571, in ? Installer().run(verbose=verbose, passprompt=passprompt, defaultpass=defaultpass) File install.py, line 74, in run self.installDocs() File install.py, line 224, in installDocs self.createComponentIndexes() File install.py, line 440, in createComponentIndexes for doc in comp['docs']: File /usr/lib/python2.3/UserDict.py, line 19, in __getitem__ def __getitem__(self, key): return self.data[key] KeyError: 'docs' --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] KeyError: 'docs' on install of snapshot
On Oct 11, 2004, at 4:56 PM, I wrote: I downloaded a snapshot tonight and attempted to install Webware. An error was raised, see below. Can anyone explain the problem and what I can do to set things straight? Being a newbie can be such a pain in the neck I issued the cvs commands from the wrong point in the directory tree so the snapshot files were not written where I thought they would be. A bit of clean up and running the commands from the appropriate point in the directory tree resolved the problem. Sorry for troubling you all needlessly. - Mark --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Calls to os.system() in servlets
On Sep 20, 2004, at 6:02 PM, Oliver Bock wrote: If from within any servlet I call os.system(echo test) (or any other use of os.system()) then afterwards I am unable to stop the script using ^C. Should I be invoking external programmes using some other mechanism? What are you trying to accomplish with the os.system call ? Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] MakeAppWorkDir
On Sep 9, 2004, at 4:22 AM, lloyd wrote: where do i put these new webapps? along-side my existing one? A quick search on my name will reveal that I am no expert or possibly even trouble in motion, but in the spirit of helping each other I offer this... I keep the webware distribution entirely separate from any of my own work. This advise was given to me early on, on this very list. For example: usr/local/Webware usr/local/WebAppOne usr/local/WebAppTwo The placement in /local is purely arbitrary but illustrates the notion. All of the Webware-0.8.1 files and directories are in /webware. All my custom work is in one of the other directories. When I need to apply updates or replace the Webware files, I can do so without any concern for the well being of my context directories. hth, Mark Phillips --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Expat error: no element found
The server receives about 1400 XML-RPC messages at a rate of about 400 per minute. Each is between 500 btyes and 180,000 bytes in length with an average of 30K bytes. The exception is raised for only some messages. It appears to be only messages where the payload exceeds a certain size, say, above 53,000 bytes or so. Here is the text of the error: File WebKit/XMLRPCServlet.py, line 34, in respondToPost File /var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/xmlrpclib.py, line 1013, in loads p.close() File /var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/xmlrpclib.py, line 531, in close self._parser.Parse(, 1) # end of data ExpatError: no element found: line 895, column 56 I checked the XML and it appears to be well formed and complete. What might this error mean? Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] getting a snapshot
On Sep 1, 2004, at 7:40 AM, Geoffrey Talvola wrote: If you are using mod_webkit, be sure to recompile it based on a recent snapshot of Webware CVS. I am trying to use a MacCVSclient, to access the webware cvs. It is complaining that there is no response on port 2401. What is the correct parameters for downloading a snapshot from the cvs? Mark Phillips --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] AppWorkDir and MyContext
This is really a python question. I am sure this is very basic so I apologize to the list for the newbie noise. I have read the python doc's dealing with scope and it seems straight forward, almost. Still, I haven't caught on yet. In the file WebKit.cgi, the variable AppWorkDir is initialized with the location of the context directory. In the context directory I have a file, MyContext.py, that contains code invoked via XML-RPC requests a la the example in Webware. How do I access or obtain the value of AppWorkDir in the code I have written? As a general form I think of something like this... mypath = AppWorkDir + /MyDirectory But this is missing something. self.AppWorkDir? Mark Phillips --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Follow up on [Webware-discuss] Installing on MacOS X
Now that I am back in the office I wanted to post to the list my solution just in case another newbie like me read this thread. The problem, BTW, was found between the chair and keyboard... First, I want to say thank you to Gary and Clifford for the thoughtful replies. I checked the paths and assignments as you mention. Those were correct. The problem was user/group permissions. I had set up the system in the office and copied it from the desktop machine to a laptop. The problems began when I attempted to configure the laptop. In the original attempt I had run the install and MakeAppWorkDir as a normal user. This did not agree with owner of the Apache installation on MacOS X. I was a bit surprised that the user/group settings on the laptop were different than those on the desktop machine, but then again I have never paid attention to these matters before. The solution, and there may be others, was to re-install Webware using sudo so the ownership is in agreement with os settings. Then used chown and chmod to set the file permissions, and everything fell into place. So, some trudging up the learning curve for chown, chmod and sudo solved the problem. Happy days, - Mark Phillips On Aug 8, 2004, at 9:16 AM, Gary Perez wrote: Sounds like there's got to be a path problem somewhere. Looking at the code in my /Library/WebServer/CGI-Executables/WebKit.cgi, I can tell it's the module generating the error. Did you create a WebKit runtime directory or are you running the AppServer straight out of the install directory? This will make a difference. If you didn't do the runtime directory part, I'd give that a shot, and make sure to replace the current WebKit.cgi file (the one generating your error) with the WebKit.cgi file that's created for you inside this runtime directory. It's preconfigured; I've never had to tweak WebKit.cgi to get it to work... when using the runtime directory. If you're already on the runtime dir. track... try re-copying the WebKit.cgi inside it to your Executables directory. You may have copied over the wrong .cgi file. Failing that... make sure the strings at the top of WebKit.cgi starting with: WebwareDir = AppWorkDir = ... point to the right places. It looks like it's basically trying to add those directories to the pythonpath, so make sure whatever system user you're running AppServer as has the proper permissions to open directories (+x) and at least read their contents. Hope you find this helpful. -Gary On Aug 7, 2004, at 11:18 PM, [EMAIL PROTECTED] wrote: I have installed Webware 0.8.1 on MacOS X 10.3.4 on a laptop. The AppServer launches with normal startup messages. When I attempt to load the admin page using the URL localhost/cgi-bin/WebKit.cgi, I get this error message: I can't find the file /Users/markphillips/Documents/Webware/WebKit/Adapters/CGIAdapter.py I have checked paths and they are correct. I ran the chmod -R a+rwX Cache ErrorMsgs Logs Sessions on the WebKit directory. I can review the permissions and they appear correct. What have I overlooked? end --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] RH 7 and mod_WebKit
I am running a RedHat 7.x distribution known as SME Server aka e-smith. I would like to compile the mod_WebKit.so per the instructions provided by Gary Perez. In preparing to use the Makefile, I found that apxs is absent from my SME installation. I did find the URL's to the rpm to install it. However, I wanted to ask the obvious questions before I attempt to install the rpm and/or run the compile. I have verified that the Apache version installed is 1.3.27 and I have it on good authority that DSO is supported in this installation. Does anyone here have experience with RH 7 and the mod_WebKit compilation they are willing to share with a raving newbie? - Mark --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] RH 7 and mod_WebKit
On Aug 16, 2004, at 1:45 PM, Gary Perez wrote: After you install the Apache dev. packages (to get apxs), just do a quick which apxs on the command line to make sure that it's found in the environment. That way, you won't have to specify the path to apxs in the make/make install for mod_webkit. The version of Apache I used w/ RH7 was a bit older, but across different distros, the steps are all pretty much the same. http://mmh.neurobashing.com/webware/install.html ... but some of the paths to the WebKit components has probably changed. Hope this helps. -Gary Thanks, Gary. I read somewhere that RedHat does not include apxs and few other things to keep the distro small. So, when you say the Apache dev. packages, do you mean those from the apache.org site? Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] WebKit on OS X (Panther) Instructions
On Aug 3, 2004, at 2:54 PM, Gary Perez wrote: Hi, all. Just in case anyone is interested in running WebKit on an OS X machine, I've posted pretty thorough instructions on how to do it. This is a great resource that arrived just in time for me. I followed the link to your installation notes for Linux, which I had not found before. Many thanks, Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Where to put things
Warning: newbie careening down the hallway I am learning Linux, Webware and python pretty much simultaneously so please bear with me. I have been studying the wiki, which is great by the way, the old site, this list and pestering a few kind souls. I don't feel like I really understand the right was to layout a Webware application. Perhaps someone has a moment to comment? Goal: XML-RPC on the server with home grown client. No browsers required. Web server, primary web site www.mydomain.com/virtualdomain This will host either the cgi or mod_webkit for apache, and redirect to the context directory. Also a plain html page that describes how to contact the admin for help. Context directory set by MakeAppWorkDir /usr/local/appdir Holds the application specific files including the xml-rpc.py customized for the application. Selected directories are given write permissions for the user. Webware /usr/local/webware The Webware distribution In the Application.conf I need to define the name and path for the context. In Apache, I need to add the virtual domain data and use rewrite to append URLs to include the context path. With this done I can focus on the python code to implement the RPC methods. Is that it? Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Problem with launch.py
Warning: the Newbie continues... With help from this list I have succeeded in testing Webware using localhost. This weekend I attempted to move the project to a live server to continue to testing and learning. The server is SME Server 6.0 (RedHat 7.3). I updated Python to 2.3.4. I copied Webware-0.8.1 to my usr/local/ then ran install.py. I created a new directory for the project and ran MakeAppWorkDir.py. All of these steps seem to complete normally. When I attempt to invoke AppServer, I get the following message: Traceback (innermost last): File Launch.py, line 34, in ? main(sys.argv) File Launch.py, line 13, in main if arg.startswith('--webware-path='): AttributeError: 'string' object has no attribute 'startswith' I can't seem to get a hit on the words in the message. Can anyone offer a link, suggestion or hint as to what is amiss and/or what I have overlooked? Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Problem with launch.py
On Jul 26, 2004, at 9:30 AM, Mark Phillips wrote: On Jul 25, 2004, at 11:48 PM, Max Ischenko wrote: Make sure you're using correct version of Python interpreter. Thanks, Max. I simply typed ./AppServer at the shell prompt. How do I invoke python2.3 when launching AppServer? FYI... There are three versions currently installed; v1.5, v2.2 and v2.3. I did not install v1.5 or v2.2. I did install v2.3 recently. I am concerned about dependencies on the prior installs that I may not understand. So is there a way in RedHat 7.3 to invoke the proper python with AppServer? Being a newbie can be so humbling. I was alerted to the fact that AppServer is shell script. One small change in the script solved the problem. Yeah! Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] binary transfer (newbie)
On Jul 23, 2004, at 11:32 AM, Aaron Held wrote: Shouldn't the XML-RPC client handle this? Yes it should. It happens that I am writing my own client. Upon reading your note I had a serious talk with myself. As luck would have it, myself and I agreed you are correct. Seriously, as hard as it may be to believe, the tool set I am using for the client does not include a Base64 codec. Well, that is not entirely true; there is a plug-in component for US$1,000 that includes the function as part of a greater suite of things. This project just cannot afford to spend that kind of money right now. Moreover, I cannot control the end user and the extra component could be misplaced. Sooo... I wrote a codec myself. The encoder is OK but my version of the decoder is far too slow for more that a few hundred bytes. However, I did find a decently fast way to get the binary data from the server. So the download is taken care of for this phase. Next is how to set up the client to ask Webware to receive a file and store it on the server. Onward, Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Receiving xml-rpc messages via HTTP
Warning: newbie on the loose. I added a new message to XMLRPCExamples.py named testme that returns the string Howdy. def testme(self): result = 'howdy' return result I can invoke the new message from the Python shell by creating a server object from xmlrpclib per the examples. This all works together nicely and behaves as expected, as in... server.testme 'howdy' I have built my own xml-rpc client that is not written in python. This client works successfully with meerkat and a couple of others. When I tried to use it with Webware I get a 404 reply. The xml-rpc message and response follows my sig. Does this involve modifying WebKit.cgi or have I overlooked something? TIA, Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 The message: POST /cgi-bin/WebKit.cgi/Examples/XMLRPCExamples HTTP/1.0 User-Agent: MyOwnClient Host: localhost Content-Type: text/xml Content-Length: 106 ?xml version=1.0? methodCall methodNametestme/methodName params /params /methodCall The response: HTTP/1.1 404 Error Date: Wed, 21 Jul 2004 10:28:33 GMT Server: Apache/1.3.29 (Darwin) Connection: close Content-Type: text/html body bgcolor=white h1404 Error/h1 p h2Page Not Available On This Server/h2 p The page you requested, b/cgi-bin/WebKit.cgi/Examples/XMLRPCExamples/b, was not found on this server. hr Webware Webkit Application Server /body --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Receiving messages from non-php clients
On Jul 21, 2004, at 9:43 AM, Aaron Held wrote: what happens if you use a browser to check the page? Is the Examples context setup in the conf file? In the browser, same result. Geoff clued me into a typo. Now my home grown client works. So I assume the answer to the second question is yes. Thank you for responding. Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] NotImplementedError (newbie)
Warning: I have just started with Python 2.3 for MacOS 10.3.4 and Webware 0.8.1. I have installed Webware and the started AppServer. The standard tests work fine. import xmlrpclib server = xmlrpclib.Server('http://localhost/cgi-bin/WebKit.cgi/Examples/ XMLRPCExample') server.multiply(10,20) I added a new def of my own to XMLRPCExamples.py and added import os.path to the top of the file. def getmydoc(self, filepath): if not os.path.exists(filepath): # the file just ain't there result = File not found else: result = The file is present return result Then I repeated the test procedure and included server.getmydoc('a valid path') This produced a fault: xmlrpclib.Fault: Fault 1: 'Traceback (most recent call last):\n File WebKit/XMLRPCServlet.py, line 44, in respondToPost\n File WebKit/RPCServlet.py, line 15, in call\nNotImplementedError: getmydoc\n' I tried reloading the server cache and also stop/restart the appserver. No joy. I have tried a number of modifications of XMLRPCExample.py and none of them are reflected in the test procedure. It is as if the file is not being interpreted/compiled. What have I overlooked? Mark Phillips Mophilly Associates On the web at http://www.mophilly.com On the phone at 619 444-9210 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss