Re: Functions running in IDE, but not running in standalone

2020-07-20 Thread matthias rebbe via use-livecode
Bruce,

i just tried with a sample stack where i did not include the Internet library. 
I get exact the same error in the bugreport (except the line number and stack 
name and so on).

"Executing at 12:58:33 AM on Tuesday, July 21, 2020
Type: Handler: can't find handler
Object: button "Button" of card id 1002 of stack 
"/Users/matthias/Downloads/test5/MacOSX/test.app/Contents/MacOS/test"
Line: libURLSetSSLVerification false
Line Num: 2
Hint: libURLSetSSLVerification

Comments: hm,weird"


If Internet library is really selected in under Inclusions in Standalone 
Settings, then either there is a problem with your Livecode installation or 
another guess...

Are you using  the savestackrequest message in your scripts? If so, is it 
possible by any chance that you did forgot to add "pass savestackrequest" 
before "End savestackrequest"?

I remember that a long time ago i  bothered the Support Team with a problem 
that database functions did not work in my standalone although i had enabled 
all needed inclusions.
The problem was i used  the savestackrequest message to cleanup fields and 
other things in the stack before saving, but forgot to add "pass 
savestackrequest".
The interesting part was, that the standalone was created and although all 
included externals were added to the standalone, the standalone was not able to 
communicate with the database. After adding that line, all was fine.

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 21.07.2020 um 00:28 schrieb Bruce Pokras via use-livecode 
> :
> 
> Matthias,
> 
> Yes to both Internet and SSL & Encryption libraries.
> 
> So everything should be running just fine, but are not.
> 
> Regards,
> 
> Bruce
> 
>> On Jul 20, 2020, at 6:04 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Bruce,
>> 
>> and according to the dictionary Internet has to be included to use 
>> libURLSetSSLVerification.
>> 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode 
>>> :
>>> 
>>> Bruce,
>>> 
>>> i might be wrong, but did you also include SSL in 
>>> StandaloneSettings.
>>> If i recall it correctly then SSL is needed for https.
>>> 
>>> Regards,
>>> 
>>> -
>>> Matthias Rebbe
>>> Life Is Too Short For Boring Code
>>> 
 Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode 
 mailto:use-livecode@lists.runrev.com>>:
 
 Matthias and Curry,
 
 Thanks for your responses. I am using Indy for which I apparently do not 
 have access to RemoteDebugger.
 
 I did activate the “Bug Reports” feature and added “tsNet” to the included 
 stuff for the standalone. 
 
 From the bug reporter feature, it seems that “libURL" commands/functions 
 are somehow creating a problem. (And, yes, I am including the Internet 
 library in my standalone!).
 
 Here are a couple of examples of the bug reports that were generated:
 ==
 Error from running Patent Grabber’s “Abstract Report":
 
 Executing at 3:45:49 PM on Monday, July 20, 2020
 Type: Handler: can't find handler
 Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
 Grabber 6.4.4-0310/MacOSX/Patent Grabber 
 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03"
 Line Num: 81
 Hint: libURLSetSSLVerification
 
 My comments: Line 81 is where I set libURLSetSSLVerification to false. 
 What does it mean “can’t find handler" Why not? It’s part of the 
 included Internet library!
 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Functions running in IDE, but not running in standalone

2020-07-20 Thread Bruce Pokras via use-livecode
Matthias,

Yes to both Internet and SSL & Encryption libraries.

So everything should be running just fine, but are not.

Regards,

Bruce

> On Jul 20, 2020, at 6:04 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Bruce,
> 
> and according to the dictionary Internet has to be included to use 
> libURLSetSSLVerification.
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode 
>> :
>> 
>> Bruce,
>> 
>> i might be wrong, but did you also include SSL in 
>> StandaloneSettings.
>> If i recall it correctly then SSL is needed for https.
>> 
>> Regards,
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>>:
>>> 
>>> Matthias and Curry,
>>> 
>>> Thanks for your responses. I am using Indy for which I apparently do not 
>>> have access to RemoteDebugger.
>>> 
>>> I did activate the “Bug Reports” feature and added “tsNet” to the included 
>>> stuff for the standalone. 
>>> 
>>> From the bug reporter feature, it seems that “libURL" commands/functions 
>>> are somehow creating a problem. (And, yes, I am including the Internet 
>>> library in my standalone!).
>>> 
>>> Here are a couple of examples of the bug reports that were generated:
>>> ==
>>> Error from running Patent Grabber’s “Abstract Report":
>>> 
>>> Executing at 3:45:49 PM on Monday, July 20, 2020
>>> Type: Handler: can't find handler
>>> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
>>> Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent 
>>> Grabber 6.4.4-03"
>>> Line Num: 81
>>> Hint: libURLSetSSLVerification
>>> 
>>> My comments: Line 81 is where I set libURLSetSSLVerification to false. What 
>>> does it mean “can’t find handler" Why not? It’s part of the included 
>>> Internet library!
>>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Functions running in IDE, but not running in standalone

2020-07-20 Thread matthias rebbe via use-livecode
Bruce,

and according to the dictionary Internet has to be included to use 
libURLSetSSLVerification.



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode 
> :
> 
> Bruce,
> 
> i might be wrong, but did you also include SSL in 
> StandaloneSettings.
> If i recall it correctly then SSL is needed for https.
> 
> Regards,
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> Matthias and Curry,
>> 
>> Thanks for your responses. I am using Indy for which I apparently do not 
>> have access to RemoteDebugger.
>> 
>> I did activate the “Bug Reports” feature and added “tsNet” to the included 
>> stuff for the standalone. 
>> 
>> From the bug reporter feature, it seems that “libURL" commands/functions are 
>> somehow creating a problem. (And, yes, I am including the Internet library 
>> in my standalone!).
>> 
>> Here are a couple of examples of the bug reports that were generated:
>> ==
>> Error from running Patent Grabber’s “Abstract Report":
>> 
>> Executing at 3:45:49 PM on Monday, July 20, 2020
>> Type: Handler: can't find handler
>> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
>> Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent 
>> Grabber 6.4.4-03"
>> Line Num: 81
>> Hint: libURLSetSSLVerification
>> 
>> My comments: Line 81 is where I set libURLSetSSLVerification to false. What 
>> does it mean “can’t find handler" Why not? It’s part of the included 
>> Internet library!
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Functions running in IDE, but not running in standalone

2020-07-20 Thread matthias rebbe via use-livecode
Bruce,

i might be wrong, but did you also include SSL in StandaloneSettings.
If i recall it correctly then SSL is needed for https.

Regards,

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Matthias and Curry,
> 
> Thanks for your responses. I am using Indy for which I apparently do not have 
> access to RemoteDebugger.
> 
> I did activate the “Bug Reports” feature and added “tsNet” to the included 
> stuff for the standalone. 
> 
> From the bug reporter feature, it seems that “libURL" commands/functions are 
> somehow creating a problem. (And, yes, I am including the Internet library in 
> my standalone!).
> 
> Here are a couple of examples of the bug reports that were generated:
> ==
> Error from running Patent Grabber’s “Abstract Report":
> 
> Executing at 3:45:49 PM on Monday, July 20, 2020
> Type: Handler: can't find handler
> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
> Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent 
> Grabber 6.4.4-03"
> Line Num: 81
> Hint: libURLSetSSLVerification
> 
> My comments: Line 81 is where I set libURLSetSSLVerification to false. What 
> does it mean “can’t find handler" Why not? It’s part of the included 
> Internet library!
> 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Functions running in IDE, but not running in standalone

2020-07-20 Thread Bruce Pokras via use-livecode
Matthias and Curry,

Thanks for your responses. I am using Indy for which I apparently do not have 
access to RemoteDebugger.

I did activate the “Bug Reports” feature and added “tsNet” to the included 
stuff for the standalone. 

From the bug reporter feature, it seems that “libURL" commands/functions are 
somehow creating a problem. (And, yes, I am including the Internet library in 
my standalone!).

Here are a couple of examples of the bug reports that were generated:
==
Error from running Patent Grabber’s “Abstract Report":

Executing at 3:45:49 PM on Monday, July 20, 2020
Type: Handler: can't find handler
Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent 
Grabber 6.4.4-03"
Line Num: 81
Hint: libURLSetSSLVerification

My comments: Line 81 is where I set libURLSetSSLVerification to false. What 
does it mean “can’t find handler" Why not? It’s part of the included 
Internet library!

=
Error from running Patent Grabber’s "Get Biblio +" report:

Executing at 12:56:56 PM on Monday, July 20, 2020
Type: Function: error in function handler
Object: card id 3946 of stack "/Users/BruceiMac/Documents/Revolution/Projects 
461/Patent Grabber 6.4.4-035/MacOSX/Patent Grabber 
6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03"
Line Num: 2840
Hint: libURLLastRHHeaders

