Set print or export file problem

Ben Weinberg ben at pca.com
Thu Feb 13 22:07:14 UTC 2025


Hi Doug:

As it turns out, I had converted this method from printing to a text file to making a pdf several years ago, and it runs automatically every day.  In the process, I forgot to remove the code for the print or export file name so it was trying to make both the text and the pdf at the same time. My bad!

 It’s funny that having the destination volume mounted as an afp lets me get away with this but mounting as an smb does not.

Thanks for the suggestions.  Permissions were all ok.

Ben

> On Feb 10, 2025, at 11:40 AM, Doug Easterbrook via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
> 
> hi Ben.
> 
> when you go into terminal, and do a    cd /volumes
> 
> 
> what do you see?
> 
> 
> It may be where you established the SMB share that is getting you.
> 
> 
> 
> if you do a CD into a network share, you might get asked by terminal if you want to allow terminal to access to shared directories.   I’m using sequoia and its pretty persnickety into which applications can access network drives.
> 
> 
> If yo, you may need to allow drive access for omnis in system preferences.   look for 'full disk access' in Privacy and security settings and see that omnis has access to do that.
> 
> I suspect that /Volumes is one of those sacred places as far as apple security is concerned.   you might hurt yourself going to a network volume and pull/copy some nasty virus off another machine:)
> 
> 
> 
> Doug Easterbrook
> doug at artsman.com
> Phone (403) 650-1978
> 
>> On Feb 10, 2025, at 11:26 AM, Ben Weinberg <ben at pca.com> wrote:
>> 
>> Hi list:
>> 
>> I'm changing my iMac volume mount to our Windows server from afp to smb but find that the Set Print or Export file name fails with a file not found error when using smb.  This has always worked fine when I mount the volume as an afp share.
>> 
>> The statement looks like this:
>> 
>> Set print or export file name [iPathname][sys(9)]Sales [jst(DATE1,'D:MDY')].pdf
>> 
>> where iPathname = /Volumes/NetServer/OE/PCA/Sales reports/2025
>> 
>> Before I go down a rabbit hole, has anyone else seen this issue?
>> 
>> Ben Weinberg
>> PCA Electronics, Inc.
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
> 
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com




More information about the omnisdev-en mailing list