SVG preview broken

classic Classic list List threaded Threaded
14 messages Options
Rainer Bielefeld-2 Rainer Bielefeld-2
Reply | Threaded
Open this post in threaded view
|

SVG preview broken

Hi,

it seems that since our wiki has been moved to a new server the SVG
handling is broken. I created "Bug 42719 - WIKI: SVG PNG preview
creation broken"
<https://bugs.freedesktop.org/show_bug.cgi?id=42719>
for that problem, Florian did a first attempt to solve the problem, but
without success. Can you please help?

Thank you and best regards

Rainer Bielefeld

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Manuel Schneider Manuel Schneider
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

$wgMaxShellMemory = 524288 should fix the problem

I tried to fix it, but I have no root privileges anymore and my password
fails to authenticates.


/Manuel

On 09.11.2011 07:38, Rainer Bielefeld wrote:

> Hi,
>
> it seems that since our wiki has been moved to a new server the SVG
> handling is broken. I created "Bug 42719 - WIKI: SVG PNG preview
> creation broken"
> <https://bugs.freedesktop.org/show_bug.cgi?id=42719>
> for that problem, Florian did a first attempt to solve the problem, but
> without success. Can you please help?
>
> Thank you and best regards
>
> Rainer Bielefeld
>

--
Regards
Manuel Schneider

Wikimedia CH - Verein zur Förderung Freien Wissens
Wikimedia CH - Association for the advancement of free knowledge
www.wikimedia.ch

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Florian Effenberger Florian Effenberger
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Hi,

Manuel Schneider wrote on 2011-11-09 07:51:
> $wgMaxShellMemory = 524288 should fix the problem

I tried that after Googling, but that just lead to the load on the
machine growing to over 30 (!) in just a bunch of seconds, so some
script ran amok.

> I tried to fix it, but I have no root privileges anymore and my password
> fails to authenticates.

Erm... we didn't revoke anything. :-) Does SSH login with your key still
work, and does just sudo not work anymore?

Florian

--
Florian Effenberger <[hidden email]>
Board of Directors at The Document Foundation
Tel: +49 8341 99660880 | Mobile: +49 151 14424108
Skype: floeff | Twitter/Identi.ca: @floeff

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Manuel Schneider Manuel Schneider
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Hi,

On 09.11.2011 11:24, Florian Effenberger wrote:
> Manuel Schneider wrote on 2011-11-09 07:51:
>> $wgMaxShellMemory = 524288 should fix the problem
>
> I tried that after Googling, but that just lead to the load on the
> machine growing to over 30 (!) in just a bunch of seconds, so some
> script ran amok.

hmm, it's the solution to named problem.
* Try to locate that script (top, /proc/<pid>/fd ...).
* Try to manually convert the SVG to a PNG and see what happens

>> I tried to fix it, but I have no root privileges anymore and my password
>> fails to authenticates.
>
> Erm... we didn't revoke anything. :-) Does SSH login with your key still
> work, and does just sudo not work anymore?

SSH login works, but my password was not accepted.


--
Regards
Manuel Schneider

Wikimedia CH - Verein zur Förderung Freien Wissens
Wikimedia CH - Association for the advancement of free knowledge
www.wikimedia.ch

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Volker Merschmann Volker Merschmann
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Hi all,

2011/11/9 Manuel Schneider <[hidden email]>:

> On 09.11.2011 11:24, Florian Effenberger wrote:
>> Manuel Schneider wrote on 2011-11-09 07:51:
>>>
>>> $wgMaxShellMemory = 524288 should fix the problem
>>
>> I tried that after Googling, but that just lead to the load on the
>> machine growing to over 30 (!) in just a bunch of seconds, so some
>> script ran amok.
>
> hmm, it's the solution to named problem.
> * Try to locate that script (top, /proc/<pid>/fd ...).
> * Try to manually convert the SVG to a PNG and see what happens
>
>>> I tried to fix it, but I have no root privileges anymore and my password
>>> fails to authenticates.
>>
>> Erm... we didn't revoke anything. :-) Does SSH login with your key still
>> work, and does just sudo not work anymore?
>
> SSH login works, but my password was not accepted.
>
Is there any progress on this in sight?

A lot of previews are missing, see
https://wiki.documentfoundation.org/Special:NewFiles and there is a
weird text in the header of all wiki pages.


Volker


--
Volker Merschmann
Member of The Document Foundation
http://www.documentfoundation.org

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Florian Effenberger Florian Effenberger
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Manuel should have access, if not, ping me offlist so we can check where the problem is.

For the header, we need to make adjustments. He posted that to the list recently, bit so far, nobod volunteered to have a look.

*** This message has been sent from my mobile phone. Please excuse the possible briefness.



Volker Merschmann <[hidden email]> schrieb:

>Hi all,
>
>2011/11/9 Manuel Schneider <[hidden email]>:
>> On 09.11.2011 11:24, Florian Effenberger wrote:
>>> Manuel Schneider wrote on 2011-11-09 07:51:
>>>>
>>>> $wgMaxShellMemory = 524288 should fix the problem
>>>
>>> I tried that after Googling, but that just lead to the load on the
>>> machine growing to over 30 (!) in just a bunch of seconds, so some
>>> script ran amok.
>>
>> hmm, it's the solution to named problem.
>> * Try to locate that script (top, /proc/<pid>/fd ...).
>> * Try to manually convert the SVG to a PNG and see what happens
>>
>>>> I tried to fix it, but I have no root privileges anymore and my
>password
>>>> fails to authenticates.
>>>
>>> Erm... we didn't revoke anything. :-) Does SSH login with your key
>still
>>> work, and does just sudo not work anymore?
>>
>> SSH login works, but my password was not accepted.
>>
>Is there any progress on this in sight?
>
>A lot of previews are missing, see
>https://wiki.documentfoundation.org/Special:NewFiles and there is a
>weird text in the header of all wiki pages.
>
>
>Volker
>
>
>--
>Volker Merschmann
>Member of The Document Foundation
>http://www.documentfoundation.org


--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted
Rainer Bielefeld-2 Rainer Bielefeld-2
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

In reply to this post by Manuel Schneider
Manuel Schneider schrieb:

> SSH login works, but my password was not accepted.


Hi,

that should not be an unsolvable problem for IT experts? Please do not
stop the efforts!

Cheers

Rainer

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Volker Merschmann Volker Merschmann
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Hi,

2011/11/19 Rainer Bielefeld <[hidden email]>:

> Manuel Schneider schrieb:
>
>> SSH login works, but my password was not accepted.
>
>
> Hi,
>
> that should not be an unsolvable problem for IT experts? Please do not stop
> the efforts!
>
Most of the previews are back, but the SVG problem described in
https://bugs.freedesktop.org/show_bug.cgi?id=42719 is still there.

If it is a problem of human resources we should ask for help from other sides.


Volker

--
Volker Merschmann
Member of The Document Foundation
http://www.documentfoundation.org

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Florian Effenberger Florian Effenberger
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Hi,

Volker Merschmann wrote on 2011-11-28 10:10:
> Most of the previews are back, but the SVG problem described in
> https://bugs.freedesktop.org/show_bug.cgi?id=42719  is still there.
>
> If it is a problem of human resources we should ask for help from other sides.

I thought this was fixed, Manuel worked on it, but obviously, there are
still problems. Manuel, can you investigate?

Thanks,
Florian

--
Florian Effenberger <[hidden email]>
Board of Directors at The Document Foundation
Tel: +49 8341 99660880 | Mobile: +49 151 14424108
Skype: floeff | Twitter/Identi.ca: @floeff

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Manuel Schneider Manuel Schneider
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

There is no error message, I have no idea what is wrong with that file.

On 29.11.2011 09:57, Florian Effenberger wrote:

> Hi,
>
> Volker Merschmann wrote on 2011-11-28 10:10:
>> Most of the previews are back, but the SVG problem described in
>> https://bugs.freedesktop.org/show_bug.cgi?id=42719  is still there.
>>
>> If it is a problem of human resources we should ask for help from
>> other sides.
>
> I thought this was fixed, Manuel worked on it, but obviously, there are
> still problems. Manuel, can you investigate?
>
> Thanks,
> Florian
>

--
Regards
Manuel Schneider

Wikimedia CH - Verein zur Förderung Freien Wissens
Wikimedia CH - Association for the advancement of free knowledge
www.wikimedia.ch

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Volker Merschmann Volker Merschmann
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Hi,

2011/11/29 Manuel Schneider <[hidden email]>:
> There is no error message, I have no idea what is wrong with that file.
>
I just saw that a new uploaded svg has got its preview.
https://wiki.documentfoundation.org/File:2011-11-20_LibreOffice_External_Artwork.svg

@Rainer: Can you please re-upload your file?


> On 29.11.2011 09:57, Florian Effenberger wrote:
>> Volker Merschmann wrote on 2011-11-28 10:10:
>>> Most of the previews are back, but the SVG problem described in
>>> https://bugs.freedesktop.org/show_bug.cgi?id=42719  is still there.
>>>
>>> If it is a problem of human resources we should ask for help from
>>> other sides.
>>
>> I thought this was fixed, Manuel worked on it, but obviously, there are
>> still problems. Manuel, can you investigate?
>>

Volker


--
Volker Merschmann
Member of The Document Foundation
http://www.documentfoundation.org

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Rainer Bielefeld-2 Rainer Bielefeld-2
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Volker Merschmann schrieb:

> @Rainer: Can you please re-upload your file?


Hi,

I will check that soon.

Rainer


--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Christian Lohmaier (klammer) Christian Lohmaier (klammer)
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Hi Rainer,

On Wed, Nov 30, 2011 at 5:32 PM, Rainer Bielefeld
<[hidden email]> wrote:
> Volker Merschmann schrieb:
>
>
>> @Rainer: Can you please re-upload your file?
>
> I will check that soon.

Uploading won't help - that specific svg just bombs out when using convert.

convert consumes massive amount of memory and CPU, and thus it gets
killed before the machine is DOSed.

So there is something with the svg that makes convert choke on it.
Uploading the same file won't help, but maybe resaving in another
svg-editor will.

The problem is not limited to the version of ImageMagick used on the
server, I can replicate it here as well.

ciao
Christian

--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Rainer Bielefeld-2 Rainer Bielefeld-2
Reply | Threaded
Open this post in threaded view
|

Re: SVG preview broken

Christian Lohmaier schrieb:

> Uploading won't help - that specific svg just bombs out when using convert.

Hi Christian,

that will have to be fixed in LibO, what creates SVG with big dimensions.

Can you please additionally check
"Bug 40944 - WIKI: PNG preview for particular SVG broken"
  <https://bugs.freedesktop.org/show_bug.cgi?id=40944>

Additionally broken is review for
<http://wiki.documentfoundation.org/File:Buggie.svg>, what looks
different on <http://upload.wikimedia.org/wikipedia/commons/d/d7/Buggie.svg>



Ciao

Rainer


--
Unsubscribe instructions: E-mail to [hidden email]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted