Re: [Zope-dev] Python 2.0

2000-07-24 Thread Toby Dickenson
On Fri, 21 Jul 2000 16:29:23 +0100, Toby Dickenson [EMAIL PROTECTED] wrote: This problem goes away if I don't compile python with garbage collection support. I guess I shouldn't be suprised. Is anyone else using Zope with python 2.0? (on NT, fwiw) I am occasionally seeing protection faults as

[Zope-dev] Incorrect Padding?

2000-07-24 Thread Chris Withers
Does anyone know what this means? The page views fine for me and this is the first error of this type I've seen since we launched the archives. I wonder what WebWhacker is doing to cause this? cheers, Chris Automatic Zope Response wrote: Zope reported an error for:

Re: [Zope-dev] Security Strangeness

2000-07-24 Thread Chris Withers
Johan Carlsson wrote: First, you can't delegate the permissionto add and delete user except by assigning the user the role "manager". IMHO this is to limiting. Second, if you give a user the permission to Change Persmissions, that user can change permissions that she doesn't have the right

[Zope-dev] System error

2000-07-24 Thread Andre Schubert
Hi, I have a problem on deleting a folder. I have made a product, which has some bugs. After i have added it to a Folder named test i can't open the Folder and a can't delete the Folder test because a System Error occurs. The following Error message occurs: !-- Traceback (innermost last):

[Zope-dev] mxODBC, ExtensionClass.Missing and Results puzzle???

2000-07-24 Thread Jay, Dylan
I've compiled up a mxODBC DA for use under windows so that multi-threaded odbc drivers can be me used in a multi-threaded way. This works good so far except for one aspect. NULL values are being returned as "None" objects. This seems reasonable but it is not how ZODBC returns results. It will

[Zope-dev] Old broken product...

2000-07-24 Thread * Lucky
After a modification of the python source code, my product remains broken with the same error... No modification seems to be made to the line which leads to the error. Does somebody know why and how to cope with this ? ___ Vendez tout... aux

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Steve Alexander
Chris Withers wrote: Does anyone know what this means? The page views fine for me and this is the first error of this type I've seen since we launched the archives. I wonder what WebWhacker is doing to cause this? Well... you can get an incorect padding error like this: import binascii

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Chris Withers
Steve Alexander wrote: My guess is that the argument "auth" passed to validate() has some trailing characters. Either that, or WebWhacker passed just "Basic " as an auth string. Yuk, that sounds like a Zope bug. Collector time with patch? A judicious string.strip should solve the problem,

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Steve Alexander
Chris Withers wrote: Steve Alexander wrote: My guess is that the argument "auth" passed to validate() has some trailing characters. Either that, or WebWhacker passed just "Basic " as an auth string. Yuk, that sounds like a Zope bug. Collector time with patch? A judicious string.strip

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Chris Withers
Chris Withers wrote: Steve Alexander wrote: My guess is that the argument "auth" passed to validate() has some trailing characters. Either that, or WebWhacker passed just "Basic " as an auth string. Yuk, that sounds like a Zope bug. Collector time with patch? A judicious string.strip

Re: [Zope-dev] Python 2.0

2000-07-24 Thread Jeff K. Hoffman
On Mon, 24 Jul 2000, Toby Dickenson wrote: On Fri, 21 Jul 2000 16:29:23 +0100, Toby Dickenson [EMAIL PROTECTED] wrote: This problem goes away if I don't compile python with garbage collection support. I guess I shouldn't be suprised. Python 2.0? Garbage collection? Huh? What? Last I

Re: [Zope-dev] Python 2.0

2000-07-24 Thread Jeff K. Hoffman
On Tue, 25 Jul 2000, Anthony Baxter wrote: What was once known as 1.6 is now called 2.0. There's probably more at the pythonlabs website. ah, here we go http://www.pythonlabs.com/tech/python2.html Note that the release is currently held up for some reasons to do with the python

[Zope-dev] ts_regex.gsub() doesn't work with compiled expressions

