PDF bundle for Mac fails to load

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9663
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

PDF bundle for Mac fails to load

Post by dunbarx » Mon May 15, 2017 9:03 pm

All of a sudden I get a warning after an otherwise successful build of a standalone, the this bundle (the pdf printing inclusion) has failed to install for Mac. And it is true. I cannot make a pdf from the command "open printing to pdf". Interestingly, the Windows version has no issue; it works fine.

I changed nothing. Just tried to make a standalone from a long standing splash stack/working stack that worked fine last Friday, without modification. Tried several times. Restarted computer.

Still in v 6.7.9, of course, but this question is not about that. Rough weekend for LC? Would reinstalling the program make sense? Anyone ever see such a thing?

thanks...

Craig

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: PDF bundle for Mac fails to load

Post by LiveCode_Panos » Mon May 15, 2017 9:54 pm

Hi Craig,

What is the exact warning you get when building a standalone? Can you attach a screenshot?

Best,
Panos
--

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9663
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: PDF bundle for Mac fails to load

Post by dunbarx » Mon May 15, 2017 10:31 pm

Panos.

Thanks for looking. Attached.

Craig
Attachments
Screen Shot 2017-05-15 at 5.29.51 PM.png

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: PDF bundle for Mac fails to load

Post by LiveCode_Panos » Tue May 16, 2017 10:13 am

Hmm, do you get that only with this external (revpdfprinter?), or with *any* external? Try for example to include revZip and revDB.

I am wondering if it is a permissions issue, like bug http://quality.livecode.com/show_bug.cgi?id=17992.

Best,
Panos
--

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9663
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: PDF bundle for Mac fails to load

Post by dunbarx » Tue May 16, 2017 1:58 pm

Panos.

The two new externals (revZip and revDB) also failed to load.

But this simply reared its head one day, at least for PDF. Cosmic ray? Fortunately, the users I am making the standalone for all use Windows, and only I use the (Mac) IDE stack for testing, which prints just fine. But it is worrisome. Again, is there any point in reloading LC?

Craig

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: PDF bundle for Mac fails to load

Post by LiveCode_Panos » Tue May 16, 2017 5:47 pm

Hi Craig,

It is indeed strange that it started happening all of a sudden.

Maybe you could try changing the permissions. Open a terminal and type:

sudo chmod -R 755 /Applications/LiveCode\ Commercial\ 6.7.9.app/Contents/Tools/Runtime

(or sudo chmod -R 755 /path/to/LC6.7.9.app/Contents/Tools/Runtime if you have not put it in the Applications folder)

and then try again to create a standalone.

Keep us posted :)

Best,
Panos
--

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9663
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: PDF bundle for Mac fails to load

Post by dunbarx » Tue May 16, 2017 6:09 pm

Panos.

That did it.

If it is not to much to ask, what exactly did the Terminal command do? What permissions did it change?

Thanks ever so much.

Craig

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: PDF bundle for Mac fails to load

Post by LiveCode_Panos » Tue May 16, 2017 9:07 pm

Hi Craig,

Before this command, probably the directory were the externals are stored (i.e. the /path/to/LC6.7.9.app/Contents/Tools/Runtime) had become read-only.

This command gives everyone read and execute permissions, and the file owner is allowed to write to the files as well.

Best,
Panos
--

Post Reply

Return to “Talking LiveCode”