Re: US Patent and Trademark Office tsNet error problem
Charles, Thanks very much for your input on my problem with a tsNet error that occurred when trying to get patent text information from the USPTO web site. I finally found a way around the issue by using libURLDownloadToFile. That, of course, is a more crude way to get what I want since my ultimate goal is text which I can edit or from which I can extract individual pieces of information like inventor names, patent issue date, etc. Since libURLDownloadToFile creates a file on disk, I then need to open the file and read the data into a a variable, and then delete the file (which is no longer needed) before I can get to my real work. It is extra steps, but at least no tsNet errors like “put URL into tVariableName” suddenly started giving me! Regards, Bruce > On May 20, 2021, at 7:37 PM, matthias rebbe via use-livecode > wrote: > > Bruce, > > on the 19th of February this year Charles Warwick posted the following answer > to a post (subject: SSL Error - question from Stack Overflow) which described > a similar problem. > > This seems to be an issue which has come up a few times over the years with > the curl library. > > It appears to be specific to when curl is compiled on OS X to use the Mac SSL > library, rather than OpenSSL. > > I am guessing you are trying this on a Mac? > > I have tested a build of tsNet under OS X that uses OpenSSL instead, and the > issue goes away. Unfortunately, building tsNet to use OpenSSL on Mac would > mean that it no longer uses the OS X certificate store for verifying SSL > certificates. > > Regards, > > Charles > <<< > > So maybe Charles can help, maybe with a custom build of tsNET. > > Regards, > Matthias > > > >> Am 21.05.2021 um 00:44 schrieb Bruce Pokras via use-livecode >> : >> >> Hello all, >> >> Getting a tsNet error, both from the IDE and a standalone. I have a patent >> searching and downloading app that had some link rot issues. Finally fixed >> everything. Seemed to be working fine for USPTO, European Patent Office and >> World Intellectual Property Office. I put off launching this new version >> (Patent Grabber 6.5) for a few weeks. I don’t understand what has happened >> in the meantime, but the US patent searching keeps returning a tsNet error >> in the “result": >> >> tsneterr: (56) SSLRead() return error -9806 >> >> The URL was: >> >> >> https://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&u=%2Fnetahtml%2Fsearch-adv.htm&r=0&p=1&f=S&l=50&Query=(pokras)&d=pall >> >> which works fine when pasted in Safari or Chrome on my MacBook Pro Retina >> running High Sierra 10.13.6. >> >> I recently learned of the tsNet debugger that someone (Charles Warwick?) had >> so thoughtfully created, and tried it. Below are two runs that I made, and >> since I can’t make heads nor tails of them, I hope that someone on the list >> can understand what is going on (I also tried tsNetVerifySSLPeer, both true >> and false, but got the same tsNet error). Any help would be greatly >> appreciated. Thanks! >> >> Bruce Pokras >> >> #1: run with libURLsetSSLverification false >> >> Connection #7 to host patft.uspto.gov left intact >> Issue another request to this URL: >> 'https://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&u=%2Fnetahtml%2Fsearch-adv.htm&r=0&p=1&f=S&l=50&Query=(pokras)&d=pall' >> Trying 2610:20:5004:1604::82:443... >> Connected to patft.uspto.gov (2610:20:5004:1604::82) port 443 (#8) >> WARNING: disabling hostname validation also disables SNI. >> SSL re-using session ID >> TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 >> Server certificate: patft.uspto.gov >> Server certificate: Entrust Certification Authority - L1K >> Server certificate: Entrust Root Certification Authority - G2 >> GET >> /netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&u=%2Fnetahtml%2Fsearch-adv.htm&r=0&p=1&f=S&l=50&Query=(pokras)&d=pall >> HTTP/1.0 >> Host: patft.uspto.gov >> Accept: */* >> User-Agent: LiveCode (MacOS) >> >> 1621533850 >> Mark bundle as not supporting multiuse >> HTTP 1.0, assume close after body >> HTTP/1.0 200 Script results follow >> Server: NetAnswer Server 1.0 >> Content-Type: text/html >> >> SSLRead() return error -9806 >> Closing connection 8 >> >> #2: run with libURLsetSSLverification true >> >> 1621534995 >> 1621534996 >> _proxyForURL_proxyForURL end with none foundProxy for URL: >> Found bundle for host patft.uspto.gov: 0x7fa9a210bac0 [serially] >> Re-using existing connection! (#11) with host patft.uspto.gov >> Connected to patft.uspto.gov (2610:20:5004:1604::82) port 80 (#11) >> GET >> /netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&u=%2Fnetahtml%2Fsearch-adv.htm&r=0&p=1&f=S&l=50&Query=(pokras)&d=pall >> HTTP/1.0 >> Host: patft.uspto.gov >> Accept: */* >> User-Agent: LiveCode (MacOS) >> >> Mark bundle as not supporting multiuse >> HTTP 1.0, assume close after body >> HTTP/1.0 302 Found >> Location: >> https://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO
Re: Levure Dataview: hiding rows
Thanks Bob - I’ll go ahead and do that. In the documentation for DataViews there is some mention of “hiding” and “HideRowControl” - so I wanted to check that there is not a better way. For now I’ll keep the original data and then set the dvData of what I need to different filtered arrays. 📆 Schedule a call with me On 1 Jul 2021, 16:12 +0100, Bob Sneidar via use-livecode , wrote: > Delete the row data?? > > Bob S > > > > On Jul 1, 2021, at 01:16 , David Bovill via use-livecode > > wrote: > > > > I took a look at the code to try and work out if hiding rows is a thing / > > supported - but find only a private handler. > > > > Trevor what is the recommended technique for providing views of a DataView > > with hidden rows? > > > ___ > 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
Ask Command on Android
Greetings! When I run the ask command on a iOS device, the dialog appears, the soft keyboard appears and you can begin typing. However, on a Android device, the dialog appears but the keyboard doesn't not immediately open. You have to tap into the text area of the ask dialog to open the keyboard so you can type.Is there a way to get the keyboard to appear immediately like it does on iOS? Thanks in advance, -Dan ___ 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: Levure Dataview: hiding rows
Delete the row data?? Bob S > On Jul 1, 2021, at 01:16 , David Bovill via use-livecode > wrote: > > I took a look at the code to try and work out if hiding rows is a thing / > supported - but find only a private handler. > > Trevor what is the recommended technique fir providing views of a DataView > with hidden rows? ___ 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: Levure Dataview: hiding rows
I took a look at the code to try and work out if hiding rows is a thing / supported - but find only a private handler. Trevor what is the recommended technique fir providing views of a DataView with hidden rows? 📆 Schedule a call with me On 24 Jun 2021, 12:46 +0100, David Bovill , wrote: > Im exploring how to hide a row in Levure Dataview. I can delete the row and > reset the dvData - but that seems overkill. On GitHub there is a mention of > HideRowControl? > > I’m running into the limits of the documentation for Dataview. Any ideas? > > 📆 Schedule a call with me > On 22 Jun 2021, 05:08 +0100, David Bovill , wrote: > > Hah - hey thanks for that Sean. The recipe feels a bit like going to the > > government and filling in forms in triplicate to get your life back :) > > > > 📆 Schedule a call with me > > On 22 Jun 2021, 03:15 +0100, Sean Cole (Pi) via use-livecode > > , wrote: > > > Hi David, > > > > > > iOS 'fir' / 'for' issue. > > > > > > I don't know if this already got answered elsewhere in the thread. There > > > are two easy fixes for this. > > > > > > 1. In Notes, type 'Fir always' then select the word 'Fir' and from the > > > pop-up menu select 'replace...' then replace with 'For'. Delete the line > > > of > > > text and repeat nine times. > > > Now repeat this whole thing but use the phrase 'Once fir all'. If this > > > corrects to 'for' right away then it is already fixed. Otherwise, continue > > > using this phrase replacing 'fir' with 'for'. > > > > > > 2. If this still does not fix it, in > > > Settings>General>Keyboard>TextReplacement>, add 'fir' with the replacement > > > 'for'. > > > > > > (3. Or, go to Settings>General>Reset>ResetKeyboardDictionary, but that is > > > the last resort.) > > > > > > All the best > > > > > > Sean > > > > > > > > > On Mon, 21 Jun 2021 at 20:33, David Bovill via use-livecode < > > > use-livecode@lists.runrev.com> wrote: > > > > > > > I’d like to add an image background to a Dataview, so that is scrolls > > > > alongside the rows. > > > > > > > > Any pointers? > > > > > > > > 📆 Schedule a call with me > > > > On 11 Jun 2021, 18:01 +0100, David Bovill , > > > > wrote: > > > > > So I got visual feedback from drag-and-drop using the Levure DataView > > > > following instructions at: > > > > > > > > > > • https://github.com/trevordevore/levurehelper-dataview > > > > > > > > > > I add the following code to the DataView: > > > > > > quote_type > > > > > > on dragStart > > > > > > set the dvDragImageRow of me to item 1 of the dvHilitedRows of me > > > > > > set the dvTrackDragReorder[the dvHilitedRows of me] of me to true > > > > > > set the dragData["private"] to the dvHilitedRows of me # dragdata > > > > > > has > > > > to be set to something. > > > > > > end dragStart > > > > > > > > > > > > on ValidateRowDrop pDraggingInfoA, pProposedRow, > > > > > > pProposedDropOperation > > > > > > put "Dragging" && pProposedRow && pProposedDropOperation > > > > > > return true > > > > > > end ValidateRowDrop > > > > > > > > > > > > on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation > > > > > > put "Dropped" && pRow && pDropOperation > > > > > > end AcceptRowDrop > > > > > > > > > > > But the ValidateRowDrop message does not get sent, also I don’t get > > > > > any > > > > visual feedback with a "drop indicator" (the line that shows you where > > > > the > > > > drop will occur) - any idea? > > > > > > > > > > 📆 Schedule a call with me > > > > > On 11 Jun 2021, 16:03 +0100, David Bovill , > > > > wrote: > > > > > > Yeah sorry about the typo - sent from mobile. I meant Levure - as > > > > Trevor is the main man with the drag stuff and having differenr styles > > > > for > > > > rows is a must. > > > > > > > > > > > > NB on the typo front I have a distant memory that aeons ago when I > > > > first got an iPhone I said yes to the spelling “fir”. Ever since then > > > > all > > > > my devices seem to love this word - anyone have an idea how to correct > > > > this > > > > auto typing flaw? > > > > > > > > > > > > 📆 Schedule a call with me > > > > > > On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode < > > > > use-livecode@lists.runrev.com>, wrote: > > > > > > > Hi David, > > > > > > > > > > > > > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode < > > > > use-livecode@lists.runrev.com>: > > > > > > > > > > > > > > > > Is there a simple demo out there that shows how drag-reordering > > > > > > > > of > > > > rows in a dataview works? Is this feature experimental? Got a deadline > > > > fir > > > > Monday considering taking the plunge? > > > > > > > > > > > > > > Levite Dataview? 8-) > > > > > > > Sure you do not mean LC datagrid? > > > > > > > > > > > > > > > 📆 Schedule a call with me > > > > > > > > > > > > > > No. :-D > > > > > > > > > > > > > > > > > > > > > Best > > > > > > > > > > > > > > Klaus > > > > > > > -- > > > > > > > Klaus Major > > > > > > > https://www.major-k.de > > > > > > > https://www.major-k.de/bass > > > > > >