2000-07-24 Thread Steve Alexander
I'm trying to do the following: import ts_regex Z=ts_regex.compile('\(^\|[^%]\)%Z') ts_regex.gsub(Z, '\\1BAR', '%Z foo %Z') Traceback (innermost last): File "stdin", line 1, in ? File "/usr/local/zope/SiteBox/lib/python/ts_regex.py", line 109, in __call__ try: return apply(self._f,

Re: [Zope-dev] DateTime formatting with strftime: patch

2000-07-24 Thread Steve Alexander
This is now in the Collector, as bug number 1457. http://classic.zope.org:8080/Collector/1457/view Incidentally, http://classic.zope.org:8080/Collector/1409/view is another patch to the same problem. However, that patch doesn't address the root of the problem, which is that DateTime instances

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Steve Alexander
Chris Withers wrote: Chris Withers wrote: Steve Alexander wrote: My guess is that the argument "auth" passed to validate() has some trailing characters. Either that, or WebWhacker passed just "Basic " as an auth string. Yuk, that sounds like a Zope bug. Collector time with

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Chris Withers
Steve Alexander wrote: snip excellent patches Well, I think Brian Lloyd'd have to make the call... Nice work though, 2 for 2 on the day, that's pretty good going, are DC paying you yet? ;-) cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Wiki apps other than ZWiki 0.6.1

2000-07-24 Thread Geoff Gardiner
Perhaps more suited to this list than Zope, so I'll ask again... I've been happily adding ManagedMode functionality to ZWiki 0.6.1 but wonder what other Wiki-on/in-Zope technologies there are that I should consider working with. I'm looking for cataloging, graphics upload, differencing, rename

[Zope-dev] ZODB : mystery

2000-07-24 Thread jdiebold
Hi, I've a question : How could I store and retrieve object in the ZoDB ? I know that I must create a persistent object. thanks in advance . ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Zope 2.2.0 and SiteAccess 2.0.0b2 -- doesn't work?-- FIXED

2000-07-24 Thread Michael Monsen
I'm sorry I didn't post back to the list like I said I would. The issue I was having with Zope 2.2.0 and SiteAccess 2.0.0b2 has been resolved. In short, it was user error. Being new to Zope I didn't realize that the superuser account has special status. I thought it

Re: [Zope-dev] ZODB : mystery

2000-07-24 Thread Chris Withers
Every time you create a Zope object, such as a DTML document or Folder, it gets stored in the ZODB. Perhaps you could be a little more specific in your aims? cheers, Chris [EMAIL PROTECTED] wrote: Hi, I've a question : How could I store and retrieve object in the ZoDB ? I know that I

Re: [Zope-dev] Zope 2.2.0 and SiteAccess 2.0.0b2 -- doesn't work?-- FIXED

2000-07-24 Thread Chris Withers
Michael Monsen wrote: When I created the SiteRoot object I was using the superuser account, I thought this wasn't supposed to be possible in the first place?! Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

RE: [Zope-dev] Request for amplification on new Product permissions API.

2000-07-24 Thread Brian Lloyd
Are you calling: Globals.default__class_init__(MyBasketClass) on your Basket class? This is (poorly documented but) necessary for permissions declared in __ac_permissions__ to be correctly initialized. Should I have this in Squishdot too? Chris Yes - basically any class

Re: [Zope-dev] Zope bug (w/ patch): hard coded Unix separator in special_dtml.py

2000-07-24 Thread Chris Withers
Yves-Eric Martin wrote: Does that sound right to you? If no one disagrees, I'll fill a bug report w/ patch in the Collector. Sounds great, is it in the collector yet? Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] getting request variables values

