From rb.proj at gmail.com Fri Jul 1 08:22:05 2011 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 01 Jul 2011 14:22:05 +0200 Subject: [Moin-user] Question about upgrading In-Reply-To: References: <4E0356E4.2070106@cvs.rochester.edu> <4E038967.9070003@cvs.rochester.edu> Message-ID: Am 23.06.2011 21:09, schrieb Raul Cuza: > Can someone who is more familiar than me with how moin works please > explain why changing the last access/modified time on the files is > necessary? I'm curious as to what the logic in the code is that > prevented Chris's migration from working in the first place. If you feel > the urge to answer 'Use the code, Luke' please guide me in the right > direction. I haven't looked under the hood of moin yet, so I don't have > a map yet of how it is laid out. Thank you. Hi the answer is simple. It is just an alternative to stop / start your deploying process. If it is wsgi daemon mode with reload mechanism the restart of the delpoyment process is done when the deployment script changes its timestamp. An easy approach is to touch the file. Read the section Application Reloading http://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions cheers Reimar > >> -----Original Message----- >> From: Chris Freemesser [mailto:chris at cvs.rochester.edu] >> Sent: Thursday, June 23, 2011 2:44 PM >> To: Raul Cuza >> Cc: moin-user at lists.sourceforge.net >> Subject: Re: [Moin-user] Question about upgrading >> >> On 6/23/11 2:09 PM, Raul Cuza wrote: >>> Hola Chris, >>> >>> If you use `touch filename` instead of `vi filename` do you get the >>> same results? You can use `stat filename` to see what changes before >>> and after using the vi. I suspect `touch` will make the same change. >> >> Thanks for the reply. I already figured out that 'touch' does the > same thing as >> 'vi'...it allows the file to be read. Another reader e-mailed me with > a few >> suggestions. >> >> I originally tried "find . -exec touch {} \;", which changed the > timestamp on >> the files, but did NOT fix the problem. Just a minute or two ago, I > tried "find . >> -name 00* -exec touch {} \;", and a quick check of a few pages would > seem >> to indicate that it might have done the trick. The magic of Unix, I > guess. :) >> >> Chris >> >> _____________________________________________ >> Chris Freemesser, University of Rochester Department of Brain & > Cognitive >> Sciences / Center for Visual Science Meliora Hall, Room 244 >> E-Mail: chris at cvs.rochester.edu >> Phone: (585)275-0786 >> _____________________________________________ > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev From rb.proj at gmail.com Fri Jul 1 08:24:07 2011 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 01 Jul 2011 14:24:07 +0200 Subject: [Moin-user] Moin-user Digest, Vol 60, Issue 2 In-Reply-To: <1308856997.24498.4.camel@bigbox.skynet> References: <1308856997.24498.4.camel@bigbox.skynet> Message-ID: Am 23.06.2011 21:23, schrieb Jerry LeVan: > On Thu, 2011-06-23 at 18:22 +0000, > moin-user-request at lists.sourceforge.net wrote: >> >> Hi all. >> >> I'm in the process of replacing our old wiki server (a Mac running the >> MoinMoin >> 1.5.3-based MoinX wiki software) with a new Mac OSX 10.6 machine >> running a >> "normal" version of MoinMoin 1.9.3 + Apache. >> >> I have the new installation running, and ran the page files from the >> old server >> through the necessary conversion scripts (mig10 and 152_to_1050300). >> I then >> invoked the moin "migration data" command specified for post 1.5.3 new >> style >> migrations. The scripts seemed to work fine, but I'm not 100% sure >> that the >> "migration data" command ran correctly. >> >> I find that if I try to view a page on the new server, the web browser >> displays >> an unhandled exception error. If I then go into the "revisions" >> directory for >> that page, load the last revision into vi and immediately resave it >> (making no >> changes to the file), I can now view the page *and* view all previous >> revisions. The file permissions don't seem to change after using vi, >> so I'm at >> a loss as to why this works. The one thing I do notice is that when I >> load the >> file into vi, the line at the bottom of the window shows the filename >> as well >> as '[dos]'. >> >> With about 600 pages on our wiki server, the prospect of editing >> these >> revisions by hand is not particularly appealing. :) Does anybody >> either know >> why this is happening and how to fix it, or conversely, know a way to >> automate >> this "editing" process? >> moin ... maint cleancache after moin ... migration data called ? cheers Reimar >> Thanks much, >> >> Chris >> > > These errors might be due to a python mismatch...The cached pages > contain python code. > > I pull the data pages from a mac to a linux box and found that I > needed something like: > > /bin/rm -r /var/mywiki/data/pages/*/cache/* > > In order to make sure that I am not pulling incompatible python byte > code from the mac to the linux box > > Jerry > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev From bertelli.andre at gmail.com Wed Jul 6 10:09:20 2011 From: bertelli.andre at gmail.com (=?UTF-8?Q?Andr=C3=A9_Bertelli_Ara=C3=BAjo?=) Date: Wed, 6 Jul 2011 11:09:20 -0300 Subject: [Moin-user] Converting from Mediawiki to Moinmoin Message-ID: Hello, Recently I tried this script to convert articles from a mediawiki to moinmoin: http://moinmo.in/MediaWikiConverter The conversion was ok, apart from some formatting, but now all the new articles are marked as locked and I wasn't able to unlock them. Time have passed, I tried changing the lock configuration to 'none', even tried moving the 'edit-lock' files, without success. I've searched this list for the word 'lock' as well as the wiki, to no avail. Any ideas? -- .o.? ? Andr? Bertelli Ara?jo ..o? ? http://andreba.wordpress.com ooo? ? <>< From rb.proj at gmail.com Mon Jul 11 03:25:39 2011 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 11 Jul 2011 09:25:39 +0200 Subject: [Moin-user] Converting from Mediawiki to Moinmoin In-Reply-To: References: Message-ID: Am 06.07.2011 16:09, schrieb Andr? Bertelli Ara?jo: > Hello, > > Recently I tried this script to convert articles from a mediawiki to moinmoin: > http://moinmo.in/MediaWikiConverter > > The conversion was ok, apart from some formatting, but now all the new > articles are marked as locked and I wasn't able to unlock them. Time > have passed, I tried changing the lock configuration to 'none', even > tried moving the 'edit-lock' files, without success. I've searched > this list for the word 'lock' as well as the wiki, to no avail. Any > ideas? > check owner of data pages that it is same owner than wiki runs on moin ... maint cleancache Reimar From dodecatheon at gmail.com Mon Jul 11 21:34:06 2011 From: dodecatheon at gmail.com (Ted Stern) Date: Mon, 11 Jul 2011 18:34:06 -0700 Subject: [Moin-user] Updated to 1.9.3, 'widget' theme support Message-ID: Hi all, I run a wiki farm of 14 wikis. I just updated from 1.8.4 to 1.9.3, no real problems. Sinorca4moin, my favorite theme, even works. However, there is one wiki in my farm whose users prefer the 'widget' theme, and it has stopped working. Has anyone figured out how to upgrade the widget theme from 1.8.x to 1.9.x? Thanks, Ted -- Frango ut patefaciam -- I break so that I may reveal From moinmoin at sheep.art.pl Tue Jul 12 04:16:12 2011 From: moinmoin at sheep.art.pl (Radomir Dopieralski) Date: Tue, 12 Jul 2011 10:16:12 +0200 Subject: [Moin-user] Updated to 1.9.3, 'widget' theme support In-Reply-To: References: Message-ID: Did you try contacting the author of that theme? On Tue, Jul 12, 2011 at 03:34, Ted Stern wrote: > Hi all, > > I run a wiki farm of 14 wikis. > > I just updated from 1.8.4 to 1.9.3, no real problems. ?Sinorca4moin, > my favorite theme, even works. > > However, there is one wiki in my farm whose users prefer the 'widget' > theme, and it has stopped working. > > Has anyone figured out how to upgrade the widget theme from 1.8.x to > 1.9.x? > > Thanks, Ted > -- > ?Frango ut patefaciam -- I break so that I may reveal > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- Radomir Dopieralski, http://sheep.art.pl From dodecatheon at gmail.com Tue Jul 12 13:40:23 2011 From: dodecatheon at gmail.com (Ted Stern) Date: Tue, 12 Jul 2011 10:40:23 -0700 Subject: [Moin-user] Updated to 1.9.3, 'widget' theme support In-Reply-To: (Radomir Dopieralski's message of "Tue, 12 Jul 2011 10:16:12 +0200") References: Message-ID: On 12 Jul 2011 01:16:12 -0700, Radomir Dopieralski wrote: > > Did you try contacting the author of that theme? Just sent a message to him, and found this note about the theme: http://www.mail-archive.com/moin-user at lists.sourceforge.net/msg03311.html But no other comments to verify that this is the right approach. Ted > > On Tue, Jul 12, 2011 at 03:34, Ted Stern wrote: >> Hi all, >> >> I run a wiki farm of 14 wikis. >> >> I just updated from 1.8.4 to 1.9.3, no real problems. ?Sinorca4moin, >> my favorite theme, even works. >> >> However, there is one wiki in my farm whose users prefer the 'widget' >> theme, and it has stopped working. >> >> Has anyone figured out how to upgrade the widget theme from 1.8.x to >> 1.9.x? >> >> Thanks, Ted >> -- >> ?Frango ut patefaciam -- I break so that I may reveal >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Moin-user mailing list >> Moin-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user >> -- Frango ut patefaciam -- I break so that I may reveal From john_nowlan at carleton.ca Thu Jul 14 13:18:48 2011 From: john_nowlan at carleton.ca (John_Nowlan) Date: Thu, 14 Jul 2011 13:18:48 -0400 Subject: [Moin-user] Is there a way to search or list pages authored or edited by a user? Message-ID: I don't see a way to do this from HelpOnSearching and our users would like it, any suggestions? It would be nice to be able to search on either the original author and/or the last editor. Would this make sense as an enhancement? I.e. add author:TERM or editor:TERM where TERM is a UserName to the HelpOnSearching page and the moin search engine MoinMoin Version Release 1.9.3 [Revision release] From seidel at phaget4.org Sun Jul 17 17:56:16 2011 From: seidel at phaget4.org (Chris Seidel) Date: Sun, 17 Jul 2011 14:56:16 -0700 Subject: [Moin-user] desktop edition mac windows dropbox Message-ID: <1310939776.22724@venus.he.net> Hello, I'd like to install the desktop edition on several computers, but put the wiki folder (with data and overlay dirs) on dropbox, so that whatever computer I'm on at a given time I can edit pages and they'll get updated for all my desktop instances. Over the course of a day I use 4 or 5 computers that are mixed between mac, windows, and linux. I first installed the wiki on windows and made some pages. But when I try to use it from a mac, python quits with a segmentation fault. I can install the wiki stand alone on the mac (and have been using a separate desktop instance for years). So my question is: given that dropbox is a shared point between platforms, is it possible to have two desktop instances of moinmoin (one on windows, one on mac) write to a common data directory? Does python write files identically on both platforms? Is there some obvious reason why mac moinmoin crashes if reading a windows-written data directory? Of course I'm not expecting each instance to be able to write simultaneously - as I only use one computer at a time. Does anyone use moinmoin via dropbox across several platforms? -Chris From david at davidpriest.ca Mon Jul 18 00:58:13 2011 From: david at davidpriest.ca (David Priest) Date: Sun, 17 Jul 2011 21:58:13 -0700 Subject: [Moin-user] desktop edition mac windows dropbox In-Reply-To: <1310939776.22724@venus.he.net> References: <1310939776.22724@venus.he.net> Message-ID: <368C554F-355C-4896-9427-D843034DED94@davidpriest.ca> How about using a git backend? On 2011-07-17, at 2:56 PM, "Chris Seidel" wrote: > Hello, > > I'd like to install the desktop edition on several computers, but put > the wiki folder (with data and overlay dirs) on dropbox, so that > whatever computer I'm on at a given time I can edit pages and they'll > get updated for all my desktop instances. Over the course of a day I use > 4 or 5 computers that are mixed between mac, windows, and linux. I first > installed the wiki on windows and made some pages. But when I try to use > it from a mac, python quits with a segmentation fault. I can install the > wiki stand alone on the mac (and have been using a separate desktop > instance for years). > > So my question is: given that dropbox is a shared point between > platforms, is it possible to have two desktop instances of moinmoin (one > on windows, one on mac) write to a common data directory? Does python > write files identically on both platforms? Is there some obvious reason > why mac moinmoin crashes if reading a windows-written data directory? > > Of course I'm not expecting each instance to be able to write > simultaneously - as I only use one computer at a time. > > Does anyone use moinmoin via dropbox across several platforms? > > -Chris > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From dhoworth at mrc-lmb.cam.ac.uk Tue Jul 19 07:11:44 2011 From: dhoworth at mrc-lmb.cam.ac.uk (Dave Howorth) Date: Tue, 19 Jul 2011 12:11:44 +0100 Subject: [Moin-user] dump problems (links & extra pages) Message-ID: <4E256670.1010006@mrc-lmb.cam.ac.uk> I'm new to moinmoin and am exploring some features. I'm having trouble getting moin export dump to work properly. I'm running the moin that came with Ubuntu 10.04, which says it is 1.9.2, and I'm following the instructions on . I've run the command: moin --config-dir=/etc/moin \ --wiki-url=myhost.com/mywiki export dump \ --target-dir=moin-dump It has successfully produced a bunch of HTML pages in my target directory, but I've found two things wrong: (1) There are too many pages. The wiki page says "The --page parameter is optional and will dump pages matching the pagename. This may be a regex to select multiple matching pages. If omitted, the contents of the entire wiki will be dumped, excluding the underlay pages." But the command has dumped all the help pages etc. Is there some way to avoid that? (2) Some of the URLs in the links in the HTML are wrong. Some look like: FrontPage but others, including the hyperlinks in the body of the pages, look like: FrontPage which is clearly wrong. Have I misconfigured something? I tried to search the archives, but search.gmane.org doesn't seem to be working. Cheers, Dave From rb.proj at gmail.com Tue Jul 19 09:45:48 2011 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 19 Jul 2011 15:45:48 +0200 Subject: [Moin-user] desktop edition mac windows dropbox In-Reply-To: <1310939776.22724@venus.he.net> References: <1310939776.22724@venus.he.net> Message-ID: Just a question why don't you configure one of your wikis to be accessible from all others? see wikiserverconfig.py Am 17.07.2011 23:56, schrieb Chris Seidel: > Hello, > > I'd like to install the desktop edition on several computers, but put > the wiki folder (with data and overlay dirs) on dropbox, so that > whatever computer I'm on at a given time I can edit pages and they'll > get updated for all my desktop instances. Over the course of a day I use > 4 or 5 computers that are mixed between mac, windows, and linux. I first > installed the wiki on windows and made some pages. But when I try to use > it from a mac, python quits with a segmentation fault. I can install the > wiki stand alone on the mac (and have been using a separate desktop > instance for years). I guess the cache files of the pages are incompatible to your different python versions. > > So my question is: given that dropbox is a shared point between > platforms, is it possible to have two desktop instances of moinmoin (one > on windows, one on mac) write to a common data directory? Does python > write files identically on both platforms? Is there some obvious reason > why mac moinmoin crashes if reading a windows-written data directory? I guess this won't help. Reimar > > Of course I'm not expecting each instance to be able to write > simultaneously - as I only use one computer at a time. > > Does anyone use moinmoin via dropbox across several platforms? > > -Chris > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev From dhoworth at mrc-lmb.cam.ac.uk Tue Jul 19 10:40:10 2011 From: dhoworth at mrc-lmb.cam.ac.uk (Dave Howorth) Date: Tue, 19 Jul 2011 15:40:10 +0100 Subject: [Moin-user] dump problems (links & extra pages) In-Reply-To: <4E256670.1010006@mrc-lmb.cam.ac.uk> References: <4E256670.1010006@mrc-lmb.cam.ac.uk> Message-ID: <4E25974A.10405@mrc-lmb.cam.ac.uk> Dave Howorth wrote: > I'm new to moinmoin and am exploring some features. I'm having trouble > getting moin export dump to work properly. > > (1) There are too many pages. The wiki page says "The --page parameter > is optional and will dump pages matching the pagename. This may be a > regex to select multiple matching pages. If omitted, the contents of the > entire wiki will be dumped, excluding the underlay pages." But the > command has dumped all the help pages etc. Is there some way to avoid that? Hmm, dump.py has: pages = request.rootpage.getPageList(user='') whilst Page.py has: def getPageList(self, user=None, exists=1, filter=None, include_underlay=True, return_objects=False): I'm not a python programmer but I'm guessing that include_underlay=True means the default is to include underlay pages. So the wiki page is lying and there doesn't seem to be any obvious means of NOT including the underlay pages. Did something change in some previous version that broke this? Is there a better solution than hacking dump.py? > (2) Some of the URLs in the links in the HTML are wrong. I found the bug below. Fixing it solves my problem. http://moinmo.in/MoinMoinBugs/1.9ExportDump Cheers, Dave From eric at tibco.com Wed Jul 20 14:29:50 2011 From: eric at tibco.com (Eric Johnson) Date: Wed, 20 Jul 2011 11:29:50 -0700 Subject: [Moin-user] Any way to programmatically install language packs? Message-ID: <4E271E9E.3070302@tibco.com> I'm looking to do an upgrade from the 1.8.X series of MoinMoin to 1.9.3. I'd like to script the whole process. At the moment, that looks like it might work, except that the underlay has to be expanded by running as a superuser, a manual process. Is there any way I can programatically install the language pack, rather than having to follow the process of enabling my superuser ability, running the wiki, then installing the pack? It looks suspiciously like I can "cd" to the folder that contains MoinMoin, then do python MoinMoin/packages.py -i wiki/underlay/pages/LanguageSetup/attachments/English-all_pages.zip http://pathtowiki.example.com/SomeWikiName The above will install the all English pages language pack to the specific (I'm running a farm, so it looks like the above needs a URL) Will that work? -Eric. From seidel at phaget4.org Thu Jul 21 18:51:36 2011 From: seidel at phaget4.org (Chris Seidel) Date: Thu, 21 Jul 2011 15:51:36 -0700 Subject: [Moin-user] desktop edition mac windows dropbox Message-ID: <1311288696.29632@venus.he.net> I see. However, I'm not always on the network. This is why I like the Dropbox idea. Dropbox(.com) allows you to create a folder on your computer that is shared by all your computers (regardless of system type). If you happen to go away from the network and work on the files in that folder, the moment you float back into the network the folder synchronizes among all computers. So your data is always with you, and always synchronized. Perhaps I can rephrase my question using a similar concept: if you wanted to create a desktop wiki on a flash drive, is it possible to use that wiki regardless of machine type? For example, I work with Windows machines, Macintosh machines, linux machines. I often go away from the network. I want to plug the flash drive into any of the machines, launch the wiki (using whatever python is on that machine), and write some pages. Is this possible? If it is possible, then it should be possible to replace the flash drive concept with a Dropbox folder (thus bringing the luxury of the network). My experience so far is that it is not currently possible. I can install separate desktop wikis for each platform on a flash drive, launch (by platform) and use them to write pages. But if I configure them to use a common directory for the 'data' and 'underlay' directories (using the instance_dir variable as directed in wikiconfig.py), it works for the first machine to touch that directory structure, but when a second machine tries to touch the structure later, the server process crashes. Thus I was wondering if it is possible for a windows machine, and a Macintosh machine to (non-simultaneously) share the data directory. If the pages are just text files, it should be possible. But I'm having no luck. (I understand they can't share the other directories, because otherwise the python would get recompiled every time I plugged the flash drive into a different platform). -Chris -----Original Message----- From: Reimar Bauer [mailto:rb.proj at googlemail.com] Sent: Tuesday, July 19, 2011 5:10 PM To: Seidel, Chris Subject: Re: [Moin-user] desktop edition mac windows dropbox On Wed, Jul 20, 2011 at 12:03 AM, chris wrote: > Hi, Hi > > I don't understand your question (thus I'm responding to you and not the list). When I look in wikiserverconfig.py I don't see anything that looks like it would help. I guess I don't understand what you're getting at. Well if you set http://hg.moinmo.in/moin/1.9/file/62202e5435e2/wikiserverconfig.py#l40 to '' or your IP then you can access the same desktop wiki from all of your PCs. You store then the pages only on one system and don't need to sync. > > Are you saying I should set up a wiki for each machine, using data files on drop box, and then set up another wiki (say called uber wiki) that get's it's content from each of the individual wikis? If so, what process serves uber wiki? It would seem I'd need two wikis for each machine - one that I can write with, and one that can grab content from all others and serve it back to me. see above > > I'm not sure how to make a wiki accessible from other wikis. I can currently run a local wiki for every machine using dropbox (as long as the instances are separate for each machine). If you have on all wikis the same content and because they are connected to the network, just setup one wiki and access it from all others. You can do this also from the desktop wiki. That's what I tried to explain. Reimar > > -Chris > ________________________________________ > From: R.Bauer [rb.proj at gmail.com] > Sent: Tuesday, July 19, 2011 8:45 AM > To: moin-user at lists.sourceforge.net > Subject: Re: [Moin-user] desktop edition mac windows dropbox > > Just a question why don't you configure one of your wikis to be > accessible from all others? > > see wikiserverconfig.py > > > Am 17.07.2011 23:56, schrieb Chris Seidel: >> Hello, >> >> I'd like to install the desktop edition on several computers, but put >> the wiki folder (with data and overlay dirs) on dropbox, so that >> whatever computer I'm on at a given time I can edit pages and they'll >> get updated for all my desktop instances. Over the course of a day I >> use >> 4 or 5 computers that are mixed between mac, windows, and linux. I >> first installed the wiki on windows and made some pages. But when I >> try to use it from a mac, python quits with a segmentation fault. I >> can install the wiki stand alone on the mac (and have been using a >> separate desktop instance for years). > > I guess the cache files of the pages are incompatible to your > different python versions. > >> >> So my question is: given that dropbox is a shared point between >> platforms, is it possible to have two desktop instances of moinmoin >> (one on windows, one on mac) write to a common data directory? Does >> python write files identically on both platforms? Is there some >> obvious reason why mac moinmoin crashes if reading a windows-written data directory? > > I guess this won't help. > > Reimar > >> >> Of course I'm not expecting each instance to be able to write >> simultaneously - as I only use one computer at a time. >> >> Does anyone use moinmoin via dropbox across several platforms? >> >> -Chris >> From rb.proj at gmail.com Fri Jul 22 02:21:34 2011 From: rb.proj at gmail.com (R.Bauer) Date: Fri, 22 Jul 2011 08:21:34 +0200 Subject: [Moin-user] desktop edition mac windows dropbox In-Reply-To: <1311288696.29632@venus.he.net> References: <1311288696.29632@venus.he.net> Message-ID: Am 22.07.2011 00:51, schrieb Chris Seidel: > I see. However, I'm not always on the network. This is why I like the > Dropbox idea. Dropbox(.com) allows you to create a folder on your > computer that is shared by all your computers (regardless of system > type). If you happen to go away from the network and work on the files > in that folder, the moment you float back into the network the folder > synchronizes among all computers. So your data is always with you, and > always synchronized. > > Perhaps I can rephrase my question using a similar concept: if you > wanted to create a desktop wiki on a flash drive, is it possible to use > that wiki regardless of machine type? You have to call moin ... maint cleancache to invalidate machine dependent cache files before you start moin on a different platform or different python version same platform. Sometimes I use http://www.portablepython.com/ to show the same wiki on a windows system and on a linux. Because you don't need python installed beforehand on windows this makes it easy to demonstrate the wiki. > > For example, I work with Windows machines, Macintosh machines, linux > machines. I often go away from the network. I want to plug the flash > drive into any of the machines, launch the wiki (using whatever python > is on that machine), and write some pages. Is this possible? If it is > possible, then it should be possible to replace the flash drive concept > with a Dropbox folder (thus bringing the luxury of the network). > > My experience so far is that it is not currently possible. I can install > separate desktop wikis for each platform on a flash drive, launch (by > platform) and use them to write pages. But if I configure them to use a > common directory for the 'data' and 'underlay' directories (using the > instance_dir variable as directed in wikiconfig.py), it works for the > first machine to touch that directory structure, but when a second > machine tries to touch the structure later, the server process crashes. > Thus I was wondering if it is possible for a windows machine, and a > Macintosh machine to (non-simultaneously) share the data directory. If > the pages are just text files, it should be possible. But I'm having no > luck. (I understand they can't share the other directories, because > otherwise the python would get recompiled every time I plugged the flash > drive into a different platform). I am pretty sure that this crash happens because of the incompatible python cache files of pages, links, name2id etc. But you don't showed the traceback. So I suggest for now to call moin ... maint cleancache to invalidate platform, python version dependent cachefiles. cheers Reimar > > -Chris > > -----Original Message----- > From: Reimar Bauer [mailto:rb.proj at googlemail.com] > Sent: Tuesday, July 19, 2011 5:10 PM > To: Seidel, Chris > Subject: Re: [Moin-user] desktop edition mac windows dropbox > > On Wed, Jul 20, 2011 at 12:03 AM, chris wrote: >> Hi, > Hi > >> >> I don't understand your question (thus I'm responding to you and not > the list). When I look in wikiserverconfig.py I don't see anything that > looks like it would help. I guess I don't understand what you're getting at. > > Well if you set > http://hg.moinmo.in/moin/1.9/file/62202e5435e2/wikiserverconfig.py#l40 > to '' or your IP then you can access the same desktop wiki from all of > your PCs. You store then the pages only on one system and don't need to > sync. > >> >> Are you saying I should set up a wiki for each machine, using data > files on drop box, and then set up another wiki (say called uber wiki) > that get's it's content from each of the individual wikis? If so, what > process serves uber wiki? It would seem I'd need two wikis for each > machine - one that I can write with, and one that can grab content from > all others and serve it back to me. > > see above >> >> I'm not sure how to make a wiki accessible from other wikis. I can > currently run a local wiki for every machine using dropbox (as long as > the instances are separate for each machine). > > If you have on all wikis the same content and because they are connected > to the network, just setup one wiki and access it from all others. You > can do this also from the desktop wiki. That's what I tried to explain. > > Reimar > > >> >> -Chris >> ________________________________________ >> From: R.Bauer [rb.proj at gmail.com] >> Sent: Tuesday, July 19, 2011 8:45 AM >> To: moin-user at lists.sourceforge.net >> Subject: Re: [Moin-user] desktop edition mac windows dropbox >> >> Just a question why don't you configure one of your wikis to be >> accessible from all others? >> >> see wikiserverconfig.py >> >> >> Am 17.07.2011 23:56, schrieb Chris Seidel: >>> Hello, >>> >>> I'd like to install the desktop edition on several computers, but put >>> the wiki folder (with data and overlay dirs) on dropbox, so that >>> whatever computer I'm on at a given time I can edit pages and they'll >>> get updated for all my desktop instances. Over the course of a day I >>> use >>> 4 or 5 computers that are mixed between mac, windows, and linux. I >>> first installed the wiki on windows and made some pages. But when I >>> try to use it from a mac, python quits with a segmentation fault. I >>> can install the wiki stand alone on the mac (and have been using a >>> separate desktop instance for years). >> >> I guess the cache files of the pages are incompatible to your >> different python versions. >> >>> >>> So my question is: given that dropbox is a shared point between >>> platforms, is it possible to have two desktop instances of moinmoin >>> (one on windows, one on mac) write to a common data directory? Does >>> python write files identically on both platforms? Is there some >>> obvious reason why mac moinmoin crashes if reading a windows-written > data directory? >> >> I guess this won't help. >> >> Reimar >> >>> >>> Of course I'm not expecting each instance to be able to write >>> simultaneously - as I only use one computer at a time. >>> >>> Does anyone use moinmoin via dropbox across several platforms? >>> >>> -Chris >>> > > > ------------------------------------------------------------------------------ > 5 Ways to Improve & Secure Unified Communications > Unified Communications promises greater efficiencies for business. UC can > improve internal communications as well as offer faster, more efficient ways > to interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ From nholtz at cee.carleton.ca Sat Jul 23 17:40:38 2011 From: nholtz at cee.carleton.ca (Neal Holtz) Date: Sat, 23 Jul 2011 17:40:38 -0400 Subject: [Moin-user] WikiBooks and Quiz Software: General Discussion Message-ID: <201107231740.39105.nholtz@cee.carleton.ca> Hello - I'm just looking for general comments, if anyone cares to give them. (I apologize in advance for the length of this msg). I'm planning to start developing a wiki text book for a university level engineering course I'm teaching. I've so far only got a page or two and a rough structure as a proof of concept. In addition to the easily added extra value such as images, photos, problem solving videos (ala Khan Academy), I'ld like other media there as well, such as interactive self test questions, application software, perhaps links to things like sagemath worksheets, etc. Oh yes: a lot of mathematics is involved. = One = I suppose I should really start with WikiBooks, particularly as there is the start of a text on the subject there already. It does provide some nice stuff out of the box, such as pdf creation for an entire text (or subset, I assume). However, the things I don't like are: - I don't think I can get the software, and I really don't want to host this on their server. - MediaWiki on which it based can be installed, but I really don't want to program in php if I don't have to ... And I do expect some new code will be necessary So I guess if I want to extend a wiki system using Python, that MoinMoin is the best choice. That was my first discussion point. = Two = Markup language: I was pulled toward reStructured text, again because of all the extra stuff that is there already built around it. However, after doing a couple of pages, I really dislike it (esthetically). I really do prefer using wiki markup. I looked at creole in hopes of getting something that might be more portable but that doesn't seem to be the silver bullet either, yet. I'll want things like the ability to generate text-book-like pdfs of a set of pages, so students can print easier. Should I stick with wiki markup and develop the required tools based on that? (they are not high priority). = Three = Now - self test questions: I'm intrigued about leveraging moodle for this purpose; I can easily see having questions for grading students within moodle - I will probably eventually do so. Moodle stores questions in a relational database, and can export them in several formats. I think it might be possible to develop some python code to either access the moodle database directly, or read the exported xml (I'ld probably do both). Then render the questions for anonymous self testing for wiki book readers. This is a significant amount of work, but I don't think its huge (I have done this before, in 1994, believe it or not ... :-[ http://http-server.carleton.ca/~nholtz/tut/doc/doc.html ) Most of the hard work is in the user interface to develop questions, and thats already been done in moodle. The way I see this is developing a parser for moin that would read either the moodle xml or moodle database info, and present the question. Any other quiz engines in python? If you got this far, you patience is remarkable. Thanks - any kind of comments are welcome. -- Neal Holtz http://cee.carleton.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nholtz at cee.carleton.ca Public Key: http://holtz3.cee.carleton.ca/~nholtz/pubkey.asc Office-Hours: http://holtz3.cee.carleton.ca/~nholtz/office-hours.html Free-Busy: http://holtz3.cee.carleton.ca/~nholtz/free-busy.cgi From ivan at ffii.org Sun Jul 24 04:33:34 2011 From: ivan at ffii.org (Ivan F. Villanueva B.) Date: Sun, 24 Jul 2011 10:33:34 +0200 Subject: [Moin-user] WikiBooks and Quiz Software: General Discussion In-Reply-To: <201107231740.39105.nholtz@cee.carleton.ca> References: <201107231740.39105.nholtz@cee.carleton.ca> Message-ID: <20110724083334.GZ11692@petitiongridmind> Hello Neal, > [wiki for books with math and quiz] Your project is very interesting to me. Where can I get updates of it? A Twitter account maybe? For MoinMoin there are latex-plugins, and RST as default syntax works good. Why don't you like RST-syntax? You could however probably spare time if you hack your own system. I, for my personal online notes, hacked a script in Python that generates webpages and pdfs (not finished) out of RST files, see for instance this page (specially the formulas within it): http://ogai.name/uned/programacion_II/ Note that the math is not ugly graphics like MediaWiki does, but scalable formulas. Increase the font size to see how the formula also increase (you might need to just install some fonts). I describe everything here: http://ogai.name/software/gridcms/ Ivan On Sat, Jul 23, 2011 at 05:40:38PM -0400, Neal Holtz wrote: > Hello - I'm just looking for general comments, if anyone cares > to give them. (I apologize in advance for the length of this msg). > > I'm planning to start developing a wiki text book for a university > level engineering course I'm teaching. I've so far only got a page > or two and a rough structure as a proof of concept. In addition > to the easily added extra value such as images, photos, problem > solving videos (ala Khan Academy), I'ld like other media there > as well, such as interactive self test questions, application > software, perhaps links to things like sagemath worksheets, etc. > > Oh yes: a lot of mathematics is involved. > > = One = > > I suppose I should really start with WikiBooks, particularly as > there is the start of a text on the subject there already. It does > provide some nice stuff out of the box, such as pdf creation > for an entire text (or subset, I assume). However, the things > I don't like are: > - I don't think I can get the software, and I really don't want > to host this on their server. > - MediaWiki on which it based can be installed, but I really > don't want to program in php if I don't have to ... And I > do expect some new code will be necessary > > So I guess if I want to extend a wiki system using Python, that > MoinMoin is the best choice. That was my first discussion point. > > = Two = > > Markup language: I was pulled toward reStructured text, > again because of all the extra stuff that is there already > built around it. However, after doing a couple of pages, > I really dislike it (esthetically). I really do prefer using > wiki markup. I looked at creole in hopes of getting something > that might be more portable but that doesn't seem to > be the silver bullet either, yet. > > I'll want things like the ability to generate text-book-like > pdfs of a set of pages, so students can print easier. > > Should I stick with wiki markup and develop the required > tools based on that? (they are not high priority). > > = Three = > > Now - self test questions: I'm intrigued about leveraging > moodle for this purpose; I can easily see having questions > for grading students within moodle - I will probably eventually > do so. > > Moodle stores questions in a relational database, and can > export them in several formats. I think it might be possible > to develop some python code to either access the moodle > database directly, or read the exported xml (I'ld probably > do both). Then render the questions for anonymous self > testing for wiki book readers. This is a significant amount > of work, but I don't think its huge (I have done this before, > in 1994, believe it or not ... :-[ > http://http-server.carleton.ca/~nholtz/tut/doc/doc.html > ) > > Most of the hard work is in the user interface to develop > questions, and thats already been done in moodle. > > The way I see this is developing a parser for moin that > would read either the moodle xml or moodle database > info, and present the question. > > Any other quiz engines in python? > > If you got this far, you patience is remarkable. > > Thanks - any kind of comments are welcome. > > > > -- > Neal Holtz http://cee.carleton.ca/~nholtz > Dept. of Civil and Environmental Engineering, Carleton University, > Ottawa, Ontario, Canada K1S 5B6. nholtz at cee.carleton.ca > Public Key: http://holtz3.cee.carleton.ca/~nholtz/pubkey.asc > Office-Hours: http://holtz3.cee.carleton.ca/~nholtz/office-hours.html > Free-Busy: http://holtz3.cee.carleton.ca/~nholtz/free-busy.cgi From nholtz at cee.carleton.ca Sun Jul 24 09:38:20 2011 From: nholtz at cee.carleton.ca (Neal Holtz) Date: Sun, 24 Jul 2011 09:38:20 -0400 Subject: [Moin-user] WikiBooks and Quiz Software: General Discussion In-Reply-To: <20110724083334.GZ11692@petitiongridmind> References: <201107231740.39105.nholtz@cee.carleton.ca> <20110724083334.GZ11692@petitiongridmind> Message-ID: <201107240938.20470.nholtz@cee.carleton.ca> Hi Ivan On July 24, 2011 04:33:34 AM you wrote: > Hello Neal, > > > [wiki for books with math and quiz] > > Your project is very interesting to me. Where can I get updates of it? A Twitter account maybe? Well, I've just got the smallest possible start, right now. Perhaps it'll firm up a little this week, then I'll post a URL or something ... > > For MoinMoin there are latex-plugins, and RST as default syntax works good. > Why don't you like RST-syntax? Haven't tried the LaTeX plugins yet, but as for RST - I've no really compelling reasons for preferring wiki markup, and perhaps as the project gets larger, rst will show more of its advantages. But ... - I was pretty used to wiki markup, knew my way around it a bit and am learning rst now for this. rst is different, so its a bit frustrating at first ... - the first thing I ran into, after about the first 10 minutes, was what I consider a *really* dumb decision in rst regarding headings. If you have only 1 top level page heading in a document it gets promoted up to a document title. If you have 2 or more, it doesn't. So if you add a new section to a page, the heading structure changes. I eventually found the options that turn that off, and tweaked the moin rst parser to work 'properly', but it was a bad start to learning rst, making me less tolerant of other differences ... - minor aesthetics, such as: I would rather type a link as [[http://www....|follow me]] rather than `follow me`__ __ http://www.... I've got my 3-page site in both formats and haven't yet made a final decision ... > > You could however probably spare time if you hack your own system. I, for my personal on-line notes, > hacked a script in Python that generates webpages and pdfs (not finished) out of RST files, see for > instance this page (specially the formulas within it): http://ogai.name/uned/programacion_II/ > > Note that the math is not ugly graphics like MediaWiki does, but scalable formulas. Increase the > font size to see how the formula also increase (you might need to just install some fonts). I > describe everything here: http://ogai.name/software/gridcms/ I'll look at gridcms more seriously -- thanks for the pointer. In my initial trials, I tried MathJax rather than jsMath - again no really compelling reason (though I like that fact that you don't have to install fonts). It seems to work pretty smoothly so far, but I would be interested if anyone has comments regarding MathJax vs jsMath. neal > > Ivan > > On Sat, Jul 23, 2011 at 05:40:38PM -0400, Neal Holtz wrote: > > Hello - I'm just looking for general comments, if anyone cares > > to give them. (I apologize in advance for the length of this msg). > > > > I'm planning to start developing a wiki text book for a university > > level engineering course I'm teaching. I've so far only got a page > > or two and a rough structure as a proof of concept. In addition > > to the easily added extra value such as images, photos, problem > > solving videos (ala Khan Academy), I'ld like other media there > > as well, such as interactive self test questions, application > > software, perhaps links to things like sagemath worksheets, etc. > > > > Oh yes: a lot of mathematics is involved. > > > > = One = > > > > I suppose I should really start with WikiBooks, particularly as > > there is the start of a text on the subject there already. It does > > provide some nice stuff out of the box, such as pdf creation > > for an entire text (or subset, I assume). However, the things > > I don't like are: > > - I don't think I can get the software, and I really don't want > > to host this on their server. > > - MediaWiki on which it based can be installed, but I really > > don't want to program in php if I don't have to ... And I > > do expect some new code will be necessary > > > > So I guess if I want to extend a wiki system using Python, that > > MoinMoin is the best choice. That was my first discussion point. > > > > = Two = > > > > Markup language: I was pulled toward reStructured text, > > again because of all the extra stuff that is there already > > built around it. However, after doing a couple of pages, > > I really dislike it (esthetically). I really do prefer using > > wiki markup. I looked at creole in hopes of getting something > > that might be more portable but that doesn't seem to > > be the silver bullet either, yet. > > > > I'll want things like the ability to generate text-book-like > > pdfs of a set of pages, so students can print easier. > > > > Should I stick with wiki markup and develop the required > > tools based on that? (they are not high priority). > > > > = Three = > > > > Now - self test questions: I'm intrigued about leveraging > > moodle for this purpose; I can easily see having questions > > for grading students within moodle - I will probably eventually > > do so. > > > > Moodle stores questions in a relational database, and can > > export them in several formats. I think it might be possible > > to develop some python code to either access the moodle > > database directly, or read the exported xml (I'ld probably > > do both). Then render the questions for anonymous self > > testing for wiki book readers. This is a significant amount > > of work, but I don't think its huge (I have done this before, > > in 1994, believe it or not ... :-[ > > http://http-server.carleton.ca/~nholtz/tut/doc/doc.html > > ) > > > > Most of the hard work is in the user interface to develop > > questions, and thats already been done in moodle. > > > > The way I see this is developing a parser for moin that > > would read either the moodle xml or moodle database > > info, and present the question. > > > > Any other quiz engines in python? > > > > If you got this far, you patience is remarkable. > > > > Thanks - any kind of comments are welcome. > > > > > > > -- Neal Holtz http://cee.carleton.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nholtz at cee.carleton.ca Public Key: http://holtz3.cee.carleton.ca/~nholtz/pubkey.asc Office-Hours: http://holtz3.cee.carleton.ca/~nholtz/office-hours.html Free-Busy: http://holtz3.cee.carleton.ca/~nholtz/free-busy.cgi From ivan at ffii.org Sun Jul 24 12:01:10 2011 From: ivan at ffii.org (Ivan F. Villanueva B.) Date: Sun, 24 Jul 2011 18:01:10 +0200 Subject: [Moin-user] WikiBooks and Quiz Software: General Discussion In-Reply-To: <201107240938.20470.nholtz@cee.carleton.ca> References: <201107231740.39105.nholtz@cee.carleton.ca> <20110724083334.GZ11692@petitiongridmind> <201107240938.20470.nholtz@cee.carleton.ca> Message-ID: <20110724160110.GE11692@petitiongridmind> Hi Neal, On Sun, Jul 24, 2011 at 09:38:20AM -0400, Neal Holtz wrote: > On July 24, 2011 04:33:34 AM you wrote: > > Why don't you like RST-syntax? > [...] > I would rather type a link as [[http://www....|follow me]] > rather than `follow me`__ > __ http://www.... funny, that is one of the main reasons why I prefer RST over other (wiki) syntaxes. It is much easier__ to write and read RST__ than `other syntaxes`__, do you `follow me`__ ? __ http://www_some_long_urls __ http://www_some_long_urls __ http://www_some_long_urls __ http://www_some_long_urls Compare: It is much [[http://www_some_long_urls|easier]] to write and read [[http://wwww_some_long_urls|RST]] than [[http://www_some_long_urls|other syntaxes]], do you [[http://wwww_some_long_urls|follow me]]? -- Kind regards, Mit freundlichen Gr??en, Ivan F. Villanueva B. http://grical.org From nholtz at cee.carleton.ca Sun Jul 24 12:10:12 2011 From: nholtz at cee.carleton.ca (Neal Holtz) Date: Sun, 24 Jul 2011 12:10:12 -0400 Subject: [Moin-user] WikiBooks and Quiz Software: General Discussion In-Reply-To: <20110724160110.GE11692@petitiongridmind> References: <201107231740.39105.nholtz@cee.carleton.ca> <201107240938.20470.nholtz@cee.carleton.ca> <20110724160110.GE11692@petitiongridmind> Message-ID: <201107241210.12422.nholtz@cee.carleton.ca> On July 24, 2011 12:01:10 PM Ivan F. Villanueva B. wrote: > Hi Neal, > > On Sun, Jul 24, 2011 at 09:38:20AM -0400, Neal Holtz wrote: > > On July 24, 2011 04:33:34 AM you wrote: > > > Why don't you like RST-syntax? > > [...] > > I would rather type a link as [[http://www....|follow me]] > > rather than `follow me`__ > > __ http://www.... > > funny, that is one of the main reasons why I prefer RST over other (wiki) syntaxes. > > It is much easier__ to write and read RST__ than `other syntaxes`__, do you `follow me`__ ? > > __ http://www_some_long_urls > __ http://www_some_long_urls > __ http://www_some_long_urls > __ http://www_some_long_urls > > Compare: > > It is much [[http://www_some_long_urls|easier]] to write and read > [[http://wwww_some_long_urls|RST]] than [[http://www_some_long_urls|other syntaxes]], do you > [[http://wwww_some_long_urls|follow me]]? > > You do have a point here. I'll think more about this (I hadn't realized you could have several anonymous links like this). neal -- Neal Holtz http://cee.carleton.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nholtz at cee.carleton.ca Public Key: http://holtz3.cee.carleton.ca/~nholtz/pubkey.asc Office-Hours: http://holtz3.cee.carleton.ca/~nholtz/office-hours.html Free-Busy: http://holtz3.cee.carleton.ca/~nholtz/free-busy.cgi From moin-user-list.GarveyPatrickD at spamgourmet.com Sun Jul 24 15:19:13 2011 From: moin-user-list.GarveyPatrickD at spamgourmet.com (moin-user-list.GarveyPatrickD at spamgourmet.com) Date: Sun, 24 Jul 2011 12:19:13 -0700 Subject: [Moin-user] WikiBooks and Quiz Software: General Discussion (moin-user-list: message 1 of 20) In-Reply-To: <201107231740.39105.nholtz@cee.carleton.ca> References: <201107231740.39105.nholtz@cee.carleton.ca> Message-ID: You might want to explore what the educators at TeachingOpenSource.org have to say about your effort. Their mailing list is at: http://lists.teachingopensource.org/mailman/listinfo/tos Fedora also has a Special Interest Group on Education that might be worth exploring: http://fedoraproject.org/wiki/SIGs/Education The DebianEdu project might also have some folks interested in working with you: http://wiki.debian.org/DebianEdu On Sat, Jul 23, 2011 at 2:40 PM, nholtz at cee.carleton.ca wrote: > Hello - I'm just looking for general comments, if anyone cares > to give them. (I apologize in advance for the length of this msg). > > I'm planning to start developing a wiki text book for a university > level engineering course I'm teaching. ?I've so far only got a page > or two and a rough structure as a proof of concept. ?In addition > to the easily added extra value such as images, photos, problem > solving videos (ala Khan Academy), I'ld like other media there > as well, such as interactive self test questions, application > software, perhaps links to things like sagemath worksheets, etc. > > Oh yes: a lot of mathematics is involved. > > = One = > > I suppose I should really start with WikiBooks, particularly as > there is the start of a text on the subject there already. ?It does > provide some nice stuff out of the box, such as pdf creation > for an entire text (or subset, I assume). ?However, the things > I don't like are: > ?- I don't think I can get the software, and I really don't want > ? ?to host this on their server. > ?- MediaWiki on which it based can be installed, but I really > ? ?don't want to program in php if I don't have to ... ?And I > ? ?do expect some new code will be necessary > > So I guess if I want to extend a wiki system using Python, that > MoinMoin is the best choice. ?That was my first discussion point. > > = Two = > > Markup language: I was pulled toward reStructured text, > again because of all the extra stuff that is there already > built around it. ?However, after doing a couple of pages, > I really dislike it (esthetically). ?I really do prefer using > wiki markup. ?I looked at creole in hopes of getting something > that might be more portable but that doesn't seem to > be the silver bullet either, yet. > > I'll want things like the ability to generate text-book-like > pdfs of a set of pages, so students can print easier. > > Should I stick with wiki markup and develop the required > tools based on that? ?(they are not high priority). > > = Three = > > Now - self test questions: ?I'm intrigued about leveraging > moodle for this purpose; I can easily see having questions > for grading students within moodle - I will probably eventually > do so. > > Moodle stores questions in a relational database, and can > export them in several formats. ?I think it might be possible > to develop some python code to either access the moodle > database directly, or read the exported xml (I'ld probably > do both). Then render the questions for anonymous self > testing for wiki book readers. ?This is a significant amount > of work, but I don't think its huge (I have done this before, > in 1994, believe it or not ... :-[ > http://http-server.carleton.ca/~nholtz/tut/doc/doc.html > ) > > Most of the hard work is in the user interface to develop > questions, and thats already been done in moodle. > > The way I see this is developing a parser for moin that > would read either the moodle xml or moodle database > info, and present the question. > > Any other quiz engines in python? > > If you got this far, you patience is remarkable. > > Thanks - any kind of comments are welcome. > > > > -- > Neal Holtz ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://cee.carleton.ca/~nholtz > Dept. of Civil and Environmental Engineering, ? Carleton University, > Ottawa, Ontario, Canada K1S 5B6. ? ? ? ? ? ? ? nholtz at cee.carleton.ca > Public Key: ?http://holtz3.cee.carleton.ca/~nholtz/pubkey.asc > Office-Hours: http://holtz3.cee.carleton.ca/~nholtz/office-hours.html > Free-Busy: http://holtz3.cee.carleton.ca/~nholtz/free-busy.cgi > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. ?Store less, Store more with what you own, Move data to > the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > From rb.proj at gmail.com Mon Jul 25 02:48:19 2011 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 25 Jul 2011 08:48:19 +0200 Subject: [Moin-user] WikiBooks and Quiz Software: General Discussion In-Reply-To: <201107231740.39105.nholtz@cee.carleton.ca> References: <201107231740.39105.nholtz@cee.carleton.ca> Message-ID: Hi Am 23.07.2011 23:40, schrieb Neal Holtz: > Hello - I'm just looking for general comments, if anyone cares > to give them. (I apologize in advance for the length of this msg). > > I'm planning to start developing a wiki text book for a university > level engineering course I'm teaching. I've so far only got a page > or two and a rough structure as a proof of concept. In addition > to the easily added extra value such as images, photos, problem > solving videos (ala Khan Academy), I'ld like other media there > as well, such as interactive self test questions, application > software, perhaps links to things like sagemath worksheets, etc. > > Oh yes: a lot of mathematics is involved. Since Mathjax there is no problem with latex formulars anymore I have recently packaged it for xstatic and added it to moin-2. http://www.mathjax.org/ http://pypi.python.org/pypi/XStatic-MathJax/1.1.2 mathjax uses fonts, css und js to render latex formulars. This works with any markup. > > = One = > > I suppose I should really start with WikiBooks, particularly as > there is the start of a text on the subject there already. It does > provide some nice stuff out of the box, such as pdf creation > for an entire text (or subset, I assume). However, the things > I don't like are: > - I don't think I can get the software, and I really don't want > to host this on their server. > - MediaWiki on which it based can be installed, but I really > don't want to program in php if I don't have to ... And I > do expect some new code will be necessary > > So I guess if I want to extend a wiki system using Python, that > MoinMoin is the best choice. That was my first discussion point. We have written a small tool https://utils.icg.kfa-juelich.de/hg/xmlrpc/file/96318c07f68f/wiki2pdf/wiki2pdf.py (part of this repository https://utils.icg.kfa-juelich.de/hg/xmlrpc/) By this you can fetch an hierarchy of pages and attachments. This is then transformed by sphinx to a book. > > = Two = > > Markup language: I was pulled toward reStructured text, > again because of all the extra stuff that is there already > built around it. However, after doing a couple of pages, > I really dislike it (esthetically). I really do prefer using > wiki markup. I looked at creole in hopes of getting something > that might be more portable but that doesn't seem to > be the silver bullet either, yet. Because of sphinx as the processor we had to use reST. For some special pages with very complicated tables we introduced also a server side parser which converts moin wiki page markup to a svg, png, pdf, latex table. The table is shown as svg graphic to the user. The script lets sphinx use pdf files if available to render the document. If some images are missing placeholders become inserted. > > I'll want things like the ability to generate text-book-like > pdfs of a set of pages, so students can print easier. > > Should I stick with wiki markup and develop the required > tools based on that? (they are not high priority). Have a look at sphinx http://sphinx.pocoo.org/ if you write python code you anyway may decide to use it for the programs documentation. moin-2 has already a convertor for domtree conversion of moin wiki markup to reST markup. So if we are ready for publishing 2.0 you can keep another markup if you dislike reST. But there are also some differences in the markup. Probably you can't lossless convert. > > = Three = > > Now - self test questions: I'm intrigued about leveraging > moodle for this purpose; I can easily see having questions > for grading students within moodle - I will probably eventually > do so. > > Moodle stores questions in a relational database, and can > export them in several formats. I think it might be possible > to develop some python code to either access the moodle > database directly, or read the exported xml (I'ld probably > do both). Then render the questions for anonymous self > testing for wiki book readers. This is a significant amount > of work, but I don't think its huge (I have done this before, > in 1994, believe it or not ... :-[ > http://http-server.carleton.ca/~nholtz/tut/doc/doc.html > ) > > Most of the hard work is in the user interface to develop > questions, and thats already been done in moodle. > > The way I see this is developing a parser for moin that > would read either the moodle xml or moodle database > info, and present the question. > > Any other quiz engines in python? see http://pypi.python.org/pypi?%3Aaction=search&term=quiz&submit=search > > If you got this far, you patience is remarkable. > > Thanks - any kind of comments are welcome. > > > cheers Reimar From ndw at nwalsh.com Mon Jul 25 10:04:12 2011 From: ndw at nwalsh.com (Norman Walsh) Date: Mon, 25 Jul 2011 10:04:12 -0400 Subject: [Moin-user] Internal server error In-Reply-To: <1309027943.11629.2.camel@x300> (Thomas Waldmann's message of "Sat, 25 Jun 2011 20:52:23 +0200") References: <1309027943.11629.2.camel@x300> Message-ID: Thomas Waldmann writes: > Just kill the i18n cache and try again. > > data/cache/.../i18n/* Thanks! Be seeing you, norm -- Norman Walsh | If you settle for what they're giving http://nwalsh.com/ | you, you deserve what you get. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: