Problem with Collection Extension

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with Collection Extension

Pierre Kounde
Hi,

I have installed Collection extension on my media wiki portal. I get
below error message while I export a book in PDF or want to convert article in PDF.
Can somebody maybe help me with this error?


Erreur du serveur de rendu
Une erreur est survenue sur le serveur de rendu : RuntimeError:
RuntimeError: command failed with returncode 256: ['mw-zip', '-o',
u'/home/pp/cache/c7/c72f9e935581ba89/collection.zip', '-m',
u'/home/pp/cache/c7/c72f9e935581ba89/metabook.json', '--status',
u'qserve://localhost:14311/c72f9e935581ba89:makezip', '--config',
u'http://www.teluq.experience-ipm.ca/ted6210/mediawiki118',
'--template-blacklist', u'MediaWiki:PDF Template Blacklist',
'--template-exclusion-category', u"Exclure lors de l'impression",
'--print-template-prefix', u'Imprimer', '--print-template-pattern',
u'$1/Imprimer', '--username', u'expipm', '--password', '{OMITTED}']
Last Output: 2012-01-15T12:46:53 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/c7/c72f9e935581ba89/tmp6usb_Z/nuwiki' Traceback (most recent call last): File
"/home/pp/local/lib/python2.7/site-packages/gevent/greenlet.py", line
402, 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
187, in login return self.login(username, password, domain=domain,
lgtoken=res["login"]["token"]) File
"/home/pp/local/lib/python2.7/site-packages/mwlib/net/sapi.py", line
191, in login raise RuntimeError("login failed: %r" % res) RuntimeError: login failed: {u'login': {u'result': u'NotExists'}} <Greenlet at 0x1b48550: <bound method start_fetcher.run of
<mwlib.apps.make_nuwiki.start_fetcher object at 0x1b9ba10>>> failed with RuntimeError removing tmpdir u'/home/pp/cache/c7/c72f9e935581ba89/tmp6usb_Z' memory used: res=16.5 virt=128.6 1% error Traceback (most recent call last): File "/home/pp/local/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.13.0', 'console_scripts', 'mw-zip')() File
"/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py",
line 151, 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 105, in join raise greenlet.exception RuntimeError: login failed: {u'login': {u'result': u'NotExists'}} in function system, file ./bin/nslave.py, line 63 in function
qaddw, file /home/pp/local/lib/python2.7/site-packages/qs/slave.py, line 66
_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Error message with Collection Extension

Pierre Kounde
Hi,

I have installed Collection extension on my media wiki portal. I get
below error message while I export a book in PDF or want to convert article in PDF.
Can somebody maybe help me with this error?


Erreur du serveur de rendu
Une erreur est survenue sur le serveur de rendu : RuntimeError:
RuntimeError: command failed with returncode 256: ['mw-zip', '-o',
u'/home/pp/cache/c7/c72f9e935581ba89/collection.zip', '-m',
u'/home/pp/cache/c7/c72f9e935581ba89/metabook.json', '--status',
u'qserve://localhost:14311/c72f9e935581ba89:makezip', '--config',
u'http://www.teluq.experience-ipm.ca/ted6210/mediawiki118',
'--template-blacklist', u'MediaWiki:PDF Template Blacklist',
'--template-exclusion-category', u"Exclure lors de l'impression",
'--print-template-prefix', u'Imprimer', '--print-template-pattern',
u'$1/Imprimer', '--username', u'expipm', '--password', '{OMITTED}']
Last Output: 2012-01-15T12:46:53 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/c7/c72f9e935581ba89/tmp6usb_Z/nuwiki' Traceback (most recent call last): File
"/home/pp/local/lib/python2.7/site-packages/gevent/greenlet.py", line
402, 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
187, in login return self.login(username, password, domain=domain,
lgtoken=res["login"]["token"]) File
"/home/pp/local/lib/python2.7/site-packages/mwlib/net/sapi.py", line
191, in login raise RuntimeError("login failed: %r" % res) RuntimeError: login failed: {u'login': {u'result': u'NotExists'}} <Greenlet at 0x1b48550: <bound method start_fetcher.run of
<mwlib.apps.make_nuwiki.start_fetcher object at 0x1b9ba10>>> failed with RuntimeError removing tmpdir u'/home/pp/cache/c7/c72f9e935581ba89/tmp6usb_Z' memory used: res=16.5 virt=128.6 1% error Traceback (most recent call last): File "/home/pp/local/bin/mw-zip", line 9, in <module> load_entry_point('mwlib==0.13.0', 'console_scripts', 'mw-zip')() File
"/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py",
line 151, 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 105, in join raise greenlet.exception RuntimeError: login failed: {u'login': {u'result': u'NotExists'}} in function system, file ./bin/nslave.py, line 63 in function
qaddw, file /home/pp/local/lib/python2.7/site-packages/qs/slave.py, line 66
_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Error message with Collection Extension

Gordon Joly
Yes, I am getting similar errors............

I picked up the latest version today (from Subversion).

Gordon


On 17/01/2012 11:45, Pierre Kounde wrote:

