Re: DOS variable bug (was SandBox and ImageMagick)

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50840
interpreted = N
texte = Never mind. It works if I put all the commands on one line separated by ; as in:cd data/Order0_KK_199_215; ls -l; zip ../Order0_KK_199_215 *Where's that coffee!?Dave Hurley Biology Department University of WashingtonOn Sunday, June 1, 2003, at 11:09 AM, Dave Hurley wrote:> This seems to be a problem with the [shell] context as well. When I > try to run the script > > cd folder > zip ../[folder] * > > in a sandbox using this notation: [shell > scriptID=4&folder=[zipFolder]][/shell] > > it creates a file called [folder].zip instead of the contents of the > folder variable. Same problem if I use zip ../folder * > > If this will be fixed in 5.0.1, do you know when that will be released? > > Thanks. > > Dave Hurley > Biology Department > University of Washington > > On Monday, May 19, 2003, at 08:47 AM, Scott Anderson wrote: > >> Looks like a bug with the DOS context. The script is retrieved from >> the >> sandbox scripts database, but is not parsed before DOS execution. >> This will >> be fixed for the 5.0.1 release due out soon. >> >>> -----Original Message----- >>> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf >>> Of >>> Tim Robinson >>> Sent: Sunday, May 18, 2003 10:39 PM >>> To: WebDNA Talk >>> Subject: Re: SandBox and ImageMagick >>> >>> >>> OK. The latest is that the DOS command wasn't working at all. >>> >>> I had to enter && to force line breaks, and then it did work >>> (with hard >>> coded values). But I still don't know how to get it to >>> populate a WebDNA >>> variable with the [DOS] command. This always worked when NOT >>> in a sandbox. >>> All help greatly appreciated. >>> >>> Regards, >>> Tim >>> >>>> From: Tim Robinson >>>> Reply-To: (WebDNA Talk) >>>> Date: Mon, 19 May 2003 15:00:54 >>>> To: (WebDNA Talk) >>>> Subject: Re: SandBox and ImageMagick >>>> >>>> OK after going back to the WebDNA Lab and reading up again >>> on Sandboxes, >>>> I've worked out how to enter in a SandBox script for the >>> [DOS] call. That's >>>> pretty straightforward. >>>> >>>> But the image names are text variables: [iconimage] and >>> [fullimage] and the >>>> [DOS] command is not populating these variables. Anyone >>> know what I'm >>>> missing or how to do that??? >>>> >>>> Thanks, >>>> Tim >>>> >>>>> From: Tim Robinson >>>>> Reply-To: (WebDNA Talk) >>>>> Date: Mon, 19 May 2003 14:32:43 >>>>> To: (WebDNA Talk) >>>>> Subject: SandBox and ImageMagick >>>>> >>>>> Hi there, >>>>> >>>>> I have a form for my shop that uploads an image, then >>> ImageMagick takes the >>>>> upload and makes a thumbnail, and a main pic of it. >>>>> >>>>> This WAS all working fine. But ever since I put my site in >>> a sandbox it's >>>>> stopped working. I would get this error: >>>>> >>>>> An unknown error occurred: >>>>> SBSCRIPTACCESS >>>>> Tim <<(this was the Sandbox name) >>>>> DOS >>>>> >>>>> The reason I know this is the problem is because when I >>> removed the sandbox, >>>>> it worked immediately! >>>>> >>>>> SMSI (or anyone), there must be something that can be done here. >>>>> >>>>> WebDNA 5, Windows 2000 IIS5. >>>>> >>>>> Regards, >>>>> Tim >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list . >>>>> To unsubscribe, E-mail to: >>>>> To switch to the DIGEST mode, E-mail to >>>>> >>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>>> >>>> >>>> >>>> ------------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> To switch to the DIGEST mode, E-mail to >>>> >>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>> >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: DOS variable bug (was SandBox and ImageMagick) (John Peacock 2003)
  2. Re: DOS variable bug (was SandBox and ImageMagick) (Dave Hurley 2003)
  3. Re: DOS variable bug (was SandBox and ImageMagick) (John Peacock 2003)
  4. Re: DOS variable bug (was SandBox and ImageMagick) (Dave Hurley 2003)
  5. DOS variable bug (was SandBox and ImageMagick) (Dave Hurley 2003)
