Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#356960: lyx font errors

1,311 views
Skip to first unread message

Jeremiah Savage

unread,
Mar 14, 2006, 9:10:15 PM3/14/06
to
Package: tex-common
Version: 0.19
Severity: normal

When running lyx-1.4.0 ( ftp://ftp.lyx.org/pub/lyx/bin/1.4.0/debian-unstable
) as a non-root user, I am not able to View the files as DVI, PS, nor PDF.
root is able to convert to these formats without error. I am using the
simple Intro.lyx file as a test case, and selecting to View as a DVI. I am
running a current Debian Unstable with Lyx being the only foreign package.

Lyx pops up a 2 pane error dialog. The top says:
-----------------------
Font T1/cmr/m/it/6=ecti0600 at 6.0pt not loadable: Metric (TFM) file not
found
Font T1/cmr/bx/it/10=ecbi1000 at 10.0pt not loadable: Metric (TFM) file not
found
Font T1/cmr/bx/it/7=ecti0700 at 7.0pt not loadable: Metric (TFM) file not
found
-----------------------
The bottom says:
-----------------------
}
It, in turn, was built up from a typesetting language called \TeX{},
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
-----------------------

--
Jeremiah


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Frank Küster

unread,
Mar 15, 2006, 3:50:12 AM3/15/06
to
"Jeremiah Savage" <jeremia...@hotmail.com> wrote:

> Package: tex-common
> Version: 0.19
> Severity: normal
>
> When running lyx-1.4.0 (
> ftp://ftp.lyx.org/pub/lyx/bin/1.4.0/debian-unstable ) as a non-root
> user, I am not able to View the files as DVI, PS, nor PDF. root is
> able to convert to these formats without error. I am using the simple
> Intro.lyx file as a test case, and selecting to View as a DVI. I am
> running a current Debian Unstable with Lyx being the only foreign
> package.
>
> Lyx pops up a 2 pane error dialog. The top says:
> -----------------------
> Font T1/cmr/m/it/6=ecti0600 at 6.0pt not loadable: Metric (TFM) file
> not found

Please include the output of the following commands:

# debconf-show tex-common
# ls -al /var/cache/fonts/

Did you read /usr/share/doc/tex-common/README.Debian?

Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)

Ralf Stubner

unread,
Mar 15, 2006, 4:10:07 AM3/15/06
to
On Tue, Mar 14, 2006 at 19:59 -0600, Jeremiah Savage wrote:
> Package: tex-common
> Version: 0.19
> Severity: normal

Thanks for the report. What tetex packages do you have installed, ie,
what is the output of

dpkg -l tetex-* | egrep '^ii'

?