My comments: The libURLLastRHHeaders is used by Patent Grabber to determine 
whether a server at the European Patent Office is restricting bandwidth. In 
such cases, Patent Grabber waits longer between queries. Works fine in the IDE, 
of course.

-
Here is a real frustrating thing. The first execution error that the Bug 
Reports generates is one that is like the two above.That’s fine. But after that 
it produces what might be an infinite number of execution errors like the 
following:

Executing at 3:46:29 PM on Monday, July 20, 2020
Type: Handler: error in statement
Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent 
Grabber 6.4.4-03"
Line Num: 12
Hint: errorDialog

My comments: There is no errorDialog command in the stack script. In fact, line 
12 of the stack script is an "end if" which is part of a preOpenStack handler 
to center the stack on the screen.
===

I have to force-quit the standalone to get out of this infinite loop! This 
whole thing is very weird and very frustrating!

Regards,

Bruce

> On Jul 19, 2020, at 3:16 PM, matthias rebbe via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> Bruce,
> 
> did you already try the RemoteDebugger to debug your standalone?
> 
> http://lessons.livecode.com/m/4071/l/698439-using-the-remote-debugger 
> 
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 19.07.2020 um 20:17 schrieb Bruce Pokras via use-livecode 
>> :
>> 
>> I am having a very frustrating experience. I have an app called Patent 
>> Grabber that is for downloading and searching for patents and published 
>> patent applications. A user reported that one feature of Patent Grabber was 
>> not working. That was the Abstract Report which takes a list of US patent 
>> numbers and downloads basic information about each, and combines all of this 
>> information into a single HTML file.
>> 
>> When I tried the Abstract Report in the stack from which Patent Grabber was 
>> compiled, the Abstract Report ran fine. However, when I saved the stack as a 
>> standalone the Abstract Report did not run. The standalone was NOT frozen. I 
>> could immediately run other features without problem.
>> 
>> Since the Abstract Report uses several stack-level functions, I tried adding 
>> some “answer” alerts to try to find the bottleneck. All of the “answer” 
>> alerts came back under the IDE, and the Abstract Report ran as expected. 
>> However, in the standalone, the first couple “answer” alerts came back, but 
>> then NOTHING. It was the “answer” alert that I added at the start of a 
>> function called getBiblio() that did not come back, and the Abstract Report 
>> stopped running.
>> 
>> Now the getBiblio() function is fairly complex. So I replaced it with a 
>> three-line function whose first line was an “answer” alert to tell me that 
>> the function was running. Under the IDE the “answer” alert came back, but in 
>> the standalone, nothing! 
>> 
>> Oh, and one more thing. This was all under Livecode 9.0.1 and also 9.6.0. I 
>> also tried compiling the standalone under LC 8.1.9 with the same result. 
>> However, when I saved the stack in Livecode 7.0 format, and compiled the 
>> standalone using Livecode 7.1.4, all of the “answer” alerts came back and 
>> the Abstract Report worked fine!
>> 
>> Any thoughts about this would be greatly appreciated!
>> 
>> Regards,
>> 
>> Bruce Pokras
>> ___
>> 

Re: Functions running in IDE, but not running in standalone

2020-07-20 Thread Bruce Pokras via use-livecode
Matthias and Curry,

Thanks for your responses. I am using Indy for which I apparently do not have 
access to RemoteDebugger.

I did activate the “Bug Reports” feature and added “tsNet” to the included 
stuff for the standalone. 

From the bug reporter feature, it seems that “libURL" commands/functions are 
somehow creating a problem. (And, yes, I am including the Internet library in 
my standalone!).

Here are a couple of examples of the bug reports that were generated:
==
Error from running Patent Grabber’s “Abstract Report":

Executing at 3:45:49 PM on Monday, July 20, 2020
Type: Handler: can't find handler
Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent 
Grabber 6.4.4-03"
Line Num: 81
Hint: libURLSetSSLVerification

My comments: Line 81 is where I set libURLSetSSLVerification to false. What 
does it mean “can’t find handler" Why not? It’s part of the included 
Internet library!

=
Error from running Patent Grabber’s "Get Biblio +" report:

Executing at 12:56:56 PM on Monday, July 20, 2020
Type: Function: error in function handler
Object: card id 3946 of stack "/Users/BruceiMac/Documents/Revolution/Projects 
461/Patent Grabber 6.4.4-035/MacOSX/Patent Grabber 
6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03"
Line Num: 2840
Hint: libURLLastRHHeaders

