[texpoint-users] a weird error message

Andreas Glatz glatz at anl.gov
Sun Mar 26 11:39:24 PST 2006


OK, so you are saying that you do not have a volume "llee" and it is 
only your home folder which lives in Macintosh HD:Users
Nevertheless the output from the information pane in TexPoint suggests 
that it is an extra volume.
File Vault should not be a problem (I hope).

How can you run the macro "test" in texpoint.ppa ?
Well, if you can do that -- it should return the unix-path to the 
currently active presentation (not the add-in).

Unfortunately my conclusion for now is that PP returns a wrong path for 
presentations in your home folder
(I attached a ppt file with a simple macro which shows the path 
information for the active presentation.
In your case (if you put it on your desktop) it should return Macintosh 
HD:Users:llee:Desktop for the path.
If you try it, let me know if it says "file found" anyways...)
So I guess you have to edit presentations with TexPoint "outside" your 
home folder.
A full solution requires some bigger changes in the code and takes some 
time, but I added it to my to do list.

Andreas.



Lie-Quan Lee wrote:
> TexPoint also works if I save the files in /Application.
>
> I am new to Apple and never touch apple script.  I do not have
> /Volumes/llee/Desktop. My home dir is /Users/llee/Desktop. If I put the
> TexPoint.ppa on my desktop and load it and run the Macro test in
> TexPoint.ppa, I got / -- I assume that macro should return the path of
> TexPoint.ppa
>
> Does this have something to do with File Vault? -- I have my home dir
> FileVault turn on. (And I cannot turn it off any more due to limited spare
> space :-(  )
>
> --Rich
>
>
> On 3/25/06 11:09 PM, "Andreas Glatz" <glatz at anl.gov> wrote:
>
>   
>> Hi Rich,
>>
>>  TexPoint executes the following AppleScript command (including the quotes):
>>
>> do shell script "cd \"/Volumes/llee/Desktop/\";bash -l -c \"latex
>> TP_tmp.tex\""
>>
>> Could you paste:
>>
>> do shell script "cd \"/Volumes/llee/Desktop/\";bash -l -c \"pwd\""
>>
>> into the Script Editor (in Applications -> AppleScript) and run it.
>> It should return the path where latex would be executed.
>> Can you tell me what kind of volume "llee" is (network drive, local
>> partition/HD, ...)?
>>
>> Does it also work in other folders on the system volume "Macintosh HD"?
>>
>> Andreas.
>>
>>
>>
>> Lie-Quan Lee wrote:
>>     
>>> Hi Andreas,
>>>
>>> If I put my powerpoint file at the texpoint installation directory, the
>>> error disappeared and everthing seems working fine. So I suspect it is a
>>> path problem ...
>>>
>>> --Rich
>>>
>>>
>>> On 3/25/06 11:39 AM, "Andreas Glatz" <glatz at anl.gov> wrote:
>>>
>>>   
>>>       
>>>> Hi,
>>>>
>>>>  could you do the following
>>>> 1. update TexPoint to 2.8.1 and
>>>> 2. update Office to 11.2
>>>>
>>>> and let me know if the problem persists.
>>>> (For now it looks to me, that latex fails for some reason. You could do
>>>> the following after the first messagebox appeared (saying that the tex
>>>> file is written): do not close it, change to the Terminal and call:
>>>>     
>>>>         
>>>>> cd /Volumes/llee/Desktop/
>>>>> latex TP_tmp.tex
>>>>>       
>>>>>           
>>>> and check if there are errors.
>>>> )
>>>>
>>>> Andreas.
>>>>
>>>>
>>>> Lie-Quan Lee wrote:
>>>>     
>>>>         
>>>>> Hi Andreas,
>>>>>
>>>>> Thanks very much for investigating the problem. Here is the detailed
>>>>> information after I turned on debug being 2.
>>>>>
>>>>> First popup window: llee:Desktop:TP_tmp.tex written ...
>>>>>
>>>>> Second popup window: internal Tex2Bmp starts with llee:Desktop:TP_tmp
>>>>>       
>>>>>           
>>>>>> calling latex next with param: 'TM_tmp.tex'
>>>>>>         
>>>>>>             
>>>>> Third popup window: File: llee:Desktop:lock written (max256 bytes shown).
>>>>> This file can be deleted.
>>>>>
>>>>> After that I got popup window:
>>>>> Error:
>>>>> Serious error while execution of maketheshape
>>>>> Press Cancel of Finish Later to exit to PowerPoint
>>>>>
>>>>> Here is the information from texpoint copied to clipboard.
>>>>>
>>>>> TexPoint Configuration Information
>>>>>
>>>>> Version: 2.7 (Mac) (October 17, 2005)
>>>>> running as AddIn: Texpoint.ppa
>>>>> TexPoint path: Macintosh HD:Applications:TexPoint2_7:
>>>>> Global Configuration File: TexPoint.mac
>>>>> Presentaion path: llee:Desktop:
>>>>> Presentation name: Presentation1.ppt
>>>>> current path: llee:Desktop
>>>>>
>>>>> PowerPoint 11.0 (Build 060202) on Macintosh 10.4.5
>>>>>
>>>>> Unix path to presentation: /Volumes/llee/Desktop/Presentation1.ppt
>>>>> your default shell: /bin/bash
>>>>> Bash path: bash is /bin/bash
>>>>> Latex path: latex is /sw/bin/latex
>>>>> dvips path: dvips is /sw/bin/dvips
>>>>> ghostscript path: gs is /sw/bin/gs
>>>>> If all paths are set, TexPoint is fully functional. In case an '<unknown>'
>>>>> is displayed, install the indicated software and/or check the bash path
>>>>> configuration in the appropriate 'profile' file.
>>>>>
>>>>>
>>>>> On 3/24/06 9:09 AM, "Andreas Glatz" <glatz at anl.gov> wrote:
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>>>> Hi,
>>>>>>
>>>>>>  could you send us the complete content of the information box in the
>>>>>> configuration dialog? (Use the "Copy to clipboard" button)
>>>>>> Unfortunately this error message is rather generic so it would be useful
>>>>>> if you could specify at which point something goes wrong.
>>>>>> Therefore you should set the debug level (Configure->Global) to 2 and
>>>>>> then create a display.
>>>>>>
>>>>>> Andreas.
>>>>>>
>>>>>>
>>>>>> Lie-Quan Lee wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> After I installed TexPoint 2.7 or 2.8 on PowerPoint 2004 Mac, I
>>>>>>> started to use it by creating display. However,  I got an error
>>>>>>> message saying that "Serious error while execution of maketheshape". I
>>>>>>> remembered that the lower version of TexPoint work on my Mac. Since
>>>>>>> then, I updated systems and Office 2004. And update TexPoint. Now this
>>>>>>> error message happened. I examined the path/information, it seems that
>>>>>>> latex/dvips/gs all can be found from path (installed from fink). Any
>>>>>>> hints what went wrong?
>>>>>>>
>>>>>>> Thanks a lot
>>>>>>> Rich Lee
>>>>>>> *
>>>>>>> *
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> users mailing list
>>>>>>> users at lists.texpoint.necula.org
>>>>>>> http://lists.texpoint.necula.org/listinfo.cgi/users-texpoint.necula.org
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptest.ppt
Type: application/vnd.ms-powerpoint
Size: 23552 bytes
Desc: not available
URL: <http://lists.texpoint.necula.org/pipermail/users-texpoint.necula.org/attachments/20060326/39dffbf5/attachment-0003.ppt>


More information about the users mailing list