Re: LyX and temporary directory
Am Samstag, 23. Juni 2007 21:00 schrieb Paul A. Rubin: Wolfgang Engelmann wrote: This is what happended: Lyx was complaining about not enough space in ///tmp/lyx_tmpdir since ///tmp is in my case a separate partition (was probably a bad idea!) and has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. Did you create this directory, and did you give it access permissions consistent with whatever user id LyX runs under? I did create the Lyx-tmp file while incidently still under root. So, your guess: Again, I'm guessing, but maybe LyX tried to write to /home/wolfgang/Lyx-tmp, couldn't find it (or lacked permission), reverted to /tmp and then couldn't write there. was correct. Sorry for all the fuzz. Wolfgang
Re: LyX and temporary directory
Am Samstag, 23. Juni 2007 21:00 schrieb Paul A. Rubin: Wolfgang Engelmann wrote: This is what happended: Lyx was complaining about not enough space in ///tmp/lyx_tmpdir since ///tmp is in my case a separate partition (was probably a bad idea!) and has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. Did you create this directory, and did you give it access permissions consistent with whatever user id LyX runs under? I did create the Lyx-tmp file while incidently still under root. So, your guess: Again, I'm guessing, but maybe LyX tried to write to /home/wolfgang/Lyx-tmp, couldn't find it (or lacked permission), reverted to /tmp and then couldn't write there. was correct. Sorry for all the fuzz. Wolfgang
Re: LyX and temporary directory
Am Samstag, 23. Juni 2007 21:00 schrieb Paul A. Rubin: > Wolfgang Engelmann wrote: > > This is what happended: > > > > Lyx was complaining about not enough space in ///tmp/lyx_tmpdir > > since ///tmp is in my case a separate partition (was probably a bad > > idea!) and has only 140MB I changed in Lyx the path to > > /home/wolfgang/Lyx-tmp. > > Did you create this directory, and did you give it access permissions > consistent with whatever user id LyX runs under? I did create the Lyx-tmp file while incidently still under root. So, your guess: > Again, I'm guessing, but maybe LyX tried to write to > /home/wolfgang/Lyx-tmp, couldn't find it (or lacked permission), > reverted to /tmp and then couldn't write there. was correct. Sorry for all the fuzz. Wolfgang
Re: LyX and temporary directory
Am Freitag, 22. Juni 2007 23:03 schrieb charlie: On Saturday 23 June 2007 02:06, Wolfgang Engelmann shared this with us all: --} I have this problem: --} my /tmp in root is a separate partition and not very large. I have therefore --} changed the path in LyX (toolssettings) to a /tmp in my home --} and emptied the /tmp in root. That was apparently a bad idea, since now by --} trying to start lyx I get: --} --} LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' --} --} Lyx is not starting anymore. Do I have to install LyX anew? --} --} Wolfgang I had done this already (new path to /home/wolfgang/lyx-tmp/) and afterward troubles started. Mind you, I can't start Lyx anymore --- In Tools/Preferences/Paths select your temporary directory. It can be changed to a /home/user directory easily there. Thanks, anyway, Charlie Wolfgang
Re: LyX and temporary directory
On Saturday 23 June 2007 09:11:24 Wolfgang Engelmann wrote: /home/wolfgang/Lyx-tmp/ need /home/wolfgang/tmp/ ?? Any Linux user there who knows? I never saw the problems you are describing. :-) If I understand you correctly you said that as soon as you changed the temporary directory to your home area lyx started complaining that it could not create temporary files in /tmp? What version are using? (1.4.x I assume). Wolfgang -- José Abílio
Re: LyX and temporary directory
Am Freitag, 22. Juni 2007 20:56 schrieb Paul A. Rubin: Thanks, Paul, No. Find the 'preferences' file in your home directory (might be under .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it with an editor (presumably not LyX) and find the file section. There should be an entry labeled \tempdir_path. Delete it, save the file, and try to start LyX. This should revert you to the original /tmp. This works with 1.5.0rc1, but I'm pretty sure it's the same on 1.4.4. that worked; however, the reason I changed to another path (/home/wolfgang/lyx-tmp) was that my /tmp in root is a separate partition and has not enough space. So this helps for the time being, but is not a permanent solution. But I am sure that it should work under the Lyx settings. Does my directory in /home/wolfgang/ has to be /tmp, because Lyx is looking for that kind? This is my entrance in the /-lyx/preferences file: # # FILE SECTION ## # \tempdir_path /home/wolfgang/Lyx-tmp/ it was already there (since I had changed it before troubles started). So I got Lyx to work again due to your help, but need another hint I'm a bit fuzzy on what you did (and why it went wrong). The cannot-create message suggests either a nonexistent path or a permissions problem. The /tmp directory in my Debian Linux OS is under root, but permits reading and writing in the containing subdirs Again, I'm not a Linux user (although I have fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... imply that tmp is mounted at the root level? (Apologies if I flubbed the terminology there.) If I were using a local temp directory, I would have assumed it would look like /home/tmp or /user/me?/tmp. /home/wolfgang/Lyx-tmp/ need /home/wolfgang/tmp/ ?? Any Linux user there who knows? Wolfgang
Re: LyX and temporary directory
Am Samstag, 23. Juni 2007 11:18 schrieb José Matos: On Saturday 23 June 2007 09:11:24 Wolfgang Engelmann wrote: /home/wolfgang/Lyx-tmp/ need /home/wolfgang/tmp/ ?? Any Linux user there who knows? I never saw the problems you are describing. :-) If I understand you correctly you said that as soon as you changed the temporary directory to your home area lyx started complaining that it could not create temporary files in /tmp? This is what happended: Lyx was complaining about not enough space in ///tmp/lyx_tmpdir since ///tmp is in my case a separate partition (was probably a bad idea!) and has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. I furthermore removed the content of /lyx_tmpdir in ///tmp I started Lyx and got the message LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' I followed the advice of Paul Rubin: Find the 'preferences' file in your home directory (might be under .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it with an editor (presumably not LyX) and find the file section. There should be an entry labeled \tempdir_path. Delete it, save the file, and try to start LyX. This should revert you to the original /tmp. Lyx created '/tmp/lyx_tmpdir... ' again and I could use Lyx again. However, the problem stays with me, that the space of the ///tmp file is quickly exhausted (with just one run of a Lyx file -it contains lots of figures): 133 out of 140 MB are occupied. I don´t know whether I can reduce the size of another partition and increase the /tmp-partition. As you have noticed, I am quite unexperienced with administrative work and fear things end up in chaos. I would therefore prefer to use the method I tried (redirect path to /tmp in my home/wolfgang), if I can avoid the problem I described before What version are using? (1.4.x I assume). 1.4.3 Wolfgang
Re: LyX and temporary directory
Wolfgang Engelmann wrote: This is what happended: Lyx was complaining about not enough space in ///tmp/lyx_tmpdir since ///tmp is in my case a separate partition (was probably a bad idea!) and has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. Did you create this directory, and did you give it access permissions consistent with whatever user id LyX runs under? I furthermore removed the content of /lyx_tmpdir in ///tmp I started Lyx and got the message LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' Since I'm not using Linux, I can't be sure, but it seems to me that if LyX recognized the change you made to the temp path, the error message should not refer to /tmp/... (My only hesitation is the possibility that whoever programmed the error message hard-coded /tmp in the message, but I'm almost positive that's not the case.) Again, I'm guessing, but maybe LyX tried to write to /home/wolfgang/Lyx-tmp, couldn't find it (or lacked permission), reverted to /tmp and then couldn't write there. I don't think LyX will create ./Lyx-tmp under /home/wolfgang; you'll need to do that yourself (and set the permissions if necessary). /Paul
Re: LyX and temporary directory
On Saturday 23 June 2007 18:11, Wolfgang Engelmann shared this with us all: --} Am Freitag, 22. Juni 2007 20:56 schrieb Paul A. Rubin: --} Thanks, Paul, --} --} No. Find the 'preferences' file in your home directory (might be under --} .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it --} with an editor (presumably not LyX) and find the file section. There --} should be an entry labeled \tempdir_path. Delete it, save the file, and --} try to start LyX. This should revert you to the original /tmp. This --} works with 1.5.0rc1, but I'm pretty sure it's the same on 1.4.4. --} --} that worked; --} however, the reason I changed to another path (/home/wolfgang/lyx-tmp) was --} that my /tmp in root is a separate partition and has not enough space. So --} this helps for the time being, but is not a permanent solution. But I am sure --} that it should work under the Lyx settings. Does my directory --} in /home/wolfgang/ has to be /tmp, because Lyx is looking for that kind? --} --} This is my entrance in the /-lyx/preferences file: --} # --} # FILE SECTION ## --} # --} --} \tempdir_path /home/wolfgang/Lyx-tmp/ --} --} it was already there (since I had changed it before troubles started). --} --} So I got Lyx to work again due to your help, but need another hint --} --} I'm a bit fuzzy on what you did (and why it went wrong). The --} cannot-create message suggests either a nonexistent path or a --} permissions problem. --} The /tmp directory in my Debian Linux OS is under root, but permits reading --} and writing in the containing subdirs --} --} Again, I'm not a Linux user (although I have --} fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... imply --} that tmp is mounted at the root level? (Apologies if I flubbed the --} terminology there.) If I were using a local temp directory, I would --} have assumed it would look like /home/tmp or /user/me?/tmp. --} /home/wolfgang/Lyx-tmp/ --} need --} /home/wolfgang/tmp/ ?? --} --} Any Linux user there who knows? --} --} --} --} Wolfgang I have never seen the problems you describe above, in any version of Lyx. I am using Lyx 1.4.4 in Debian Lenny on this lappy at the moment, and that version in Debian Etch on another laptop. After installing Lyx, since I first began using it, on each occasion, create a /home/charlie/Lyx directory. Within this directory is one for backup, one for templates one for Lyx about itself, a temp file, usually called /home/charlie/Lyx/sometimes or something else. Then a directory for each topic or purpose I use Lyx for, and this is all placed in the Paths dialogue from with Lyx. From this point on, I just work with Lyx. Hope that helps you. Charlie -- Registered Linux User:- 329524 +++ If you know, say you know. If you don't know, say you don't know. -- Confucius *** Debian ___
Re: LyX and temporary directory
On Sunday 24 June 2007 00:30, Wolfgang Engelmann shared this with us all: snip --} This is what happended: --} --} Lyx was complaining about not enough space in ///tmp/lyx_tmpdir --} since ///tmp is in my case a separate partition (was probably a bad idea!) and --} has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. --} --} I furthermore removed the content of /lyx_tmpdir in ///tmp --} --} I started Lyx and got the message --} LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' --} --} I followed the advice of Paul Rubin: --} Find the 'preferences' file in your home directory (might be under --} .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it --} with an editor (presumably not LyX) and find the file section. There --} should be an entry labeled \tempdir_path. Delete it, save the file, and --} try to start LyX. This should revert you to the original /tmp. --} --} Lyx created '/tmp/lyx_tmpdir... ' again and I could use Lyx again. --} --} However, the problem stays with me, that the space of the ///tmp file is --} quickly exhausted (with just one run of a Lyx file -it contains lots of --} figures): 133 out of 140 MB are occupied. --} --} I don´t know whether I can reduce the size of another partition and increase --} the /tmp-partition. As you have noticed, I am quite unexperienced with --} administrative work and fear things end up in chaos. I would therefore prefer --} to use the method I tried (redirect path to /tmp in my home/wolfgang), if I --} can avoid the problem I described before --} --} What version are using? (1.4.x I assume). --} --} 1.4.3 --} --} Wolfgang In a terminal window:- You did as wolfgang:-$ mkdir Lyx-tmp Then you did:- wolfgang:-$ chmod 744 -v Lyx-tmp Then you started Lyx and and changed the path to the /tmp directory Then you hit reconfigure which told you it had been reconfigured and you have to shutdown and restart Lyx - You did that and it still didn't work? Charlie -- Registered Linux User:- 329524 +++ People with opinions just go around bothering one another. -- THE BUDDHA *** Debian ___
Re: LyX and temporary directory
Am Freitag, 22. Juni 2007 23:03 schrieb charlie: On Saturday 23 June 2007 02:06, Wolfgang Engelmann shared this with us all: --} I have this problem: --} my /tmp in root is a separate partition and not very large. I have therefore --} changed the path in LyX (toolssettings) to a /tmp in my home --} and emptied the /tmp in root. That was apparently a bad idea, since now by --} trying to start lyx I get: --} --} LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' --} --} Lyx is not starting anymore. Do I have to install LyX anew? --} --} Wolfgang I had done this already (new path to /home/wolfgang/lyx-tmp/) and afterward troubles started. Mind you, I can't start Lyx anymore --- In Tools/Preferences/Paths select your temporary directory. It can be changed to a /home/user directory easily there. Thanks, anyway, Charlie Wolfgang
Re: LyX and temporary directory
On Saturday 23 June 2007 09:11:24 Wolfgang Engelmann wrote: /home/wolfgang/Lyx-tmp/ need /home/wolfgang/tmp/ ?? Any Linux user there who knows? I never saw the problems you are describing. :-) If I understand you correctly you said that as soon as you changed the temporary directory to your home area lyx started complaining that it could not create temporary files in /tmp? What version are using? (1.4.x I assume). Wolfgang -- José Abílio
Re: LyX and temporary directory
Am Freitag, 22. Juni 2007 20:56 schrieb Paul A. Rubin: Thanks, Paul, No. Find the 'preferences' file in your home directory (might be under .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it with an editor (presumably not LyX) and find the file section. There should be an entry labeled \tempdir_path. Delete it, save the file, and try to start LyX. This should revert you to the original /tmp. This works with 1.5.0rc1, but I'm pretty sure it's the same on 1.4.4. that worked; however, the reason I changed to another path (/home/wolfgang/lyx-tmp) was that my /tmp in root is a separate partition and has not enough space. So this helps for the time being, but is not a permanent solution. But I am sure that it should work under the Lyx settings. Does my directory in /home/wolfgang/ has to be /tmp, because Lyx is looking for that kind? This is my entrance in the /-lyx/preferences file: # # FILE SECTION ## # \tempdir_path /home/wolfgang/Lyx-tmp/ it was already there (since I had changed it before troubles started). So I got Lyx to work again due to your help, but need another hint I'm a bit fuzzy on what you did (and why it went wrong). The cannot-create message suggests either a nonexistent path or a permissions problem. The /tmp directory in my Debian Linux OS is under root, but permits reading and writing in the containing subdirs Again, I'm not a Linux user (although I have fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... imply that tmp is mounted at the root level? (Apologies if I flubbed the terminology there.) If I were using a local temp directory, I would have assumed it would look like /home/tmp or /user/me?/tmp. /home/wolfgang/Lyx-tmp/ need /home/wolfgang/tmp/ ?? Any Linux user there who knows? Wolfgang
Re: LyX and temporary directory
Am Samstag, 23. Juni 2007 11:18 schrieb José Matos: On Saturday 23 June 2007 09:11:24 Wolfgang Engelmann wrote: /home/wolfgang/Lyx-tmp/ need /home/wolfgang/tmp/ ?? Any Linux user there who knows? I never saw the problems you are describing. :-) If I understand you correctly you said that as soon as you changed the temporary directory to your home area lyx started complaining that it could not create temporary files in /tmp? This is what happended: Lyx was complaining about not enough space in ///tmp/lyx_tmpdir since ///tmp is in my case a separate partition (was probably a bad idea!) and has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. I furthermore removed the content of /lyx_tmpdir in ///tmp I started Lyx and got the message LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' I followed the advice of Paul Rubin: Find the 'preferences' file in your home directory (might be under .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it with an editor (presumably not LyX) and find the file section. There should be an entry labeled \tempdir_path. Delete it, save the file, and try to start LyX. This should revert you to the original /tmp. Lyx created '/tmp/lyx_tmpdir... ' again and I could use Lyx again. However, the problem stays with me, that the space of the ///tmp file is quickly exhausted (with just one run of a Lyx file -it contains lots of figures): 133 out of 140 MB are occupied. I don´t know whether I can reduce the size of another partition and increase the /tmp-partition. As you have noticed, I am quite unexperienced with administrative work and fear things end up in chaos. I would therefore prefer to use the method I tried (redirect path to /tmp in my home/wolfgang), if I can avoid the problem I described before What version are using? (1.4.x I assume). 1.4.3 Wolfgang
Re: LyX and temporary directory
Wolfgang Engelmann wrote: This is what happended: Lyx was complaining about not enough space in ///tmp/lyx_tmpdir since ///tmp is in my case a separate partition (was probably a bad idea!) and has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. Did you create this directory, and did you give it access permissions consistent with whatever user id LyX runs under? I furthermore removed the content of /lyx_tmpdir in ///tmp I started Lyx and got the message LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' Since I'm not using Linux, I can't be sure, but it seems to me that if LyX recognized the change you made to the temp path, the error message should not refer to /tmp/... (My only hesitation is the possibility that whoever programmed the error message hard-coded /tmp in the message, but I'm almost positive that's not the case.) Again, I'm guessing, but maybe LyX tried to write to /home/wolfgang/Lyx-tmp, couldn't find it (or lacked permission), reverted to /tmp and then couldn't write there. I don't think LyX will create ./Lyx-tmp under /home/wolfgang; you'll need to do that yourself (and set the permissions if necessary). /Paul
Re: LyX and temporary directory
On Saturday 23 June 2007 18:11, Wolfgang Engelmann shared this with us all: --} Am Freitag, 22. Juni 2007 20:56 schrieb Paul A. Rubin: --} Thanks, Paul, --} --} No. Find the 'preferences' file in your home directory (might be under --} .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it --} with an editor (presumably not LyX) and find the file section. There --} should be an entry labeled \tempdir_path. Delete it, save the file, and --} try to start LyX. This should revert you to the original /tmp. This --} works with 1.5.0rc1, but I'm pretty sure it's the same on 1.4.4. --} --} that worked; --} however, the reason I changed to another path (/home/wolfgang/lyx-tmp) was --} that my /tmp in root is a separate partition and has not enough space. So --} this helps for the time being, but is not a permanent solution. But I am sure --} that it should work under the Lyx settings. Does my directory --} in /home/wolfgang/ has to be /tmp, because Lyx is looking for that kind? --} --} This is my entrance in the /-lyx/preferences file: --} # --} # FILE SECTION ## --} # --} --} \tempdir_path /home/wolfgang/Lyx-tmp/ --} --} it was already there (since I had changed it before troubles started). --} --} So I got Lyx to work again due to your help, but need another hint --} --} I'm a bit fuzzy on what you did (and why it went wrong). The --} cannot-create message suggests either a nonexistent path or a --} permissions problem. --} The /tmp directory in my Debian Linux OS is under root, but permits reading --} and writing in the containing subdirs --} --} Again, I'm not a Linux user (although I have --} fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... imply --} that tmp is mounted at the root level? (Apologies if I flubbed the --} terminology there.) If I were using a local temp directory, I would --} have assumed it would look like /home/tmp or /user/me?/tmp. --} /home/wolfgang/Lyx-tmp/ --} need --} /home/wolfgang/tmp/ ?? --} --} Any Linux user there who knows? --} --} --} --} Wolfgang I have never seen the problems you describe above, in any version of Lyx. I am using Lyx 1.4.4 in Debian Lenny on this lappy at the moment, and that version in Debian Etch on another laptop. After installing Lyx, since I first began using it, on each occasion, create a /home/charlie/Lyx directory. Within this directory is one for backup, one for templates one for Lyx about itself, a temp file, usually called /home/charlie/Lyx/sometimes or something else. Then a directory for each topic or purpose I use Lyx for, and this is all placed in the Paths dialogue from with Lyx. From this point on, I just work with Lyx. Hope that helps you. Charlie -- Registered Linux User:- 329524 +++ If you know, say you know. If you don't know, say you don't know. -- Confucius *** Debian ___
Re: LyX and temporary directory
On Sunday 24 June 2007 00:30, Wolfgang Engelmann shared this with us all: snip --} This is what happended: --} --} Lyx was complaining about not enough space in ///tmp/lyx_tmpdir --} since ///tmp is in my case a separate partition (was probably a bad idea!) and --} has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. --} --} I furthermore removed the content of /lyx_tmpdir in ///tmp --} --} I started Lyx and got the message --} LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' --} --} I followed the advice of Paul Rubin: --} Find the 'preferences' file in your home directory (might be under --} .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it --} with an editor (presumably not LyX) and find the file section. There --} should be an entry labeled \tempdir_path. Delete it, save the file, and --} try to start LyX. This should revert you to the original /tmp. --} --} Lyx created '/tmp/lyx_tmpdir... ' again and I could use Lyx again. --} --} However, the problem stays with me, that the space of the ///tmp file is --} quickly exhausted (with just one run of a Lyx file -it contains lots of --} figures): 133 out of 140 MB are occupied. --} --} I don´t know whether I can reduce the size of another partition and increase --} the /tmp-partition. As you have noticed, I am quite unexperienced with --} administrative work and fear things end up in chaos. I would therefore prefer --} to use the method I tried (redirect path to /tmp in my home/wolfgang), if I --} can avoid the problem I described before --} --} What version are using? (1.4.x I assume). --} --} 1.4.3 --} --} Wolfgang In a terminal window:- You did as wolfgang:-$ mkdir Lyx-tmp Then you did:- wolfgang:-$ chmod 744 -v Lyx-tmp Then you started Lyx and and changed the path to the /tmp directory Then you hit reconfigure which told you it had been reconfigured and you have to shutdown and restart Lyx - You did that and it still didn't work? Charlie -- Registered Linux User:- 329524 +++ People with opinions just go around bothering one another. -- THE BUDDHA *** Debian ___
Re: LyX and temporary directory
Am Freitag, 22. Juni 2007 23:03 schrieb charlie: > On Saturday 23 June 2007 02:06, Wolfgang Engelmann shared this with us all: > >--} I have this problem: > >--} my /tmp in root is a separate partition and not very large. I have > > therefore --} changed the path in LyX (tools>settings) to a /tmp in my > > home --} and emptied the /tmp in root. That was apparently a bad idea, > > since now by --} trying to start lyx I get: > >--} > >--} LyX could not create the temporary directory > > '/tmp/lyx_tmpdir63043uH0e4' --} > >--} Lyx is not starting anymore. Do I have to install LyX anew? > >--} > >--} Wolfgang > I had done this already (new path to /home/wolfgang/lyx-tmp/) and afterward troubles started. Mind you, I can't start Lyx anymore ---> > In Tools/Preferences/Paths select your temporary directory. It can be > changed to a /home/user directory easily there. Thanks, anyway, Charlie Wolfgang
Re: LyX and temporary directory
On Saturday 23 June 2007 09:11:24 Wolfgang Engelmann wrote: > /home/wolfgang/Lyx-tmp/ > need > /home/wolfgang/tmp/ ?? > > Any Linux user there who knows? I never saw the problems you are describing. :-) If I understand you correctly you said that as soon as you changed the temporary directory to your home area lyx started complaining that it could not create temporary files in /tmp? What version are using? (1.4.x I assume). > Wolfgang -- José Abílio
Re: LyX and temporary directory
Am Freitag, 22. Juni 2007 20:56 schrieb Paul A. Rubin: Thanks, Paul, > No. Find the 'preferences' file in your home directory (might be under > .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it > with an editor (presumably not LyX) and find the file section. There > should be an entry labeled \tempdir_path. Delete it, save the file, and > try to start LyX. This should revert you to the original /tmp. This > works with 1.5.0rc1, but I'm pretty sure it's the same on 1.4.4. that worked; however, the reason I changed to another path (/home/wolfgang/lyx-tmp) was that my /tmp in root is a separate partition and has not enough space. So this helps for the time being, but is not a permanent solution. But I am sure that it should work under the Lyx settings. Does my directory in /home/wolfgang/ has to be /tmp, because Lyx is looking for that kind? This is my entrance in the /-lyx/preferences file: # # FILE SECTION ## # \tempdir_path "/home/wolfgang/Lyx-tmp/" it was already there (since I had changed it before troubles started). So I got Lyx to work again due to your help, but need another hint > > I'm a bit fuzzy on what you did (and why it went wrong). The > cannot-create message suggests either a nonexistent path or a > permissions problem. The /tmp directory in my Debian Linux OS is under root, but permits reading and writing in the containing subdirs > Again, I'm not a Linux user (although I have > fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... imply > that tmp is mounted at the root level? (Apologies if I flubbed the > terminology there.) If I were using a local temp directory, I would > have assumed it would look like /home/tmp or /user//tmp. /home/wolfgang/Lyx-tmp/ need /home/wolfgang/tmp/ ?? Any Linux user there who knows? Wolfgang
Re: LyX and temporary directory
Am Samstag, 23. Juni 2007 11:18 schrieb José Matos: > On Saturday 23 June 2007 09:11:24 Wolfgang Engelmann wrote: > > /home/wolfgang/Lyx-tmp/ > > need > > /home/wolfgang/tmp/ ?? > > > > Any Linux user there who knows? > > I never saw the problems you are describing. :-) > > If I understand you correctly you said that as soon as you changed the > temporary directory to your home area lyx started complaining that it could > not create temporary files in /tmp? This is what happended: Lyx was complaining about not enough space in ///tmp/lyx_tmpdir since ///tmp is in my case a separate partition (was probably a bad idea!) and has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. I furthermore removed the content of /lyx_tmpdir in ///tmp I started Lyx and got the message LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' I followed the advice of Paul Rubin: Find the 'preferences' file in your home directory (might be under .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it with an editor (presumably not LyX) and find the file section. There should be an entry labeled \tempdir_path. Delete it, save the file, and try to start LyX. This should revert you to the original /tmp. Lyx created '/tmp/lyx_tmpdir... ' again and I could use Lyx again. However, the problem stays with me, that the space of the ///tmp file is quickly exhausted (with just one run of a Lyx file -it contains lots of figures): 133 out of 140 MB are occupied. I don´t know whether I can reduce the size of another partition and increase the /tmp-partition. As you have noticed, I am quite unexperienced with administrative work and fear things end up in chaos. I would therefore prefer to use the method I tried (redirect path to /tmp in my home/wolfgang), if I can avoid the problem I described before > > What version are using? (1.4.x I assume). 1.4.3 Wolfgang
Re: LyX and temporary directory
Wolfgang Engelmann wrote: This is what happended: Lyx was complaining about not enough space in ///tmp/lyx_tmpdir since ///tmp is in my case a separate partition (was probably a bad idea!) and has only 140MB I changed in Lyx the path to /home/wolfgang/Lyx-tmp. Did you create this directory, and did you give it access permissions consistent with whatever user id LyX runs under? I furthermore removed the content of /lyx_tmpdir in ///tmp I started Lyx and got the message LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' Since I'm not using Linux, I can't be sure, but it seems to me that if LyX recognized the change you made to the temp path, the error message should not refer to /tmp/... (My only hesitation is the possibility that whoever programmed the error message hard-coded /tmp in the message, but I'm almost positive that's not the case.) Again, I'm guessing, but maybe LyX tried to write to /home/wolfgang/Lyx-tmp, couldn't find it (or lacked permission), reverted to /tmp and then couldn't write there. I don't think LyX will create ./Lyx-tmp under /home/wolfgang; you'll need to do that yourself (and set the permissions if necessary). /Paul
Re: LyX and temporary directory
On Saturday 23 June 2007 18:11, Wolfgang Engelmann shared this with us all: >--} Am Freitag, 22. Juni 2007 20:56 schrieb Paul A. Rubin: >--} Thanks, Paul, >--} >--} > No. Find the 'preferences' file in your home directory (might be > under --} > .lyx on a Linux system -- I'm on Windoze, so I'm not sure). > Open it --} > with an editor (presumably not LyX) and find the file > section. There --} > should be an entry labeled \tempdir_path. Delete it, > save the file, and --} > try to start LyX. This should revert you to the > original /tmp. This --} > works with 1.5.0rc1, but I'm pretty sure it's > the same on 1.4.4. --} >--} that worked; >--} however, the reason I changed to another path (/home/wolfgang/lyx-tmp) > was --} that my /tmp in root is a separate partition and has not enough > space. So --} this helps for the time being, but is not a permanent > solution. But I am sure --} that it should work under the Lyx settings. > Does my directory >--} in /home/wolfgang/ has to be /tmp, because Lyx is looking for that > kind? --} >--} This is my entrance in the /-lyx/preferences file: >--} # >--} # FILE SECTION ## >--} # >--} >--} \tempdir_path "/home/wolfgang/Lyx-tmp/" >--} >--} it was already there (since I had changed it before troubles started). >--} >--} So I got Lyx to work again due to your help, but need another hint >--} > >--} > I'm a bit fuzzy on what you did (and why it went wrong). The >--} > cannot-create message suggests either a nonexistent path or a >--} > permissions problem. >--} The /tmp directory in my Debian Linux OS is under root, but permits > reading --} and writing in the containing subdirs >--} >--} > Again, I'm not a Linux user (although I have >--} > fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... > imply --} > that tmp is mounted at the root level? (Apologies if I flubbed > the --} > terminology there.) If I were using a local temp directory, I > would --} > have assumed it would look like /home/tmp or /user//tmp. > --} /home/wolfgang/Lyx-tmp/ >--} need >--} /home/wolfgang/tmp/ ?? >--} >--} Any Linux user there who knows? >--} >--} >--} >--} Wolfgang I have never seen the problems you describe above, in any version of Lyx. I am using Lyx 1.4.4 in Debian Lenny on this lappy at the moment, and that version in Debian Etch on another laptop. After installing Lyx, since I first began using it, on each occasion, create a /home/charlie/Lyx directory. Within this directory is one for backup, one for templates one for Lyx about itself, a temp file, usually called /home/charlie/Lyx/sometimes or something else. Then a directory for each topic or purpose I use Lyx for, and this is all placed in the Paths dialogue from with Lyx. From this point on, I just work with Lyx. Hope that helps you. Charlie -- Registered Linux User:- 329524 +++ If you know, say you know. If you don't know, say you don't know. -- Confucius *** Debian ___
Re: LyX and temporary directory
On Sunday 24 June 2007 00:30, Wolfgang Engelmann shared this with us all: >--} This is what happended: >--} >--} Lyx was complaining about not enough space in ///tmp/lyx_tmpdir >--} since ///tmp is in my case a separate partition (was probably a bad > idea!) and --} has only 140MB I changed in Lyx the path to > /home/wolfgang/Lyx-tmp. --} >--} I furthermore removed the content of /lyx_tmpdir in ///tmp >--} >--} I started Lyx and got the message >--} LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' >--} >--} I followed the advice of Paul Rubin: >--} Find the 'preferences' file in your home directory (might be under >--} .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it >--} with an editor (presumably not LyX) and find the file section. There >--} should be an entry labeled \tempdir_path. Delete it, save the file, and >--} try to start LyX. This should revert you to the original /tmp. >--} >--} Lyx created '/tmp/lyx_tmpdir... ' again and I could use Lyx again. >--} >--} However, the problem stays with me, that the space of the ///tmp file > is --} quickly exhausted (with just one run of a Lyx file -it contains lots > of --} figures): 133 out of 140 MB are occupied. >--} >--} I don´t know whether I can reduce the size of another partition and > increase --} the /tmp-partition. As you have noticed, I am quite > unexperienced with --} administrative work and fear things end up in chaos. > I would therefore prefer --} to use the method I tried (redirect path to > /tmp in my home/wolfgang), if I --} can avoid the problem I described > before >--} > >--} > What version are using? (1.4.x I assume). >--} >--} 1.4.3 >--} >--} Wolfgang In a terminal window:- You did as wolfgang:-$ mkdir Lyx-tmp Then you did:- wolfgang:-$ chmod 744 -v Lyx-tmp Then you started Lyx and and changed the path to the /tmp directory Then you hit which told you it had been reconfigured and you have to shutdown and restart Lyx - You did that and it still didn't work? Charlie -- Registered Linux User:- 329524 +++ People with opinions just go around bothering one another. -- THE BUDDHA *** Debian ___
Re: LyX and temporary directory
Wolfgang Engelmann wrote: I have this problem: my /tmp in root is a separate partition and not very large. I have therefore changed the path in LyX (toolssettings) to a /tmp in my home and emptied the /tmp in root. That was apparently a bad idea, since now by trying to start lyx I get: LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' Lyx is not starting anymore. Do I have to install LyX anew? No. Find the 'preferences' file in your home directory (might be under .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it with an editor (presumably not LyX) and find the file section. There should be an entry labeled \tempdir_path. Delete it, save the file, and try to start LyX. This should revert you to the original /tmp. This works with 1.5.0rc1, but I'm pretty sure it's the same on 1.4.4. I'm a bit fuzzy on what you did (and why it went wrong). The cannot-create message suggests either a nonexistent path or a permissions problem. Again, I'm not a Linux user (although I have fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... imply that tmp is mounted at the root level? (Apologies if I flubbed the terminology there.) If I were using a local temp directory, I would have assumed it would look like /home/tmp or /user/me?/tmp. /Paul
Re: LyX and temporary directory
On Saturday 23 June 2007 02:06, Wolfgang Engelmann shared this with us all: --} I have this problem: --} my /tmp in root is a separate partition and not very large. I have therefore --} changed the path in LyX (toolssettings) to a /tmp in my home --} and emptied the /tmp in root. That was apparently a bad idea, since now by --} trying to start lyx I get: --} --} LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' --} --} Lyx is not starting anymore. Do I have to install LyX anew? --} --} Wolfgang In Tools/Preferences/Paths select your temporary directory. It can be changed to a /home/user directory easily there. Charlie -- Registered Linux User:- 329524 +++ If you have made what you perceive as a mistake. Know that you have made a decision. Then where is the error? --- anon *** Debian ___
Re: LyX and temporary directory
Wolfgang Engelmann wrote: I have this problem: my /tmp in root is a separate partition and not very large. I have therefore changed the path in LyX (toolssettings) to a /tmp in my home and emptied the /tmp in root. That was apparently a bad idea, since now by trying to start lyx I get: LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' Lyx is not starting anymore. Do I have to install LyX anew? No. Find the 'preferences' file in your home directory (might be under .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it with an editor (presumably not LyX) and find the file section. There should be an entry labeled \tempdir_path. Delete it, save the file, and try to start LyX. This should revert you to the original /tmp. This works with 1.5.0rc1, but I'm pretty sure it's the same on 1.4.4. I'm a bit fuzzy on what you did (and why it went wrong). The cannot-create message suggests either a nonexistent path or a permissions problem. Again, I'm not a Linux user (although I have fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... imply that tmp is mounted at the root level? (Apologies if I flubbed the terminology there.) If I were using a local temp directory, I would have assumed it would look like /home/tmp or /user/me?/tmp. /Paul
Re: LyX and temporary directory
On Saturday 23 June 2007 02:06, Wolfgang Engelmann shared this with us all: --} I have this problem: --} my /tmp in root is a separate partition and not very large. I have therefore --} changed the path in LyX (toolssettings) to a /tmp in my home --} and emptied the /tmp in root. That was apparently a bad idea, since now by --} trying to start lyx I get: --} --} LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' --} --} Lyx is not starting anymore. Do I have to install LyX anew? --} --} Wolfgang In Tools/Preferences/Paths select your temporary directory. It can be changed to a /home/user directory easily there. Charlie -- Registered Linux User:- 329524 +++ If you have made what you perceive as a mistake. Know that you have made a decision. Then where is the error? --- anon *** Debian ___
Re: LyX and temporary directory
Wolfgang Engelmann wrote: I have this problem: my /tmp in root is a separate partition and not very large. I have therefore changed the path in LyX (tools>settings) to a /tmp in my home and emptied the /tmp in root. That was apparently a bad idea, since now by trying to start lyx I get: LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' Lyx is not starting anymore. Do I have to install LyX anew? No. Find the 'preferences' file in your home directory (might be under .lyx on a Linux system -- I'm on Windoze, so I'm not sure). Open it with an editor (presumably not LyX) and find the file section. There should be an entry labeled \tempdir_path. Delete it, save the file, and try to start LyX. This should revert you to the original /tmp. This works with 1.5.0rc1, but I'm pretty sure it's the same on 1.4.4. I'm a bit fuzzy on what you did (and why it went wrong). The cannot-create message suggests either a nonexistent path or a permissions problem. Again, I'm not a Linux user (although I have fooled around with it in the past), but doesn't /tmp/lyx_tmpdir... imply that tmp is mounted at the root level? (Apologies if I flubbed the terminology there.) If I were using a local temp directory, I would have assumed it would look like /home/tmp or /user//tmp. /Paul
Re: LyX and temporary directory
On Saturday 23 June 2007 02:06, Wolfgang Engelmann shared this with us all: >--} I have this problem: >--} my /tmp in root is a separate partition and not very large. I have > therefore --} changed the path in LyX (tools>settings) to a /tmp in my home >--} and emptied the /tmp in root. That was apparently a bad idea, since now > by --} trying to start lyx I get: >--} >--} LyX could not create the temporary directory '/tmp/lyx_tmpdir63043uH0e4' >--} >--} Lyx is not starting anymore. Do I have to install LyX anew? >--} >--} Wolfgang In Tools/Preferences/Paths select your temporary directory. It can be changed to a /home/user directory easily there. Charlie -- Registered Linux User:- 329524 +++ If you have made what you perceive as a mistake. Know that you have made a decision. Then where is the error? --- anon *** Debian ___