Re: [Fink-users] TeXmacs and Maxima

2003-06-02 Thread Joe Corneli
I have

 i   maxima5.9.0.0-2   Symbol manipulation program
 i   texmacs   1.0.1.14-1  TeX-based WYSIWYG editor

same as you.  Fink was updated pretty recently, but I'm not sure why that
would be relevant since I have the same code for these programs. I use
Apple's X11, again not sure how that is relevant, though it is a better
candidate for an error.  I'm currently updating to 10.2.6...  I guess one
of these things must be relevant, otherwise it would work for me, right?

One question is: what (bad) URL is being passed at the startup of
Maxima?  It seems like it would be good to rewrite url.cc (or whatever
uses the functions there) to print out the url that are being passed...

like this:

Fatal error: bad url 'http://fnik.sourceforge.net' in 'complete'
See file   : url.cc

Then I could at least track down the bad URL and attempt to repair it.  

Another question is: why are URLs being passed around anyway? 

Joe

On Sun, 1 Jun 2003, [ISO-8859-1] Michèle Garoche wrote:

 
 Le dimanche, 1 juin 2003, à 09:58 Europe/Paris, Joe Corneli a écrit :
 
  Hello --
 
  I tried to use Maxima in TeXmacs and got
  this (fatal) error.
 Which version of texmacs, which version of MacOSX, under Apple's X11 or 
 Xfree86 and which version.
 Do you update fink via cvs or not?
 
 I use Fink's unstable tree and It works fine (Mac OS 10.2.6) under 
 Xfree86 with those versions:
 
 i   texmacs  1.0.1.14-1   TeX-based WYSIWYG editor
 i   maxima   5.9.0.0-2Symbol manipulation program
 i   xfree86  4.3.0-2  XFree86 distribution
 i   xfree86-shlibs   4.3.0-2  XFree86 distribution
 
 Michèle
 http://micmacfr.homeunix.org/
 





---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] TeXmacs and Maxima

2003-06-02 Thread Martin Costabel
Joe Corneli wrote:

Another question is: why are URLs being passed around anyway? 
Texmacs treats any address, local path or net address, as url. You 
have one that it cannot interpret. Let's look at the usual suspects: You 
don't have a partition name or path name containing a space or some 
other weird character, do you?

--
Martin


---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] TeXmacs and Maxima

2003-06-02 Thread Michèle Garoche
Le dimanche, 1 juin 2003, à 22:48 Europe/Paris, Joe Corneli a écrit :

I have

 i   maxima5.9.0.0-2   Symbol manipulation program
 i   texmacs   1.0.1.14-1  TeX-based WYSIWYG editor
same as you.  Fink was updated pretty recently, but I'm not sure why 
that
would be relevant since I have the same code for these programs. I use
Apple's X11, again not sure how that is relevant, though it is a better
candidate for an error.
I've tried it with X11 too, and it works. Did you try it with a new 
document? I mean, just launch TeXmacs and click on the session icon? 
(that the way I tried it).

And, I've also tried it with a tm file stored in a directory with a 
space in the url, and it works too.

Michèle
http://micmacfr.homeunix.org/


---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] TeXmacs and Maxima

2003-06-02 Thread Joe Corneli
Here is the path.

/sw/share/Geomview/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/joe:/usr/X11R6/bin:/Users/joe/bin/:/usr/local/bin/

