[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] ERROR only one % allowed in filename
From: |
Lists |
Subject: |
Re: [Swftools-common] ERROR only one % allowed in filename |
Date: |
Thu, 14 Nov 2013 23:11:54 +0000 |
On Thu, 14 Nov 2013 13:03:48 -0800
"E-Blokos" <address@hidden> wrote:
> Lists,
>
> obviously if I had the choice to avoid urlencoded folder
> I will do it, but no way to change this.
Perhaps one should never say, 'no way', Franck? There usually always is
a way. Change is good. Besides, those -o strings of yours ARE without
doubt, very wierd and counter-intuitive indeed! (HO).
> 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.
Maybe, maybe not. Depends how you look at it.
> can you point me which source file it needs to patch ? I'm trying to
> do it
Unfortunately, I'm not really that au-fait with the code base. I'd
also need to install swftools first! When I get chance I will do
just that, and see what I can find out. However, meantime, I am sure
someone else, more familiar with the code base may possibly be able
to point you in the correct direction.
Regards,
Chris.
> Regards
>
>
>
> ----- 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>
>
>
- [Swftools-common] ERROR only one % allowed in filename, E-Blokos, 2013/11/14
- Re: [Swftools-common] ERROR only one % allowed in filename, Tobias Fink, 2013/11/14
- Re: [Swftools-common] ERROR only one % allowed in filename, E-Blokos, 2013/11/14
- Re: [Swftools-common] ERROR only one % allowed in filename, Lists, 2013/11/14
- Re: [Swftools-common] ERROR only one % allowed in filename, E-Blokos, 2013/11/14
- Message not available
- Re: [Swftools-common] ERROR only one % allowed in filename,
Lists <=
- [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Hans J Nuecke, 2013/11/14
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Lists, 2013/11/23
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Hans J Nuecke, 2013/11/24
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Lists, 2013/11/25
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Hans J Nuecke, 2013/11/24
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Lists, 2013/11/25
- Message not available
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Lists, 2013/11/26