Extension talk:Collection/2012
This page used the LiquidThreads extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Interest in or objection to option disabling use of PediaPress
While I think a vast majority of wikis using the Collections extension want PediaPress integration, it has been pointed out that its integration presents a legal problem for some wikis that would like to utilize the other features of the Collections extension.
I'm curious if there are any objections to or interest in adding a setting allowing a sysadmin to disable PediaPress integration. Also like to know if the developers maintaining this extensions have any objections to this addition or interest in adding it - otherwise I'd be willing to volunteer to help add it (assuming there are no objections). Varnent 00:07, 3 January 2012 (UTC)
- This is very important.
- Please make a version of this extension that can seamlessly turn off the Pedia Press integration. MediaWiki Website User 14:47, 4 January 2012 (UTC)
- Please make a feature request in bugzilla:. siebrand 09:59, 5 January 2012 (UTC)
- Good idea: bugzilla:33536 Varnent 10:43, 5 January 2012 (UTC)
- I have proposed a workaround which consists in commenting out the code which prints "Print with PediaPress" in Special:Book modifying Collection.template.php see the bug above. CristianCantoro (talk) 11:47, 13 March 2012 (UTC)
- This is now fixed starting with Collection extension version 1.6. « Saper // talk » 21:57, 3 May 2012 (UTC)
- I just tried version 1.6 (level d137c89) and while I can turn off the Print On Demand section, I lose the Title Page. 205.254.147.8 15:51, 6 June 2012 (UTC)
- That last reply (about level d137c89) is from me. I don't really want that to be anonymous. TKern (talk) 16:00, 6 June 2012 (UTC)
- I don't think this is related to this change. I don't know anything about the title page generation to check this out. Maybe you should open a new bug for this in bugzilla (https://bugzilla.wikimedia.org) or open a new discussion thread.
- Maybe this got changed in the rendering software (mw-render) and not in the actual extension. « Saper // talk » 12:36, 14 June 2012 (UTC)
- That last reply (about level d137c89) is from me. I don't really want that to be anonymous. TKern (talk) 16:00, 6 June 2012 (UTC)
- I just tried version 1.6 (level d137c89) and while I can turn off the Print On Demand section, I lose the Title Page. 205.254.147.8 15:51, 6 June 2012 (UTC)
- This is now fixed starting with Collection extension version 1.6. « Saper // talk » 21:57, 3 May 2012 (UTC)
- I have proposed a workaround which consists in commenting out the code which prints "Print with PediaPress" in Special:Book modifying Collection.template.php see the bug above. CristianCantoro (talk) 11:47, 13 March 2012 (UTC)
- Good idea: bugzilla:33536 Varnent 10:43, 5 January 2012 (UTC)
kurulum
acaba bir türk kurulumu türkce anlatabilirmi kafa kalmıyo cevirince 149.140.131.124 01:50, 12 January 2012 (UTC)
Render Server IOError
Hi anyone!!
I introduced the Collection extension on my company's wiki last year, today I'm trying to export one book to PDF format but Im getting the next error, that I believe It's because an image file but still can't fix it. Please help me!
An error occured on the render server: RuntimeError: command failed with returncode 256: ['mw-render', '-w', u'rl', '-c', u'/home/pp/cache/67/67c0f2893941d134/collection.zip', '-o', u'/home/pp/cache/67/67c0f2893941d134/output.rl', '--status', u'qserve://localhost:14311/67c0f2893941d134:render-rl', '--template-blacklist', u'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', u'Exclude in print', '--print-template-prefix', u'Print', '--print-template-pattern', u'$1/Print', '--language', u'en'] Last Output: p?oldid=7987' 1% laying out Gestión de cambios en Web editionTraceback (most recent call last): File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1398, in writeImageLink ret = self._fixBrokenImages(img_node, img_path) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1321, in _fixBrokenImages img = PilImage.open(img_path) File "/home/pp/local/lib/python2.7/site-packages/PIL/Image.py", line 1980, in open raise IOError("cannot identify image file") IOError: cannot identify image file 2012-01-18T14:21:15 rlwriter.warning >> image skipped 0% error Gestión de cambios en Web editionremoving '/tmp/tmpJzn9K_' Traceback (most recent call last): File "/home/pp/local/bin/mw-render", line 9, in <module> load_entry_point('mwlib==0.13.0', 'console_scripts', 'mw-render')() File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/render.py", line 211, in main return Main()() File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/render.py", line 176, in __call__ writer(env, output=tmpout, status_callback=self.status, **writer_options) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 2179, in writer r.writeBook(output=output, coverimage=coverimage, status_callback=status_callback) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 478, in writeBook art_elements = self.writeArticle(art) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 809, in writeArticle elements.extend(self.renderMixed(article)) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1088, in renderMixed res = self.write(c) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 333, in write res = m(obj) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 660, in writeSection elements.extend(self.renderMixed(obj)) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1088, in renderMixed res = self.write(c) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 333, in write res = m(obj) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1114, in writeDefinitionList return self.renderChildren(n) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1104, in renderChildren items.extend(self.write(c)) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 333, in write res = m(obj) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1121, in writeDefinitionDescription return self.writeIndented(n) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1125, in writeIndented items = self.renderMixed(n, para_style=text_style(indent_lvl=self.paraIndentLevel, in_table=self.table_nesting)) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1088, in renderMixed res = self.write(c) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 333, in write res = m(obj) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1738, in writeSpan return self.renderInline(n) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1031, in renderInline res = self.write(child) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 333, in write res = m(obj) File "/home/pp/local/lib/python2.7/site-packages/mwlib/rl/rlwriter.py", line 1420, in writeImageLink w, h = self.image_utils.getImageSize(img_node, img_path, max_print_width=max_width, max_print_height=max_height) File "/home/pp/local/lib/python2.7/site-packages/mwlib/writer/imageutils.py", line 39, in getImageSize img = Image.open(img_path) File "/home/pp/local/lib/python2.7/site-packages/PIL/Image.py", line 1980, in open raise IOError("cannot identify image file") IOError: cannot identify image file in function system, file ./bin/nslave.py, line 63
Please help! It happens in 4 different articles, that share some images with other articles which I was allowed to export. 190.144.123.42 14:30, 18 January 2012 (UTC)
Save issues to user and community space issues.
even with LocalSettings set to: $wgGroupPermissions['user']['collectionsaveasuserpage'] = true; $wgGroupPermissions['user']['collectionsaveascommunitypage'] = true;
on MW 1.18
trying to save to the community and user namespace is giving: Unexpected non-MediaWiki exception encountered, of type "UsageException" badtoken: Invalid token
- 0 /www_data/www/includes/api/ApiBase.php(1205): ApiBase->dieUsage('Invalid token', 'badtoken')
- 1 /www_data/www/includes/api/ApiMain.php(590): ApiBase->dieUsageMsg('sessionfailure')
- 2 /www_data/www/includes/api/ApiMain.php(678): ApiMain->setupModule()
- 3 /www_data/www/includes/api/ApiMain.php(340): ApiMain->executeAction()
- 4 /www_data/www/extensions/Collection/Collection.body.php(867): ApiMain->execute()
- 5 /www_data/www/extensions/Collection/Collection.body.php(225): SpecialCollection->saveCollection(Object(Title), false)
- 6 /www_data/www/includes/SpecialPageFactory.php(458): SpecialCollection->execute(NULL)
- 7 /www_data/www/includes/Wiki.php(226): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
- 8 /www_data/www/includes/Wiki.php(626): MediaWiki->performRequest()
- 9 /www_data/www/includes/Wiki.php(533): MediaWiki->main()
- 10 /www_data/www/index.php(57): MediaWiki->run()
- 11 {main} 128.189.126.172 19:39, 18 January 2012 (UTC)
- I have the same error with MW 1.18.0
- Unexpected non-MediaWiki exception encountered, of type "UsageException"
- badtoken: Invalid token
- How to solve ? hollosch 14:27, 25 January 2012 (UTC)
- On MW1.18.2 I have
- $wgGroupPermissions['user']['collectionsaveasuserpage'] = true; $wgGroupPermissions['user']['collectionsaveascommunitypage'] = true;
- But at Special:Book the ability to save is greyed out. (That is the fields of where to save are greyed out). Any thoughts? Maximilianklein (talk) 01:57, 2 May 2012 (UTC)
- Is there a solution for this "greyed out" problem ??? hollosch (talk) 19:47, 31 May 2012 (UTC)
- There is a way which I found. You either change the source to not check for permissions, or
- more simply $wgGroupPermissions['*']['collectionsaveasuserpage'] = true; $wgGroupPermissions['*']['collectionsaveascommunitypage'] = true; Maximilianklein (talk) 17:05, 6 June 2012 (UTC)
- Doesn't work at my installation :-( hollosch (talk) 22:56, 6 June 2012 (UTC)
- Can you tell us who has permissions for "collectionsaveascommunitypage" on your Special:ListGroupRights page? Maximilianklein (talk) 15:22, 18 June 2012 (UTC)
- Doesn't work at my installation :-( hollosch (talk) 22:56, 6 June 2012 (UTC)
- Is there a solution for this "greyed out" problem ??? hollosch (talk) 19:47, 31 May 2012 (UTC)
No Template rendering
Hi there,
when a Page includes a template that template isn' t rendered at all. The area is plainly empty. Is there a way to include template rendering? 193.16.163.244 12:49, 17 February 2012 (UTC)
- Impossible to help without an example oif what you're trying to do. Subfader (talk) 15:14, 17 February 2012 (UTC)
- Sorry for that
- This is a sample template we use:
{{PSBox |bgcolor=#FFF |title=Broadcast Service / Rufbereitschaft/Support|content= * '''Rufbereitschaft/Support:''' [[PS:FAQ]] }}
- The template itself has this content:
<div class="psbox" style="clear:both"><div class="psbox-title"> '''{{{title}}}''' </div> <div class="psbox-content"> {{{content}}} </div></div>
- That's it. I haven't setup Category:Exclude in print at all. 193.16.163.244 16:55, 20 February 2012 (UTC)
- 193.16.163.244 16:56, 20 February 2012 (UTC)
<div class="psbox" style="clear:both"><div class="psbox-title"> '''{{{title}}}''' </div> <div class="psbox-content"> {{{content}}} </div></div>
- Maybe the template is in w:Category:Exclude in print? Helder 11:50, 18 February 2012 (UTC)
Generating math with MathJax
I'm using MathJax to generate all the math on my wiki (so, everything is written with LaTeX code, but it is first rendered with a JavaScript code when the reader loads the page). Would this work with the Collection extension, or would it simply show the un-rendered math code in the PDF? Pia Jensen (Bozack) (talk) 07:46, 23 March 2012 (UTC)
Sidebar Print/export
hallo,
when i goin´ to start the book-function it creates (hook) a new sidebar entry called print/export; this entry is empty; is there a way to disable the entry or to fill it with entries like in wikipedia (export 1 page to pdf, book generation, etc);
best regards 80.120.74.178 11:58, 25 April 2012 (UTC)
Magic Words are not rendering?
When I save to pdf a document that has magic words in it, the magic words do not render. For instance, on several documents i use 03/27/2025 - 7509196 in several documents so that a printed copy will have this information on it. Any idea why or if there is something i can do to fix it? I am using Mediawiki 1.17/ Collection 1.4
--Joleenshook (talk) 00:49, 17 May 2012 (UTC)
- or rather .. I forgot to preformat. Joleenshook (talk) 01:02, 17 May 2012 (UTC)
{{REVISIONMONTH}}/{{REVISIONDAY}}/{{REVISIONYEAR}} - {{REVISIONID}}
How do I add video?
Hi all ! How to add video, for example, with youtube on this board? It is interesting to see the views of participants in the forum ))). 31.134.228.216 00:12, 2 June 2012 (UTC)
- Use the search to find extensions! Subfader (talk) 07:23, 15 June 2012 (UTC)
- I don't think that you can add a video to e-books made with this extension, since they are PDFs. A PDF file is basically a printed copy of a document, except on the computer. Инкуиситор Саша Ехренстеин аус дем Стурмкриг Сектор (Talk) (Contributions) 06:39, 17 June 2012 (UTC)
Организация торжеств: Новый Год, свадьба, детский праздник, юбилей и др. Event-агентство Family Works.
Ищете профессиональные услуги по организации праздников? Значит наше предложение - это то, что Вам нужно! Ивент-агентство Family Works оказывает полный комплекс услуг в Москве. Организация и проведение корпоративов, свадеб, детских праздников и дней рождений, юбилеев, Нового Года и т.д. Мы сделаем Ваш праздник веселым, интересным и запоминающимся! Фото и видео праздников Вы можете посмотреть на нашем сайте. 85.194.84.197 07:19, 7 June 2012 (UTC)
Too much noise in the mw-qserve log
The noise to content ratio in the mw-serve log is too high. Is there any way to suppress these messages without re-writting the code? If code modification is the only way, can you point me to the files that contain the processing for these messages?
> <<36 127.0.0.1:50963>: dispatching: ["qpull", {"channels": ["makezip", "render"]}]> > <<33 127.0.0.1:50960>: dispatching: ["qpull", {"channels": ["makezip", "render"]}]> > <<35 127.0.0.1:50962>: dispatching: ["qpull", {"channels": ["makezip", "render"]}]> > <<34 127.0.0.1:50961>: dispatching: ["qpull", {"channels": ["makezip", "render"]}]> > <<2 127.0.0.1:50919>: dispatching: ["qpull", {"channels": ["post"]}]> > <<23 127.0.0.1:50940>: dispatching: ["qpull", {"channels": ["post"]}]>
Problem with multiple webservers acting as a single wiki communicating with rendering server.
We have two webservers that are front-ended by an F5 load-balancing appliance. These servers are sharing ALL files in the mediawiki instance (LocalSettings.php down to the latest uploaded file). The database is on a third server that is hidden from the public view and mwlib is installed on a fourth server also hidden from public view.
Our test environment has all three of these functions (webserver, database and mwlib) consolidated onto a single server and the Collection extension for mediawiki works okay.
But for our complex production environment, the collection of articles works and submits to the mwlib server, but the rendered PDF file is not retrievable. The TCP traffic in the mwlib server seems to indicate that it is trying to send data back to the F5 address for the mediawiki site instead of to the individual webserver that submitted the request for rendering.
Are there any configuration changes I can make to Collection or MWLIB to make the transfer of data stay between the individual webserver and the mwlib server? TKern (talk) 19:38, 14 June 2012 (UTC)
Missing Title Page
When I first installed Collection in our test server, it was version 1.5 and I could get a nice Title Page. When I upgraded to version 1.6 to be able to suppress the Print-On-Demand section, I lost the Title Page.
Other wikis (wikipedia in particular) not only have Title Pages but also Table-Of-Contents for their PDF books,
Are there some special configuration variables to enable Title Pages and Table-Of-Contents pages in version 1.6? TKern (talk) 20:35, 14 June 2012 (UTC)
i would like to change the file name created when I click "Download as PDF"
Right now, I always get a file: collection.pdf I want the name to be something like: wiki-'title'.pdf 70.42.157.5 14:32, 16 June 2012 (UTC)
- That is a known issue, but unfortunately no one solved it yet. Helder 19:56, 16 June 2012 (UTC)
RESOLVED
I just installed this extension and had to uninstall it because the POD feature cannot actually be disabled. It claims to be disabled, yet when you click "Preview with PediaPress," POD is fully enabled.
This is absolutely unacceptable for wikis with unofficial derivative work, such as Sturmkrieg or The Vault (I was going to recommend it to them, as a way for users to make strategy guides for the Fallout games.) that are required to be completely noncommercial.
If you don't want to disable POD, then please just say so. Don't use under the table methods to try to sneak in an extra buck.
I am really hoping that this was just an oversight in the development, and that you will fully remove the POD feature in the POD disabled setting. Инкуиситор Саша Ехренстеин аус дем Стурмкриг Сектор (Talk) (Contributions) 15:38, 17 June 2012 (UTC)
- The above is wrong. With current versions of the extension deactivating the POD feature works just as expected. Remember that this company with no means is forced to provide this extension publicly at all and remember that they are earning money with the POD feature. If I were you, instead of griping about I would be grateful that they offer this great tool. 88.130.119.82 17:52, 18 June 2012 (UTC)
- I realize it was a little over the top to react that way. It was a big surprise though once I implemented it with it looking like the commercial aspect was removed when by chance I decided to test it, and it wasn't. Инкуиситор Саша Ехренстеин аус дем Стурмкриг Сектор (Talk) (Contributions) 04:24, 26 June 2012 (UTC)
Dreaded error. API not recognized ?
I am using mediawiki 1.19.1 and I have the dreaded error below that so many others seem to have:
An error occured on the render server: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/home/pp/cache/16/168a3e493b2c119c/collection.zip', '-m', '/home/pp/cache/16/168a3e493b2c119c/metabook.json', '--status', 'qserve://localhost:14311/168a3e493b2c119c:makezip', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--print-template-pattern', '$1/Print'] Last Output: 2012-08-03T07:37:42 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% creating nuwiki in u'/home/pp/cache/16/168a3e493b2c119c/tmpBPZnWd/nuwiki' removing tmpdir u'/home/pp/cache/16/168a3e493b2c119c/tmpBPZnWd' memory used: res=16.4 virt=123.1 1% error Traceback (most recent call last): File "/home/pp/local/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.13.10', 'console_scripts', 'mw-zip')() File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/make_nuwiki.py", line 152, in make_nuwiki assert x.wikiident in id2wiki, "no wikiconf for %r (%s)" % (x.wikiident, x) AssertionError: no wikiconf for None (<article {'_env': <mwlib.wiki.Environment object at 0x12027d0>, 'title': u'Ableton:Quantizing warped clips', 'url': u'http://en.wikiaudio.org/Ableton:Quantizing_warped_clips', 'timestamp': u'1329955238', 'currentVersion': 1, 'content_type': u'text/x-wiki', 'revision': u'34948', 'type': 'article', 'latest': u'34948'}>) in function system, file ./bin/nslave.py, line 64 in function qaddw, file /home/pp/local/lib/python2.7/site-packages/qs/slave.py, line 66
I made sure $wgEnableAPI = true;
My wiki is viewable by everyone and editable by users who are logged in. I created a user account called "collection" and then added the following to localsettings:
$wgCollectionMWServeCredentials = "collection:Password";
I logged in with the credentials to verify them & they worked. I then tried to create a book .... and I got the error above. I am assuming pediapress is not recognizing the API but I don't know what to do. Any help is appreciated. 24.130.249.87 07:45, 3 August 2012 (UTC)
portrait/ landscape
I get an error if I export tables which have many columns. Text isn't displayed correctly in the PDF. Text is displayed on top of each other, because the margins left and right of the table inside the PDF are static.
I use MW 1.17 and Collection 1.4. Is it possible to fix this without updating? wikipedia.org usses MW 1.20 and Collection 1.6 and doesn't have this problem.
Thank you very much, Max 2A00:1830:A001:F002:80:0:0:A001 09:58, 14 August 2012 (UTC)
File not Found Downloading PDF - SOLVED !!
I upgraded mw from 1.17 to 1.19 and Collection Extension from svn repository from release 85082 to the latest one 115663. Before the upgrade all eas ok, but now it stop working. The system renders correctly the document, but when I try to download I got the File Not Found message and in the mwlibcahce dir I can found the file output.rl that if renamed in .pdf is exactly the pdf version of my document. Any Idea ?
Thanks in advance. FrancoR (talk) 10:37, 14 August 2012 (UTC)
- I have also the same problem,
- is there a way to solve it? 85.232.7.145 12:16, 27 August 2012 (UTC)
- Unfortunately no, I'm searching again for a solution. FrancoR (talk) 14:20, 31 August 2012 (UTC)
- There must be an error in the download function. I have the same problem. I guess its something wrong with
- 85.232.7.145 08:41, 19 September 2012 (UTC)
if ( isset( $r['url'] ) ) { $req = MWHttpRequest::factory( $r['url'] ); $req->setCallback( array( $this, 'writeToTempFile' ) ); if ( $req->execute()->isOK() ) { $info = true; }
- It's quite complicated. I tried to debug it and I found some header errors ecc. Finally I solved the problem.. which was not really a problem. I performed the upgrade of MW to 1.19.1 and related Collection files using git, but I didn't see anywhere what was the min mwlib requirements. In my wiki I have 0.12. So, I tried to install on a fresh server the new mwlib ver 0.14 and making my MW Collection configured to use that server and all went ok, the Collection starts working again. I got the dubt because I found a note (see note 1 in http://mwlib.readthedocs.org/en/latest/renderserver.html) that explain that starting from mwlib 0.13, the mw-server was no more available, and new render server requires now 4 different processes. Due to this I had a suspect than more things changed since 0.13 and the issue could be due to that.
- Look at http://mwlib.readthedocs.org/en/latest/index.html for install mwlib 0.14, and to configure new mwlib processes you can follow this https://groups.google.com/forum/#!msg/mwlib/a6r0d2knW2E/4Pv2cuDCVZAJ, I used it and works very well for me.
- bye FrancoR (talk) 12:01, 19 September 2012 (UTC)
- Thanks a lot. 85.232.7.145 15:09, 19 September 2012 (UTC)
- Unfortunately no, I'm searching again for a solution. FrancoR (talk) 14:20, 31 August 2012 (UTC)
- On my side, I've been able to solve the problem :
- removing the --url part of the nslave.py command inside the script made by Michael Habacher
- https://groups.google.com/forum/?fromgroups=#!topic/mwlib/a6r0d2knW2E Ctremblay (talk) 02:08, 21 December 2012 (UTC)
Render server error
I have seen some discussions around this error before, but after following the steps provided for other instances, I am still stuck.
Here is the error I am getting:
An error occurred on the render server: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/home/pp/cache/3b/3b3b53a4cec63941/collection.zip', '-m', '/home/pp/cache/3b/3b3b53a4cec63941/metabook.json', '--status', 'qserve://localhost:14311/3b3b53a4cec63941:makezip', '--config', 'http://172.25.20.202/wiki', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--print-template-pattern', '$1/Print', '--username', 'Rsmith', '--password', '{OMITTED}', '--domain', 'MMS'] Last Output: 2012-12-26T22:06:27 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% creating nuwiki in u'/home/pp/cache/3b/3b3b53a4cec63941/tmp3sdPZJ/nuwiki' Traceback (most recent call last): File "/home/pp/local/lib/python2.7/site-packages/gevent/greenlet.py", line 327, in run result = self._run(*self.args, **self.kwargs) File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/make_nuwiki.py", line 118, in run api = self.get_api() File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/make_nuwiki.py", line 28, in get_api api.login(self.username, self.password, self.domain) File "/home/pp/local/lib/python2.7/site-packages/mwlib/net/sapi.py", line 183, in login res = self._post(**args) File "/home/pp/local/lib/python2.7/site-packages/mwlib/net/sapi.py", line 106, in _post res = loads(self._fetch(req)) File "/home/pp/local/lib/python2.7/site-packages/mwlib/net/sapi.py", line 72, in _fetch f = self.opener.open(url) File "/home/pp/local/lib/python2.7/urllib2.py", line 394, in open response = self._open(req, data) File "/home/pp/local/lib/python2.7/urllib2.py", line 412, in _open '_open', req) File "/home/pp/local/lib/python2.7/urllib2.py", line 372, in _call_chain result = func(*args) File "/home/pp/local/lib/python2.7/urllib2.py", line 1199, in http_open return self.do_open(httplib.HTTPConnection, req) File "/home/pp/local/lib/python2.7/urllib2.py", line 1174, in do_open raise URLError(err) URLError: <urlopen error [Errno 110] Connection timed out> <Greenlet at 0x2d814b0: <bound method start_fetcher.run of <mwlib.apps.make_nuwiki.start_fetcher object at 0x2d96790>>> failed with URLError removing tmpdir u'/home/pp/cache/3b/3b3b53a4cec63941/tmp3sdPZJ' memory used: res=16.8 virt=131.2 1% error Traceback (most recent call last): File "/home/pp/local/bin/mw-zip", line 6, in <module> main() File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/make_nuwiki.py", line 193, in make_nuwiki pool.join(raise_error=True) File "/home/pp/local/lib/python2.7/site-packages/gevent/pool.py", line 99, in join raise greenlet.exception urllib2.URLError: <urlopen error [Errno 110] Connection timed out> in function system, file ./bin/nslave.py, line 64 in function qaddw, file /home/pp/local/lib/python2.7/site-packages/qs/slave.py, line 66
And here are the configuration options I have setup in LocalSetting.php:
(I have starred out my password for security, but suffice to say it is there and it is correct)
require_once("$IP/extensions/Collection/Collection.php");
$wgCollectionMWServeURL = ("http://tools.pediapress.com/mw-serve/");
$wgCollectionMWServeCredentials = "Rsmith:********";
$wgCollectionFormats = array( 'rl' => 'PDF', 'odf' => 'ODT', );
$wgCollectionArticleNamespaces = array( NS_MAIN, NS_PROJECT, );
(I have the API enabled on an earlier line as well)
My only thought up to this point is that the user "RSmith" that Collection is trying to use is setup as a "User" in my MediaWiki instance, not an "Administrator" or "Bot", Does that make a difference? 216.253.230.133 22:52, 26 December 2012 (UTC)