Extension talk:Collection/2013
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. |
Reload Collection
is there any way to save an ordered list of titles (as a user book or download such list to text file) and load it a few months later? as i know the book is removed after session is over.i need it to last for a few months. 89.67.185.104 10:01, 14 January 2013 (UTC)
- The format is simple WikiMarkup. You can either save your book in your personal space or copy the markup to a local device. An explanation can be found in the help pages of the collection extension.
- Here is a sample from http://en.wikipedia.org/wiki/Book:Internet:
- Ckepper (talk) 12:38, 14 January 2013 (UTC)
{{saved_book |title=Internet |subtitle= }} == Internet == ;Overview :[[Internet]] :[[History of the Internet]] :[[World Wide Web]] :[[History of the World Wide Web]] ...
Render server error - Collection - mwlib
I don't found a solution to my Render server error:
This is my error in the MediaWiki Collection windows:
An error occurred on the render server: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/data1/mwcache/81/81d87747ac2c5510/collection.zip', '-m', '/data1/mwcache/81/81d87747ac2c5510/metabook.json', '--status', 'qserve://localhost:14311/81d87747ac2c5510:makezip', '--config', 'http://wiki.server.local/wiki', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', 'Exclude in print', '--print-template-prefix', 'Print', '--print-template-pattern', '$1/Print', '--username', 'user1', '--password', '{OMITTED}'] Last Output: 3-03-06T16:33:59 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% /usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/metabook.py:225: DeprecationWarning: deprecated call get('mw_license_url') if l.get('mw_license_url'): /usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/metabook.py:240: DeprecationWarning: deprecated call get('mw_rights_text') if l.get('mw_rights_text'): /usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/metabook.py:242: DeprecationWarning: deprecated call get('mw_rights_page') if l.get('mw_rights_page'): /usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/metabook.py:244: DeprecationWarning: deprecated call get('mw_rights_url') if l.get('mw_rights_url'): Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/gevent-0.13.8-py2.6-linux-x86_64.egg/gevent/greenlet.py", line 390, in run result = self._run(*self.args, **self.kwargs) File "/usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/apps/make_nuwiki.py", line 118, in run api = self.get_api() File "/usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/apps/make_nuwiki.py", line 28, in get_api api.login(self.username, self.password, self.domain) File "/usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/net/sapi.py", line 183, in login res = self._post(**args) File "/usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/net/sapi.py", line 106, in _post res = loads(self._fetch(req)) File "/usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/net/sapi.py", line 72, in _fetch f = self.opener.open(url) File "/usr/lib64/python2.6/urllib2.py", line 391, in open response = self._open(req, data) File "/usr/lib64/python2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open raise URLError(err) URLError: <urlopen error [Errno 3] name does not exist> <Greenlet at 0x1942550: <bound method start_fetcher.run of <mwlib.apps.make_nuwiki.start_fetcher object at 0x1960910>>> failed with URLError creating nuwiki in u'/data1/mwcache/81/81d87747ac2c5510/tmpwhPxWD/nuwiki' removing tmpdir u'/data1/mwcache/81/81d87747ac2c5510/tmpwhPxWD' memory used: res=17.1 virt=237.0 1% error Traceback (most recent call last): File "/usr/bin/mw-zip", line 5, in <module> pkg_resources.run_script('mwlib==0.14.3', 'mw-zip') File "/usr/lib/python2.6/site-packages/distribute-0.6.35-py2.6.egg/pkg_resources.py", line 505, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.6/site-packages/distribute-0.6.35-py2.6.egg/pkg_resources.py", line 1245, in run_script execfile(script_filename, namespace, namespace) File "/usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/EGG-INFO/scripts/mw-zip", line 6, in <module> main() File "/usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/mwlib/apps/make_nuwiki.py", line 193, in make_nuwiki pool.join(raise_error=True) File "/usr/lib/python2.6/site-packages/gevent-0.13.8-py2.6-linux-x86_64.egg/gevent/pool.py", line 101, in join raise greenlet.exception urllib2.URLError: <urlopen error [Errno 3] name does not exist> in function system, file /usr/lib/python2.6/site-packages/mwlib-0.14.3-py2.6-linux-x86_64.egg/EGG-INFO/scripts/nslave.py, line 64 in function qaddw, file /usr/lib/python2.6/site-packages/qs/slave.py, line 66
Installation:
OS: CentOS ver.6.3 64bit
Wiki: MediaWiki ver.1.20.2
Mediawiki Extension: Collection ver.1.10
Mwlib: mwlib: ver.0.14.3
mwlib.rl: ver.0.14.1
mwlib.ext: ver.0.12.4
I use the following installation manual http://mwlib.readthedocs.org/en/latest/installation.html.
I make the following local tests on the server:
Testing Code: mw-zip -c :en -o test.zip Acdc Number
Result:
creating nuwiki in u'tmpBPUvNY/nuwiki'
2013-03-06T16:06:19 mwlib.utils.info >> fetching 'http://en.wikipedia.org/w/index.php?title=Help:Books
/License&action=raw&templates=expand'
removing tmpdir u'tmpBPUvNY'
memory used: res=24.0 virt=239.2
Testing Code: mw-render -c test.zip -o test.pdf -w rl
Result:
MISSING FONTS: 'Nazli','Arundina Serif','Sarai','Kedage'
reading /tmp/tmp-mw-rendergU9zQV/tmp0ENG39/revisions-1.txt
set locale to 'en_ZW.UTF-8' based on the language 'en'
2013-03-06T16:07:55 rlwriter.info >> rendering: 'http://en.wikipedia.org/w/index.php?title=Acdc'
2013-03-06T16:07:56 rlwriter.warning >> invalid image url (obj.target: u'File:ACDC - Toronto November 7,2008.JPG')
2013-03-06T16:07:59 rlwriter.info >> rendering: 'http://en.wikipedia.org/w/index.php?title=Number'
2013-03-06T16:08:01 rlwriter.info >> rendering: u'License'
2013-03-06T16:08:01 rlwriter.warning >> invalid image url (obj.target: u'File:Cc.logo.circle.svg')
2013-03-06T16:08:01 rlwriter.warning >> invalid image url (obj.target: u'Image:Ambox warning yellow.svg')
2013-03-06T16:08:01 rlwriter.warning >> invalid image url (obj.target: u'Image:Ambox warning yellow.svg')
2013-03-06T16:08:01 rlwriter.info >> start rendering: u'/etc/rc.d/init.d/tmpPL_CQt.pdf'
2013-03-06T16:08:02 rlwriter.info >> memory usage after laying out: 329.109375
2013-03-06T16:08:05 rlwriter.warning >> TOC not rendered. Probably pdftk is not properly installed. returncode: 1
2013-03-06T16:08:05 rlwriter.info >> memory usage after reportlab rendering: 336.98828125
2013-03-06T16:08:05 rlwriter.info >> RENDERING OK
removing '/tmp/tmp-mw-rendergU9zQV/tmp0ENG39'
After this tests i open the generate PDF without problem.
Pharao (talk) 16:10, 6 March 2013 (UTC)
- Hi,
- I know this thread is quite old but encountered this problem and none of the suggested fixes worked for me. Just in case anyone else has the same issue still, I thought I'd post my solution.
- I'm running a private render server on the same server as our Wiki.
- CentOS 6.5 x64
- MediaWiki 1.22.6
- PHP 5.3.3
- MySQL 5.1.73
- Collection Version 1.6.1
- The first step is to ensure SELINUX is disabled. If it was not, the curl_exec($ch) didn't work for me (and I couldn't figure out how to make it work with SELinux).
- The second step is to edit
$IP/extensions/Collection/Collection.body.php</pre> In the function <pre>static function mwServeCommand( $command, $args ) {
- Replace
$serveURL = $wgCollectionMWServeURL;</pre> with <pre>$serveURL = 'myservername:8899/';
- For me, this got rid of the "RuntimeError: command failed with returncode 256" error as it seems that, regardless of what is set in LocalSettings.php, $wgCollectionMWServeURL was being set to pediapress. However, I was then left with the "The POST request to server:8899/ failed ($2)" error. I fixed this by replacing
$response = Http::post($serveURL, array('postData' => $args));</pre> with <pre>$boundary = '--myboundary-bps'; $retval= ''; foreach($args as $key => $value){ $retval .= "--$boundary\nContent-Disposition: form-data; name=\"$key\"\n\n$value\n"; } $retval .= "--$boundary--"; $body = $retval; $ch = curl_init(); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: multipart/form-data; boundary=$boundary")); curl_setopt($ch, CURLOPT_URL, $serveURL); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $body); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true ); $response = curl_exec($ch);
- I got the code from this site and tweaked it
- http://scraperblog.blogspot.co.uk/2013/07/php-curl-multipart-form-posting.html WessexOne (talk) 08:50, 2 June 2014 (UTC)
Post request to pediapress url failed
I've recently setup a wiki using collection and the pediapress public render until I can setup a private one. Everything was fine until this morning when I started getting The POST request to http://tools.pediapress.com/mw-serve/ failed ($2). Can anyone let me know what's happening? 76.104.85.22 23:05, 23 March 2013 (UTC)
- Hi I have the same problem. My wiki has 350 pages and when I reduce them to 250 everything works fine :(
- Any solution? 194.209.10.169 09:21, 12 July 2013 (UTC)
- I'm also having this issue. What OS are you running it on. Mine is running on HP-UX 11.31. 63.66.69.6 15:39, 21 May 2014 (UTC)
Hide in print broken
See this user's page: http://en.wikipedia.org/wiki/User:Unjedai/Hide_in_print_test
Trying to download as a PDF shows that the hide templates aren't working. 72.194.218.162 10:22, 25 March 2013 (UTC)
- This seems related to bugzilla:45861#c12. Helder 10:12, 26 March 2013 (UTC)
- I left a comment here. he!ko (talk) 10:22, 26 March 2013 (UTC)
- And I left another one: https://en.wikipedia.org/wiki/Template_talk:Hide_in_print#Possible_Fix Volker.haas (talk) 15:10, 4 July 2013 (UTC)
Google Summer of Code project
Hi there! I'm Molly, or GorillaWarfare on the WMF projects. I'm hoping to participate in Summer of Code 2013, and I have a number of ideas for projects that would involve improving this extension. I've put some ideas on User:GorillaWarfare/GSoC, and was hoping that some of you who are more involved in developing this extension could give me some feedback on my ideas or suggest new ones. If you think any of these would be more useful than others, or if any of them have any issues that you can think of, I'd love to know. Thanks so much! GorillaWarfare (talk) 18:31, 5 April 2013 (UTC)
Lost PediaPress tracker issues/bugs
I discovered today that the PediaPress tracker was closed a year ago and its content lost. The issues I knew are still valid; probably they all still are. For now I'll just add here a list of those I found; if you find some that look still valid to you, please copy them to bugzilla.
- Active Tickets
- #409 (Provide statistics about how many books/PDFs have been created/ordered)
- #839 (Save and load book from text files)
- #374 (If only some articles of a category are added to the collection, show a warning)
- #383 (Updating of title/subtitle not working 100% reliably (?))
- #446 (automatically insert title in <input>s for saved books)
- #596 (Report stats of missing images on rendered page)
- #629 (Protect all requests that modify the session against CSRF)
- #674 (Suggestions should use the wikitext w/ expanded templates)
- #705 (Individual articles should be renamable)
- #707 (Add ids for more boxes at Special:Book)
- #725 (Don't show book creator box on saved book pages)
- #804 (Update book creator to handle new {{saved book}} parameters)
- #945 (Show PDF size upon rendering)
- #951 (only add selected paragraphs of an article)
- #356 (Use the contents of Mediawiki:Article instead of "Article")
- #268 (PDFs should be uploaded to the wiki)
- #337 (Graceful fallback for non-js clients)
- #684 (Edit display title on Special:Book page)
- #355 (Subpages shouldn't be prepended with the name of the book)
- #408 (Allow cross-wiki article collection)
- #685 (Allow saved books to be loaded with the revisions the articles had when the book was stored)
- #719 ('Load book' option is gone) Nemo 11:14, 12 April 2013 (UTC)
- I noticed a little while ago that all of the links to the tracker were redirected to the PediaPress main website. Have you asked them about the bugtracker, or do you otherwise know why it's gone now?
- I'll take a look at the bugs above. GorillaWarfare (talk) 11:57, 12 April 2013 (UTC)
- Yes, I asked. Nemo 14:05, 12 April 2013 (UTC)
- Have you managed to give a look there? Aubrey is also interested in making a list of current Wikisource books export problems.
- Their reply, FWIW, was that they are a small company and don't have resources for keeping the old tracker around. Of course they have their own priorities, they have to survive. I think they may be using GitHub (too) now, but experience teaches that we must track the problems we care about in our own bugzilla. Nemo 07:36, 9 September 2013 (UTC)
- To make it clear, this is the most complete and up to date list of bugs: http://web.archive.org/web/20111201152942/http://code.pediapress.com/wiki/report/1 Nemo 11:07, 24 April 2014 (UTC)
- I'm proposing a bug triage at etherpad:BugTriage-Collection, let's see if someone helps me. Nemo 13:33, 24 April 2014 (UTC)
Instant Error message
Hi there,
when I start the render server on the same machine as the Wiki, the Collection Extension works just fine and I get proper PDF files. But because our Wiki is just for the intranet use, the server is very small and if someone tries to generate a large book, the Wiki is very slow while the PDF is being fetched and rendered. Because of that I wanted to render the files on an external server and created a little Ubuntu Server just for that. So I installed everything and changed the server in my LocalSettings.php. After that I wanted to generate a little book of two pages and clicked on Save as PDF. After I clicked on Save as PDF, I instantly got this error message:
Auf dem Render-Server ist ein Fehler aufgetreten: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/rndrcache/9e/9e0038138208fd5d/collection.zip', '-m', '/rndrcache/9e/9e0038138208fd5d/metabook.json', '--status', 'qserve://localhost:14311/9e0038138208fd5d:makezip', '--config', 'http://vmlxwiki2/wiki', '--template-blacklist', 'MediaWiki:PDF Template Blacklist', '--template-exclusion-category', u'Vom Druck ausschlie\xdfen', '--print-template-prefix', 'Drucken', '--print-template-pattern', '$1/Druck', '--username', 'Uploaduser', '--password', '{OMITTED}', '--domain', 'local'] Last Output: 2013-06-11T12:13:14 mwlib.options.warn >> Both --print-template-pattern and --print-template-prefix (deprecated) specified. Using --print-template-pattern only. 1% Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-i686.egg/gevent/greenlet.py", line 390, in run result = self._run(*self.args, **self.kwargs) File "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 118, in run api = self.get_api() File "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 28, in get_api api.login(self.username, self.password, self.domain) File "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/net/sapi.py", line 186, in login res = self._post(**args) File "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/net/sapi.py", line 106, in _post res = loads(self._fetch(req)) File "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/net/sapi.py", line 72, in _fetch f = self.opener.open(url) File "/usr/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open raise URLError(err) URLError: <urlopen error [Errno -3] Temporary failure in name resolution> <Greenlet at 0x95cdf2c: <bound method start_fetcher.run of <mwlib.apps.make_nuwiki.start_fetcher object at 0x962c8ec>>> failed with URLError creating nuwiki in u'/rndrcache/9e/9e0038138208fd5d/tmpnJOBQ1/nuwiki' removing tmpdir u'/rndrcache/9e/9e0038138208fd5d/tmpnJOBQ1' memory used: res=12.2 virt=21.1 1% error Traceback (most recent call last): File "/usr/local/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.15.8', 'console_scripts', 'mw-zip')() File "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 193, in make_nuwiki pool.join(raise_error=True) File "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-i686.egg/gevent/pool.py", line 101, in join raise greenlet.exception urllib2.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> in function system, file /usr/local/lib/python2.7/dist-packages/mwlib-0.15.8-py2.7-linux-i686.egg/mwlib/nslave.py, line 64 in function qaddw, file /usr/local/lib/python2.7/dist-packages/qserve-0.2.8-py2.7.egg/qs/slave.py, line 66
Can someone tell me what I did wrong this time? I did everything just as the first time, with the only difference, that the render server is a seperate machine now.
Any help would be appreciated. 178.15.192.35 10:23, 11 June 2013 (UTC)
Collection Extension Compatibility
Seeking tech support for the Collection extension. Can provide copy of most up to date Foobar LocalSettings for diagnostic review. Extension does partial jobs but limited functionality. No book creation, limited PDF creation, no saved book reinstall, no or limited images, no or limited tables, page overlap after/before new article, apparently incompatible with certain other extensions and or variables. Configuration suggestions also welcomed. Habatchii (talk) 06:38, 29 June 2013 (UTC)
Does not work with a Windows system
For some bizarre reason the designers of this potentially very useful extension wish to exclude as many people as possible from using it - mwlib is not supported on Windows so the entire collection is just so much junk on any intranet wiki. One guy got it working, but could not be bothered to tell anyone how. 81.171.231.132 11:20, 12 July 2013 (UTC)
- I understand the frustration but "as many people as possible" is nonsense, just look at the stats for server OS. Nemo 11:01, 14 July 2013 (UTC)
- I also understand your frustration but it is possible to set up your own render server in a Windows enviroment, on Ubuntu running in VirtualBox. Because it can be confussing and in the end I did not know why it worked I took the time set it up multiple times and to document this on Setup a render server on Ubuntu 12.04 LTS. Starting from scratch you should be able to get a render server up and running in a couple of hours. Regards. Jongfeli (talk) 16:26, 20 August 2013 (UTC)
1% or 0% error ??
I have recently moved our companies wiki to Windows server 2008.
I needed to stay at MW 1.18.4 for extension reasons.
When I try the Collection version 1.5 I get a 0% processing and I never get another error.
When I try Collection version 1.6.1 I get a 1% processing and I never get another error.
This setting worked in the past (on the old server):
$wgScriptPath = "/DevelopProducts";
the mw-lib is generating PDFs fine through command line.
To help
2. Collection USER
Then I created wiki user: "Collect" pass: "ColPassword". User works OK.
3. Collection Permissions
Finally I added:
- Privileges - IF 'Private' Wiki
$wgGroupPermissions['user']['collectionsaveasuserpage'] = true; $wgGroupPermissions['autoconfirmed']['collectionsaveascommunitypage'] = true; $wgCollectionMWServeCredentials = "Collect:ColPassword"; 2001:690:2200:C401:0:0:0:133 17:12, 12 September 2013 (UTC)
Warning about limitations
The page should contains a warning about limitations : Windows is only supported if using the pediapress server, on a public MediaWiki server. Local renderer for local wiki is only supported with Linux. 89.91.69.217 11:46, 13 September 2013 (UTC)
- The question is not if Windows is supported or not but if you are able to or want to use the public render server of Pediapress? And yes, if you leave the extension setup in the default configuration your documents will get rendered by Pediapress (if your wiki can be accessed by Pediapress). Is that what you mean?
- If you want to run your own render server the best way to go is Linux. I tried to figure out how to do it on Windows but on Linux it is a lot easier and it works like a charm. See Setup_a_render_server_on_Ubuntu_12.04_LTS for details. Regards. Jongfeli (talk) 14:12, 13 September 2013 (UTC)
own Render Server works in console - in Extension not (VirtualBox)
Hey,
Im very new in virtualbox and mwlib, i spend a few hours, solved a lot of issues, but one thing i cant :( :
On my host (Win7) there is a mediawiki running on apache.
I run a mwlib render server under Ubuntu 10.04 in Virtualbox.
They can can connect bidirectional when i set "Host only adapter". The rendering is beatiful on ubuntu console, but when i try it direct in mediawiki there come an error : "<ur lopen error [Errno 67] request timed out>".
When i add a second adapter, this time "nat", the rendering in console works again.
In mediawiki direct there is:
"HTT P Error 407: Proxy Authorization Required in function system".
So i tried to set http_proxy and added Aquire::htt :.... in /etc/apt/apt.conf - it changed nothing. Oh, sorry, it does: rendering in console doenst work anymore :D
I think i dont need any proxy between host and guest.
So here my questions:
1. Why says NAT "Proxy Authorization Required? i dont want in internet :D 2. Do i need NAT or should Host only be enough? 3. In this "package" there is a webserver (nslave) - if i have only 1 adapter, this hast to be NAT, in other case i cant start him - error : network unreachable. So i started it, changed the adapter - this isnst the best solution, is it ^^? With both adapter i can start him.
Sry for the questions, like i said, im very new in such "virtual network things".
Would be verys appreciated if someone could help me out here,
Regards
Here are the full error (without NAT)
Auf dem Render-Server ist ein Fehler aufgetreten: RuntimeError: RuntimeError: command failed with returncode 256: ['mw-zip', '-o', '/mwcache/7b/7b776b1e4eaa12ff/collection.zip', '-m', '/mwcache/7b/7b776b1e4eaa12ff/metabook.json', '--status', 'qserve://localhost:14311/7b776b1e4eaa12ff:makezip', '--config', 'http://KEW3Prakt-Z420/mediawiki', '--username', 'tke2', '--password', '{OMITTED}'] Last Output: 1% /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:225: DeprecationWarning: deprecated call get('mw_license_url') if l.get('mw_license_url'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:240: DeprecationWarning: deprecated call get('mw_rights_text') if l.get('mw_rights_text'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:242: DeprecationWarning: deprecated call get('mw_rights_page') if l.get('mw_rights_page'): /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/metabook.py:244: DeprecationWarning: deprecated call get('mw_rights_url') if l.get('mw_rights_url'): Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/gevent-0.13.8-py2.6-linux-i686.egg/gevent/greenlet.py", line 390, in run result = self._run(*self.args, **self.kwargs) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 114, in run api = self.get_api() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 28, in get_api api.login(self.username, self.password, self.domain) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 186, in login res = self._post(**args) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 106, in _post res = loads(self._fetch(req)) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/net/sapi.py", line 72, in _fetch f = self.opener.open(url) File "/usr/lib/python2.6/urllib2.py", line 391, in open response = self._open(req, data) File "/usr/lib/python2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 1172, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.6/urllib2.py", line 1147, in do_open raise URLError(err) URLError: <urlopen error [Errno 67] request timed out> <Greenlet at 0x890c8ec: <bound method start_fetcher.run of <mwlib.apps.make_nuwiki.start_fetcher object at 0x8938dcc>>> failed with URLError creating nuwiki in u'/mwcache/7b/7b776b1e4eaa12ff/tmpczXWtU/nuwiki' removing tmpdir u'/mwcache/7b/7b776b1e4eaa12ff/tmpczXWtU' memory used: res=11.6 virt=25.2 1% error Traceback (most recent call last): File "/usr/local/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.15.11', 'console_scripts', 'mw-zip')() File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 155, in main make_zip(output, options, env.metabook, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/buildzip.py", line 50, in make_zip make_nuwiki(fsdir, metabook=metabook, options=options, podclient=podclient, status=status) File "/usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/apps/make_nuwiki.py", line 189, in make_nuwiki pool.join(raise_error=True) File "/usr/local/lib/python2.6/dist-packages/gevent-0.13.8-py2.6-linux-i686.egg/gevent/pool.py", line 101, in join raise greenlet.exception urllib2.URLError: <urlopen error [Errno 67] request timed out> in function system, file /usr/local/lib/python2.6/dist-packages/mwlib-0.15.11-py2.6-linux-i686.egg/mwlib/nslave.py, line 64 in function qaddw, file /usr/local/lib/python2.6/dist-packages/qserve-0.2.8-py2.6.egg/qs/slave.py, line 66
---
new-collection 1 'http://KEW3Prakt-Z420/mediawiki' 'rl' 2013-11-07T13:20:45 mwlib.serve.info >> render 7b776b1e4eaa12ff rl 192.168.56.1 - - [2013-11-07 13:20:45] "POST / HTTP/1.1" 200 181 0.015044 192.168.56.1 - - [2013-11-07 13:20:45] "POST / HTTP/1.1" 200 196 0.008544 192.168.56.1 - - [2013-11-07 13:20:45] "POST / HTTP/1.1" 200 210 0.004183 194.156.246.226 12:58, 7 November 2013 (UTC)
- the "main" question:
- Anbody an idea why it works with console but not with the extension??
- Regards :D 194.156.246.226 13:02, 7 November 2013 (UTC)