From tw at waldmann-edv.de Fri Dec 12 07:34:58 2014 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Fri, 12 Dec 2014 13:34:58 +0100 Subject: [Moin-user] Request for comments about new parser InteractiveImageMap.py (for the ROS wiki) In-Reply-To: <20141128083459.GB6715@i60c075> References: <20141125123048.GE5948@i60c075> <54776BCC.8060004@waldmann-edv.de> <20141128083459.GB6715@i60c075> Message-ID: <548AE0F2.9040804@waldmann-edv.de> > I never used codereview.appspot.com before, but I did create a new repository: > https://codereview.appspot.com/search?base=https://github.com/andreasBihlmaier/moinmoin_interactive_image_map.git/trunk/ > (I hope this is enough in order for comments to be possible) The link just leads to something empty. Usually one uses the "upload.py" tool of codereview before commit to submit the current workdir changes to CR. It is also possible after commit, but IIRC needs some params then. From andreas.bihlmaier at gmx.de Sat Dec 13 04:45:39 2014 From: andreas.bihlmaier at gmx.de (Andreas Bihlmaier) Date: Sat, 13 Dec 2014 10:45:39 +0100 Subject: [Moin-user] Request for comments about new parser InteractiveImageMap.py (for the ROS wiki) In-Reply-To: <548AE0F2.9040804@waldmann-edv.de> References: <20141125123048.GE5948@i60c075> <54776BCC.8060004@waldmann-edv.de> <20141128083459.GB6715@i60c075> <548AE0F2.9040804@waldmann-edv.de> Message-ID: <20141213094539.GA12585@i60m1076> Dear Thomas, now things should work: https://codereview.appspot.com/184410043 (Although it took me a while to figure out that i have to allow "less secure apps" [1] in order to upload) Comments highly welcome. Regards, ahb [1] https://www.google.com/settings/security/lesssecureapps On Fri, Dec 12, 2014 at 01:34:58PM +0100, Thomas Waldmann wrote: > > I never used codereview.appspot.com before, but I did create a new repository: > > https://codereview.appspot.com/search?base=https://github.com/andreasBihlmaier/moinmoin_interactive_image_map.git/trunk/ > > (I hope this is enough in order for comments to be possible) > > The link just leads to something empty. > > Usually one uses the "upload.py" tool of codereview before commit to > submit the current workdir changes to CR. It is also possible after > commit, but IIRC needs some params then. > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From ciprian.craciun at gmail.com Mon Dec 22 08:06:28 2014 From: ciprian.craciun at gmail.com (Ciprian Dorin Craciun) Date: Mon, 22 Dec 2014 15:06:28 +0200 Subject: [Moin-user] Render MoinMoin wiki syntax to HTML without having a wiki deployment Message-ID: I would like to know (if it is possible) how to render a MoinMoin wiki file into an HTML file, without having an MoinMoin instance. (Obviously I do have MoinMoin code installed, but no running instance configured.) I know about `moin export dump`, but from what I understand it requires (although not a running server), MoinMoin deployment (with configuration files, data files, etc.) What I'm after is something like `rst2html2` which I can fed on stdin with the "source" and I get on stdout the HTML variant. (I want to use the MoinMoin "native" syntax, not the RestructuredText.) Thanks, Ciprian. From philip.colmer at linaro.org Tue Dec 23 08:28:04 2014 From: philip.colmer at linaro.org (Philip Colmer) Date: Tue, 23 Dec 2014 13:28:04 +0000 Subject: [Moin-user] Can't get code colouring to work Message-ID: I've recently set up a test moin 1.9.8 server in preparation for upgrading. Part of the reason for the upgrade is because a user of the current wiki reported that our pygment library was out of date. However, it has become apparent that both the current and test servers are not displaying colouring of syntax. Line numbers are being displayed but no highlighting of the syntax. I've tried looking in various logs to find errors being reported that might help me understand what is going on here but I can't find any errors. I've installed a direct copy of pygment as well as noticing that moin has its own private copy. Any suggestions on what might be wrong or where to look? The sample markup we're testing is: {{{#!highlight python from colors import palette palette.colorize('python') }}} Many thanks. Regards Philip From tw at waldmann-edv.de Tue Dec 23 09:47:24 2014 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 23 Dec 2014 15:47:24 +0100 Subject: [Moin-user] Can't get code colouring to work In-Reply-To: References: Message-ID: <5499807C.4060000@waldmann-edv.de> > However, it has become apparent that both the current and test servers > are not displaying colouring of syntax. Line numbers are being > displayed but no highlighting of the syntax. Sounds like the css is missing. Check the html output for the pygments css and access it manually - does that work? Could be wrong permissions on the css file or maybe you don't serve the css or you have a theme that misses the pygments css or ... From tw at waldmann-edv.de Tue Dec 23 09:51:27 2014 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 23 Dec 2014 15:51:27 +0100 Subject: [Moin-user] Render MoinMoin wiki syntax to HTML without having a wiki deployment In-Reply-To: References: Message-ID: <5499816F.3080109@waldmann-edv.de> On 12/22/2014 02:06 PM, Ciprian Dorin Craciun wrote:> I would like to know (if it is possible) how to render a MoinMoin wiki > file into an HTML file, without having an MoinMoin instance. > (Obviously I do have MoinMoin code installed, but no running instance > configured.) > > I know about `moin export dump`, but from what I understand it > requires (although not a running server), MoinMoin deployment (with > configuration files, data files, etc.) > > What I'm after is something like `rst2html2` which I can fed on stdin > with the "source" and I get on stdout the HTML variant. (I want to > use the MoinMoin "native" syntax, not the RestructuredText.) It's not as easy as you think it is. moin rendering depends on information not only from the markup, but also from configuration, request environment and in some cases even from page/attachment storage. From philip.colmer at linaro.org Tue Dec 23 10:14:44 2014 From: philip.colmer at linaro.org (Philip Colmer) Date: Tue, 23 Dec 2014 15:14:44 +0000 Subject: [Moin-user] Can't get code colouring to work In-Reply-To: <5499807C.4060000@waldmann-edv.de> References: <5499807C.4060000@waldmann-edv.de> Message-ID: Thanks, Thomas. Whoever designed our theme didn't have those elements in common.css. Regards Philip On 23 December 2014 at 14:47, Thomas Waldmann wrote: >> However, it has become apparent that both the current and test servers >> are not displaying colouring of syntax. Line numbers are being >> displayed but no highlighting of the syntax. > > Sounds like the css is missing. Check the html output for the pygments > css and access it manually - does that work? > > Could be wrong permissions on the css file or maybe you don't serve the > css or you have a theme that misses the pygments css or ... > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From sshafiullah at gadventures.com Tue Dec 30 15:58:32 2014 From: sshafiullah at gadventures.com (Shah Shafiullah) Date: Tue, 30 Dec 2014 20:58:32 +0000 Subject: [Moin-user] unable to save changes intermittently Message-ID: <1419973080994.46465@gadventures.com> Hi, I have setup moin version 1.9.7 on a ubuntu 14.04 system with both apache 2.2.22 and nginx 1.6.2-1. Sometimes when I attempt to save a page I have been working on, the browser is taken to the #preview page and the Connection was reset page appears. This happens intermittently and sometimes I am able to save work on the page after waiting for a while (hours or days). The nginx/apache2/uwsgi logs do not seem to register any issues. I have made sure there is no firewall active and that the moin wiki directory has the right permissions and ownership: www-data Any ideas why this might be happening? import sys, os sys.path.insert(0, '/srv/www/moin/pythonenv/lib/python2.7/site-packages/') sys.path.insert(0, '/srv/www/moin/wiki/') # a) Configuration of Python's code search path # If you already have set up the PYTHONPATH environment variable for the # stuff you see below, you don't need to do a1) and a2). # a1) Path of the directory where the MoinMoin code package is located. # Needed if you installed with --prefix=PREFIX or you didn't use setup.py. #sys.path.insert(0, 'PREFIX/lib/python2.3/site-packages') # a2) Path of the directory where wikiconfig.py / farmconfig.py is located. # See wiki/config/... for some sample config files. #sys.path.insert(0, '/path/to/wikiconfigdir') #sys.path.insert(0, '/path/to/farmconfigdir') # b) Configuration of moin's logging # If you have set up MOINLOGGINGCONF environment variable, you don't need this! # You also don't need this if you are happy with the builtin defaults. # See wiki/config/logging/... for some sample config files. #from MoinMoin import log #log.load_config('/path/to/logging_configuration_file') from MoinMoin.web.serving import make_application # Creating the WSGI application # use shared=True to have moin serve the builtin static docs # use shared=False to not have moin serve static docs # use shared='/my/path/to/htdocs' to serve static docs from that path application = make_application(shared=True) Best Regards, Shah -------------- next part -------------- An HTML attachment was scrubbed... URL: