AutoUpdater
Michael is right.
In Doug’s world, there are platform independent parts that return certain special folders, eg, Desktop.
But with V8, there is no support for HFS paths, only POSIX, so use the $converthfspathtoposixpath function.
Mike Matthews
Sent from my iPad
> On 12 Jun 2017, at 20:12, Michael Houlberg <michael@houlbergdevelopment.com> wrote:
>
> I don’t have AutoUpdater, but I do use Doug’s oPaths object. As I remember, I made a change to the method trimPath, putting in the test for MAC64.
>
> If sys(6)=’M’|sys(6)=’X’
> Calculate pfPath as trim(pfPath,kTrue,kTrue,'”‘) ;; trim surrounding quote marks if they exist
> If sys(8)=’MAC64’ ;; 64 bit mac os uses POSIX file names
> Do FileOps.$converthfspathtoposixpath(pfPath,pfPath)
> End If
> End If
>
> Calculate pfPath as trim(pfPath,kFalse,kTrue,sys(9))
> Quit method kTrue
>
> Hope that helps,
> Michael Houlberg
> Houlberg Development, LLC
>
>> On Jun 12, 2017, at 9:37 AM, Ben Weinberg <ben@pca.com> wrote:
>>
>> Andy:
>>
>> I’m testing AutoUpdater 2012 0207 and it gives these errors:
>> —–
>> 2017-06-12 09:32:47 : : -400 :
>> AutoUpdater_Royal/oPaths_autoupdater/$_retEnclosedFolderPath :
>> Unable to create the folder named ‘Omnis’.
>> FileOps Error: File not found, Folder path: Bens PCA iMac
>> 27:Users:benweinberg:Library:Preferences:/Omnis
>> —–
>> —–
>> 2017-06-12 09:32:47 – –
>> AutoUpdater_Royal/oPaths_autoupdater/$_retEnclosedFolderPath –
>> Unable to create the folder named ‘Omnis’. – FileOps Error: File not
>> found, Folder path: Bens PCA iMac
>> 27:Users:benweinberg:Library:Preferences:/Omnis – -400
>> ——
>>
>> FileOPS is using the wrong separator. I had similar problems with pathnames in the conversion to O$8. It uses only Unix file paths and I changed mine to use / instead of :. I looks like AutoUpdater is having the same problems.
>>
>> Ben
>>
>>> On Jun 12, 2017, at 8:53 AM, Andy Hilton <andyh@totallybrilliant.com> wrote:
>>>
>>> Ben
>>>
>>> My one works ok……
>>>
>>> Do you know what actually is not working ?
>>>
>>> I did find an issue before where a working message in my main library closing procedure was causing an Omnis crash (during the autoupdater update) but commenting the working message solved that……
>>>
>>> Andy
>>>
>>>> On Jun 12, 2017, at 11:29 AM, Ben Weinberg <ben@pca.com> wrote:
>>>>
>>>> Hi List:
>>>>
>>>> I have used the AutoUpdater (Doug K) for years now to keep my local on lan users’ Studio libraries up to date. I’m converting to O$8 and find that it no longer works. I’m looking for a replacement that will keep users updated without their intervention. Is anyone working on an update for the AutoUpdater or is there a better way?
>>>>
>>>> Ben Weinberg
>>>>
>>>>
>>>>
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at lists.omnis-dev.com
>>>
>>>
>>> _____________________________________________________________
>>> Manage your list subscriptions at lists.omnis-dev.com
>>
>>
>>
>> _____________________________________________________________
>> Manage your list subscriptions at lists.omnis-dev.com
>
>
> _____________________________________________________________
> Manage your list subscriptions at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com