On Thursday 07 November 2013 15:05:02 Richard Heck wrote:
> On 11/07/2013 02:44 AM, Wolfgang Engelmann wrote:
> > On Wednesday 06 November 2013 16:54:13 David L. Johnson wrote:
> > > On 11/06/2013 03:47 AM, Wolfgang Engelmann wrote:
> > > > On Wednesday 06 November 2013 09:26:57 Scott Kostyshak wrote:
> > > > > On Wed, Nov 6, 2013 at 3:20 AM, Wolfgang Engelmann
> > > > > 
> > > > > <engelm...@uni-tuebingen.de> wrote:
> > > > > > I am sorry to bother you with this off topic issue, but it
> > > > > > hinders
> > > > > > 
> > > > > > me
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > to use Lyx at the moment.
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > Any suggestions/proposals are very welcome and appreciated
> > > > > 
> > > > > I'm surprised this isn't causing more problems besides LyX and
> > > > > cd
> > > > > 
> > > > > 
> > > > > 
> > > > > w<expansion>. This could be very bad.
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > I don't know enough to have any advice on solving the main
> > > > > problem
> > > > > 
> > > > > 
> > > > > 
> > > > > you're experiencing. If you are really only concerned about LyX
> > > > > (you
> > > > > 
> > > > > 
> > > > > 
> > > > > should be concerned about more, IMO), you could try running LyX
> > > > > as
> > > > > 
> > > > > 
> > > > > 
> > > > > root to see if it has the same problem.
> > > > 
> > > > Good idea, Scott. Under root it runs without problems. Would it
> > > > help
> > > > 
> > > > if I create a new user and try it there until I have solved the
> > > > 
> > > > (non-Lyx) issue under my current Home (or Homes)?
> > > 
> > > Ah. So either you have a permissions problem with some file LyX
> > > needs
> > > 
> > > (this should not happen, but...), or there is something in your
> > > 
> > > $HOME/.lyx directory that is messing things up. When you run as
> > > root,
> > > 
> > > it only looks in /root/.lyx, creating what it needs if necessary.
> > > 
> > > 
> > > 
> > > Try this. Rename your $HOME/.lyx directory to something else, then
> > > run
> > > 
> > > LyX as your usual username. If things work (after a setup timelag),
> > > 
> > > then there is just some messed up configuration file.
> > 
> > This is the terminal output after following your suggestion:
> > 
> > wolfgang@wolfgang:~$ Fontconfig warning:
> > "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 103: Having
> > multiple values in <test> isn't supported and may not work as expected
> > 
> > Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line
> > 138: Having multiple values in <test> isn't supported and may not work
> > as expected
> > 
> > LyX: Erstellen des Verzeichnisses /home/wolfgang/.lyx/
> > 
> > LyX: Konfiguriere das Benutzerverzeichnis neu
> > 
> > Running: python -tt "/usr/share/lyx/configure.py"
> > 
> > Traceback (most recent call last):
> > 
> > File "/usr/share/lyx/configure.py", line 17, in <module>
> > 
> > filemode = 'w')
> > 
> > File "/usr/lib/python2.7/logging/__init__.py", line 1530, in
> > basicConfig
> > 
> > hdlr = FileHandler(filename, mode)
> > 
> > File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
> > 
> > StreamHandler.__init__(self, self._open())
> > 
> > File "/usr/lib/python2.7/logging/__init__.py", line 926, in _open
> > 
> > stream = open(self.baseFilename, self.mode)
> > 
> > IOError: [Errno 13] Permission denied: '/home/wolfgang/configure.log'
> > 
> > support/Systemcall.cpp (273): Systemcall: 'python -tt
> > "/usr/share/lyx/configure.py"' finished with exit code 1
> > 
> > LyX: Fertig!
> > 
> > LayoutFile.cpp (107): LayoutFileList::Read: unable to find textclass
> > file `textclass.lst'.
> > 
> > LayoutFile.cpp (164): LayoutFileList::Read: no textclasses found!
> > 
> > ModuleList.cpp (136): unable to find modules file `lyxmodules.lst'.
> > 
> > No modules will be available.
> > 
> > Could not create cache directory `/home/wolfgang/.lyx/cache'.
> > 
> > I waited for about 10 minutes, but lyx was not started. I therefore
> > rebooted, but the result was again that lyx did not start. Terminal
> > output similar to the above one:
> > 
> > wolfgang@wolfgang:~$ lyx &
> > 
> > [1] 4419
> > 
> > wolfgang@wolfgang:~$ Fontconfig warning:
> > "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 103: Having
> > multiple values in <test> isn't supported and may not work as expected
> > 
> > Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line
> > 138: Having multiple values in <test> isn't supported and may not work
> > as expected
> > 
> > LyX: Konfiguriere das Benutzerverzeichnis neu
> > 
> > Running: python -tt "/usr/share/lyx/configure.py"
> > 
> > Traceback (most recent call last):
> > 
> > File "/usr/share/lyx/configure.py", line 17, in <module>
> > 
> > filemode = 'w')
> > 
> > File "/usr/lib/python2.7/logging/__init__.py", line 1530, in
> > basicConfig
> > 
> > hdlr = FileHandler(filename, mode)
> > 
> > File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
> > 
> > StreamHandler.__init__(self, self._open())
> > 
> > File "/usr/lib/python2.7/logging/__init__.py", line 926, in _open
> > 
> > stream = open(self.baseFilename, self.mode)
> > 
> > IOError: [Errno 13] Permission denied: '/home/wolfgang/configure.log'
> > 
> > support/Systemcall.cpp (273): Systemcall: 'python -tt
> > "/usr/share/lyx/configure.py"' finished with exit code 1
> > 
> > LyX: Fertig!
> > 
> > LayoutFile.cpp (107): LayoutFileList::Read: unable to find textclass
> > file `textclass.lst'.
> > 
> > LayoutFile.cpp (164): LayoutFileList::Read: no textclasses found!
> > 
> > ModuleList.cpp (136): unable to find modules file `lyxmodules.lst'.
> > 
> > No modules will be available.
> > 
> > Could not create cache directory `/home/wolfgang/.lyx/cache'.
> > 
> > I do not find the configure.log in my home (wanted to check the
> > permission)
> 
> That is a file LyX wants to create, and it is being denied permissions
> to do so.
> 
> It looks as if you may have some very bad permissions problems in your
> configuration. Can you do:
> 
> # ls -l /
> 
> and post the complete output?
> 
> Richard

This is the output of
ls -l .lyx
no permission 
under root:
insgesamt 0  (alltogether)

Scott: 
Is it possible that umask could be the problem here?
umask 0777

Wolfgang

Reply via email to