Re: LiveCode Server on CentOS 6?

2018-07-29 Thread Warren Samples via use-livecode
On 07/28/2018 05:39 AM, Keith Clarke via use-livecode wrote: Hi Folks, Is anyone running LS Server on CentOS 6? I notice that only version 7 is officially supported and not being a Linux expert, I’d like to know if this server OS would need to be upgraded before attempting anything with LC

Re: LiveCode Server on CentOS 6?

2018-07-29 Thread Keith Clarke via use-livecode
Thanks Warren (& Richard) - this probably is the blocker, as this particular VPS is definitely running 2.12 Google suggests that I can’t (or at least shouldn't attempt to) upgrade CentOS 6 with a later glibc version, given its central role. Apparently there are workarounds to install an

set the filename of image bug?

2018-07-29 Thread Stephen MacLean via use-livecode
Hi All, I’m having an issue with the “set the filename of img”. This line: set the filename of img "checkImg" of cd "cropImg" stack "imgEngine" to imgURL Works as expected when using “http”. When using “https”, it fails to get the image. No error is returned, but the image is blank.

Re: set the filename of image bug?

2018-07-29 Thread Stephen MacLean via use-livecode
Ok, very strange… I created a test project to run in both 9.0.1 RC1 and 9.0.0… and it works fine, yet doesn’t work in the image that I have in my engine stack in either version. Even renaming the old one and dragging a new image out and trying that doesn’t work. Ugh! I’m at a loss. I’m

Local images and the browser widget

2018-07-29 Thread Stephen MacLean via use-livecode
Almost afraid to ask this because I feel like it’s a path issue with Relative vs Absolute… Remote images display fine in a browser widget, but local image files don’t seem to. This works (displays the image) in script and in the message box: put "http://www.trumbull-ct.gov/images/BoyScouts.jpg;

Re: Local images and the browser widget

2018-07-29 Thread Mike Bonner via use-livecode
Sorry, that should have been.. Set the url to "file :///Users/steve/Dropbox/I TB%20pubEngine/tempMedia/995786d6-4429-4821-8b21-8e811289e12c.jpg" On Sun, Jul 29, 2018 at 3:03 PM Mike Bonner wrote: > If you just need to see the image, you can do it by changing

Re: Local images and the browser widget

2018-07-29 Thread Stephen MacLean via use-livecode
No, the Folder is "ITB pubEngine”. The %20 is an URL escape for a space. I was trying to avoid the relative path problems by giving it an absolute path, but that doesn’t seem to work. Best, Steve > On Jul 29, 2018, at 4:58 PM, Peter Bogdanoff via use-livecode > wrote: > > It is very

Re: set the filename of image bug?

2018-07-29 Thread Klaus major-k via use-livecode
Hi Steve, > Am 29.07.2018 um 18:28 schrieb Stephen MacLean via use-livecode > : > > Hi All, > > I’m having an issue with the “set the filename of img”. > This line: set the filename of img "checkImg" of cd "cropImg" stack > "imgEngine" to imgURL > Works as expected when using “http”. When

Re: set the filename of image bug?

2018-07-29 Thread Stephen MacLean via use-livecode
Still more weirdness: I removed the old sub-stack from my main stack, renamed it, saved it, quit LC and now it works fine. Still, in the meantime, I’m rebuilding it from scratch and leaving outside the main stack, loading it as needed. If that goes well, I’ll do that for all my library

Re: set the filename of image bug?

2018-07-29 Thread Stephen MacLean via use-livecode
HI Klaus, Wow, ok… I will have to check 9.0.0. Currently using 9.0.1 RC1 on 10.12.6. It fails for me in both script and the inspector. Thanks for testing! Best, Steve > On Jul 29, 2018, at 12:34 PM, Klaus major-k via use-livecode > wrote: > > Hi Steve, > >> Am 29.07.2018 um 18:28 schrieb

Re: set the filename of image bug?

2018-07-29 Thread Stephen MacLean via use-livecode
Some other weirdness i’m noticing… When I copied a new image to that card, it gave it a very high numbered ID that corresponded with one of the icons in the image library. I think I’m dealing with some kind of corruption here. I’m going to rebuild this and give that a try. Thankfully it’s

Re: set the filename of image bug?

2018-07-29 Thread Mike Bonner via use-livecode
If you think the stack is corrupted, you might send it to supp...@livecode.com so they can look at it, and/or post a bug report and include the stack there so that it can be looked at. (assuming there is nothing sensitive in the stack) On Sun, Jul 29, 2018 at 11:24 AM Stephen MacLean via

Re: Local images and the browser widget

2018-07-29 Thread Mike Bonner via use-livecode
If you just need to see the image, you can do it by changing your method.. Instead of setting the htmltext, it should work to set the url to " http://Users/steve/Dropbox/ITB%20pubEngine/tempMedia/99578 6d6-4429-4821-8b21-8e811289e12c.jpg" I'm not expert, but I think there is some type of

Re: set the filename of image bug?

2018-07-29 Thread Mike Bonner via use-livecode
If it works for Klaus, and fails for you, it makes me wonder if something has gotten munged in the imgUrl variable. You might try putting an "answer imgUrl" (or use the variable inspector) to confirm that everything looks right. (worked fine for me too) On Sun, Jul 29, 2018 at 10:39 AM Stephen

Re: Local images and the browser widget

2018-07-29 Thread Peter Bogdanoff via use-livecode
It is very probably the file path. Is: ITB%20pubEngine the actual name of the folder? Peter > On Jul 29, 2018, at 1:31 PM, Stephen MacLean via use-livecode > wrote: > > ox/ITB%20pubEngine/tempMedia/995786d6-4429-4821-8b21-8e811289e12c.jpg > " > & ">" into tHTML

Re: Local images and the browser widget

2018-07-29 Thread Stephen MacLean via use-livecode
Thanks Mike, yes that does work for just displaying the image. I’m building HTML on the fly and wanted to include the local image if there was one, for testing. This will be a moot point for production as everything will be served via a web server, but I was hoping to see this for testing. I

iOS multi-line input field

2018-07-29 Thread J. Landman Gay via use-livecode
I'm looking at a stack with a multi-line input field in the iOS simulator. A handler shows a group and creates a multi-line input in the correct location, but as soon as I tap into the field to type the group is hidden. There is only one command anywhere in the stack that hides the group and

Re: LiveCode Server on CentOS 6?

2018-07-29 Thread Richard Gaskin via use-livecode
Keith Clarke wrote: > Thanks Warren (& Richard) - this probably is the blocker, as this > particular VPS is definitely running 2.12 > > Google suggests that I can’t (or at least shouldn't attempt to) > upgrade CentOS 6 with a later glibc version, given its central role. > > Apparently there are

Re: Local images and the browser widget

2018-07-29 Thread Stephen MacLean via use-livecode
Hi Mike, Thanks for that! I was doing the same thing at the same time:) My code for setting up the server: local sTempMedia command setTempMedia ### Set the location of the tempMedia folder # set the defaultFolder to the folder containing the stackfile set the itemDelimiter to slash get

Re: Local images and the browser widget

2018-07-29 Thread Mike Bonner via use-livecode
Decided to try using the httpd library, and it seems to work pretty nicely. If you want to set up a very simple web picture viewer (VERY simple) the following code is a working but minimal start. local sBaseDir on mouseup httpdstart "newrequest",,"My Picture Server" --start the server on