Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #200615 > unrolled thread

Scribus has stopped importing PDF files

Started byGary Dale <garyndp@gmail.com>
First post2018-09-25 23:00 +0200
Last post2018-09-28 01:40 +0200
Articles 5 on this page of 25 — 13 participants

Back to article view | Back to linux.debian.user


Contents

  Scribus has stopped importing PDF files Gary Dale <garyndp@gmail.com> - 2018-09-25 23:00 +0200
    question about ls Long Wind <longwind2@yahoo.com> - 2018-09-26 00:30 +0200
      Re: question about ls Ben Caradoc-Davies <ben@transient.nz> - 2018-09-26 00:40 +0200
        Re: question about ls Long Wind <longwind2@yahoo.com> - 2018-09-26 01:00 +0200
          Re: question about ls Long Wind <longwind2@yahoo.com> - 2018-09-26 01:00 +0200
            Re: question about ls Ben Caradoc-Davies <ben@transient.nz> - 2018-09-26 01:20 +0200
              Re: question about ls Kent West <westk@acu.edu> - 2018-09-27 15:00 +0200
                Re: question about ls Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-27 15:20 +0200
                  Re: question about ls Richard Hector <richard@walnut.gen.nz> - 2018-09-28 08:00 +0200
                    Re: question about ls Ionel Mugurel Ciobîcă <I.M.Ciobica@gmail.com> - 2018-09-28 09:10 +0200
                      Re: question about ls Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-28 14:30 +0200
                        Re: question about ls Richard Hector <richard@walnut.gen.nz> - 2018-09-28 16:40 +0200
                  Re: question about ls Virgo Pärna <virgo.parna@mail.ee> - 2018-10-03 14:10 +0200
                    Re: question about ls Greg Wooledge <wooledg@eeg.ccf.org> - 2018-10-03 15:00 +0200
                Re: question about ls David Wright <deblis@lionunicorn.co.uk> - 2018-09-27 16:00 +0200
                  Re: question about ls Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-27 16:10 +0200
                    Re: question about ls David Wright <deblis@lionunicorn.co.uk> - 2018-09-27 16:30 +0200
                    Re: question about ls Michael Stone <mstone@debian.org> - 2018-09-27 17:10 +0200
                      Re: question about ls <tomas@tuxteam.de> - 2018-09-28 09:00 +0200
                        Re: question about ls Michael Stone <mstone@debian.org> - 2018-09-28 12:50 +0200
                    Re: question about ls <tomas@tuxteam.de> - 2018-09-28 09:00 +0200
      Re: question about ls Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-27 14:40 +0200
        Re: question about ls Gene Heskett <gheskett@shentel.net> - 2018-09-27 17:00 +0200
          Re: question about ls Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-27 17:10 +0200
    Re: Scribus has stopped importing PDF files rv riveravaldez <riveravaldezmail@gmail.com> - 2018-09-28 01:40 +0200

Page 2 of 2 — ← Prev page 1 [2]


#200696 — Re: question about ls

From<tomas@tuxteam.de>
Date2018-09-28 09:00 +0200
SubjectRe: question about ls
Message-ID<wCUUN-5DM-7@gated-at.bofh.it>
In reply to#200678
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Sep 27, 2018 at 09:59:58AM -0400, Greg Wooledge wrote:
> On Thu, Sep 27, 2018 at 08:53:28AM -0500, David Wright wrote:
> > On Thu 27 Sep 2018 at 07:55:56 (-0500), Kent West wrote:
> > > westk@westkbox:/opt$ ls -la | wc
> > >      7      56     321
> > > westk@westkbox:/opt$ ls -1a | wc
> > >      6       6      54
> > 
> > But do use 1A, not 1a, if you want to know how many items are
> > in a folder, otherwise . and .. will be included in the count.
> 
> All of the above give the wrong answers when filenames contain newlines.
> Any solution that involves printing the filenames to a stream and then
> trying to parse that stream to guess how many filenames are in the stream
> is a non-starter -- unless of course the stream uses NUL delimiters
> instead of newlines.
> 
> Sadly, the GNU coreutils maintainers have rejected every request, even
> requests with patches attached, to add a --null option to ls.  So,
> ls is not suited to this task.

To be fair, there's -b (escape nonprinting) and -q for that. Both defuse
the "newline-in-file-name" case.

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlut0GsACgkQBcgs9XrR2kbAGQCfasOAvCRWZEJS3+FBGyZi34o6
LbsAni35sZP/w1YSn/4ic0muQQNoz8gj
=Zrm4
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#200672 — Re: question about ls

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-09-27 14:40 +0200
SubjectRe: question about ls
Message-ID<wCDKh-3lS-5@gated-at.bofh.it>
In reply to#200616
On Tue, Sep 25, 2018 at 10:27:03PM +0000, Long Wind wrote:
> can ls show number of items in a folder?Thanks! 

https://mywiki.wooledge.org/BashFAQ/004

[toc] | [prev] | [next] | [standalone]


#200680 — Re: question about ls

FromGene Heskett <gheskett@shentel.net>
Date2018-09-27 17:00 +0200
SubjectRe: question about ls
Message-ID<wCFVM-4ya-3@gated-at.bofh.it>
In reply to#200672
On Thursday 27 September 2018 08:31:27 Greg Wooledge wrote:

> On Tue, Sep 25, 2018 at 10:27:03PM +0000, Long Wind wrote:
> > can ls show number of items in a folder?Thanks!
>
> https://mywiki.wooledge.org/BashFAQ/004

And finally, an "ls -l|wc -l" from the cli gives the answer to the 
question asked. Change the -l to -lR if there are subdirs in that 
directory. Or if you want to know how many .jpg pix, use 
"ls -l *.jpg|wc -l".  The list goes on

The wiki is educational about how to make bash dance to your tune, but 
for this I'd druther use its default behavior.

bash can be and is a very powerfull scripting language, I've ported 
nearly everything I ever wrote in ARrexx, the universal do anything 
language for the Amiga from 25 years ago, to bash, and they've worked at 
least as good as on the Amiga.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#200681 — Re: question about ls

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-09-27 17:10 +0200
SubjectRe: question about ls
Message-ID<wCG5r-4QI-3@gated-at.bofh.it>
In reply to#200680
On Thu, Sep 27, 2018 at 10:57:56AM -0400, Gene Heskett wrote:
> On Thursday 27 September 2018 08:31:27 Greg Wooledge wrote:
> 
> > On Tue, Sep 25, 2018 at 10:27:03PM +0000, Long Wind wrote:
> > > can ls show number of items in a folder?Thanks!
> >
> > https://mywiki.wooledge.org/BashFAQ/004
> 
> And finally, an "ls -l|wc -l" from the cli gives the answer to the 
> question asked.

The question that was asked was a yes-or-no question.  And the answer to
it is "no".  However, some people will not perceive "no" to be a USEFUL
answer, so I provided an answer with much more depth.

"ls -l|wc -l" gives you the number of newlines contained in a stream
generated by printing the names of SOME of the files in the current
working directory.

It omits all of the filenames that begin with a period.

It includes all of the newlines that are contained within filenames, and
thus gives an inaccurate count if any of the filenames contain newlines.

Since this is a Debian mailing list, I won't attempt to go into the
behaviors of ls on other Unix-based systems.  The two problems already
mentioned should suffice for this list.

[toc] | [prev] | [next] | [standalone]


#200688

Fromrv riveravaldez <riveravaldezmail@gmail.com>
Date2018-09-28 01:40 +0200
Message-ID<wCO30-1CI-1@gated-at.bofh.it>
In reply to#200615
On Tue, Sep 25, 2018 at 5:50 PM, Gary Dale <garyndp@gmail.com> wrote:
> For the last few days, some Scribus documents I work with have stopped
> accepting PDF files within image frames. Prior to this, they would display a
> preview. Now new image frames that I create show just the file name, but
> some older frames within the document still show the preview.
>
> When I export the document as a PDF, the frames that just display the file
> name export as empty/blank. The older frame that shows a preview causes the
> export to stop with an error saying it was unable to load the image.
>
> I'm not sure if this is related to something in the PDFs or not. However it
> is happening on two documents I am working on.
>

Have you checked there?

https://www.scribus.net/how-to-get-support-or-contact-the-team/

https://bugs.scribus.net/my_view_page.php

Good luck!

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.debian.user


csiph-web