LC902 and LC901 Crash with Answer

2019-02-17 Thread JJS via use-livecode

Hi,

anyone had this before? with LC902 community on win10 64bits


When i put 25 variables into a variable like this:

put "id=" & tId & "&name=" & tN & "&address=" & tA ..and so 
oninto varSendData


half of the variables are ---> encrypted--->base64encoded--->URLencoded

then

answer varSendData just to check if it is correct what i post to my 
php middleware


LC902 crashes, it's just unresponsive and have to close it via taskmanager

Now i did not see this before and it always worked.

So deleted preferences file, no luck

downloaded LC901, same issue

If i uncomment the answer then it works as expected


all other answer commands in the script work normally.

So is there a limit to what can be shown by the answer command or are 
the encoded elements the cullprit?


I know with normal text you can show a lot.


thanks Sphere(Jerry)


___
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: LC902 and LC901 Crash with Answer

2019-02-17 Thread Alex Tweedly via use-livecode
The encoded elements should be OK, if you base64encode() all encrypted 
or binary data.


Sounds like it could be a bug. But what I'd try is writing varSendData 
to a local file, and doing


answer "the data is now in "

to see if that works, and to see if there is anything dubious in the 
variable when written to the file.


Alex

On 17/02/2019 12:12, JJS via use-livecode wrote:

Hi,

anyone had this before? with LC902 community on win10 64bits


When i put 25 variables into a variable like this:

put "id=" & tId & "&name=" & tN & "&address=" & tA ..and so 
oninto varSendData


half of the variables are ---> encrypted--->base64encoded--->URLencoded

then

answer varSendData just to check if it is correct what i post to 
my php middleware


LC902 crashes, it's just unresponsive and have to close it via 
taskmanager


Now i did not see this before and it always worked.

So deleted preferences file, no luck

downloaded LC901, same issue

If i uncomment the answer then it works as expected


all other answer commands in the script work normally.

So is there a limit to what can be shown by the answer command or are 
the encoded elements the cullprit?


I know with normal text you can show a lot.


thanks Sphere(Jerry)


___
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


Lack of Mobile Player callbacks and subtitles problem

2019-02-17 Thread Frans Schoffelen via use-livecode

Hi all. Anybody been able to get time-locked subtitles for mobile video players 
that worked in the post-QT era ? My searches have not produced anything. 

Since there are no callbacks from  “MobileCreateControl Player” anymore to kick 
subtitles in a field from a list
at a given time ( like the only available old example on the LC site) , I have 
tried cumbersome double timers. 
Simple tracking is then ok, but  starting stopping, continuing a movie is way 
too imprecise and introduces unforeseen results. 
Anybody come up with a solution ? 

Anybody up for doing an AV Foundation widget for this (Paid work) ?

It’s for a project to teach refugee children if that motivates anybody at all 
;-)

Greetz from Berlin.


Frans Schoffelen
http://knowlegistics.com  // Software & Sound // Berlin



___
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: LC902 and LC901 Crash with Answer

2019-02-17 Thread JJS via use-livecode

That's a good idea too.

Thanks Alex


Jerry

Op 17-2-2019 om 13:18 schreef Alex Tweedly via use-livecode:
The encoded elements should be OK, if you base64encode() all encrypted 
or binary data.


Sounds like it could be a bug. But what I'd try is writing varSendData 
to a local file, and doing


answer "the data is now in "

to see if that works, and to see if there is anything dubious in the 
variable when written to the file.


Alex

On 17/02/2019 12:12, JJS via use-livecode wrote:

Hi,

anyone had this before? with LC902 community on win10 64bits


When i put 25 variables into a variable like this:

put "id=" & tId & "&name=" & tN & "&address=" & tA ..and so 
oninto varSendData


half of the variables are ---> encrypted--->base64encoded--->URLencoded

then

answer varSendData just to check if it is correct what i post to 
my php middleware


LC902 crashes, it's just unresponsive and have to close it via 
taskmanager


Now i did not see this before and it always worked.

So deleted preferences file, no luck

downloaded LC901, same issue

If i uncomment the answer then it works as expected


all other answer commands in the script work normally.

So is there a limit to what can be shown by the answer command or are 
the encoded elements the cullprit?


I know with normal text you can show a lot.


thanks Sphere(Jerry)


