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 HurleyBiology DepartmentUniversity 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:
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 HurleyBiology DepartmentUniversity 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:
Download URL & access on the fly ? (1997)
question: webmerchant connection (1997)
Latest beta slow on [order] and [purchase] (1997)
Displaying raw values (1998)
getchars broken? (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Change Subtotal (2000)
Transfering [text] variables (2000)
$adminput doesn't allow [include] files (1997)
Where is eudora plugin? (1998)
Another issue with [Date format] (1998)
Question about replacing words (1998)
Need relative path explanation (1997)
Re(2): Problem about [CART] number (1998)
[ModDate] & [ModTime] ? (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)
Limiting user access to .tmpl files (1997)
Timeout question .. (2003)
BUG in [showif] using ^ (contains) (1997)
Limit to Field Length in DB (1998)