2000-07-24 Thread Chris Withers
Steve Alexander wrote: def __getitem__/__getattr__ from HTTPRequest.py: """Get a variable value Return a value for the required variable name. The value will be looked up from one of the request data categories. The search order is environment variables,

Re: [Zope-dev] Request for amplification on new Product permissions API.

2000-07-24 Thread Chris Withers
Brian Lloyd wrote: Yes - basically any class that defines *or inherits from a class that defines* permissions should do this to make sure that the permissions along the inheritance heirarchy are cobbled together correctly at class initialization time. I'm sure someone said recently that this

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Martijn Pieters
On Mon, Jul 24, 2000 at 05:22:25PM +0100, Steve Alexander wrote: Chris Withers wrote: A string.upper wouldn't go amiss either, then earlier versions of Mozilla that send an incorrectly capitalised 'Basic' might also be allowed to authenticate with Zope :-) Heh, and allow Mozilla to gain

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Steve Alexander
Martijn Pieters wrote: RFC 1945 says one paragraph before that that the header should be matched case-insensitively. That was what the Moz bug was all about. Thanks for the clarification. # Only do basic authentication if lower(auth[:6])!='basic ': return

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Martijn Pieters
On Mon, Jul 24, 2000 at 08:36:26PM +0200, Martijn Pieters wrote: I also checked, and this version of the patch *should* work: # Only do basic authentication if lower(auth[:6])!='basic ': return None

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Chris Withers
Martijn Pieters wrote: Oops. You took out the strip. But IIRC, base64 does a strip as well. Not according to the original error which started this thread :( Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Chris Withers
Steve Alexander wrote: Martijn Pieters wrote: Oops. You took out the strip. But IIRC, base64 does a strip as well. So it does! from base64 import * s = encodestring('foo') decodestring(s) 'foo' decodestring(s+' ') 'foo' decodestring(' '+s) 'foo' So what was causing the

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Chris Withers
Martijn Pieters wrote: So what was causing the original error then? Buggy client? If so, surely Zope should just return an Unauthorized error rather than exposing its internals?! If you're a server and the client is buggy, tell it so, but don't look like you just screwed up really badly

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Martijn Pieters
On Mon, Jul 24, 2000 at 07:57:00PM +0100, Chris Withers wrote: Martijn Pieters wrote: So what was causing the original error then? Buggy client? If so, surely Zope should just return an Unauthorized error rather than exposing its internals?! If you're a server and the client is

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Martijn Pieters
On Mon, Jul 24, 2000 at 07:57:00PM +0100, Chris Withers wrote: Martijn Pieters wrote: So what was causing the original error then? Buggy client? If so, surely Zope should just return an Unauthorized error rather than exposing its internals?! If you're a server and the client is

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Steve Alexander
Chris Withers wrote: So what was causing the original error then? string.split('basic')[-1] was returning 'basic'. base64.decodestring('basic') causes an "Incorrect padding" error. base64.decodestring('basic ') causes an "Incorrect padding" error too. Martijn Pieters wrote: We partly

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Martijn Pieters
On Mon, Jul 24, 2000 at 08:56:54PM +0100, Steve Alexander wrote: I've attached a patch to lib/python/AccessControl/User.py. If there are no suggestions of improvements, or complaints :-) I'll stick it into the Collector. I looked over the RFC, and Bad Request seems to be the best response

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Shane Hathaway
Steve Alexander wrote: Chris Withers wrote: So what was causing the original error then? string.split('basic')[-1] was returning 'basic'. base64.decodestring('basic') causes an "Incorrect padding" error. base64.decodestring('basic ') causes an "Incorrect padding" error too.

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Steve Alexander
Martijn Pieters wrote: On Mon, Jul 24, 2000 at 08:56:54PM +0100, Steve Alexander wrote: I've attached a patch to lib/python/AccessControl/User.py. If there are no suggestions of improvements, or complaints :-) I'll stick it into the Collector. I looked over the RFC, and Bad Request

[Zope-dev] Online Docs

2000-07-24 Thread Kapil Thangavelu
I've been playing around with the ACS a bit lately. Its got one feature which i would desparately like to see in zope. namely that every ACS server is self documenting with regards to all of its methods. to see it in an action check out http://www.arsdigita.com/doc/procs this documentation is

Re: [Zope-dev] Zope bug (w/ patch): hard coded Unix separator in special_dtml.py

2000-07-24 Thread Yves-Eric Martin
On Mon, 24 Jul 2000 19:23:56 +0100 Chris Withers [EMAIL PROTECTED] wrote: Sounds great, is it in the collector yet? Yes, I filled a bug report yesterday. It's under number 1453. -- Yves-Eric Martin Digital Garage Inc. [EMAIL PROTECTED] ___

Re: [Zope] ZEO

2000-07-24 Thread Jørgen Skogstad
Martijn Pieters wrote: On Fri, Jul 21, 2000 at 12:46:11PM +0200, Sven Hohage wrote: is the filesize of the Zope Storage Server also limited to 2 GB? If you are running on a default Linux filesystem, the answer is yes. ZODB FileStorage isn't limited to 2GB, it's the filesystem that can't

[Zope] Sybase in Remote Machine

2000-07-24 Thread Herbert Kwong
Hello, I have SuSE 6.4, Zope 2.1.6, Sybase 11.9.2 and SybaseDAv2 in my machine. It works fine. However, is it possible to make my local Zope create a connection to a remote Sybase server? As I would like to separate the Sybase Database from the Apache/Zope server. Thanks. Regards, Herbert

[Zope] ODBC SQL DA

2000-07-24 Thread Curtis Maloney
Greetings, I have been digging about for a couple of weeks, and either I'm missing something (most likely :) or where there once was a mxODBC adapter, there is no longer? I am going to need to dig into an ODBC based DB (DataFlex), for which we have an ODBC interface. The db

[Zope] [FAQTS] Zope Knowledge Base Update -- July 24th, 2000

2000-07-24 Thread Fiona Czuczman
Hi Guys, Here are the latest entries to be entered into http://zope.faqts.com I'm sending this out now so list subscribers get an idea how the summaries work, if they haven't seen the python summaries I mentioned in the thread "[Zope] FAQ Wiki and What happend @ O'Reilly Conference" from

[Zope] zope 2.2.0 simply dies

2000-07-24 Thread Andy Pahne
I have a Zope-2.2.0 installation running on a Redhat 6.0 Linux Box. It simply dies sometimes. Three times in the last 72 hours?!? There's only DCOracle and ZOracleDA installed, nothing more. I cannot see any other problems on the machine and it does not have that much load. Is there a

[Zope] Zope 2.2 installation error....missing header files (?)

2000-07-24 Thread Felipe E Barousse Boue
I'm trying to build Zope 2.2 from the sources in a RedHat Linux 6.1 box (which has Gnome-Helixcode intalled as a GUI). The following happens after "python w_pcgi.py" executed as root, nevertheless other things do build, compile and install ok. Obviously Zope is not finding some include files.

Re: [Zope] all DTML Methods of current folder and subfolder

2000-07-24 Thread Jerome Alet
Hi, now I'm at work I've tested your solution, read below. On Sun, 23 Jul 2000, Dieter Maurer wrote: Jerome ALET writes: I want to do the following loop in Zope 2.1.6: dtml-in "ZopeFind(this(), obj_metatypes=['Folder'], search_sub=1, obj_expr=XXX" where XXX is "not

Re: [Zope] Sybase in Remote Machine

2000-07-24 Thread Holger Lehmann
Hi, you should be able to specify the hostname/IP-Adress in the connection string. It should be similar (or the same) to the MySQL DA connection string I am using: database@hostname user password where hostname being the (correct !) hostname as being seen from the database, i.e. I have to use

Re: [Zope] problem with rss

2000-07-24 Thread Gerard Metrailler Jr.
Hello, At 12:43 23.07.2000 +, Oliver Frommel wrote: When I change the XML encoding type to ISO-8859-1 the problem still persists. I suspect that Zope silently sets the encoding type to something different. My DTML method looks like this: dtml-call "RESPONSE.setHeader('Content-Type',

Re: [Zope] Re: Folderish objects and that BASE tag...

2000-07-24 Thread Chris Withers
"R. David Murray" wrote: On Mon, 17 Jul 2000, Chris Withers wrote: If you go to: http://my.zope/site/file.html/ It will just return the DTML document :-) I wonder if it is redirecting to http://my.zope/site/file.html? I belive that it is returning:

Re: [Zope] Datebug?

2000-07-24 Thread Chris Withers
Erich Seifert wrote: I had the same problem. The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), month(), year(), etc. do not. So I used them. That's really horrible, I'd chuck it in the collector: http://classic.zope.org:8080/Collector/ cheers, Chris

Re: [Zope] Zope and Mac

2000-07-24 Thread Chris Withers
Tom Scheidt wrote: icon = 'survey_icon.gif' ) ^ SyntaxError: invalid syntax Looks like a line ending problem. I'd download the .tar.gz, ftp it to your server and unpack it there using tar. cheers, Chris

Re: [Zope] Catalog contains items, but no results

2000-07-24 Thread Chris Withers
ed colmar wrote: This is a sample of a call that I make to the Catalog. base_url=self.site_url() self.Catalog.catalog_object(ob,base_url+'/Promoters/'+id) I'd go to 2.2 and use the relevent bits of the Traversal interface for all of this. This whole area was notoriously

Re: [Zope] more catalog issues

2000-07-24 Thread Chris Withers
ed colmar wrote: Now my 2.2 catalog is giving me the problems were supposed to be bugs in zope (catalog) 2.1.5 and lower... Inconsistancy, and missing indexes...??? I think there are still problems, check with Ethan Fremen, I think he's been having fun with zope.org recently ;-) Is there a

Re: [Zope] Datebug?

2000-07-24 Thread Peter Arvidsson
The most hirrible thing is that I chunked it in the collector but the Zope developers rejected it! Apparently they seem to claim this is a feature. Feature or not I can't use dates in forms because of this. Peter Chris Withers skrev: Erich Seifert wrote: I had the same problem. The fmt

Re: [Zope] request for advice

2000-07-24 Thread Chris Withers
Patrick Lewis wrote: - I think it would be kind of interesting to use RCS for something like this on the backend. Build your methods in Zope to manipulate RCS, and then you get all the functionality of RCS "for free", and don't have to reinvent the wheel. You may run into problems with people

[Zope] ZClass tutorial

2000-07-24 Thread Firestar
Hi, some thoughts(and frustrations) from a newbie having his "first time" with Zope. The documentation needs a lot of improvement. Since October last year, there's still only ONE chapter(which is on ZClasses) in the Zope Developer's Guide?? Are there any more chapters forthcoming? Or do i have

Re: [Zope] An observation about manage_* methods

2000-07-24 Thread Chris Withers
albert boulanger wrote: snip "go somewhere else after usign a manage_ method" All good points, there's a thread on this on zope-dev right now. I think this area is a good candidate for a new interface... Maybe it should be discussed on the zope-dev thread and then have somethign done on

[Zope] Extra info: Can not import XML export

2000-07-24 Thread Marcin Kasperski
I made some experiments and found, that removing from the generated XML file all tags named klass, state and object (together with their contents) changes something - loading takes longer and is finished with different error: Error Type: AttributeError Error Value: 'string' object has no

Re: [Zope] re: Meta Type Registry

2000-07-24 Thread Chris Withers
Andrew Kenneth Milton wrote: What about code like this ? While this one is explicitly searching for sub objects, I have code that searches the acquisition path for known meta_types, if someone else has a product with a meta_type I think is mine, then bad things can happen... Cataloging also

[Zope] can't install squishdot with 2.2.

2000-07-24 Thread Tom Smith
I upgraded to zope 2.2 and most products migrated OK, but squishdot won't. I always get the "broken" product icon. I'm on Windows2000. any ideas? thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] zcatalog and squishdot newbie question

2000-07-24 Thread Chris Withers
George Donnelly wrote: you shouldn't need to create a Catlog and then put your Squishdot site in it. The main squishdot site *is* a Catalog, or has Catalog-like qualities. (i think). Well, it is a subclass of ZCatalog as of Squishdot 0.4.0 if you want to be able to search the Squishdot site

[Zope] off topic: How do I run a python cgi?

2000-07-24 Thread Tom Smith
Sorry for the off-topic-ness, but can anyone tell me "exactly" what I have to do to get a python script cgi working under IIS? Or point me at a web page? when I request http://mysite/test.py I just get the contents of the file back...ala print "Content-type: text/html" print print "h1Why

Re: [Zope] can't install squishdot with 2.2.

2000-07-24 Thread Chris Withers
So much for checking the mail archives before asking a question :( Tom Smith wrote: I upgraded to zope 2.2 and most products migrated OK, but squishdot won't. I always get the "broken" product icon. Squishdot doesn't currently work with 2.2. It won't do until I get some time to work on it or

Re: [Zope] Datebug?

2000-07-24 Thread Chris Withers
What was the issue number? Chris Peter Arvidsson wrote: The most hirrible thing is that I chunked it in the collector but the Zope developers rejected it! Apparently they seem to claim this is a feature. Feature or not I can't use dates in forms because of this. Peter Chris Withers

Re: [Zope] Datebug?

2000-07-24 Thread Peter Arvidsson
#1445 (http://classic.zope.org:8080/Collector/1445/view) Chris Withers skrev: What was the issue number? Chris Peter Arvidsson wrote: The most hirrible thing is that I chunked it in the collector but the Zope developers rejected it! Apparently they seem to claim this is a feature.

[Zope] zeo and rdb backend

2000-07-24 Thread Bak @ kedai
hi i have a few questions about zeo and how it works (newbie) i managed to get zeo runniing, and i have two hosts serving one zodb. that's great. but i can't access some of the data that resides in a rdbms (postgres). i guess the db connection points to the wrong host since i use

[Zope] Re: Datebug?

2000-07-24 Thread Peter Arvidsson
I already used the things in AlexR's howto but still he uses fmt or strftime() and that is the problem. AlexR claims the base is GMT though (the Zope developers said the base-time was UTC). Nevertheless this is a problem... I'll try to chunk it in the collector once more with a bit more

Re: [Zope] ZClass tutorial

2000-07-24 Thread George Donnelly
yeah i know how ya feel. even for little stuff i have to scrounge and beg for help. :-( hopefully this will improve when the O'Reilly Zope book comes out. btw have you checked out the pdf files of all the howto's and tip's? i've found them to be really helpful

Re: [Zope] document_src()

2000-07-24 Thread Oleg Broytmann
On Sat, 22 Jul 2000, Ronald F. Tagra wrote: I have tried the dtmlObject.document_src() to view the source code of the script but it has error that says something like there are 3 arguments dtmlObject.document_src(REQUEST, RESPONCE) Oleg.(All opinions are mine and not of my

Re: [Zope] Re: Datebug?

2000-07-24 Thread Peter Arvidsson
I think I found the posting that you meant but he later said his patch unfortunately didnt do any good. Anyway I have posted the bug to the collector now. Chris Withers skrev: Peter Arvidsson wrote: I already used the things in AlexR's howto but still he uses fmt or strftime() and that is

[Zope] LoginManager, User Sources, ...

2000-07-24 Thread Wolfgang Klinger
Hi! I searched the archives and found some entries, all concerning the same problem ... I read this: "LoginManager currently comes with a default User Source called Generic User Source (GUS), that is a GUF-like roll-your-own system. It uses GUF-compatible methods (userExists,

[Zope] mxODBC, ExtensionClass.Missing and Results puzzle???

2000-07-24 Thread Jay, Dylan
I've compiled up a mxODBC DA for use under windows so that multi-threaded odbc drivers can be me used in a multi-threaded way. This works good so far except for one aspect. NULL values are being returned as "None" objects. This seems reasonable but it is not how ZODBC returns results. It will

[Zope] timezone change and permission problem

2000-07-24 Thread Bart Holthuijsen
Hi list! I have two problems with Zope, and I hope you will be able to help me. First one: (probably very basic) When I create / edit a document it says: Content changed, then date / time and GMT+2. Where can I set the time zone? I did not have this problem in 2.1.4, it started after the

Re: [Zope] Help Needed for creating : Page 1 2 3 4 Previous:Next

2000-07-24 Thread Holger Hoffmann
Hi, Peter Marriott wrote: Hi, I would really appreciate it if someone could point me to some example dtml that gives navigation links like the following at the bottom of a list of items. Page 1 2 3 4 5Previous:Next (with the current page highlighted bold) it is ugly, but it

[Zope] RPM

2000-07-24 Thread Paul Aviles
Is there an RPM for 2.2 that does not include the http server so you can you upgrade from the previous 2.1.6 and still use Apache? Thanks -pa

[Zope] Old broken product...

2000-07-24 Thread * Lucky
After a modification of the python source code, my product remains broken with the same error... No modification seems to be made to the line which leads to the error. Does somebody know why and how to cope with this ? ___ Vendez tout... aux

[Zope] Adding an XMLDocument instance Programmatically

2000-07-24 Thread Gaspard, Bradley S
I am trying to write a python method which will programmatically create an instance of an (existing) XML document. (I am using Zope2.1.6 and XMLDocument 1.0a6) I am able to add an XML document by selecting the XMLDocument from the available objects ... so XMLDocument is installed correctly.

Re: [Zope] timezone change and permission problem

2000-07-24 Thread Chris Withers
Bart Holthuijsen wrote: This works for a User with the role Manager, but not with a user-defined role. I have created a Viewer class with all the available permissions (for testing purposes), but the above code returns nothing. If I remove the "and

Re: [Zope] Old broken product...

2000-07-24 Thread Chris Withers
Restart Zope... Chris * Lucky wrote: After a modification of the python source code, my product remains broken with the same error... No modification seems to be made to the line which leads to the error. Does somebody know why and how to cope with this ?

Re: [Zope] Zope 2.2 installation error....missing header files (?)

2000-07-24 Thread Felipe E Barousse Boue
Hi, thanks for your reply: Actually all headers are installed, in fact every other compilation works fine so far. [root@server Zope-2.2.0-src]# rpm -qa | grep kernel kernelcfg-0.5-5 kernel-utils-2.2.16-3 kernel-ibcs-2.2.16-3 kernel-doc-2.2.12-20 kernel-2.2.16-3 kernel-pcmcia-cs-2.2.16-3

[Zope] com error

2000-07-24 Thread michael montagne
I'm using HTMLgen to add a small table to a page. It works the first time I try it and then I get this error: Error Type: com_error Error Value: (-2147221008, 'CoInitialize has not been called.', None, None) What can I do? -mjm winmail.dat

Re: [Zope] zope 2.2.0 simply dies

2000-07-24 Thread Daniel Rusch
Make sure that ALL your dtml-in's are wrapped in try/excepts we have seen this happened when there is a problem with either the sql or database adaptor. DR Andy Pahne wrote: I have a Zope-2.2.0 installation running on a Redhat 6.0 Linux Box. It simply dies sometimes. Three times in the last

Re: [Zope] timezone change and permission problem

2000-07-24 Thread Bart Holthuijsen
From: Chris Withers [EMAIL PROTECTED] Bart Holthuijsen wrote: This works for a User with the role Manager, but not with a user-defined role. I have created a Viewer class with all the available permissions (for testing purposes), but the above code returns nothing. If I remove the "and

[Zope] Inserting Python object in Zope !

2000-07-24 Thread pbiot
I'm a newbie, and I wonder : how could I use a personal Python object in Zope. I've a second question : how could I display (in html page) the results from the Pythons function ? thanks In advance

[Zope] selecting namespaces with with (was RE: [Zope] Enitity syntax and2.2) 2.2)

2000-07-24 Thread Jeffrey Shell
And how about: dtml.missing-REQUEST.form['foo']; That is, allow expressions to be used. I guess this makes the entity syntax act more like dtml-var. This would allow a really clear syntax for refilling input type=text tags with previously entered values in a form. You can

Re: [Zope] zope.org down

2000-07-24 Thread ethan mindlace fremen
Cary O'Brien wrote: Hold on. I am confused, and I really need to understand this. Why do you need a 40 gb drive to store something that might get to 2GB? Do thing get really big during packing? (Thinking PostgreSQL index creation here, where it uses temp files for sorting, which has bit me

RE: [Zope] zope.org down

2000-07-24 Thread Chris McDonough
The InterbaseStorage product is full-featured (undo, versioning). But I've gotten little response to releasing it, and I don't think anyone is using it, so bugs are sure to exist. -Original Message- From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]] Sent: Monday, July 24, 2000

[Zope] calendar problem

2000-07-24 Thread F.Richter
Hi, after an upgrade of zope 2.2.0-1 the calendar doesn't work. (I have no valid backup of the old version :o( ) I have override (the directory) the old version of the calendar with the new version 0.9.17, but I get errors. In the new directory doesn't exist a calendar.pyc. Do I need this file

Re: [Zope] zope.org down

2000-07-24 Thread Chris Withers
Chris McDonough wrote: The InterbaseStorage product is full-featured (undo, versioning). But I've gotten little response to releasing it, and I don't think anyone is using it, so bugs are sure to exist. I don't think you announced this loudly enough ;-) Is interbase stable/OSS? Where can I

RE: [Zope] zope.org down

2000-07-24 Thread Chris McDonough
See http://www.zope.org/Members/mcdonc/RS/InterbaseStorage/InterbaseStorage. txt for answers to the Interbase questions and InterbaseStorage docs and see http://www.zope.org/Members/mcdonc/RS/InterbaseStorage to download the InterbaseStorage product. -Original Message- From: Chris

[Zope] Viewing Dependencies in the ZDB

2000-07-24 Thread Stuart Foster
I thought I saw a product that would let you view object dependencies in the ZDB. Is there such a product? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Subdirs in IIS - broken by upgrade of IIS from 3.0 - 4.0

2000-07-24 Thread jholland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just added the option pack to bring a NT (ugh) server up to option pack 4, (NT4) Service pack 6. pcgi to redirect zope stuff to the iis port 80 so there are no port 8080 parts to the url stopped working for all parts of the site in lower

Re: [Zope] Bi-directional update of Data.fs

2000-07-24 Thread Jim Fulton
Chris Withers wrote: (snip) Definitely, can someone say whether QuorumBasedReplication would handle this on whether it's designed more for real-time replication between storage servers in the ZEO world? It's designed for real-time replication. Jim -- Jim Fulton mailto:[EMAIL

[Zope] Zope performance ratios

2000-07-24 Thread andres
I'm interested in getting performance statistics for Zope. I'm scouring the mailing lists for previous messages but I would also be interested in anything else people may want to say about it. For example, what is the record for average web hits from a Zope site? Does someone have a feel for

[Zope] Re: [Zope-Annce] July 20th Zope Weekly News

2000-07-24 Thread ethan mindlace fremen
Simon Michael wrote: ethan mindlace fremen [EMAIL PROTECTED] writes: o Wikis are now searchable - and they have history, too! This was a little bumpy, with Steve Alexandar pointing out a search bug. Yay! where can we see this ? Search for anything. If the icon is a

Re: [Zope] Announcement: zCommerce First Public Release!

2000-07-24 Thread Chris Withers
Hi Nick, Is zCommerce OSS? It's a pretty M$-like press release (blegh!) but the 'download here' bit implies it's going to be Open Source. If so, then it sounds very cool :-) cheers, Chris PS Did you have to spam zope-dev in as well? ;-) Nick Garcia wrote: CodeIt announces the

Re: [Zope] Zope performance ratios

2000-07-24 Thread Chris Withers
[EMAIL PROTECTED] wrote: For example, what is the record for average web hits from a Zope site? I've heard of 7 or 8 hundred thousand hits a day of a dual PIII-500. If whoever mentioned that to me on #zope could shout, it might sound better :-) Does someone have a feel for useful ratios

Re: [Zope] Zope/Apache/ProxyPass

2000-07-24 Thread ethan mindlace fremen
Joshua Brauer wrote: I'm having trouble getting Zope and Proxy Pass to work the way I expect Specifically if you look at this site: http://www.bmb.colostate.edu:8111/ I can't get to this url at all. In fact, I don't know how this relates to the proxypass rules below... it's

Re: [Zope] Bi-directional update of Data.fs

2000-07-24 Thread Chris Withers
Jim Fulton wrote: Definitely, can someone say whether QuorumBasedReplication would handle this on whether it's designed more for real-time replication between storage servers in the ZEO world? It's designed for real-time replication. Aww :~( And there was me hoping I could do the Lotus

[Zope] Problem with dtml-sendmail from external method

2000-07-24 Thread Kent Polk
I have two DTML Methods: - dtml-sendmail smtphost="xxx" To: dtml-var tolist From: xxx Subject: dtml-var subject dtml-var body /dtml-sendmail - To: dtml-var tolist From: xxx Subject: dtml-var subject dtml-var body /dtml-sendmail

  1   2   >