___
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: Need crash course in Dropbox library

2019-02-17 Thread pink via use-livecode
the phxDropbox library is for v1 of the Dropbox API, which has been
deprecated

what I need is to get a handle of the upload session commands, how do I
properly break the file data into seperate sessions, and how do i determine
the offset value


Matthias Rebbe via use-livecode wrote
> Don't know if this works anymore but before i used this:
> 
> 
> *on*openstack
> 
> *if* thereisnotastack"phxDropboxLib"*then*
> 
> *put*GetPathToFile("phxDropboxLib.livecode") intophxLib
> 
> *start*usingstackphxLib
> 
> *else* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then*
> 
> *start*usingstack"phxDropboxLib"
> 
> *end* *if*
> 
> *--*
> 
> *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then*
> 
> *answer*error"Unable to load phxDropboxLib"
> 
> *quit*
> 
> *end* *if*
> 
> *constant*myAppKey = "appappappapp"
> 
> *constant*myAppSec = "secsecsec"
> 
> *constant*myTokKey = "toktoktoktok"
> 
> *constant*myTokSec = "sectoksectok"
> 
> *--*
> 
> *if* notphx_DropboxAvailable() *then*
> 
> *answer*"Dropbox HTTPS connection NOT available"
> 
> *end* *if*
> 
> *get*phx_DropboxInitLib(myAppKey, myAppSec, myTokKey, myTokSec)
> 
> end openCard
> 
> reading
> 
> *put*phx_DropboxReadFile("sandbox", ("/folder/some.txt")) 
> intoField"Name1"ofcard1
> 
> writing--
> 
> *put*phx_DropboxWriteFile("sandbox", ("/folder/some.txt"), "text/html", 
> true, myName) intofield"udontcme"ofcard1
> 
> --close---
> 
> *on*closeStack
> 
> *set*theuTokenKey ofthisstacktoempty
> 
> *set*theuTokenSec ofthisstacktoempty
> 
> *stop*usingstack"phxDropboxLib"
> 
> *close*stack"phxDropboxLib"
> 
> *pass*closeStack
> 
> *end*closeStack
> 
> Op 16-2-2019 om 00:23 schreef pink via use-livecode:
>> under the documentation for dropboxUpload,  it states it shouldn't be
>> used
>> for files larger than 150MB, the video files will all be around 800MB
>>
>> I've been looking through the stack, but cannot find the answers I am
>> looking for. SO I am still not clear how I should get my file into pData
>>
>> and pData is just a chunk of the data? How do I make that chunk out of
>> the
>> whole and where do I get pOffset from?
>>
>>
>> Matthias Rebbe via use-livecode wrote
>>> Hey, pink, thanks for the clarification.
>>> First of all, is there a reason why you are doing it this way instead of
>>> using dropboxUpload?  If you use dropboxUpload you can do it all in one
>>> shot.
>>> Gerard's stack explains the process and how to use the various commands
>>> Doing it the way you are doing it, you would start with sessionStart and
>>> then you would repeatedly call sessionAppend
>>> pOffset is the length of what you have already sent because there are no
>>> guarantees that dropbox will get your file stream in order, so if it
>>> gets
>>> them out of order and pData isn't the same length for each call to
>>> append,
>>> the only way dropbox knows where to put the data it just received is if
>>> you
>>> tell it where to put it.
>>> pData should be at most 150mb per call.
>>> ___
>>> use-livecode mailing list
>>> use-livecode@.runrev
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>>
>>
>> -
>> ---
>> Greg (pink) Miller
>> mad, pink and dangerous to code
>> --
>> Sent from:
>> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
>>
>> ___
>> use-livecode mailing list
>> 

> use-livecode@.runrev

>> 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@.runrev

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





-
---
Greg (pink) Miller
mad, pink and dangerous to code
--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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: LC902 and LC901 Crash with Answer

2019-02-17 Thread J. Landman Gay via use-livecode
That sounds more like a hang rather than a crash, which means LC is 
involved in a lengthy process that is forbidding any other actions.


The answer dialog tries to create html text in order to support text 
styles. My guess is that it's trying to interpret the random characters in 
the base64 text as html and is getting stuck in a loop.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 17, 2019 6:14:45 AM JJS via use-livecode 
 wrote:



Hi,