So that's probably ok.  But my computer's name (aka hard drive's name) is
Deep Black 0.02 --- maybe this is what is causing the problem.  Maybe
it's time to update the name to diderot or cauliflower or alice or
something like that.  So many fun names to choose from.  It seems a bit
ironic (give the context and the reason I chose the name) that Deep Black
0.02 would cause trouble for TeXmacs and Maxima!

This is the only thing on my computer that I can think of with weird
characters in it.  Basically everything else that could possibly be
relevant was set up by Fink. (But like I said in my earlier message, it
would be good if TeXmacs included the bad URL in the text of its error
message, this would allow me to be sure.)  Would my computer's name
actually come up in TeXmacs? To me that seems a bit odd, but I'll try
changing the name and maybe that will help.

Joe

On Mon, 2 Jun 2003, Martin Costabel wrote:

 Joe Corneli wrote:
 
  Another question is: why are URLs being passed around anyway? 
 
 Texmacs treats any address, local path or net address, as url. You 
 have one that it cannot interpret. Let's look at the usual suspects: You 
 don't have a partition name or path name containing a space or some 
 other weird character, do you?
 
 -- 
 Martin
 



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] TeXmacs and Maxima

2003-06-02 Thread Joe Corneli
Ok, my computer's name is now wonderland...

Here is another guess about what is causing the problem,
this thing looks a little mangled.

% env
*snip*
TEXMF={/sw/share/lilypond/1.6.6,{/Users/joe/Library/texmf,!!/sw/share/texmf.local,!!/sw/share/texmf.os,!!/sw/share/texmf}}

Might this be another candidate?  Suggested revisions?

Note that I haven't tried rebooting since changing the computer's name yet
(I noted no success in trial)...

Joe


On Mon, 2 Jun 2003, Martin Costabel wrote:

 Joe Corneli wrote:
 
  Another question is: why are URLs being passed around anyway? 
 
 Texmacs treats any address, local path or net address, as url. You 
 have one that it cannot interpret. Let's look at the usual suspects: You 
 don't have a partition name or path name containing a space or some 
 other weird character, do you?
 
 -- 
 Martin
 



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] TeXmacs and Maxima

2003-06-02 Thread Joe Corneli
Rebooting didn't help.  I observed something kind of weird, maybe this
will help you track down the problem: when I start TeXmacs in my home
directory (/Users/joe/) and then click on the Maxima button, nothing
happens except the crash.  When I start it in the root directory (/), the
CLISP logo (in black) and the first command prompt (in red) show
up briefly before TeXmacs crashes.

Joe

On Mon, 2 Jun 2003, Martin Costabel wrote:

 Joe Corneli wrote:
 
  Another question is: why are URLs being passed around anyway? 
 
 Texmacs treats any address, local path or net address, as url. You 
 have one that it cannot interpret. Let's look at the usual suspects: You 
 don't have a partition name or path name containing a space or some 
 other weird character, do you?
 
 -- 
 Martin
 



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] TeXmacs and Maxima

2003-06-02 Thread Martin Costabel
Found it.

It is a weird bug in texmacs (so weird that is probably a feature, not a 
bug). I am cross-posting to texmacs-users so that we get experts' 
opinion about this, too.

I found it, because I was getting the same crash now on a newly 
installed machine, whereas I haven't ever seen it before.

Joe Corneli wrote:
Hello --

I tried to use Maxima in TeXmacs and got
this (fatal) error.

% texmacs 
[1] 22569
[Small03]%
TeXmacs] Loading ecrm11 at 300 dpi
[etc]
TeXmacs] Starting session 'default'
TeXmacs] Launching 'maxima' via tm_maxima
TeXmacs] Loading cmr10 at 600 dpi
Fatal error: bad url in 'complete'
See file   : url.cc
The reason for the crash is that the 'url' in question is empty. It is 
supposed to be the list of paths to the file maxima_toc.html. You do 
have this file, but texmacs does not see it, because it uses 'locate' to 
locate it, and your locate database was not updated after the 
installation of maxima.

To test this theory: Run locate maxima_toc.html. My guess is that the 
output is empty, but that the file nevertheless exists at 
/sw/share/maxima/5.9.0/doc/html/maxima_toc.html.

So the remedy is simple: Run sudo /usr/libexec/locate.updatedb, wait 
10 minutes (could be faster) until it is finished, and all will be well.

