Am 15.08.20 um 11:36 schrieb José Abílio Matos:
On Saturday, 15 August 2020 08.36.32 WEST Wolfgang Engelmann wrote:

 > I have followed the discussion and proposals on "no modules available"

 > In my case I get:

 >

 > python /usr/share/lyx/configure.py

 > Traceback (most recent call last):

 > File "/usr/share/lyx/configure.py", line 23, in <module>

 > filemode = 'w')

 > File "/usr/lib/python2.7/logging/__init__.py", line 1554, in basicConfig

 > hdlr = FileHandler(filename, mode)

 > File "/usr/lib/python2.7/logging/__init__.py", line 920, in __init__

 > StreamHandler.__init__(self, self._open())

 > File "/usr/lib/python2.7/logging/__init__.py", line 950, in _open

 > stream = open(self.baseFilename, self.mode)

 > IOError: [Errno 13] Permission denied: '/usr/share/lyx/configure.log'

 >

 > wolfgang@Fuji:/usr/share/lyx$ lyx

 > Warning: Failed to produce 1 preview snippet(s)

 >

 > is this, what one would expect if everything is ok?

 >

 > Wolfgang

The problem here was that you tried to run the command in the /usr/share/lyx/ directory where you do not have permissions to write (and that is the intent).

To reproduce what lyx is doing go instead to your user directory:

$ cd ~/.lyx

$ python /usr/share/lyx/configure.py

That will reproduce the same call as lyx does.

I am getting a long output with mostly yes, but also no-answers, e.g.
 checking for package garamondx [garamondx]... no
+checking for font garamondx-fonts [zgmr8r]... no
or
+checking for document class aapaper [aa]... no
+checking for document class foils [foils]... no
or
+checking for document class scrlettr [scrlettr]... no

(not only those, just some examples)

Should there be no 'no's' in the output of the command?

If you try to run that command in any other directory lyx will create all the files and directories present in the user directory. :-)

I am not sure what that means: Would it produce the no-outputs??
Wolfgang
p.s. I am using Debian bullseye and
 LyX Version 2.3.5.2
(Thursday, June 25, 2020)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 5.14.2
Qt Version (compile-time): 5.14.2

Thanks, José

Wolfgang


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to