swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] ERROR only one % allowed in filename


From: E-Blokos
Subject: Re: [Swftools-common] ERROR only one % allowed in filename
Date: Thu, 14 Nov 2013 13:04:08 -0800

Lists,

obviously if I had the choice to avoid urlencoded folder
I will do it, but no way to change this.
if shouldn't be comp;licated to patch it, with first thing change
the message error that mixes filename and foldename which I think
is not really accurate.
can you point me which source file it needs to patch ? I'm trying to do it

Regards

Franck


----- Original Message ----- From: "Lists" <address@hidden>
To: <address@hidden>
Sent: Thursday, November 14, 2013 12:53 PM
Subject: Re: [Swftools-common] ERROR only one % allowed in filename


Franck,

Rightly or wrongly ( dependent upon your point of view ), pdf2swf
replaces any % character it finds in a stated -o output string with
a text character representation of the pdf page number it has just
processed, writing it out as a filename. It repeats this process for
all the pages contained in a pdf.

Several snags may occur with this, including the attempted creation of
directories which possibly don't yet exist!  I'm sure a patch or switch
would resolve the issues as stated, but until such time arrives, you are
rather up the creek without a paddle. ;o)

That said, as Tobias stated, you do seem to have a very odd -o output
string!  I'd hazard a wild guess from the format, that it is a mangled
url?  As such,

/570976770/aksldjf%20asl%20%20%20alksd%20fj%26apos%3B%26apos%3B23kl32/instructions.swf

where,

%20 = [SPACE]
%26 = &, and thus %20apos = &apos = '   !
%3B = ;

translates your -o output string as,

/570976770/aksldjf asl   alksd fj';';23kl32/instructions.swf

Am I right, or way off kilter?

While most non alphanumeric characters may used as directory and file
names in Linux, usually duly referenced with the appropriate delimitor,
more often than not their use causes nothing but confusion, both to
programs and users.  Something easily avoided by being a tad more
circumspect with the original coding.  In other words, there must be an
alternative ( and simpler! ) way of doing whatever it is you are trying
to do!! ;o)

HTH.

Regards,


Chris.

On Wed, 13 Nov 2013 23:41:16 -0800
"E-Blokos" <address@hidden> wrote:

Hi Tobias,

yes I know, but oddly it conerns a folder name, not file name.

thanks

Franck
----- Original Message ----- From: Tobias Fink
  To: E-Blokos ; address@hidden
  Sent: Wednesday, November 13, 2013 11:36 PM
  Subject: Re: [Swftools-common] ERROR only one % allowed in filename


  Hi Blokos,



  i'd try to create symlinks to these odd directories.

  The '%'-sign is used in the syntax "pdf2swf file.pdf -o page%.swf",
where '%' is replaced with the page number.



  Best Regards,



  Tobias



--
  Tobias Fink

  Software Engineer

  Tel.: 06 21-52 00 78 -- 0 - Fax: 06 21-52 00 78 -- 20

  Fasihi GmbH - Sternstr. 166 - 67063 Ludwigshafen

  E-Mail: address@hidden



  Fasihi GmbH - Sternstr. 166 - 67063 Ludwigshafen

  Geschäftsführer Saeid Fasihi - Firmensitz Ludwigshafen a. Rh.

  Amtsgericht Ludwigshafen - HRB 60601



  Innovationspreisträger Rheinland-Pfalz 2011

  Ausgezeichnet für innovative Anwendungen und Verfahren der
Informations- und Kommunikationstechnologien



  Besuchen Sie uns auch unter

  Homepage: http://www.fasihi.net

  Link Innovationspreis: http://www.fasihi.net/innovationspreis



  Von: address@hidden
[mailto:address@hidden Im
Auftrag von E-Blokos Gesendet: Donnerstag, 14. November 2013 07:10
An: address@hidden Betreff: [Swftools-common] ERROR only
one % allowed in filename



  Hi Folks,



  I noticed that if I convert a file with a path containing % I  got
his error:



  /usr/bin/sudo /usr/bin/pdf2swf -G -f -B '//sewaf/utils/viewer.swf'
'/570976770/aksldjf%20asl%20%20%20alksd%20fj%26apos%3B%26apos%3B23kl32/instructions.pdf'
-o
'/570976770/aksldjf%20asl%20%20%20alksd%20fj%26apos%3B%26apos%3B23kl32/instructions.swf'


  ERROR   only one % allowed in filename

  I tried to escape the % of the folder name with same results.

  Any idea ?



  Thanks



  Franck



------------------------------------------------------------------------------


  ---------------
  SWFTools-common is a self-managed list. To subscribe/unsubscribe,
or amend an existing subscription, please kindly point your favourite
web browser
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>


---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]