[texpoint-users] a weird error message

Andreas Glatz glatz at anl.gov
Mon Mar 27 21:20:52 PST 2006


Lie-Quan Lee wrote:
> I guess that it the because the path returned from PP is not usable in
> the AppleScript due to FileVault.
I have to admit that I never used FileVault, but I thought it just
encrypts the home folder, but you do not actually see a difference in
the Finder...
(I use an encrypted dmg file, which seems to be much more flexible to me).

>
> The full message of running that ptest is:
> Path: llee:Desktop
> Name: ptest.ppt
> FullName: llee:Desktop:ptest.ppt
> file found 
That is interesting. For VBA file operations the path seems to be ok,
but I have to "translate" it to a UNIX path for latex & Co. TexPoint
does this by replacing the colons by "/" and adding a "/Volumes/" in
front of it - maybe this is the reason that this translated path does
not work in your case.
(does "cd /llee" work in a Terminal shell?)
In the next version, one can define a temporary working directory for
external commands. That should solve the problem. My plan is to release
it during the next two weeks.

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
>>>>>>>>>
>>>>>>>>>
>>
>> <ptest.ppt>




More information about the users mailing list