Never mind. It works if I put all the commands on one line separated by ; as in:cd data/Order0_KK_199_215; ls -l; zip ../Order0_KK_199_215 *Where's that coffee!?Dave Hurley Biology Department University of WashingtonOn Sunday, June 1, 2003, at 11:09 AM, Dave Hurley wrote:> This seems to be a problem with the [shell] context as well. When I > try to run the script > > cd folder > zip ../[folder] * > > in a sandbox using this notation: [shell > scriptID=4&folder=[zipFolder]][/shell] > > it creates a file called [folder].zip instead of the contents of the > folder variable. Same problem if I use zip ../folder * > > If this will be fixed in 5.0.1, do you know when that will be released? > > Thanks. > > Dave Hurley > Biology Department > University of Washington > > On Monday, May 19, 2003, at 08:47 AM, Scott Anderson wrote: > >> Looks like a bug with the DOS context. The script is retrieved from >> the >> sandbox scripts database, but is not parsed before DOS execution. >> This will >> be fixed for the 5.0.1 release due out soon. >> >>> -----Original Message----- >>> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf >>> Of >>> Tim Robinson >>> Sent: Sunday, May 18, 2003 10:39 PM >>> To: WebDNA Talk >>> Subject: Re: SandBox and ImageMagick >>> >>> >>> OK. The latest is that the DOS command wasn't working at all. >>> >>> I had to enter && to force line breaks, and then it did work >>> (with hard >>> coded values). But I still don't know how to get it to >>> populate a WebDNA >>> variable with the [DOS] command. This always worked when NOT >>> in a sandbox. >>> All help greatly appreciated. >>> >>> Regards, >>> Tim >>> >>>> From: Tim Robinson >>>> Reply-To: (WebDNA Talk) >>>> Date: Mon, 19 May 2003 15:00:54 >>>> To: (WebDNA Talk) >>>> Subject: Re: SandBox and ImageMagick >>>> >>>> OK after going back to the WebDNA Lab and reading up again >>> on Sandboxes, >>>> I've worked out how to enter in a SandBox script for the >>> [DOS] call. That's >>>> pretty straightforward. >>>> >>>> But the image names are text variables: [iconimage] and >>> [fullimage] and the >>>> [DOS] command is not populating these variables. Anyone >>> know what I'm >>>> missing or how to do that??? >>>> >>>> Thanks, >>>> Tim >>>> >>>>> From: Tim Robinson >>>>> Reply-To: (WebDNA Talk) >>>>> Date: Mon, 19 May 2003 14:32:43 >>>>> To: (WebDNA Talk) >>>>> Subject: SandBox and ImageMagick >>>>> >>>>> Hi there, >>>>> >>>>> I have a form for my shop that uploads an image, then >>> ImageMagick takes the >>>>> upload and makes a thumbnail, and a main pic of it. >>>>> >>>>> This WAS all working fine. But ever since I put my site in >>> a sandbox it's >>>>> stopped working. I would get this error: >>>>> >>>>> An unknown error occurred: >>>>> SBSCRIPTACCESS >>>>> Tim <<(this was the Sandbox name) >>>>> DOS >>>>> >>>>> The reason I know this is the problem is because when I >>> removed the sandbox, >>>>> it worked immediately! >>>>> >>>>> SMSI (or anyone), there must be something that can be done here. >>>>> >>>>> WebDNA 5, Windows 2000 IIS5. >>>>> >>>>> Regards, >>>>> Tim >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list . >>>>> To unsubscribe, E-mail to: >>>>> To switch to the DIGEST mode, E-mail to >>>>> >>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>>> >>>> >>>> >>>> ------------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> To switch to the DIGEST mode, E-mail to >>>> >>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>> >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Dave Hurley

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Dynamic PDFs? (2002) [WebDNA] WebDNA on LiveCD ... (2008) date search not working when type=date specified (2007) For those of you not on the WebCatalog Beta... (1997) emailer setup (1997) WC3 and SSL on NT (1998) [WebDNA] Liked WebDNA, Went to PHP, split brain is good! (2008) New public beta available (1997) Suffix Mapping (1998) More Shopping Cart Problems (2000) Bug Report, maybe (1997) Showif for mulitple variations (1997) Fwd: Problems with Webcatalog Plug-in (1997) [WebDNA] WebDNA on LiveCD ... (2008) WebCat2b12 - nesting [tags] (1997) no [include]s with encryption? (1998) RE: Writefile outside WebSTAR hierarchy? (1997) [WebDNA] WebDNA7 site randomly dropping tags (2011) Surprise x and y post args (1998) Using Cookie for client specific info? (1997)