Hi, I have a question about Date Time Week. I'm very new to Zope and Python and am not sure I'm going to ask this correctly. My question is in two parts. 1) If I have a drop down list of week numbers (1-53) is there a way to populate a table Sunday through Saturday with the correct dates for the week that is selected? My other thought is: 2) If I can search through a calendar year and pick out all of the Sunday dates and then add to that date 1 day at a time to populate the same table? Here I'm thinking of searching for each sunday date and putting that in the drop down list insead of the week number above. Then adding to the selected date to fill in the table. Thanks for the help in advance. This is for my final project at school and I'm feeling the pressure this week even through I still have a couple of weeks. Thanks, Rex __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
check out the "calendar" module of Python. It gives you all you need within a *single* method call. -aj --On Montag, 28. Juli 2003 12:54 Uhr -0700 Rex McKanry <rmckanry@yahoo.com> wrote:
Hi, I have a question about Date Time Week. I'm very new to Zope and Python and am not sure I'm going to ask this correctly. My question is in two parts.
1) If I have a drop down list of week numbers (1-53) is there a way to populate a table Sunday through Saturday with the correct dates for the week that is selected?
My other thought is: 2) If I can search through a calendar year and pick out all of the Sunday dates and then add to that date 1 day at a time to populate the same table? Here I'm thinking of searching for each Sunday date and putting that in the drop down list insead of the week number above. Then adding to the selected date to fill in the table.
Thanks for the help in advance. This is for my final project at school and I'm feeling the pressure this week even through I still have a couple of weeks. Thanks, Rex
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Hello all, I've got a problem that seems odd to me. I'm wondering if anyone else has experienced this. I installed GroupUserFolder as normal, and restarted. My log showed that it was detected and installed. Now, when I attempt to add a Group User Folder from the menu, my server restarts. Here's the log 2003-07-28T15:03:28 INFO(0) zdaemon Started subprocess: pid 856 ------ 2003-07-28T15:03:39 INFO(0) IngeniWeb NOTICE global_symbols.py:28:Mon Jul 28 15:03:39 2003: 'Starting /Library/Zope-2.6.1-src/lib/python/Products/GroupUserFolder at 4 debug level' ------ 2003-07-28T15:03:40 INFO(0) ZODB Opening database for mounting: '15092080_1057867262.816613' ------ 2003-07-28T15:03:40 INFO(0) ZODB Mounted database '15092080_1057867262.816613' at /temp_folder ------ 2003-07-28T15:03:41 INFO(0) ZServer HTTP server started at Mon Jul 28 15:03:41 2003 Hostname: lib37-25.sfsu.edu Port: 8080 ------ 2003-07-28T15:03:41 INFO(0) ZServer FTP server started at Mon Jul 28 15:03:41 2003 Hostname: Jason-Coles-Laptop.local. Port: 8021 ------ 2003-07-28T15:13:48 ERROR(200) zdaemon Process 856 terminated by signal SIGBUS(10) -- Here's where I attempted to add the folder.... ------ 2003-07-28T15:13:48 INFO(0) zdaemon Started subprocess: pid 863 ------ 2003-07-28T15:13:57 INFO(0) IngeniWeb NOTICE global_symbols.py:28:Mon Jul 28 15:13:57 2003: 'Starting /Library/Zope-2.6.1-src/lib/python/Products/GroupUserFolder at 4 debug level' I'm running Zope 2.6.1. on Mac OS X with Python 2.1.3. Any ideas? Thanks in advance. Jason Jason R. Cole, Ph.D. Online Teaching Support Specialist The Center for the Enhancement of Teaching San Francisco State University (415) 405-3536 jrcole@sfsu.edu One of the symptoms of an approaching nervous breakdown is the belief that one's work is terribly important. -- Bertrand Russell
You should consider downloading 1.31 from SourceForge which fixes this crash for several platforms. This was an infinite recursion pb in a ZPT... Shame on me ! Cheers, P.-J. Tuesday, July 29, 2003, 12:57:25 AM, vous avez écrit : JC> Hello all, JC> I've got a problem that seems odd to me. I'm wondering if anyone else JC> has experienced this. JC> I installed GroupUserFolder as normal, and restarted. My log showed JC> that it was detected and installed. Now, when I attempt to add a Group JC> User Folder from the menu, my server restarts. JC> Here's the log JC> 2003-07-28T15:03:28 INFO(0) zdaemon Started subprocess: pid 856 JC> ------ JC> 2003-07-28T15:03:39 INFO(0) IngeniWeb JC> NOTICE global_symbols.py:28:Mon Jul 28 15:03:39 2003: 'Starting JC> /Library/Zope-2.6.1-src/lib/python/Products/GroupUserFolder at 4 debug JC> level' JC> ------ JC> 2003-07-28T15:03:40 INFO(0) ZODB Opening database for mounting: JC> '15092080_1057867262.816613' JC> ------ JC> 2003-07-28T15:03:40 INFO(0) ZODB Mounted database JC> '15092080_1057867262.816613' at /temp_folder JC> ------ JC> 2003-07-28T15:03:41 INFO(0) ZServer HTTP server started at Mon Jul 28 JC> 15:03:41 2003 JC> Hostname: lib37-25.sfsu.edu JC> Port: 8080 JC> ------ JC> 2003-07-28T15:03:41 INFO(0) ZServer FTP server started at Mon Jul 28 JC> 15:03:41 2003 JC> Hostname: Jason-Coles-Laptop.local. JC> Port: 8021 JC> ------ JC> 2003-07-28T15:13:48 ERROR(200) zdaemon Process 856 terminated by signal JC> SIGBUS(10) -- Here's where I attempted to add the folder.... JC> ------ JC> 2003-07-28T15:13:48 INFO(0) zdaemon Started subprocess: pid 863 JC> ------ JC> 2003-07-28T15:13:57 INFO(0) IngeniWeb JC> NOTICE global_symbols.py:28:Mon Jul 28 15:13:57 2003: 'Starting JC> /Library/Zope-2.6.1-src/lib/python/Products/GroupUserFolder at 4 debug JC> level' JC> I'm running Zope 2.6.1. on Mac OS X with Python 2.1.3. JC> Any ideas? JC> Thanks in advance. JC> Jason JC> Jason R. Cole, Ph.D. JC> Online Teaching Support Specialist JC> The Center for the Enhancement of Teaching JC> San Francisco State University JC> (415) 405-3536 JC> jrcole@sfsu.edu JC> One of the symptoms of an approaching nervous breakdown is the belief JC> that one's work is terribly important. JC> -- Bertrand Russell
participants (4)
-
Andreas Jung -
Jason Cole -
Pierre-Julien Grizel -
Rex McKanry