> Hi,
>
> I have installed Collection extension on my media wiki portal. I get
> below error message while I export a book in PDF or want to convert article in PDF.
> Can somebody maybe help me with this error?
>
>
> Erreur du serveur de rendu
> Une erreur est survenue sur le serveur de rendu : RuntimeError:
> RuntimeError: command failed with returncode 256: ['mw-zip', '-o',
> u'/home/pp/cache/c7/c72f9e935581ba89/collection.zip', '-m',
> u'/home/pp/cache/c7/c72f9e935581ba89/metabook.json', '--status',
> u'qserve://localhost:14311/c72f9e935581ba89:makezip', '--config',
> u'http://www.teluq.experience-ipm.ca/ted6210/mediawiki118',
> '--template-blacklist', u'MediaWiki:PDF Template Blacklist',
> '--template-exclusion-category', u"Exclure lors de l'impression",
> '--print-template-prefix', u'Imprimer', '--print-template-pattern',
> u'$1/Imprimer', '--username', u'expipm', '--password', '{OMITTED}']
> Last Output: 2012-01-15T12:46:53 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/c7/c72f9e935581ba89/tmp6usb_Z/nuwiki' Traceback (most recent call last): File
> "/home/pp/local/lib/python2.7/site-packages/gevent/greenlet.py", line
> 402, 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
> 187, in login return self.login(username, password, domain=domain,
> lgtoken=res["login"]["token"]) File
> "/home/pp/local/lib/python2.7/site-packages/mwlib/net/sapi.py", line
> 191, in login raise RuntimeError("login failed: %r" % res) RuntimeError: login failed: {u'login': {u'result': u'NotExists'}}<Greenlet at 0x1b48550:<bound method start_fetcher.run of
> <mwlib.apps.make_nuwiki.start_fetcher object at 0x1b9ba10>>>  failed with RuntimeError removing tmpdir u'/home/pp/cache/c7/c72f9e935581ba89/tmp6usb_Z' memory used: res=16.5 virt=128.6 1% error Traceback (most recent call last): File "/home/pp/local/bin/mw-zip", line 9, in<module>  load_entry_point('mwlib==0.13.0', 'console_scripts', 'mw-zip')() File
> "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py",
> line 151, 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 105, in join raise greenlet.exception RuntimeError: login failed: {u'login': {u'result': u'NotExists'}} in function system, file ./bin/nslave.py, line 63 in function
> qaddw, file /home/pp/local/lib/python2.7/site-packages/qs/slave.py, line 66
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>


--

Gordon Joly
[hidden email]
http://www.joly.org.uk/
Don't Leave Space To The Professionals!


_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Error message with Collection Extension

david-217
I'm getting similar errors too.
Also with the last SVN from:
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Collection/

Using MW 1.18
In a edit restricted wiki.
Other rellevant extensions are the SMW and the Semantic bundle.

I can get ODF but not PDF. And I can't save the books.

El dt 17 de 01 de 2012 a les 22:51 +0000, en/na Gordon Joly va escriure:

> Yes, I am getting similar errors............
>
> I picked up the latest version today (from Subversion).
>
> Gordon
>
>
> On 17/01/2012 11:45, Pierre Kounde wrote:
> > Hi,
> >
> > I have installed Collection extension on my media wiki portal. I get
> > below error message while I export a book in PDF or want to convert article in PDF.
> > Can somebody maybe help me with this error?
> >
> >
> > Erreur du serveur de rendu
> > Une erreur est survenue sur le serveur de rendu : RuntimeError:
> > RuntimeError: command failed with returncode 256: ['mw-zip', '-o',
> > u'/home/pp/cache/c7/c72f9e935581ba89/collection.zip', '-m',
> > u'/home/pp/cache/c7/c72f9e935581ba89/metabook.json', '--status',
> > u'qserve://localhost:14311/c72f9e935581ba89:makezip', '--config',
> > u'http://www.teluq.experience-ipm.ca/ted6210/mediawiki118',
> > '--template-blacklist', u'MediaWiki:PDF Template Blacklist',
> > '--template-exclusion-category', u"Exclure lors de l'impression",
> > '--print-template-prefix', u'Imprimer', '--print-template-pattern',
> > u'$1/Imprimer', '--username', u'expipm', '--password', '{OMITTED}']
> > Last Output: 2012-01-15T12:46:53 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/c7/c72f9e935581ba89/tmp6usb_Z/nuwiki' Traceback (most recent call last): File
> > "/home/pp/local/lib/python2.7/site-packages/gevent/greenlet.py", line
> > 402, 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
> > 187, in login return self.login(username, password, domain=domain,
> > lgtoken=res["login"]["token"]) File
> > "/home/pp/local/lib/python2.7/site-packages/mwlib/net/sapi.py", line
> > 191, in login raise RuntimeError("login failed: %r" % res) RuntimeError: login failed: {u'login': {u'result': u'NotExists'}}<Greenlet at 0x1b48550:<bound method start_fetcher.run of
> > <mwlib.apps.make_nuwiki.start_fetcher object at 0x1b9ba10>>>  failed with RuntimeError removing tmpdir u'/home/pp/cache/c7/c72f9e935581ba89/tmp6usb_Z' memory used: res=16.5 virt=128.6 1% error Traceback (most recent call last): File "/home/pp/local/bin/mw-zip", line 9, in<module>  load_entry_point('mwlib==0.13.0', 'console_scripts', 'mw-zip')() File
> > "/home/pp/local/lib/python2.7/site-packages/mwlib/apps/buildzip.py",
> > line 151, 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 105, in join raise greenlet.exception RuntimeError: login failed: {u'login': {u'result': u'NotExists'}} in function system, file ./bin/nslave.py, line 63 in function
> > qaddw, file /home/pp/local/lib/python2.7/site-packages/qs/slave.py, line 66
> > _______________________________________________
> > MediaWiki-l mailing list
> > [hidden email]
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> >
>
>



_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l