My comments: The libURLLastRHHeaders is used by Patent Grabber to determine 
whether a server at the European Patent Office is restricting bandwidth. In 
such cases, Patent Grabber waits longer between queries. Works fine in the IDE, 
of course.

-
Here is a real frustrating thing. The first execution error that the Bug 
Reports generates is one that is like the two above.That’s fine. But after that 
it produces what might be an infinite number of execution errors like the 
following:

Executing at 3:46:29 PM on Monday, July 20, 2020
Type: Handler: error in statement
Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
Grabber 6.4.4-0310/MacOSX/Patent Grabber 6.4.4-03.app/Contents/MacOS/Patent 
Grabber 6.4.4-03"
Line Num: 12
Hint: errorDialog

My comments: There is no errorDialog command in the stack script. In fact, line 
12 of the stack script is an "end if" which is part of a preOpenStack handler 
to center the stack on the screen.
===

I have to force-quit the standalone to get out of this infinite loop! This 
whole thing is very weird and very frustrating!

Regards,

Bruce

> On Jul 19, 2020, at 3:16 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Bruce,
> 
> did you already try the RemoteDebugger to debug your standalone?
> 
> http://lessons.livecode.com/m/4071/l/698439-using-the-remote-debugger
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 19.07.2020 um 20:17 schrieb Bruce Pokras via use-livecode 
>> :
>> 
>> I am having a very frustrating experience. I have an app called Patent 
>> Grabber that is for downloading and searching for patents and published 
>> patent applications. A user reported that one feature of Patent Grabber was 
>> not working. That was the Abstract Report which takes a list of US patent 
>> numbers and downloads basic information about each, and combines all of this 
>> information into a single HTML file.
>> 
>> When I tried the Abstract Report in the stack from which Patent Grabber was 
>> compiled, the Abstract Report ran fine. However, when I saved the stack as a 
>> standalone the Abstract Report did not run. The standalone was NOT frozen. I 
>> could immediately run other features without problem.
>> 
>> Since the Abstract Report uses several stack-level functions, I tried adding 
>> some “answer” alerts to try to find the bottleneck. All of the “answer” 
>> alerts came back under the IDE, and the Abstract Report ran as expected. 
>> However, in the standalone, the first couple “answer” alerts came back, but 
>> then NOTHING. It was the “answer” alert that I added at the start of a 
>> function called getBiblio() that did not come back, and the Abstract Report 
>> stopped running.
>> 
>> Now the getBiblio() function is fairly complex. So I replaced it with a 
>> three-line function whose first line was an “answer” alert to tell me that 
>> the function was running. Under the IDE the “answer” alert came back, but in 
>> the standalone, nothing! 
>> 
>> Oh, and one more thing. This was all under Livecode 9.0.1 and also 9.6.0. I 
>> also tried compiling the standalone under LC 8.1.9 with the same result. 
>> However, when I saved the stack in Livecode 7.0 format, and compiled the 
>> standalone using Livecode 7.1.4, all of the “answer” alerts came back and 
>> the Abstract Report worked fine!
>> 
>> Any thoughts about this would be greatly appreciated!
>> 
>> Regards,
>> 
>> Bruce Pokras
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and 

Re: Browser widget scrolling

2020-07-20 Thread J. Landman Gay via use-livecode

On 7/20/20 7:43 AM, Terence Heaford via use-livecode wrote:

This does not appear to work:

set the hScrollbar of widget  “myBrowser" to false

The scrollbar becomes visible when you drag resize a window.

I was expecting there to ne no scrollbar at all.

Also the checkboxes in the properties section (horizontal and vertical) do not 
work. They are always set to true.

Am I misunderstanding how this is supposed to work?


Confirmed. It seems to depend on the web site/content. If I use http://www.google.com then the 
vertical scrollbar is hidden because the size of my widget is tall enough. If I use the URL of 
my own web site, both scrollbars appear no matter how I set their visibility, and the 
checkboxes re-enable themselves if I uncheck them.


I'm not sure if this is a bug or a feature.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Browser widget scrolling

2020-07-20 Thread Terence Heaford via use-livecode
This does not appear to work:

set the hScrollbar of widget  “myBrowser" to false

The scrollbar becomes visible when you drag resize a window.

I was expecting there to ne no scrollbar at all.

Also the checkboxes in the properties section (horizontal and vertical) do not 
work. They are always set to true.

Am I misunderstanding how this is supposed to work?


Thanks

Terry
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode