Re: Preparing for development
> > Something similar to PATH (DIR?) environment variable including path to > imagemagick is likely missing. I guess VC can setup such thing in > settings(?). > Simply cant get it working, tried adding all of those paths to projects properties... to PATH... not working... When I copy imagemagick and ghostscript folder from the installed LyX to the built one it works, but only if I copy and not move. So there must be something in imagemagick folder that points it to the ghostscript folder? But when I copy only the ghostscript folder it does not work. At the same time when when I copy only the imagemagick folder it does not work either, works only if both folders are at both places... I dont get it. -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Preparing for development
On Tue, Jan 07, 2020 at 03:22:16PM +0100, Yu Jin wrote: > What also just worked, I copied the LyX.exe which I compiled on my PC > (stable) into the bin folder of the installed LyX (moved the origional one > to a different place beforehand) and tried it out with that one, pdf file > was displayed so the python script succeeded. > > Any idea what is going on there? Something similar to PATH (DIR?) environment variable including path to imagemagick is likely missing. I guess VC can setup such thing in settings(?). Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Preparing for development
Thanks :), In the mean while I have investigated the issue, where pdf files are not displayed for me. I have seen that there is a python script generated in a temporary folder, which is then executed. It first should convert pdf6 to eps and then eps to png. The first step seems to succeed but the second not. Then LyX can't load the png file because it does not exist. As far as I can tell it fails here: os.system(r'magick ' + '"' + infile + '"' + ' ' + '"' + outfile + '"' + '') I have tried to type this command manually into python command prompt (of course after importing "os" and creating all the other variables, which are created in the script, and making sure that the infile exists), but all I get is . Strangely it works on the installed 2.3.3 version, which I downloaded from lyx.org and installed, but it does not on both versions (master and stable), which I have compiled on my PC. Even though the scripts are same. What also just worked, I copied the LyX.exe which I compiled on my PC (stable) into the bin folder of the installed LyX (moved the origional one to a different place beforehand) and tried it out with that one, pdf file was displayed so the python script succeeded. Any idea what is going on there? Eugene -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel