Re: [Zope] zcatalog & keyerror 30
AHH!!! So simple, so many weeks of general frustration. Subject to more continous testing, that seems to have done the trick! a HUGE thank you. Jonathan On Sun, 28 May 2000, Chris Withers wrote: > Try the patching described in the following message: > http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/C15EB30D0FAF1057 > > cheers, > > Chris > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] keyword index and netscape vs ie
Hi all. I am using a keyword index as per the excellent howto. I use the following snippet to list the keywords as a series of links to further searches. (this is the objects index_html) related topics: This works fantastic if you are using IE or a keyword is just one word. Netscape does not seem to do anything intelligent if it is a key phrase instead and returns an error. Below are examples of the resolved urls it is trying to load IE .../search?key=direct%20access Netscape .../search?key=direct access Explorer pads out with the %20 - netscape does not - in fact netscape only works if a + appears instead. Netscape and Explorer add the + if a form field is used instead (similar to that at the top of the zope site etc) So my question to the gurus is is there an attribute or expression I can use to get round this? How can I specify that the two (or more) words in a keyword phrase are separated by pluses when the link is generated? yours in hope Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: keyword index and netscape vs ie
> So my question to the gurus is is there an attribute or expression I can > use to get round this? How can I specify that the two (or more) words in > a keyword phrase are separated by pluses when the link is generated? ... embarrassing to work it out only a minute after sending in a query url_quote_plus seems to be exactly where i needed to be ... sorry for the bandwidth J ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZTopics breaks with 2.2?
Hi, can anyone confirm that the ZTopics product works after upgrading to 2.2? I get an AttributeError for value Lexicon after migrating. Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: lexicon Traceback (innermost last): File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/zope/Zope-2.2.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: index_html) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: index_html) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/Products/ZTopic/Topic.py, line 166, in contents (Object: ElementWithAttributes) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/Products/ZTopic/Topic.py, line 228, in _contentsSet (Object: ElementWithAttributes) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 391, in _apply_index File /home/zope/Zope-2.2.0-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 463, in query File /home/zope/Zope-2.2.0-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 197, in getLexicon AttributeError: (see above) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZTopics breaks with 2.2?
More than bothersome - I needed to upgrade to eliminate a zcatalog bug and yet now the other half of my site doesnt work. Rock and a hard place. I need to create a new fresh site then recreate all my zclasses and then rekey all my instances? What will break next time? Are there any alternatives to the ZTopic product? (that filter and nest zcatalog entries)? Jon Bill Anderson wrote: > > Jonathan Cheyne wrote: > > > > Hi, can anyone confirm that the ZTopics product works after upgrading to > > 2.2? I get an AttributeError for value Lexicon after migrating. > > The problem is the old Data.fs, it seems. > > I just created a new one, in a clean Data.fs, and it works fine. > > You may try uninstalling the ZTopics, and reinstalling, but I doubt it will work. > > This is something I am noticing with all my 'upgrades'. There are loads, and loads, >of > errors with the Data.fs, even though it loads the site. Has anyone else seen this? >Try > running with Debug turned on, and you can see them. Mainly they complain about >'oid'. As a > result, I am finding myself simply rebuilding some site, and personally, I find it >quite > bothersome. :^( > > Bill > > -- > Do not meddle in the affairs of sysadmins, for they are easy to annoy, > and have the root password. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZTopics and 2.2 - solved.
Just a follow up after much gnashing. I deleted the old catalog and recreated. I also noticed that some ztopics displayed whilst others did not (these are original ones not new). I tracked the difference to field types in the catalog. the catalog is less tolerent of sloppy setups i think - so i deleted an index and recreated as a different field type and bingo - no probs. Hope this makes sense. Cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Displayed Dates out by 1 day ...
I have a zclass containing a date field - when displayed with , if the field value is 2000/09/19 then it is displayed as 2000/09/18. I have to use but this seems surreal. What am I doing wrong? puzzled Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: migration from 2.1.6 -> 2.2.0 breaks ZClass
> I have migrated from 2.1.6 to 2.2.0 by copying Data.fs. Everything > works except when I try to create > a new ZClass, I get "Could not load oid" error. Any help how to fix it is > appreciated. Just checking - but did you also reinstall (from the original tgz's) all of the products you make have based your zclasses on? I have seen oids on standard output until I had fully reinstalled optional products. If in doub, reinstall everything listed under control-panel, products. maybe nothing to do with it of course .. Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Displayed Dates out by 1 day ...
2.2.0 final, london, uk. And yes, I make use of fmt in order to rearrange the dates the brit way. I just checked and that seems to be the prob. If I display the yank way then all is ok. ah weel the work around is fairly easy for now. Chris Withers wrote: > > Jonathan Cheyne wrote: > > I have a zclass containing a date field - when displayed with > > , if the field value is 2000/09/19 then it is > > displayed as > > 2000/09/18. I have to use but this seems > > surreal. > > There have been bugs (okay, unexpected functionality ;-) in this area, > especially if you use the fmt option. > > What version fo Zope are you using and what timezone are you in? > > cheers, > > Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Detecting Roles not working
Hi all I have built the basis of a site with full, form-based webediting of objects. Coming round to cleanup time and I wanted to remove certain visible functions from the default object views unless you have already logged in (with various possible roles) in the index_html of my zclass i have edit this so if the user is anonymous or logged in without the Staff role assigned they should not see the "edit this" link ... Doesn't work! It basically never returns a 'true' response thus never displays the edit this link even when logged in. Tried various permutations and variations on this theme without any success. Help! Without this, I am not sure how to customize the interface for different user groups. I am on 2.2.0 but I think it was similar under 2.1.6. Absolutely any clues no matter how obscure would be gratefully received (or indeed the glaringly obvious solution etc :-) Cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Detecting Roles not working
Thanks to Kapil, Geir and Daniel for their various syntaxes. Very enlightening. I did cure it but by accident while experimenting with the solutions offered (so they *were* worth it) The zclass title is displayed a la slashdot or freshmeat in boxes as clickable links drawn from the catalog. If (logged in) I selected them then I was always anonymous. If I manually typed the url/manage then deleted the /manage then I am recognised. Very odd. So I tried a different way of prompting for login - I protected a file in the root. Hey presto, now when I login it is fine. Or seem fine so far. (All syntaxes seem to work, btw) So, a tip for login/recognition issues would be to try authenticating a different way, perhaps further up the tree etc. I had protected the factory and used a link /myfolder/manage_addProduct/blah... to prompt for authentication. Worked for actually *being* authenticated but not for being *detected* as such. Is this a bug? Cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How to use the date fmt's
Hi all, in the various docs it shows various fmt= to display different date types etc. It also shows some date formats that seem more like methods themselves, ie IsCurrentMonth returns true if etc. How can I use these in expressions? Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Need help with date comparisons
Hi all again. I have a blank in my mind where I hoped the answer might be to this probably straightforward exercise. I have a zclass containing a date property called event_date. I want a page that loops through the months of the year, starting with the current month, and in each loop displays all the instances from the catalog with an event_date within the month in question. I just get stuck, completely stuck, trying to get the month value from the event_date and to compare it with the current month value. Anyone done this or something like this? Is this hard or am I a bit, you know, dense? thanks Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] date off by one day per year cummulative
Hi all, Zope 2.2.0, displaying a date property from a zclass has been out by one day for a while, trick was just to +1 to the dtml. THought this was fine til dates into 2001 needed to go on and hey, they become one day too far now ... so now I need to add code to determine the year before adding or not. Not good. Quite grim, actually. It only happens when you use the fmt="xyz" to reformat the dates into UK dd/mm/yy (from the default yy/mm/dd). Should I just work around for now, or is this likely to remain like this for a while. If so then zope gets mildly unusable outside the USA. cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] which python gets used ... ?
Hi, just a quickie idiot question .. Does zope use any of the python on my RH6.2 box or does it use its own copy exclusively? I was trying to install the python xml libraries to try our the hyperdom product. I installed an rpm succesfully before remembering that zope has its own python. I struggled to install a tgz version though and it struck me that I was probably not being as efficient as I could be ... So the question is: can I run zope using the stock RH6.2 distributions' own copy of python? cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] advice re virtual hosting
Hi all, just need to check the received wisdom regarding the various possible combinations for doing virtual hosting with zope. I have two domains, one is 'mine' and I want that to go to the root of my zope installation. the other domain is for an internal client and I want that to go to a folder within my zope (so they can acquire some of my content). i.e. www.blue.com --> zopeserver/ www.red.com --> zopeserver/red/ Whats the best way? There seem to be three or four options, apache on 80 with zope on 8080 using virtual hosts on both (either?), squid on 80 and zope on 8080 and finally zope alone on 80. The site will be relatively low traffic for the root branch but higher public traffic for the clients branch. Whats the 'best' way? I got apache to front zope with proxypass and with proxying on and seemed to get better performance. What about flexibility? What about rewriting versus virtual hosts? Ah so many juicy options! I have a colocated box and the isp is holding two domains pointed at the same ip address so I guess name based vhosts are the way by default but is it better to try and get zope to do it alone on 80 (is this possible?) or is it always better to have apache do it. I don't forsee any need for genuinely static content that cannot be served from zope. Your advice gratefully received. Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] siteaccess, hosting etc, sanity check
Hi all, just a bit further down my vhosting journey ... got apache ProxyPassing and siteaccess installed but something is missing. I type in my vhosted domain www.red.com which (correctly) goes straight to /red and shows the index_html contents *except* images which show broken. The source shows that they (correctly) are trying to load from www.red.com/imagename which is right. This image is in /red along with the index_html. Also the one link to a dtml document in the /red directory is also broken. If I suppress siteaccess then everthing works from the initial www.red.com but only because the links and images are loading from the 'master site url'. you can click but then the url obviously gives the game away. so proxypass works. What I dont get is why I can see the body text in index_html, which lays out the page but not the image embedded in the page? my various settings ... NameVirtualHost 111.222.333.444 ServerName www.red.com ProxyPass / http://www.blue.com:8080/red ProxyPassReverse / http://www.blue.com:8080/red then in /red we have a siteroot with the following title: base: http://www.red.com path: / www.blue.com and www.red.com both point to 111.222.333.444 and the box also has the www.blue.com as its host name which zope recognises on start iup. a bit stuck. Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] siteaccess, hosting etc, sanity check
Ok, well I got some success by eliminating apache and using the site accesss example methods and an access rule. but. is this a lower performance solution than fronting zope with apache? Michael Bernstein wrote: > Jonathan Cheyne wrote: > > > > Ah, no, I though that was if you were doing the virtual hosting in zope > > (as opposed to virtual hosts in httpd.conf or a rewrite)? > > > > I will add one, pronto > > Sorry, I didn't mean to confuse you. If you're using Apache > Virtual hosting, you don't need an access rule. I thought > that you might have one that was conflicting. > > One thing that might help you figure this out is to add a > 'debug' DTML Method to your root folder that contains: > > > > And trying various URLs with /debug tacked on the end to see > how the HTTP request is being rewritten. > > HTH, > > Michael Bernstein. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Possible disaster upgrading to 2.2.4
Hi all, been very very foolish and didnt backup my entire zope installation prior to untarring the 2.2.x to 2.2.4 diff (binary) tgz. after restarting i get a message "couldnt import product.ZDbase" and one or two others, then screeds of oid errors then a start. But the site is a bit slaughtered because anything basedon a zclass I created durny work. even though it is there and not shown as brokwen itself. the only two shown as broken are zdbase and zdconfera. my zclass is only based on ZObject, CatalogAwareBase, _ZClass_for_Renderable so I am a bit stumped. when I try to list in magament view, the contents of any folder containing 1 or more instances of my zclass, the console shows things like: -- 2000-11-28T14:37:38 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\000k' Traceback (innermost last): File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZODB/Connection.py, line 448, in setstate File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZODB/Connection.py, line 213, in _persistent_load (Info: ) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZODB/Connection.py, line 154, in __getitem__ (Info: ('\000\000\000\000\000\000\003\266', '(cExtensionClass\012ExtensionClass\012q\001(U\006ZDItemq\002(cZClasses.ZClass\012PersistentClass\012q\003cProducts.ZDBase.ZDiscussions\012ZDItem\012q\004cOFS.SimpleItem\012SimpleItem\012q\005tq\006}q\007(U\004iconq\010UWControl_Panel/Products/ZDiscussions/ZDTopic/propertysheets/methods/ZDItem%20/ziconImageq\011U\012_p_changedq\012K\001U\007__doc__q\013U\021ZDiscussions Itemq\014U\006_p_oidq\015U\010\000\000\000\000\000\000\002Lq\016U\011meta_typeq\017U\021ZDiscussions Itemq\020U\016propertysheetsq\021(U\010\000\000\000\000\000\000\003\271q\022(NU\010\000\000\000\000\000\000\003\265q\023Qttq\024QU\012index_htmlq\025cZClasses.Method\012MW\012q\026NRq\027}q\030U$_ZClassMethodPermissionMapperMethod_q\031(U\010\000\000\000\000\000\000\003\272q\032(U\016OFS.DTMLMethodq\033cOFS.DTMLMethod\012DTMLMethod\012q\034ttq\035QsbU\016manage_optionsq\036(}q\037(U\005labelq U\012Propertiesq!U\006actionq"U\025manage_propertiesFormq#u}q$(U\005labelq%U\010Securityq&U\006actionq\'U\015manage_accessq(u}q)(h%U\004Viewq*h\'U\012index_htmlq+utq,U\012ziconImageq-(U\010\000\000\000\000\000\000\003\273q.(U\011OFS.Imageq/cOFS.Image\012Image\012q0tq1tq2QU\022__ac_permissions__q3)U\011_p_serialq4U\010\0030\226a\274;\204\314q5U\012__module__q6U\031*73biqpAI2QDa2iKPitv57g==q7utq8t.N.')) Could not load oid , pickled data in traceback info maycontain clues -- 2000-11-28T14:44:30 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\003\236' Traceback (innermost last): File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZODB/Connection.py, line 448, in setstate SystemError: Failed to import class _ZClass_for_ZDTopic from module Products.ZDBase any clues no matter how trivial gratefully received Jonathan London ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
Ah, I tried reinstalling zddiscussions, no joy, i tried deleting zdiscussions but when you restart zeop it reinstalls the two products as broken. i tried a new install of 2.2.4 then copy across my data.fs bits and untar various products in use on the site, but, exactly the same message. so it may not be th eupgrade but something in 2.2.4 itself that my data.fs dislikes. just to clarify three key messages that apprae immediately after starting up. couldnt' import product.ZDbase [some blurge here] unpack sequence of wrong size [blurge] cannot import name ZDiscussions i tried chown -R zope * and even tried running it as root. nope. I will try reinstalling 2.2.0 and see what happens. gonna be a long long night Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] 2.2.4 upgrade query
Further to my paniced posting earlier, I reinstalled 2.2.0, copied over my data.fs* and various products and everything fired up fine but i did one experiment (following on from Chris) - i didnt install zdiscussions. This resulted in major oids errors and my broken zclass as before/ install zdiscussions and bingo i am back in business. so. two questios: 1. why does my zclass appear to require zdiscussions when it is not based on it? 2. does 2.2.4 contain some parts of what was previously the standalone zdiscussions product? Is this an obsure backwarsd dependency break kindo of thing? I will stick to 2.2.0 for now, methinks. cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
ok, its deffo to do with my data.fs cos the errors only start after that has been copied across. But the errors are different if i compare the console output from a failing 2.2.4 to a 2.2.0. If i do not install zdiscussions on 2.2.0 i only get the oid errors as items requiring display are requested from the database. with 2.4.4 i get the extra cannot import errors before zope starts regardless of whether zdiscussions are installed or not. something in zdbase is very different in 2.4.4. questions: 1. Will packing my data.fs help? I havent done this since well never. 2. Is the potential corruption of my data.fs likely to explode in my face without warning or is it/ will it only manifest itself during things liek product installs, upgrades etc? cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Possible disaster upgrading to 2.2.4
Hi Deiter > Thus, install "ZDbase" or determine, why it can not import it. Already installed in 2.2.0 before upgrade. I have perused the output on the console but its a bit beyond me. > > cannot import name ZDiscussions > You have ZDiscussion installed? Already from before. Reinstalled as well no joy. I also tried a new install of 2.2.4 not an upgrade and installed all my tar ball products. things work until i copy in my data.fs then barf. I think that the stuff about export then import into a new data.fs 'sounds' the most likely solution: I certainly intend to try once I have experimented with how to do that. :-) Cheers Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] zcatalog reindex_object
Hi - got a site based entirely on zcatalog keyword doodahs - v good, works like a dream etc - but just noticed something odd. I decide to brush up some of the keywords because it is case sensitive and people were serching on Surname Lastname (not suername lastname as I had entered the keywords a long time ago). I created a method that went through the catalog and created a series of links to all the possible searches ... to allow mne to eyeball the catalog for rogues case s ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] oops - crash bang sent unfinished zcatalog and reindex
Sorry about that - the message re zcatalog and reindexing just sent itself - unfinished! then crashed and failed to save in sent. v strange, but to complete ... If I edit an instannce of my zclass and change a keyword from say europe to Europe then the search works correctly but the following code snippet reveals that both europe AND Europe are now stored despite the fact that europe will not return any matches. If I update the catalog then europe disappears. My zclass calls after updating the properties. I know this works because the search does return correctly as I said. Clues? Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )