[Therion] Metapost error 256

Bill Gee bgee at campercaver.net
Tue Mar 25 20:46:00 CET 2014


Hi Wookey -

If I add "-d" as a command line option in xTherion, then a directory called 
thTMPDIR is created under the directory containing the map source files.  On 
the machine that fails, the directory contains only five files.  One of them is 
data.mp.  I do not see a data.log file on either computer.  On a working 
computer the directory contains about 40 or 50 files.

On both working and not-working computers - there is no environment variable 
called tmp or temp.  The /tmp directory exists and has 1777 permissions.  
There is a temp directory under the user home directory which has 0777 
permissions.  The directory holding the source files has 0775 permissions.  The 
source files directory and the files it contains are owned by the same user 
account that is running xTherion.

If I try to compile the map as root user, it produces the same error.

I hauled out the strace utility to see if I could figure out what file it is 
barfing on.  It was not much help.  It is failing to open a lot of files.  I 
suspect many of those errors are simply the process of searching for files that 
might be in several places.

I tried running "therion -x thconfig" from the command line instead of from 
inside xTherion.  This produced two new lines of error:

============
Sorry, I can't find the 'mpost' preload file; will try 'plain'.
I can't find the 'plain' preload file!
============

Regards - Bill Gee


On Tuesday, March 25, 2014 17:14:31 Wookey wrote:
> +++ Bill Gee [2014-03-25 11:00 -0500]:
> > Hello everyone -
> > 
> > I am trying to get Therion to work on a laptop.  As far as I can tell, it
> > is configured exactly the same as my desktop computer where Therion works
> > just fine.
> > 
> > Both systems are on the same version of Therion.  Both are 64-bit Fedora
> > 20. Both have the same set Texlive, Metapost and font packages. 
> > Therion.ini is identical.  From a command prompt "mpost --version"
> > produces the same output. I have checked file system permissions, and
> > they all are the same.
> > 
> > Any clues?  What else should I look at?
> 
> Hmm.
> 
> > writing AllieSpringCave.pdf ...
> > ####################### metapost log file ########################
> > therion: warning -- can't open data.log file for input
> > can't open data.log file for input#################### end of metapost log
> > file
> I think these are the files that go in thtmpdir during processing.
> that's normally a tmpdir 'th<something>' in /tmp, but I'm not sure what sets
> it to that.
> 
> There is an option to not delete those files after processing which
> might give you a clue.
> 
> Something about your tmp setup between machines might be at issue here
> (although I can't think what)?
> 
> Wookey




More information about the Therion mailing list