anyone had this before? with LC902 community on win10 64bits


When i put 25 variables into a variable like this:

put "id=" & tId & "&name=" & tN & "&address=" & tA ..and so
oninto varSendData

half of the variables are ---> encrypted--->base64encoded--->URLencoded

then

answer varSendData just to check if it is correct what i post to my
php middleware

LC902 crashes, it's just unresponsive and have to close it via taskmanager

Now i did not see this before and it always worked.

So deleted preferences file, no luck

downloaded LC901, same issue

If i uncomment the answer then it works as expected


all other answer commands in the script work normally.

So is there a limit to what can be shown by the answer command or are
the encoded elements the cullprit?

I know with normal text you can show a lot.


thanks Sphere(Jerry)


___
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: LC902 and LC901 Hang with Answer

2019-02-17 Thread Richard Gaskin via use-livecode

Sphere(Jerry) wrote:

> anyone had this before? with LC902 community on win10 64bits
>
> When i put 25 variables into a variable like this:
>
> put "id=" & tId & "&name=" & tN & "&address=" & tA ..and so
> oninto varSendData
>
> half of the variables are --->
> encrypted--->base64encoded--->URLencoded
>
> then
>
> answer varSendData just to check if it is correct what i post to
> my php middleware
>
> LC902 crashes, it's just unresponsive and have to close it via
> taskmanager


To diagnoses this it may be helpful to see if we can separate the 
complexities of text rendering from the complexities of modal dialog 
event loops.


What happens if you display that text in a field rather than in an 
Answer dialog?


If the text begins with "" and ends with "" LC will attempt to 
interpret it as htmlText, as Jacque noted.  Is that the case with your 
data?  If so, what happens when you set the htmlText of a field to that 
data?




> Now i did not see this before and it always worked.

What changed between the working and non-working states?  Different 
data?  Different LC version? Something else?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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


Re: LC902 and LC901 Crash with Answer

2019-02-17 Thread Alex Tweedly via use-livecode
That shouldn't be a problem. OP said he was URLencoding after the 
base64encoding, so all the random HTML characters should be 'protected'.


Alex.

On 17/02/2019 17:43, J. Landman Gay via use-livecode wrote:
That sounds more like a hang rather than a crash, which means LC is 
involved in a lengthy process that is forbidding any other actions.


The answer dialog tries to create html text in order to support text 
styles. My guess is that it's trying to interpret the random 
characters in the base64 text as html and is getting stuck in a loop.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 17, 2019 6:14:45 AM JJS via use-livecode 
 wrote:



Hi,

anyone had this before? with LC902 community on win10 64bits


When i put 25 variables into a variable like this:

put "id=" & tId & "&name=" & tN & "&address=" & tA ..and so
oninto varSendData

half of the variables are ---> encrypted--->base64encoded--->URLencoded

then

answer varSendData just to check if it is correct what i post to my
php middleware

LC902 crashes, it's just unresponsive and have to close it via 
taskmanager


Now i did not see this before and it always worked.

So deleted preferences file, no luck

downloaded LC901, same issue

If i uncomment the answer then it works as expected


all other answer commands in the script work normally.

So is there a limit to what can be shown by the answer command or are
the encoded elements the cullprit?

I know with normal text you can show a lot.


thanks Sphere(Jerry)


___
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: LC902 and LC901 Crash with Answer

2019-02-17 Thread Ralph DiMola via use-livecode
I've seen this when you try too display much data in an answer(or ask). You
can usually get out of it if you key a "Return"(or two-tree). At that point
save and restart IDE(not usually necessary but "the ctrl S"s get more
frequent for sure). I did not report this because I was displaying an
obscene amount of data by mistake. You might have reached my afore mentioned
"obscene amount of data" in an answer dialog.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of JJS via use-livecode
Sent: Sunday, February 17, 2019 7:13 AM
To: How to use LiveCode
Cc: JJS
Subject: LC902 and LC901 Crash with Answer

Hi,

anyone had this before? with LC902 community on win10 64bits


When i put 25 variables into a variable like this:

put "id=" & tId & "&name=" & tN & "&address=" & tA ..and so oninto
varSendData

half of the variables are ---> encrypted--->base64encoded--->URLencoded

then

answer varSendData just to check if it is correct what i post to my php
middleware

LC902 crashes, it's just unresponsive and have to close it via taskmanager

Now i did not see this before and it always worked.

So deleted preferences file, no luck

downloaded LC901, same issue

If i uncomment the answer then it works as expected


all other answer commands in the script work normally.

So is there a limit to what can be shown by the answer command or are the
encoded elements the cullprit?

I know with normal text you can show a lot.


thanks Sphere(Jerry)


___
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: LC902 and LC901 Hang with Answer (was Crash)

2019-02-17 Thread JJS via use-livecode

Hi everyone,

i guess Ralph is correct as it probably too much data to display.

If it is just one variable with encr-->base64enc-->URLenc then there 
seems to be no problem. That's probably why have not seen this before, 
but i used the answer with these 25 variables also before and maybe it 
was 9.0.


But as i also tested with 9.01 and had the same result i did not test 
with 9.0.


No the data is not surrounded by  .

Indeed it's rather a hang than a crash (crash would most probably unload 
LC, but it stays unresponsive)


The answer does show the data, then when hitting Return as i don't see 
the OK it hangs.


Solution is then probably to not show to much strange data with the 
answer command.



Thanks all.

Jerry

Op 17-2-2019 om 20:51 schreef Ralph DiMola via use-livecode:

I've seen this when you try too display much data in an answer(or ask). You
can usually get out of it if you key a "Return"(or two-tree). At that point
save and restart IDE(not usually necessary but "the ctrl S"s get more
frequent for sure). I did not report this because I was displaying an
obscene amount of data by mistake. You might have reached my afore mentioned
"obscene amount of data" in an answer dialog.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of JJS via use-livecode
Sent: Sunday, February 17, 2019 7:13 AM
To: How to use LiveCode
Cc: JJS
Subject: LC902 and LC901 Crash with Answer

Hi,

anyone had this before? with LC902 community on win10 64bits


When i put 25 variables into a variable like this:

put "id=" & tId & "&name=" & tN & "&address=" & tA ..and so oninto
varSendData

half of the variables are ---> encrypted--->base64encoded--->URLencoded

then

answer varSendData just to check if it is correct what i post to my php
middleware

LC902 crashes, it's just unresponsive and have to close it via taskmanager

Now i did not see this before and it always worked.

So deleted preferences file, no luck

downloaded LC901, same issue

If i uncomment the answer then it works as expected


all other answer commands in the script work normally.

So is there a limit to what can be shown by the answer command or are the
encoded elements the cullprit?

I know with normal text you can show a lot.


thanks Sphere(Jerry)


___
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: Lack of Mobile Player callbacks and subtitles problem

2019-02-17 Thread Peter Bogdanoff via use-livecode
Does mergAVPlayerCreateBoundaryTimeObserver help you?

Peter Bogdanoff

> On Feb 17, 2019, at 4:39 AM, Frans Schoffelen via use-livecode 
>  wrote:
> 
> 
> Hi all. Anybody been able to get time-locked subtitles for mobile video 
> players 
> that worked in the post-QT era ? My searches have not produced anything. 
> 
> Since there are no callbacks from  “MobileCreateControl Player” anymore to 
> kick subtitles in a field from a list
> at a given time ( like the only available old example on the LC site) , I 
> have tried cumbersome double timers. 
> Simple tracking is then ok, but  starting stopping, continuing a movie is way 
> too imprecise and introduces unforeseen results. 
> Anybody come up with a solution ? 
> 
> Anybody up for doing an AV Foundation widget for this (Paid work) ?
> 
> It’s for a project to teach refugee children if that motivates anybody at all 
> ;-)
> 
> Greetz from Berlin.
> 
> 
> Frans Schoffelen
> http://knowlegistics.com  // Software & Sound // Berlin
> 
> 
> 
> ___
> 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: Need crash course in Dropbox library

2019-02-17 Thread Mike Kerner via use-livecode
Hey pink
Yes, you are just going to put 150MB at a time into the pData parameter and
ship it.
I have not uploaded any binary files, just encoded text files, so you may
have to fiddle with encoding to make sure you don't get into any trouble.
You should be able to open/read the files using
put url "binfile:/"&somefilename into fileContents

On Sun, Feb 17, 2019 at 10:42 AM pink via use-livecode <
use-livecode@lists.runrev.com> wrote:

> the phxDropbox library is for v1 of the Dropbox API, which has been
> deprecated
>
> what I need is to get a handle of the upload session commands, how do I
> properly break the file data into seperate sessions, and how do i determine
> the offset value
>
>
> Matthias Rebbe via use-livecode wrote
> > Don't know if this works anymore but before i used this:
> >
> >
> > *on*openstack
> >
> > *if* thereisnotastack"phxDropboxLib"*then*
> >
> > *put*GetPathToFile("phxDropboxLib.livecode") intophxLib
> >
> > *start*usingstackphxLib
> >
> > *else* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then*
> >
> > *start*usingstack"phxDropboxLib"
> >
> > *end* *if*
> >
> > *--*
> >
> > *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then*
> >
> > *answer*error"Unable to load phxDropboxLib"
> >
> > *quit*
> >
> > *end* *if*
> >
> > *constant*myAppKey = "appappappapp"
> >
> > *constant*myAppSec = "secsecsec"
> >
> > *constant*myTokKey = "toktoktoktok"
> >
> > *constant*myTokSec = "sectoksectok"
> >
> > *--*
> >
> > *if* notphx_DropboxAvailable() *then*
> >
> > *answer*"Dropbox HTTPS connection NOT available"
> >
> > *end* *if*
> >
> > *get*phx_DropboxInitLib(myAppKey, myAppSec, myTokKey, myTokSec)
> >
> > end openCard
> >
> > reading
> >
> > *put*phx_DropboxReadFile("sandbox", ("/folder/some.txt"))
> > intoField"Name1"ofcard1
> >
> > writing--
> >
> > *put*phx_DropboxWriteFile("sandbox", ("/folder/some.txt"), "text/html",
> > true, myName) intofield"udontcme"ofcard1
> >
> > --close---
> >
> > *on*closeStack
> >
> > *set*theuTokenKey ofthisstacktoempty
> >
> > *set*theuTokenSec ofthisstacktoempty
> >
> > *stop*usingstack"phxDropboxLib"
> >
> > *close*stack"phxDropboxLib"
> >
> > *pass*closeStack
> >
> > *end*closeStack
> >
> > Op 16-2-2019 om 00:23 schreef pink via use-livecode:
> >> under the documentation for dropboxUpload,  it states it shouldn't be
> >> used
> >> for files larger than 150MB, the video files will all be around 800MB
> >>
> >> I've been looking through the stack, but cannot find the answers I am
> >> looking for. SO I am still not clear how I should get my file into pData
> >>
> >> and pData is just a chunk of the data? How do I make that chunk out of
> >> the
> >> whole and where do I get pOffset from?
> >>
> >>
> >> Matthias Rebbe via use-livecode wrote
> >>> Hey, pink, thanks for the clarification.
> >>> First of all, is there a reason why you are doing it this way instead
> of
> >>> using dropboxUpload?  If you use dropboxUpload you can do it all in one
> >>> shot.
> >>> Gerard's stack explains the process and how to use the various commands
> >>> Doing it the way you are doing it, you would start with sessionStart
> and
> >>> then you would repeatedly call sessionAppend
> >>> pOffset is the length of what you have already sent because there are
> no
> >>> guarantees that dropbox will get your file stream in order, so if it
> >>> gets
> >>> them out of order and pData isn't the same length for each call to
> >>> append,
> >>> the only way dropbox knows where to put the data it just received is if
> >>> you
> >>> tell it where to put it.
> >>> pData should be at most 150mb per call.
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@.runrev
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >>> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >>
> >>
> >> -
> >> ---
> >> Greg (pink) Miller
> >> mad, pink and dangerous to code
> >> --
> >> Sent from:
> >>
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
> >>
> >> ___
> >> use-livecode mailing list
> >>
>
> > use-livecode@.runrev
>
> >> 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@.runrev
>
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
>
>
> -
> ---
> Greg (pink) Miller
> mad, pink and dangerous to code
> --
> Sent from:
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscrib

Re: LC902 and LC901 Hang with Answer (was Crash)

2019-02-17 Thread Richard Gaskin via use-livecode

JJS wrote:

> i guess Ralph is correct as it probably too much data to display.

What is the total length of the data?

And what happens when you output it to a field in your stack rather than 
the field in the Answer dialog?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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