> When running lyx-1.4.0 (
> ftp://ftp.lyx.org/pub/lyx/bin/1.4.0/debian-unstable ) as a non-root user, I
> am not able to View the files as DVI, PS, nor PDF. root is able to convert
> to these formats without error.

This sounds as if there are problems with font caching. What is the
ouput of

ls -l /var/cache/fonts

?

> I am using the simple Intro.lyx file as a
> test case, and selecting to View as a DVI. I am running a current Debian
> Unstable with Lyx being the only foreign package.
>
> Lyx pops up a 2 pane error dialog. The top says:
> -----------------------
> Font T1/cmr/m/it/6=ecti0600 at 6.0pt not loadable: Metric (TFM) file not
> found
> Font T1/cmr/bx/it/10=ecbi1000 at 10.0pt not loadable: Metric (TFM) file not
> found
> Font T1/cmr/bx/it/7=ecti0700 at 7.0pt not loadable: Metric (TFM) file not
> found

Let's make this a bit simpler by removing the extra layer due to lyx.
Could you please process the following file with latex and view the
resulting dvi file with xdvi:

\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
test
\end{document}

Do you get any error messages? Thanks.

cheerio
ralf

Jeremiah Savage

unread,
Mar 15, 2006, 2:10:17 PM3/15/06
to
>From: Frank Küster <fr...@debian.org>
>To: "Jeremiah Savage" <jeremia...@hotmail.com>
>CC: 356...@bugs.debian.org, sub...@bugs.debian.org
>Subject: Re: Bug#356960: lyx font errors
>Date: Wed, 15 Mar 2006 09:43:03 +0100

>
>"Jeremiah Savage" <jeremia...@hotmail.com> wrote:
>
> > Package: tex-common
> > Version: 0.19
> > Severity: normal
> >
> > When running lyx-1.4.0 (
> > ftp://ftp.lyx.org/pub/lyx/bin/1.4.0/debian-unstable ) as a non-root
> > user, I am not able to View the files as DVI, PS, nor PDF. root is
> > able to convert to these formats without error. I am using the simple
> > Intro.lyx file as a test case, and selecting to View as a DVI. I am
> > running a current Debian Unstable with Lyx being the only foreign
> > package.
> >
> > Lyx pops up a 2 pane error dialog. The top says:
> > -----------------------
> > Font T1/cmr/m/it/6=ecti0600 at 6.0pt not loadable: Metric (TFM) file
> > not found
>
>Please include the output of the following commands:
>
># debconf-show tex-common
># ls -al /var/cache/fonts/

# debconf-show tex-common
* tex-common/managecache: true
tex-common/groupname: users
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:
tex-common/cnf_name:

# ls -al /var/cache/fonts/
total 24
drwxrwsr-t 5 root users 4096 2006-01-25 23:01 .
drwxr-xr-x 11 root root 4096 2006-02-01 21:50 ..
-rw-rw-r-- 1 root users 1897 2006-03-15 06:28 ls-R
drwxrwsr-t 4 root users 4096 2006-02-09 20:33 pk
drwxrwsr-t 3 root users 4096 2006-02-08 13:50 source
drwxrwsr-t 3 root users 4096 2006-02-08 13:50 tfm


>
>Did you read /usr/share/doc/tex-common/README.Debian?

I just did, now. So, I ran
# dpkg-reconfigure -plow tex-common
and now
# debconf-show tex-common
* tex-common/managecache: true
* tex-common/groupname: users
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:
tex-common/cnf_name:

# ls -al /var/cache/fonts/
has not changed.

I tested Lyx again, but still have the same problem. Though, once I have
created a dvi of a file with root, my normal user account is then able to
"create" the same dvi. But testing other Lyx files (not yet DVI viewed by
root), results in the error.

--
Jeremiah

>
>Regards, Frank
>--
>Frank Küster
>Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ.
>Zürich
>Debian Developer (teTeX)
>

Jeremiah Savage

unread,
Mar 15, 2006, 2:40:12 PM3/15/06
to


>From: Ralf Stubner <ralf.s...@web.de>
>To: Jeremiah Savage <jeremia...@hotmail.com>, 356...@bugs.debian.org


>Subject: Re: Bug#356960: lyx font errors

>Date: Wed, 15 Mar 2006 09:47:49 +0100


>
>On Tue, Mar 14, 2006 at 19:59 -0600, Jeremiah Savage wrote:
> > Package: tex-common
> > Version: 0.19
> > Severity: normal
>
>Thanks for the report. What tetex packages do you have installed, ie,
>what is the output of
>
>dpkg -l tetex-* | egrep '^ii'

# dpkg -l tetex-* | egrep '^ii'
ii tetex-base 3.0-15 Basic library files of teTeX
ii tetex-bin 3.0-14 The teTeX binary files
ii tetex-doc 3.0-15 The documentation component of the Debian
te
ii tetex-extra 3.0-15 Additional library files of teTeX

>
>?
>
> > When running lyx-1.4.0 (
> > ftp://ftp.lyx.org/pub/lyx/bin/1.4.0/debian-unstable ) as a non-root
>user, I
> > am not able to View the files as DVI, PS, nor PDF. root is able to
>convert
> > to these formats without error.
>
>This sounds as if there are problems with font caching. What is the
>ouput of
>
>ls -l /var/cache/fonts

# ls -l /var/cache/fonts/
total 16


-rw-rw-r-- 1 root users 1897 2006-03-15 06:28 ls-R
drwxrwsr-t 4 root users 4096 2006-02-09 20:33 pk
drwxrwsr-t 3 root users 4096 2006-02-08 13:50 source
drwxrwsr-t 3 root users 4096 2006-02-08 13:50 tfm


>


>?
>
> > I am using the simple Intro.lyx file as a
> > test case, and selecting to View as a DVI. I am running a current Debian
> > Unstable with Lyx being the only foreign package.
> >
> > Lyx pops up a 2 pane error dialog. The top says:
> > -----------------------
> > Font T1/cmr/m/it/6=ecti0600 at 6.0pt not loadable: Metric (TFM) file not
> > found
> > Font T1/cmr/bx/it/10=ecbi1000 at 10.0pt not loadable: Metric (TFM) file
>not
> > found
> > Font T1/cmr/bx/it/7=ecti0700 at 7.0pt not loadable: Metric (TFM) file
>not
> > found
>
>Let's make this a bit simpler by removing the extra layer due to lyx.
>Could you please process the following file with latex and view the
>resulting dvi file with xdvi:
>
>\documentclass{article}
>\usepackage[T1]{fontenc}
>\begin{document}
>test
>\end{document}

I am able to view the dvi produced with xdvi without error. Is there a way
to use latex to test these font errors produced by Lyx?

Font T1/cmr/bx/n/7=ecbx0700 at 7.0pt not loadable: Metric (TFM) file not
found
Font T1/cmtt/bx/n/14.4=ectt1440 at 14.4pt not loadable: Metric (TFM) file
not found
Font T1/cmtt/m/n/14.4=nullfont not loadable: Metric (TFM) file not found
Font T1/cmr/m/sc/8=eccc0800 at 8.0pt not loadable: Metric (TFM) file not
found

--
Jeremiah

Ralf Stubner

unread,
Mar 15, 2006, 2:40:18 PM3/15/06
to
Jeremiah Savage wrote:
> # debconf-show tex-common
> * tex-common/managecache: true
> * tex-common/groupname: users
[...]

> I tested Lyx again, but still have the same problem. Though, once I have
> created a dvi of a file with root, my normal user account is then able to
> "create" the same dvi. But testing other Lyx files (not yet DVI viewed by
> root), results in the error.

Is your normal user account in the group 'users'? You can check this
with the 'groups' command. If not, adding this account to the users
group should solve your problem.

cheerio
ralf

Jeremiah Savage

unread,
Mar 15, 2006, 3:10:07 PM3/15/06
to


>From: Ralf Stubner <ralf.s...@physik.uni-erlangen.de>
>To: Jeremiah Savage <jeremia...@hotmail.com>,356...@bugs.debian.org


>Subject: Re: Bug#356960: lyx font errors

>Date: Wed, 15 Mar 2006 20:19:22 +0100


>
>Jeremiah Savage wrote:
> > # debconf-show tex-common
> > * tex-common/managecache: true
> > * tex-common/groupname: users
>[...]
> > I tested Lyx again, but still have the same problem. Though, once I have
> > created a dvi of a file with root, my normal user account is then able
>to
> > "create" the same dvi. But testing other Lyx files (not yet DVI viewed
>by
> > root), results in the error.
>
>Is your normal user account in the group 'users'? You can check this
>with the 'groups' command. If not, adding this account to the users
>group should solve your problem.

That was the problem! Before:
$groups
jsavage dialout cdrom floppy audio video

after
#adduser jsavage users
$groups
jsavage dialout cdrom floppy audio video users

I just created a new account, "test1" as a test, and "test1" is not a member
of any other group:
$groups
test1

I know this is now outside of the domain of your package, but is this
correct behaviour?

Thanks for your help,
Jeremiah

Frank Küster

unread,
Mar 15, 2006, 3:10:09 PM3/15/06
to
"Jeremiah Savage" <jeremia...@hotmail.com> wrote:

>># debconf-show tex-common
>># ls -al /var/cache/fonts/
>
> # debconf-show tex-common
> * tex-common/managecache: true
> tex-common/groupname: users
> tex-common/check_texmf_wrong:
> tex-common/check_texmf_missing:
> tex-common/cnf_name:
>
> # ls -al /var/cache/fonts/
> total 24
> drwxrwsr-t 5 root users 4096 2006-01-25 23:01 .
> drwxr-xr-x 11 root root 4096 2006-02-01 21:50 ..
> -rw-rw-r-- 1 root users 1897 2006-03-15 06:28 ls-R
> drwxrwsr-t 4 root users 4096 2006-02-09 20:33 pk
> drwxrwsr-t 3 root users 4096 2006-02-08 13:50 source
> drwxrwsr-t 3 root users 4096 2006-02-08 13:50 tfm

Well, the user who runs lyx probably isn't member of the group "users",
is he?

>>Did you read /usr/share/doc/tex-common/README.Debian?
>
> I just did, now. So, I ran
> # dpkg-reconfigure -plow tex-common
> and now
> # debconf-show tex-common
> * tex-common/managecache: true
> * tex-common/groupname: users

We should probably make clear in the README that in the default setup,
nobody is member of that group...

Jeremiah Savage

unread,
Mar 15, 2006, 3:10:13 PM3/15/06
to


>From: Frank Küster <fr...@debian.org>
>To: "Jeremiah Savage" <jeremia...@hotmail.com>
>CC: 356...@bugs.debian.org

>Subject: Re: Bug#356960: lyx font errors

>Date: Wed, 15 Mar 2006 20:37:28 +0100


>
>"Jeremiah Savage" <jeremia...@hotmail.com> wrote:
>
> >># debconf-show tex-common
> >># ls -al /var/cache/fonts/
> >
> > # debconf-show tex-common
> > * tex-common/managecache: true
> > tex-common/groupname: users
> > tex-common/check_texmf_wrong:
> > tex-common/check_texmf_missing:
> > tex-common/cnf_name:
> >
> > # ls -al /var/cache/fonts/
> > total 24
> > drwxrwsr-t 5 root users 4096 2006-01-25 23:01 .
> > drwxr-xr-x 11 root root 4096 2006-02-01 21:50 ..
> > -rw-rw-r-- 1 root users 1897 2006-03-15 06:28 ls-R
> > drwxrwsr-t 4 root users 4096 2006-02-09 20:33 pk
> > drwxrwsr-t 3 root users 4096 2006-02-08 13:50 source
> > drwxrwsr-t 3 root users 4096 2006-02-08 13:50 tfm
>
>Well, the user who runs lyx probably isn't member of the group "users",
>is he?

The lyx user account was not a member of "users"
As Ralf suggested, I added the account to the "users" group, and now Lyx is
able to properly view dvi, ps and pdf files.

Thanks,
Jeremiah

>
> >>Did you read /usr/share/doc/tex-common/README.Debian?
> >
> > I just did, now. So, I ran
> > # dpkg-reconfigure -plow tex-common
> > and now
> > # debconf-show tex-common
> > * tex-common/managecache: true
> > * tex-common/groupname: users
>
>We should probably make clear in the README that in the default setup,
>nobody is member of that group...
>
>Regards, Frank
>--
>Frank Küster
>Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ.
>Zürich
>Debian Developer (teTeX)
>

Florent Rougon

unread,
Mar 15, 2006, 6:50:16 PM3/15/06
to
"Jeremiah Savage" <jeremia...@hotmail.com> wrote:

> I just created a new account, "test1" as a test, and "test1" is not a member
> of any other group:
> $groups
> test1
>
> I know this is now outside of the domain of your package, but is this correct
> behaviour?

Yes. You can modify /etc/adduser.conf to change this.

--
Florent

0 new messages