From niemeyer at conectiva.com Mon Jun 2 10:01:09 2003 From: niemeyer at conectiva.com (Gustavo Niemeyer) Date: Mon Jun 2 10:01:09 2003 Subject: [Moin-devel] ACLs moin patch Message-ID: <20030602163718.GA28499@ibook.distro.conectiva> [Please, disconsider the previous email that got stuck in the mailing list for including an attachment > 40kb (it was 41kb :-)] Hello everyone! Here is an ACL patch I've developed, with help from Thomas Waldmann. This patch implements all of the features described in http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/AccessControlList We have a very complex user and group setup here, and everything seem to be working perfectly so far. I'd like to know how feasible it would be to include that patch in Moin before 1.1 is out? Nevertheless, I'll be willing to support that patch, doing any necessary improvements even after applied. Some notes: - the "# CNC" comments are merely a help for myself. You can safely remove them without "hurting my feelings" :-); - I've added support to groups inside groups (multilevel, recursions detected); - in the patch there's also a fix to a bug which allows arbitrary HTML inside the title of " title:: content" formats; - It's possible to inherit from the default configuration in acl_default by doing, for example "#acl Default SomeUser:read,write"; - I've introduced the possibility of having a plus or minus prefix in ACL entries. Something like "+SomeOne:admin". This allows one to write code after a "Default" entry, or in acl_forced, that doesn't replace the available ACLs for these users, but adds or remove the given rights. Thanks!! -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ] -------------- next part -------------- A non-text attachment was scrubbed... Name: conectiva-moin.patch.bz2 Type: application/x-bzip2 Size: 9547 bytes Desc: not available URL: From noreply at sourceforge.net Tue Jun 3 09:07:09 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jun 3 09:07:09 2003 Subject: [Moin-devel] [ moin-Feature Requests-748254 ] ISSN: Message-ID: Feature Requests item #748254, was opened at 2003-06-03 10:53 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358482&aid=748254&group_id=8482 Category: None Group: None Status: Open Priority: 5 Submitted By: Jonathan Smith (jcwinnie) Assigned to: Nobody/Anonymous (nobody) Summary: ISSN: Initial Comment: Herr Hermann: I like the MoinMoin feature ISBN: Would it be possible to add ISSN: It might appeal to the academic community. Best regards, JonathanSmith ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358482&aid=748254&group_id=8482 From noreply at sourceforge.net Tue Jun 3 09:20:09 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jun 3 09:20:09 2003 Subject: [Moin-devel] [ moin-Feature Requests-748254 ] ISSN: Message-ID: Feature Requests item #748254, was opened at 2003-06-03 10:53 Message generated for change (Comment added) made by jcwinnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358482&aid=748254&group_id=8482 Category: None Group: None Status: Open Priority: 5 Submitted By: Jonathan Smith (jcwinnie) Assigned to: Nobody/Anonymous (nobody) Summary: ISSN: Initial Comment: Herr Hermann: I like the MoinMoin feature ISBN: Would it be possible to add ISSN: It might appeal to the academic community. Best regards, JonathanSmith ---------------------------------------------------------------------- >Comment By: Jonathan Smith (jcwinnie) Date: 2003-06-03 11:19 Message: Logged In: YES user_id=645989 The International Standard Serial Number (ISSN) is an internationally recognized identification number for serial publications. An ISSN is an eight-digit standard number that, once assigned, becomes a permanent attribute of the individual serial for as long as it is issued under a given title. Each time the title of a serial is changed, a new ISSN must be assigned. ISSN must never be reused for new or changed serial titles. ISSN are assigned by national and regional centres of the international ISSN Network. This system of international coordination ensures that each ISSN is unique to one serial publication. ISSN can be used wherever information on serials needs to be recorded or communicated. ---- I believe that U.S. Library of Congress Online Catalog could be used for this purpose. Example: http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi? Search_Arg=1502- 8003&Search_Code=KNUM&PID=8907&SEQ=200306031 21246&CNT=25&HIST=1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358482&aid=748254&group_id=8482 From nirs at actcom.net.il Wed Jun 4 12:33:02 2003 From: nirs at actcom.net.il (Nir Soffer) Date: Wed Jun 4 12:33:02 2003 Subject: [Moin-devel] Can Moin be configure as http://subdomain.domain/ Message-ID: We are trying to change the site url of MacMac. The current is http://mac.plonter.co.il/plonwiki/ And I want to change it to something like: http://macmac.plonter.co.il/ So the pages can be accessed like: http://macmac.plonter.co.il/FrontPage we don't want the see the wiki name or moin.cgi - just the domain name - like a standard site. We defined the new address - macmac.plo.... and the first page shows, but no other page can be reached. Is this possible at all? Nir Soffer -- MacMac - The Hebrew Mac Wiki http://mac.plonter.co.il/plonwiki From tw at waldmann-edv.de Thu Jun 5 10:41:06 2003 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Thu Jun 5 10:41:06 2003 Subject: [Moin-devel] ACLs moin patch References: <20030602163718.GA28499@ibook.distro.conectiva> Message-ID: <3EDF7D97.40409@waldmann-edv.de> > Here is an ACL patch I've developed, with help from Thomas Waldmann. As you all may have noticed, the patch is now in CVS head. Please help testing it. Thomas From HomeWorkersAssociation359 at yahoo.com Thu Jun 5 20:59:02 2003 From: HomeWorkersAssociation359 at yahoo.com (mishaye ) Date: Thu Jun 5 20:59:02 2003 Subject: [Moin-devel] >>>WORK AT HOME...START TODAY...MAKE BIG $$$ Message-ID: GET STARTED WORKING FROM HOME TODAY! This message contains valuable information about our organization and qualified specialists who have extensive knowledge and experience in WORKING FROM HOME. We have spent the last decade researching home employment options available to the public. After spending thousands of hours in research, we can confidently promise you that NO ONE has better information on this subject. ---WORK IN THE COMFORT OF YOUR OWN HOME--- ***WIDE SELECTION OF JOBS...TOP PAY*** --REAL JOBS WITH REAL COMPANIES-- Plus receive your very own "Computer Cash Disk" FREE! Every day thousands of people just like you are getting started working at home in fields of computer work, sewing, assembling products, crafts, typing, transcribing, mystery shopping, getting paid for their opinion, telephone work and much more! WHO ARE HOME WORKERS? They are regular, ordinary people who earn an excellent living working at their own pace and make their own hours. They are fortunate people who have found an easier way to make a living. They had absolutely no prior experience in this field. They earn a good weekly income in the comfort of their own home and you can be next! Companies all over the United States want to hire you as an independent home-worker. You are a valuable person to these companies because you will actually be saving them a great amount of money. These companies want to expand their business, but do not want to hire more office people. If they hired more office employees, they would have to supervise them, rent more office space, pay more taxes and insurance, all involving more paperwork. It is much easier for them to set it up so you can earn an excellent income working in the comfort of your own home. -------------------LIVE ANYWHERE-------------------- You can live anywhere and work for most of these companies. The companies themselves can be located anywhere. For computer work, the companies provide you with assignments, usually data entry or similar tasks. You then complete the project and get paid for each task. You receive step by step instructions to make it easier for you and to insure you successfully complete the job. After you're finished, you ship the completed assignments back to the company at no charge to yourself. Upon receiving your assignments, the company will then mail you a check along with more assignments. It's that easy! All the other home-based work (sewing, merchandising, surveys, product assembly, typing, telephone work, transcribing, and mystery shopping) are done in a similar way. After contacting the companies you will be given step by step instructions and information on what you need to do. Upon completion of the task, they mail you a check. You have the potential to work for nearly every company in our guide. The only jobs that require equipment is computer work (computer needed), typing (typewriter or computer). All other work requires no equipment of your own. $$$EARN EXTRA INCOME AT HOME$$$ All business can be done by mail , phone, or online. You can START THE SAME DAY you receive "The Guide to Genuine Home Employment." *****ONLY REAL COMPANIES OFFERING REAL JOBS!***** The companies in our guide are legitimate and really need home workers. There is over two hundred of the top companies included in our guide offering an opportunity for you to make extra income at home. Unlike other insulting booklets or lists you may see, our guide only includes up to date information of companies who pay top dollar for your services and will hire you. WITHOUT CHARGING YOU FEES TO WORK FOR THEM, GUARANTEED! **UPDATE.....Now our guide explains and goes into detail about each company and what they have to offer you! You are guaranteed to find home based work in our guide. No problem! **UPDATE.....Our new edition offers an entirely new category of work. It reveals a new, unique way to get paid for your opinion online. Just surf to the proper website and get paid to fill out opinion surveys! What could be easier! We urge you to consider this extraordinary opportunity. Don't delay or you could miss out! This is like no other offer you've ever seen. $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ This is an opportunity to become an independent HOME WORKER. Remember, this is NOT a get-rich- quick-scheme. It is an easy way for you to earn money while filling the needs of a company who needs you. This makes it easy to work at your OWN PACE and in the comfort of YOUR HOME. ***HERE'S HOW TO GET STARTED IMMEDIATELY*** Print the form below, fill in your information and mail it to us, along with the small one time fee for the guide. We will ship the "Guide To Genuine Home Employment" out the same day we receive your reply form! Order within 15 days and the complete, updated, sure-fire, Genuine Home Employment Guide is yours for the special low price of just $29.95! That's over 27% off our normal price of $39.95. **Don't delay one more minute, START NOW!!!** **FREE BONUS....."COMPUTER CASH DISK" (MAC & IBM compatible) 167 business reports. Tips, tricks and secrets on starting and operating a successful home based business and how to avoid dishonest marketing offers. Comes with full reproduction rights! READ THEM, SELL THEM AND BANK THE MONEY. Never pay us any royalties. Sells for $69.00, but it's worth a whole lot more than that. Get yours today...FREE! >>>FULL 60 DAY RISK FREE MONEY-BACK GUARANTEE! Test our material out for a free trial period and if it isn't everything we said it is, just send it back and we will gladly refund your money. We've helped thousands of people like yourself get started working at home over the last eight years. You can be the next! THINK WHAT AN EXTRA INCOME COULD DO FOR YOU! LET US HEAR FROM YOU TODAY! THIS COULD EASILY CHANGE YOUR LIFE FOREVER! DON'T LET THIS EXTRAORDINARY OPPORTUNITY PASS!! THESE OPPORTUNITIES ARE PROFITABLE AND EASY. ACT NOW!!! HERE'S HOW TO GET STARTED...... Send Check or Money Order for $29.95 and the completed order form below to us at: Cybernet HWA PO Box 914 North Branford, CT 06471 ----------------------------------------------------------------------------- EZ ORDER FORM _____ Yes! I am interested in a REAL home job. I am ordering within 15 days. Here is my $29.95. Please rush me my package today including "The Guide to Genuine Home Employment" and your "Free Computer Cash Disk"!! (Please PRINT all information CLEARLY) NAME___________________________________________ ADDRESS _______________________________________ CITY __________________________________________ STATE ____________________ ZIP _______________ EMAIL ______________________ at __________________ PHONE ( ) _____________________________ From niemeyer at conectiva.com Mon Jun 9 05:26:08 2003 From: niemeyer at conectiva.com (Gustavo Niemeyer) Date: Mon Jun 9 05:26:08 2003 Subject: [Moin-devel] One more patch Message-ID: <20030609122346.GA10165@ibook.distro.conectiva> Hello Thomas! Here is a patch for an action I forgot to protect. I'm CC'ing the list so that anyone already using ACLs can fix them as well. Thanks!! Index: i18n/de.py =================================================================== --- i18n/de.py (revision 11) +++ i18n/de.py (working copy) @@ -1050,4 +1050,7 @@ "You can't change ACLs on this page since you have no admin rights on it!": "Sie d?rfen keine ACLs auf dieser Seite ?ndern, weil Sie keine admin-Rechte hier haben!", +"You can't check spelling on a page you can't read.": +"You can't check spelling on a page you can't read.", + } Index: action/SpellCheck.py =================================================================== --- action/SpellCheck.py (revision 4) +++ action/SpellCheck.py (working copy) @@ -203,8 +203,14 @@ def execute(pagename, request): + # CNC:2003-06-06 + _ = request.getText page = Page(pagename) - badwords, badwords_re, msg = checkSpelling(page, request) + if request.user.may.read(pagename): + badwords, badwords_re, msg = checkSpelling(page, request) + else: + badwords = [] + msg = _("You can't check spelling on a page you can't read.") if badwords: page.send_page(request, msg=msg, hilite_re=badwords_re) -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ] From tw at waldmann-edv.de Mon Jun 9 06:57:04 2003 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Mon Jun 9 06:57:04 2003 Subject: [Moin-devel] Re: One more patch In-Reply-To: <20030609122346.GA10165@ibook.distro.conectiva> References: <20030609122346.GA10165@ibook.distro.conectiva> Message-ID: <3EE4938C.1060305@waldmann-edv.de> Hi Gustavo & all others, >Here is a patch for an action I forgot to protect. I'm CC'ing >the list so that anyone already using ACLs can fix them as well. > Tested it, added german translation and committed it to CVS. greetings, Thomas From geoff at gerrietts.net Mon Jun 9 23:03:04 2003 From: geoff at gerrietts.net (Geoff Gerrietts) Date: Mon Jun 9 23:03:04 2003 Subject: [Moin-devel] Re: Welcome to the "Moin-devel" mailing list In-Reply-To: References: Message-ID: <20030610055954.GA7081@isis.gerrietts.net> I've noticed that MoinMoin seems to make some effort to be backward compatible with Python 1.5.2. Or maybe I should say: it does a pretty good job of running on 1.5.2, whether that's purposeful or accidental I'm not 100% sure. But I did run across one hiccough so far in my use of the system, in userform.py where a couple of the newer features from the cgi module are being used. Is there interest in a patch for this, or has 1.5.2 been officially abandoned? (Has someone already reported this and my problem would have vanished where I using a CVS version?) Thanks, --G. -- Geoff Gerrietts http://www.gerrietts.net/ "Now, now my good man, this is no time for making enemies." --Voltaire, on his deathbed, when asked to renounce Satan From geoff at gerrietts.net Mon Jun 9 23:06:05 2003 From: geoff at gerrietts.net (Geoff Gerrietts) Date: Mon Jun 9 23:06:05 2003 Subject: [Moin-devel] Re: Welcome to the "Moin-devel" mailing list In-Reply-To: <20030610055954.GA7081@isis.gerrietts.net> References: <20030610055954.GA7081@isis.gerrietts.net> Message-ID: <20030610060239.GB7081@isis.gerrietts.net> Er, sorry for the unfortunate choice of subject line. -- Geoff Gerrietts http://www.gerrietts.net/ "If I were two-faced, would I be wearing this one?" --Abraham Lincoln From tw at waldmann-edv.de Wed Jun 11 08:14:05 2003 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Wed Jun 11 08:14:05 2003 Subject: [Moin-devel] Python version References: <20030610055954.GA7081@isis.gerrietts.net> Message-ID: <3EE746C2.50408@waldmann-edv.de> Hi Geoff, > I've noticed that MoinMoin seems to make some effort to be backward > compatible with Python 1.5.2. Or maybe I should say: it does a pretty > good job of running on 1.5.2, whether that's purposeful or accidental > I'm not 100% sure. But I did run across one hiccough so far in my use > of the system, in userform.py where a couple of the newer features > from the cgi module are being used. > > Is there interest in a patch for this, or has 1.5.2 been officially > abandoned? Juergen plans to maybe even require Python 2.2 soon, see the plans for version 1.1 and 1.2 in the MoinMoin wiki. Why do you use such an old version of python? The 2.2.x versions run pretty well! greetings, Thomas From geoff at gerrietts.net Wed Jun 11 08:51:08 2003 From: geoff at gerrietts.net (Geoff Gerrietts) Date: Wed Jun 11 08:51:08 2003 Subject: [Moin-devel] Python version In-Reply-To: <3EE746C2.50408@waldmann-edv.de> References: <20030610055954.GA7081@isis.gerrietts.net> <3EE746C2.50408@waldmann-edv.de> Message-ID: <20030611154734.GA15871@isis.gerrietts.net> Quoting Thomas Waldmann (tw at waldmann-edv.de): > > Juergen plans to maybe even require Python 2.2 soon, see the plans for > version 1.1 and 1.2 in the MoinMoin wiki. Okay, I'll keep my patches to myself then. I can understand why you might decide to require a later version; they're much more fun. > Why do you use such an old version of python? The 2.2.x versions run > pretty well! At home, I do use 2.2.x (unfortunately across a few values for "x" at the moment); at work, our entire production site (some 250k lines of code) is written against Python 1.5.2 and an old version of Zope. Migration would cost about 2-3 weeks of an engineer's time, some project and release management resources, and 2-3 weeks of the entire QA team's time, to a total bill of around $10,000 - $15,000. Engineering has successfully argued that this cost must be absorbed, but engineering has not been successful in demonstrating that this cost must be absorbed /soon/. I'm reasonably confident we'll be on a more recent release within 18 months, because we're getting to the point where pieces our current platform won't run on new hardware. Now, there's always the option of installing a separate python2, and maintaining a suite of modules against that. For a long time, when I was on RedHat 7.x at home, that was the approach I took. I didn't mind because the 1.5.2 was really only around to keep RedHat happy, and I was using 2.x for myself. But, at the office, it's usually easier, less complicated, and harder to explain if I simply back-port new code to old interpreters. Most python code is less than a couple thousand lines, and most of the new features that people are using are simply convenience constructs: the concepts express fine in another 4-5 lines of code, but recent versions have delivered one-liners. Thanks, --G. P.S.: I'm leaving this list after sending this mail; if you intend a response to get to me, please CC me. -- Geoff Gerrietts "Me and my homies, we tag O.D.." --Unknown grafitti artist at a party From tw at waldmann-edv.de Wed Jun 11 16:10:05 2003 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Wed Jun 11 16:10:05 2003 Subject: [Moin-devel] Python version In-Reply-To: <20030611154734.GA15871@isis.gerrietts.net> References: <20030610055954.GA7081@isis.gerrietts.net> <3EE746C2.50408@waldmann-edv.de> <20030611154734.GA15871@isis.gerrietts.net> Message-ID: <3EE7B86A.9010807@waldmann-edv.de> Hi Geoff, if you have to do that 1.5.2-compat patch anyway you could upload it to the moin.sf.net patches section - just for the case anybody else is in the same situation. greetings, Thomas From uriana at trxmail.com Mon Jun 16 20:56:05 2003 From: uriana at trxmail.com (uriana at trxmail.com) Date: Mon Jun 16 20:56:05 2003 Subject: [Moin-devel] =?euc-kr?B?o6ixpLDto6m1pcDMxq4sILnMxsMgLSC4uLOywMcgsaTA5Q==?= Message-ID: .. ?????? [click to see ] "?? ???? ??? ???? ?? ??? ???" "??? ?? ??? ???." "? ?? ??? ??? ????? ?????" "? ? ??? ??????, ????? ???? ???..." ???? * ? ????? ????? ??? ???? ???? ??[???], [???], [???], ???[???]? ??? ????? ?? ??? ???? ?? ???? ???? ??? ???? ??? ??? ????? ??, ??, ??, ????? ????? ??? ???? ???? ????? ? ? ?? ??? ??? ???. ??????? www.mygal.co.kr ???. ??? - ? ??? ??? ?? ?? ????? ?????? ? ?? ???. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at sourceforge.net Thu Jun 19 09:41:09 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jun 19 09:41:09 2003 Subject: [Moin-devel] [ moin-Bugs-740110 ] hardcoded values Message-ID: Bugs item #740110, was opened at 2003-05-19 23:20 Message generated for change (Comment added) made by thomaswaldmann You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=740110&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Daniel Drucker (placain) Assigned to: Nobody/Anonymous (nobody) Summary: hardcoded values Initial Comment: There still exist many places where things like 'FrontPage' are hardcoded instead of using their proper config values (in that case, page_front_page). ---------------------------------------------------------------------- Comment By: Thomas Waldmann (thomaswaldmann) Date: 2003-06-19 18:40 Message: Logged In: YES user_id=100649 Looking into current CVS version of MoinMoin, I didn't find any place where FrontPage is hardcoded (except as being the default for config.page_front_page, obviously). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=740110&group_id=8482 From noreply at sourceforge.net Thu Jun 19 09:59:11 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jun 19 09:59:11 2003 Subject: [Moin-devel] [ moin-Feature Requests-542490 ] Added user permission 'view' Message-ID: Feature Requests item #542490, was opened at 2002-04-11 15:12 Message generated for change (Comment added) made by thomaswaldmann You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358482&aid=542490&group_id=8482 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Added user permission 'view' Initial Comment: Please add permission 'view' Must work similar to 'edit' and 'delete'. I've added it to security.py, but don't know how to implement it in Page.py properly... ---------------------------------------------------------------------- Comment By: Thomas Waldmann (thomaswaldmann) Date: 2003-06-19 18:58 Message: Logged In: YES user_id=100649 Current CVS (and hopefully upcoming version 1.1 of MoinMoin, too) includes an AccessControlList feature with read/write/delete/admin rights, so I think this will maybe solve your problem. See MoinMoin:AccessControlList for more details. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-04-12 16:29 Message: Logged In: NO So where do I get these experiments? I cannot see anything in my copy, is there a diff someplace? ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-04-11 15:18 Message: Logged In: NO i experimented with this awhile ago and changed cgimain.py to check the view permission. If it was false, I would send the UserPreferences page with a message saying you needed to login. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358482&aid=542490&group_id=8482 From noreply at sourceforge.net Mon Jun 23 08:26:08 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jun 23 08:26:08 2003 Subject: [Moin-devel] [ moin-Bugs-759282 ] util/datetime tmtuple invalid argument Message-ID: Bugs item #759282, was opened at 2003-06-23 10:25 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Scott Pascoe (s-pascoe) Assigned to: Nobody/Anonymous (nobody) Summary: util/datetime tmtuple invalid argument Initial Comment: Hi, I installed from CVS and found the following bug. I'm running on Windows XP Pro with Python 2.2.3. the "util/datetime.py" module defines tmtuple and passes an incorrect parameter to time.gmtime() It is defined as return time.gmtime(tmsecs or time.time()) I tested and found that it should be return time.gmtime(tmsecs + time.time()) Thanks, Scott ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 From noreply at sourceforge.net Mon Jun 23 10:29:27 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jun 23 10:29:27 2003 Subject: [Moin-devel] [ moin-Bugs-759282 ] util/datetime tmtuple invalid argument Message-ID: Bugs item #759282, was opened at 2003-06-23 17:25 Message generated for change (Comment added) made by thomaswaldmann You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Scott Pascoe (s-pascoe) Assigned to: Nobody/Anonymous (nobody) Summary: util/datetime tmtuple invalid argument Initial Comment: Hi, I installed from CVS and found the following bug. I'm running on Windows XP Pro with Python 2.2.3. the "util/datetime.py" module defines tmtuple and passes an incorrect parameter to time.gmtime() It is defined as return time.gmtime(tmsecs or time.time()) I tested and found that it should be return time.gmtime(tmsecs + time.time()) Thanks, Scott ---------------------------------------------------------------------- Comment By: Thomas Waldmann (thomaswaldmann) Date: 2003-06-23 19:27 Message: Logged In: YES user_id=100649 Your "fix" is definitely incorrect. It would help fixing the bug if you please post the error msg you got from python, including traceback. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 From noreply at sourceforge.net Mon Jun 23 14:31:29 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jun 23 14:31:29 2003 Subject: [Moin-devel] [ moin-Bugs-759282 ] util/datetime tmtuple invalid argument Message-ID: Bugs item #759282, was opened at 2003-06-23 10:25 Message generated for change (Comment added) made by s-pascoe You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Scott Pascoe (s-pascoe) Assigned to: Nobody/Anonymous (nobody) Summary: util/datetime tmtuple invalid argument Initial Comment: Hi, I installed from CVS and found the following bug. I'm running on Windows XP Pro with Python 2.2.3. the "util/datetime.py" module defines tmtuple and passes an incorrect parameter to time.gmtime() It is defined as return time.gmtime(tmsecs or time.time()) I tested and found that it should be return time.gmtime(tmsecs + time.time()) Thanks, Scott ---------------------------------------------------------------------- >Comment By: Scott Pascoe (s-pascoe) Date: 2003-06-23 16:30 Message: Logged In: YES user_id=511729 Actually, I would have to agree completely. (I'm not a python programmer, and had to try a few more things before getting it to solve the problems exhibited. My first fix caused an error in the PageEditor, so with a little more digging, I came up with this. if tmsecs is not None: return time.gmtime(tmsecs + time.time()) else: return time.gmtime(time.time()) What do you think of that fix? (probably not good Python, but it did solve the problem that I experienced. Thanks, Scott ---------------------------------------------------------------------- Comment By: Thomas Waldmann (thomaswaldmann) Date: 2003-06-23 12:27 Message: Logged In: YES user_id=100649 Your "fix" is definitely incorrect. It would help fixing the bug if you please post the error msg you got from python, including traceback. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 From noreply at sourceforge.net Mon Jun 23 14:44:26 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Jun 23 14:44:26 2003 Subject: [Moin-devel] [ moin-Bugs-759282 ] util/datetime tmtuple invalid argument Message-ID: Bugs item #759282, was opened at 2003-06-23 10:25 Message generated for change (Comment added) made by s-pascoe You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Scott Pascoe (s-pascoe) Assigned to: Nobody/Anonymous (nobody) Summary: util/datetime tmtuple invalid argument Initial Comment: Hi, I installed from CVS and found the following bug. I'm running on Windows XP Pro with Python 2.2.3. the "util/datetime.py" module defines tmtuple and passes an incorrect parameter to time.gmtime() It is defined as return time.gmtime(tmsecs or time.time()) I tested and found that it should be return time.gmtime(tmsecs + time.time()) Thanks, Scott ---------------------------------------------------------------------- >Comment By: Scott Pascoe (s-pascoe) Date: 2003-06-23 16:44 Message: Logged In: YES user_id=511729 OK, I put my code back to what came from CVS and attempted to edit the FrontPage of my wiki. It didn't fail as an anonymous user, or after I logged in. I then changed my Date Format preference from "m/d/y" back to default and got the error traceback as posted. BTW, thanks for the quick responses. Scott ---------------------------------------------------------------------- Comment By: Scott Pascoe (s-pascoe) Date: 2003-06-23 16:30 Message: Logged In: YES user_id=511729 Actually, I would have to agree completely. (I'm not a python programmer, and had to try a few more things before getting it to solve the problems exhibited. My first fix caused an error in the PageEditor, so with a little more digging, I came up with this. if tmsecs is not None: return time.gmtime(tmsecs + time.time()) else: return time.gmtime(time.time()) What do you think of that fix? (probably not good Python, but it did solve the problem that I experienced. Thanks, Scott ---------------------------------------------------------------------- Comment By: Thomas Waldmann (thomaswaldmann) Date: 2003-06-23 12:27 Message: Logged In: YES user_id=100649 Your "fix" is definitely incorrect. It would help fixing the bug if you please post the error msg you got from python, including traceback. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 From noreply at sourceforge.net Tue Jun 24 04:19:06 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jun 24 04:19:06 2003 Subject: [Moin-devel] [ moin-Bugs-759282 ] util/datetime tmtuple invalid argument Message-ID: Bugs item #759282, was opened at 2003-06-23 17:25 Message generated for change (Comment added) made by thomaswaldmann You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Scott Pascoe (s-pascoe) Assigned to: Nobody/Anonymous (nobody) Summary: util/datetime tmtuple invalid argument Initial Comment: Hi, I installed from CVS and found the following bug. I'm running on Windows XP Pro with Python 2.2.3. the "util/datetime.py" module defines tmtuple and passes an incorrect parameter to time.gmtime() It is defined as return time.gmtime(tmsecs or time.time()) I tested and found that it should be return time.gmtime(tmsecs + time.time()) Thanks, Scott ---------------------------------------------------------------------- Comment By: Thomas Waldmann (thomaswaldmann) Date: 2003-06-24 13:15 Message: Logged In: YES user_id=100649 Try that fix (still dirty, but should work) and tell me, if it works ok. Index: PageEditor.py =================================================================== RCS file: /cvsroot/moin/MoinMoin/PageEditor.py,v retrieving revision 1.58 diff -u -r1.58 PageEditor.py --- PageEditor.py 22 Jun 2003 17:11:36 -0000 1.58 +++ PageEditor.py 24 Jun 2003 11:12:54 -0000 @@ -780,7 +784,9 @@ self.owner = None self.owner_html = cgi.escape(self._("")) - self.timestamp = 0 + self.timestamp = 43200 # avoiding exceptions! + # was: 0 - but that gets negative, if we + # add users tz_offset (e.g. -12h) if self.locktype: entry = editlog.loadLogEntry(self.request, self._filename()) ---------------------------------------------------------------------- Comment By: Scott Pascoe (s-pascoe) Date: 2003-06-23 23:44 Message: Logged In: YES user_id=511729 OK, I put my code back to what came from CVS and attempted to edit the FrontPage of my wiki. It didn't fail as an anonymous user, or after I logged in. I then changed my Date Format preference from "m/d/y" back to default and got the error traceback as posted. BTW, thanks for the quick responses. Scott ---------------------------------------------------------------------- Comment By: Scott Pascoe (s-pascoe) Date: 2003-06-23 23:30 Message: Logged In: YES user_id=511729 Actually, I would have to agree completely. (I'm not a python programmer, and had to try a few more things before getting it to solve the problems exhibited. My first fix caused an error in the PageEditor, so with a little more digging, I came up with this. if tmsecs is not None: return time.gmtime(tmsecs + time.time()) else: return time.gmtime(time.time()) What do you think of that fix? (probably not good Python, but it did solve the problem that I experienced. Thanks, Scott ---------------------------------------------------------------------- Comment By: Thomas Waldmann (thomaswaldmann) Date: 2003-06-23 19:27 Message: Logged In: YES user_id=100649 Your "fix" is definitely incorrect. It would help fixing the bug if you please post the error msg you got from python, including traceback. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 From noreply at sourceforge.net Tue Jun 24 06:18:16 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Jun 24 06:18:16 2003 Subject: [Moin-devel] [ moin-Bugs-759282 ] util/datetime tmtuple invalid argument Message-ID: Bugs item #759282, was opened at 2003-06-23 10:25 Message generated for change (Comment added) made by s-pascoe You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Scott Pascoe (s-pascoe) Assigned to: Nobody/Anonymous (nobody) Summary: util/datetime tmtuple invalid argument Initial Comment: Hi, I installed from CVS and found the following bug. I'm running on Windows XP Pro with Python 2.2.3. the "util/datetime.py" module defines tmtuple and passes an incorrect parameter to time.gmtime() It is defined as return time.gmtime(tmsecs or time.time()) I tested and found that it should be return time.gmtime(tmsecs + time.time()) Thanks, Scott ---------------------------------------------------------------------- >Comment By: Scott Pascoe (s-pascoe) Date: 2003-06-24 08:17 Message: Logged In: YES user_id=511729 Your solution does correct the problem that I experienced. Thank you for your assistance. Scott ---------------------------------------------------------------------- Comment By: Thomas Waldmann (thomaswaldmann) Date: 2003-06-24 06:15 Message: Logged In: YES user_id=100649 Try that fix (still dirty, but should work) and tell me, if it works ok. Index: PageEditor.py =================================================================== RCS file: /cvsroot/moin/MoinMoin/PageEditor.py,v retrieving revision 1.58 diff -u -r1.58 PageEditor.py --- PageEditor.py 22 Jun 2003 17:11:36 -0000 1.58 +++ PageEditor.py 24 Jun 2003 11:12:54 -0000 @@ -780,7 +784,9 @@ self.owner = None self.owner_html = cgi.escape(self._("")) - self.timestamp = 0 + self.timestamp = 43200 # avoiding exceptions! + # was: 0 - but that gets negative, if we + # add users tz_offset (e.g. -12h) if self.locktype: entry = editlog.loadLogEntry(self.request, self._filename()) ---------------------------------------------------------------------- Comment By: Scott Pascoe (s-pascoe) Date: 2003-06-23 16:44 Message: Logged In: YES user_id=511729 OK, I put my code back to what came from CVS and attempted to edit the FrontPage of my wiki. It didn't fail as an anonymous user, or after I logged in. I then changed my Date Format preference from "m/d/y" back to default and got the error traceback as posted. BTW, thanks for the quick responses. Scott ---------------------------------------------------------------------- Comment By: Scott Pascoe (s-pascoe) Date: 2003-06-23 16:30 Message: Logged In: YES user_id=511729 Actually, I would have to agree completely. (I'm not a python programmer, and had to try a few more things before getting it to solve the problems exhibited. My first fix caused an error in the PageEditor, so with a little more digging, I came up with this. if tmsecs is not None: return time.gmtime(tmsecs + time.time()) else: return time.gmtime(time.time()) What do you think of that fix? (probably not good Python, but it did solve the problem that I experienced. Thanks, Scott ---------------------------------------------------------------------- Comment By: Thomas Waldmann (thomaswaldmann) Date: 2003-06-23 12:27 Message: Logged In: YES user_id=100649 Your "fix" is definitely incorrect. It would help fixing the bug if you please post the error msg you got from python, including traceback. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482 From noreply at sourceforge.net Thu Jun 26 14:37:12 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Thu Jun 26 14:37:12 2003 Subject: [Moin-devel] [ moin-Bugs-761464 ] Full Text Search Fails Message-ID: Bugs item #761464, was opened at 2003-06-26 16:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jonathan Smith (jcwinnie) Assigned to: Nobody/Anonymous (nobody) Summary: Full Text Search Fails Initial Comment: IOError: [Errno 21] Is a directory Python 2.2.2 /usr/bin/python A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are: __doc__ = 'I/O operation failed.' __getitem__ = > __init__ = > __module__ = 'exceptions' __str__ = > args = (21, 'Is a directory') errno = 21 filename = None strerror = 'Is a directory' /usr/lib/python2.2/site-packages/MoinMoin/Page.py in get_raw_body(self=) 136 self.set_raw_body(file.read()) 137 finally: 138 file.close() file = , global close = undefined 139 140 return self._raw_body /usr/lib/python2.2/site-packages/MoinMoin/wikiutil.py in searchPages(needle='Python', **kw={'case': 0, 'context': 40, 'literal': 0}) 362 all_pages = getPageList(config.text_dir) 363 for page_name in all_pages: 364 body = Page(page_name).get_raw_body() body = "'''Contents'''\n[[TableOfContents]]\n\nHello Wo...d Hello World HelloWorld\n\n=== HelloWorld ===\n", Page = , page_name = 'RCS', global get_raw_body = undefined 365 if context: 366 pos = 0 /usr/lib/python2.2/site-packages/MoinMoin/wikiaction.py in do_fullsearch(pagename='FindPage', request=, fieldname='value') 67 pagecount, hits = wikiutil.searchPages(needle, 68 literal=request.form.has_key('literal'), 69 context=context, case=case) context = 40, case = 0 70 71 # print the result /usr/lib/python2.2/site-packages/MoinMoin/cgimain.py in run(properties={}) 199 else: 200 try: 201 cgitb.handler() cgitb = , handler = 202 except: 203 cgi.print_exception(*saved_exc) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=761464&group_id=8482