This actually poses a bigger problem: The locate database has a tendency 
to not be up to date, because in the best case it is updated once a day, 
and on laptops typically it is never updated at all unless 
locate.updatedb is started manually. Now since texmacs uses locate to 
find all kinds of files, pixmaps, TeX font maps, and apparently also 
documentation, it is inevitable that it will make mistakes.

The only safe way to start texmacs would be to run locate.updatedb 
before *every* start of texmacs. This is, of course, unacceptable.

--
Martin


---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] TeXmacs and Maxima

2003-06-02 Thread Martin Costabel
Martin Costabel wrote:
[]
This actually poses a bigger problem: The locate database has a tendency 
to not be up to date, because in the best case it is updated once a day, 
Correction: once a week. On MacOSX it is in /etc/weekly. On linux 
(redhat), it is in /etc/cron.daily/slocate.cron, so it is daily, but 
this is not much better.

--
Martin




---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


locate (was Re: [Fink-users] TeXmacs and Maxima)

2003-06-02 Thread Joe Corneli
 To test this theory: Run locate maxima_toc.html. My guess is that the
 output is empty, but that the file nevertheless exists at
 /sw/share/maxima/5.9.0/doc/html/maxima_toc.html.

Yes, you are right on both counts.

 So the remedy is simple: Run sudo /usr/libexec/locate.updatedb, wait
 10 minutes (could be faster) until it is finished, and all will be well.

 This actually poses a bigger problem: The locate database has a tendency
 to not be up to date, because in the best case it is updated once a day,
 and on laptops typically it is never updated at all unless
 locate.updatedb is started manually. Now since texmacs uses locate to
 find all kinds of files, pixmaps, TeX font maps, and apparently also
 documentation, it is inevitable that it will make mistakes.

 The only safe way to start texmacs would be to run locate.updatedb
 before *every* start of texmacs. This is, of course, unacceptable.

Thank you for the fix. (Yep, it worked, and please feel free to forward
this part of my message to the texmacs group if you think it they need to
know.)

Earlier today (well, yesterday) I was wondering why configure (as in
./configure) doesn't alway use locate to find things it needs. (Which
might be handy, e.g. for people who use Fink but who want to install
non-Fink software, since it would avoid the need to pass in -I/sw/include
or whatever.)  Alternatively (but similarly) one might think autoconf
would work better to build the configuration files (again by using
locate).  But no, one has to find the files oneself using locate, then
pass the correct directories in using flags.  Which is certainly tedious.
Perhaps the non-up-to-dateness of the locate database is one rationale
for doing things this way, but it doesn't seem like a very good rationale,
since one could at least _try_ to do locate, then default to something
else, and leave the user no worse off than they would be with the current
set-up.

One last thing about locate: I was beginning to feel like it was getting a
bit threadbare... now I know why.  I really should be running this
locate.updatedb thing about once a week.  Is anyone out there doing this
with anacron?  So far I haven't been able to get anacron working... is
there a step-by-step tutorial for this out there somewhere?  For one
reason or another, the man pages haven't been sufficient for me...

Joe



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] TeXmacs and Maxima

2003-06-01 Thread Michèle Garoche
Le dimanche, 1 juin 2003, à 09:58 Europe/Paris, Joe Corneli a écrit :

Hello --

I tried to use Maxima in TeXmacs and got
this (fatal) error.
Which version of texmacs, which version of MacOSX, under Apple's X11 or 
Xfree86 and which version.
Do you update fink via cvs or not?

I use Fink's unstable tree and It works fine (Mac OS 10.2.6) under 
Xfree86 with those versions:

i   texmacs  1.0.1.14-1   TeX-based WYSIWYG editor
i   maxima   5.9.0.0-2Symbol manipulation program
i   xfree86  4.3.0-2  XFree86 distribution
i   xfree86-shlibs   4.3.0-2  XFree86 distribution
Michèle
http://micmacfr.homeunix.org/


---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users