[Zope-dev] help system and .py files
Is it at all productive to have .py files in the help system byte-compiled? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ExternalEditor Windows
On Tue, 21 May 2002, Casey Duncan wrote: I totally agree. And I still intend to deliver one that runs native on windows, probably just using the windows scripting host. This version will hopefully tide people over for the time being. -Casey I've started a VB Script version for the Windows Scripting Host. Right now I'm in the proof of concept stage. I've got something that opens a file, spawns an editor, gets the process id, and can PUT a file to Zope. (works with SSL too) I haven't figured out how to check if a process has exited. I would like some suggestions on how to handle the config file, I'll probably use the same format as the Python version, but I would also like to take advantage of the Content-type registry Windows has. I'll keep the list up to date on my progress. -Brian ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ExternalEditor Windows
On Wednesday 22 May 2002 04:19 am, Joachim Schmitz wrote: Hi, how do I start this, I made the changes in the browser (opera), installed the latest Python-2.2.1 with tk-support. I can start zopeedit-win32.py by dubbleclick, but than it terminates cause of missing arguments. But when I select zopeedit-win32.py in Opera for application/x-zope-edit, and click on the pencil, I get cannot start application. When I enter /path_to_python/pythonw /path_to_ZE/zopeedit-win32.py and click on the pencil, the sandbox is there for some moments and nothing else visible happens. Can someone give me some insight ? I'm not familiar with Opera but it sounds like you need to tell it where to pass the file name argument. In Netscape 4, you use %s. My advice would be to look at other content-types in the helper app configuration and see if there are any special incantations shown in them. -Casey ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ExternalEditor Windows
brian.r.brinegar.1 wrote: I've started a VB Script version for the Windows Scripting Host. Right now I'm in the proof of concept stage. I've got something that opens a file, spawns an editor, gets the process id, and can PUT a file to Zope. (works with SSL too) Please pardon my Windows ignorance, but does using WSH mean that IE will be required to be used? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ExternalEditor Windows
On Wednesday 22 May 2002 09:06 am, Matt Behrens wrote: brian.r.brinegar.1 wrote: I've started a VB Script version for the Windows Scripting Host. Right now I'm in the proof of concept stage. I've got something that opens a file, spawns an editor, gets the process id, and can PUT a file to Zope. (works with SSL too) Please pardon my Windows ignorance, but does using WSH mean that IE will be required to be used? No, although WSH usually comes with IE. However, you can download it separately from MS if it is not on your system already. -Casey ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ExternalEditor Windows
On Wed, 22 May 2002, Behrens Matt - Grand Rapids wrote: brian.r.brinegar.1 wrote: I've started a VB Script version for the Windows Scripting Host. Right now I'm in the proof of concept stage. I've got something that opens a file, spawns an editor, gets the process id, and can PUT a file to Zope. (works with SSL too) Please pardon my Windows ignorance, but does using WSH mean that IE will be required to be used? Nope, in fact I'm testing it with Netscape. :-) -Brian ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] StructuredText with Images
I posted this earlier on zope, but I guess maybe it's more of a zope-dev kind of thing - I was wondering what's the story with lib/python/StructuredText/HTMLWithImages.py - it looks like it should allow you to place images in structured text, with something like: my image:img:http://foo.com/myimg.jpg but it doesn't seem to be used by default, instead plain HTMLClass.py looks to be the usual handler for STX documents, for example when calling structured_text() from within a PythonScript. I'm also curious why HTMLWithImages.document() method overrides HTMLClass.document() but takes away the option of disabling the header, and only adds a: bgcolor=#FF attribute to the body tag (athough the version in CVS doesn't even add that). In CVS it also looks like HTMLWithImages overrides the HTMLClass.xref() method with an absolutely identical method. I'm guessing I could call it with an external method (I'm not asking for help with that) - I would mostly like to know why is it (HTMLWithImages) there separately, why isn't it being used by default, and why is it just a little different from HTMLClass in not being able to turn off the headers in the document() method. Barry ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: ExternalEditor: Many Thanks
Thanks much. I'm glad you like it and find it useful. I do! -Casey On Wednesday 22 May 2002 04:51 pm, William Trenker wrote: Casey, ExternalEditor is already shaping up for my vote as Zope developer application of the year. This is a huge step forward. Thank you for this fine contribution. And thanks to you, Gabriel, for adapting the helper application to work with the Windows. It works just fine on my Windows 98 system with Opera 6.02. Bill Trenker Kelowna, BC, Canada ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ExternalEditor: Many Thanks
Casey, ExternalEditor is already shaping up for my vote as Zope developer application of the year. This is a huge step forward. Thank you for this fine contribution. And thanks to you, Gabriel, for adapting the helper application to work with the Windows. It works just fine on my Windows 98 system with Opera 6.02. Bill Trenker Kelowna, BC, Canada -- The commandments of the LORD are right, bringing joy to the heart. The commands of the LORD are clear, giving insight to life . . . For this is the love of God, that we keep His commandments. And His commandments are not burdensome. (Psalm 19:8, 1John 5:3)http://torahteacher.com/torahteacher.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/02
[Zope-dev] First call to external method after restart fails
Hi all, I have an external method that takes 3 params. After I restart Zope ( running on Linux ), I get the following error on my first call... Error Type: TypeError Error Value: rmlToPDF() takes at least 3 arguments (0 given) All subsequent calls work fine (i.e. a refresh in my browser, and no more error, my external method works ). I restart Zope as root. Anyone ever see this before? thanks, Ted ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )