In the current context, I think invoking the exe from a command prompt would be good enough to see any startup error messages. BTW, apart from the 2 dlls you have mentioned, you most probably need Microsoft.Scripting.dll, Microsoft.Scripting.Core.dll and IronPython.Modules.dll in the same folder for things to work.
Thanks sesh From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Khaskel Sent: Monday, August 25, 2008 2:36 PM To: [email protected] Subject: Re: [IronPython] Users Digest, Vol 49, Issue 74 (3. Re: trying to run .exe on another computer (Michael Foord)) I would appreciate if somebody can tell me how to compie windows app as a console application thanks, V. > From: [EMAIL PROTECTED] > Subject: Users Digest, Vol 49, Issue 74 > To: [email protected] > Date: Mon, 25 Aug 2008 11:03:21 -0700 > > Send Users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Users digest..." > > > Today's Topics: > > 1. Re: _scriptEngine.Shutdown ( ) (Curt Hagenlocher) > 2. trying to run .exe on another computer (Vadim Khaskel) > 3. Re: trying to run .exe on another computer (Michael Foord) > 4. Re: Re strict imports (Michael Foord) > 5. Re: CodeContext (Tomas Matousek) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 25 Aug 2008 09:47:23 -0700 > From: "Curt Hagenlocher" <[EMAIL PROTECTED]> > Subject: Re: [IronPython] _scriptEngine.Shutdown ( ) > To: "Discussion of IronPython" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > I don't have an answer for you yet, but I am following up on this > internally. > > On Sun, Aug 24, 2008 at 12:27 PM, Huzaifa <[EMAIL PROTECTED]> wrote: > > > > > right but it is not available in the latest code for ipy 2.0. > > > > > > > > Curt Hagenlocher wrote: > > > > > > I'm afraid I don't quite see the question in there :). > > > > > > The purpose of ScriptEngine.Shutdown is to support functionality like > > > Python's sys.exitfunc. > > > > > > On Sat, Aug 23, 2008 at 8:44 PM, Huzaifa <[EMAIL PROTECTED]> wrote: > > > > > >> > > >> scriptEngine.Shutdown ( ) > > >> > > >> Is this method replaced ,if yes then with without. > > >> > > >> -- > > >> View this message in context: > > >> > > http://www.nabble.com/_scriptEngine.Shutdown-%28-%29-tp19127524p19127524.html > > >> Sent from the IronPython mailing list archive at Nabble.com. > > >> > > >> _______________________________________________ > > >> Users mailing list > > >> [email protected] > > >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > >> > > > > > > _______________________________________________ > > > Users mailing list > > > [email protected] > > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > > > > > > -- > > View this message in context: > > http://www.nabble.com/_scriptEngine.Shutdown-%28-%29-tp19127524p19133851.html > > Sent from the IronPython mailing list archive at Nabble.com. > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080825/ec5213ce/attachment-0001.htm> > > ------------------------------ > > Message: 2 > Date: Mon, 25 Aug 2008 17:23:47 +0000 > From: Vadim Khaskel <[EMAIL PROTECTED]> > Subject: [IronPython] trying to run .exe on another computer > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > > Hi all, > > I'm trying to run executive file (myapp.exe) of my application found in debug > folder along with myapp.pdb, IronMath.dll, IronPython.dll. So I'm trying to > run this .exe file on another PC. ...I can not do that - nothing happens, not > even single error message pops up. Please advise. > > thanks a lot, > > Vadim > _________________________________________________________________ > Talk to your Yahoo! Friends via Windows Live Messenger. Find out how. > http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080825/09a17c7a/attachment-0001.htm> > > ------------------------------ > > Message: 3 > Date: Mon, 25 Aug 2008 18:28:39 +0100 > From: Michael Foord <[EMAIL PROTECTED]> > Subject: Re: [IronPython] trying to run .exe on another computer > To: Discussion of IronPython <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Vadim Khaskel wrote: > > Hi all, > > > > I'm trying to run executive file (myapp.exe) of my application found > > in debug folder along with myapp.pdb, IronMath.dll, IronPython.dll. So > > I'm trying to run this .exe file on another PC. ...I can not do that - > > nothing happens, not even single error message pops up. Please advise. > > > > How did you create myapp.exe? What happens if you run it from the > command line? > > (If you created it from IronPython Studio and you still get nothing from > the command line - try compiling it as a console application instead of > a windows application and then rerunning.) > > Michael > > > thanks a lot, > > > > Vadim > > > > ------------------------------------------------------------------------ > > Talk to your Yahoo! Friends via Windows Live Messenger. Find Out How > > <http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008> > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > -- > http://www.ironpythoninaction.com/ > http://www.voidspace.org.uk/ > http://www.trypython.org/ > http://www.ironpython.info/ > http://www.theotherdelia.co.uk/ > http://www.resolverhacks.net/ > > > > ------------------------------ > > Message: 4 > Date: Mon, 25 Aug 2008 18:56:58 +0100 > From: Michael Foord <[EMAIL PROTECTED]> > Subject: Re: [IronPython] Re strict imports > To: [EMAIL PROTECTED], Discussion of IronPython > <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Dody Gunawinata wrote: > > Ah, my knowledge is out of date then. > > > > I think the more apt thread is here > > http://lists.ironpython.com/htdig.cgi/users-ironpython.com/2008-June/007523.html > > > > Yep - Dino confirming that sandboxing is one of the intended uses of > IronPython and that it should work (and a link to a blog entry about why > some sandboxing problems are very difficult - particularly server > applications where you need to protect against DoS through CPU and > memory over use). > > Michael > > > On Sat, Aug 23, 2008 at 9:44 PM, Michael Foord > > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > > > > > > 2008/8/23 Dody Gunawinata <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> > > > > http://lists.ironpython.com/htdig.cgi/users-ironpython.com/2008-April/006765.html > > > > > > > > Points to a bug in IronPython that is now fixed: > > > > http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=15928 > > > > > > > > > > http://lists.ironpython.com/htdig.cgi/users-ironpython.com/2007-April/004740.html > > > > > > > > A discussion by someone who wants to do a lot more than just > > restrict imports and file access. > > > > Michael > > > > > > > > > > On Sat, Aug 23, 2008 at 3:32 PM, Michael Foord > > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > wrote: > > > > > > > Search the mailing list archive on this issue. The > > bottom line is, you > > > can't > > > - but there are tricks to make it more difficult. > > > > > > > Is that true? You can create an IronPython Engine in an > > AppDomain > > (IronPython 2 has lots of explicit support for this) and > > restrict the > > privileges of the AppDomain. Why would that not work? > > > > Michael > > > > > > > > > Dody G. > > > > > > On Fri, Aug 22, 2008 at 10:03 PM, Huzaifa > > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > > > >> > > >> how can i restrict my user that he can not perform any > > imports or I/O > > >> operations in the script. > > >> -- > > >> View this message in context: > > >> > > http://www.nabble.com/Restrict-imports-tp19113682p19113682.html > > >> Sent from the IronPython mailing list archive at > > Nabble.com. > > >> > > >> _______________________________________________ > > >> Users mailing list > > >> [email protected] > > <mailto:[email protected]> > > >> > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > >> > > > > > > > > > > > > -- > > > nomadlife.org <http://nomadlife.org> > > > _______________________________________________ > > > Users mailing list > > > [email protected] > > <mailto:[email protected]> > > > > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > > > > > -- > > http://www.ironpythoninaction.com > > _______________________________________________ > > Users mailing list > > [email protected] <mailto:[email protected]> > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > > > > > > -- > > nomadlife.org <http://nomadlife.org> > > > > > > _______________________________________________ > > Users mailing list > > [email protected] <mailto:[email protected]> > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > > > > > > -- > > http://www.ironpythoninaction.com/ > > http://www.voidspace.org.uk/ > > http://www.ironpython.info/ > > http://www.resolverhacks.net/ > > > > > > > > _______________________________________________ > > Users mailing list > > [email protected] <mailto:[email protected]> > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > > > > > > -- > > nomadlife.org <http://nomadlife.org> > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > -- > http://www.ironpythoninaction.com/ > http://www.voidspace.org.uk/ > http://www.trypython.org/ > http://www.ironpython.info/ > http://www.theotherdelia.co.uk/ > http://www.resolverhacks.net/ > > > > ------------------------------ > > Message: 5 > Date: Mon, 25 Aug 2008 11:02:50 -0700 > From: Tomas Matousek <[EMAIL PROTECTED]> > Subject: Re: [IronPython] CodeContext > To: Discussion of IronPython <[email protected]> > Cc: Curt Hagenlocher <[EMAIL PROTECTED]> > Message-ID: > <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset="us-ascii" > > I see. We probably should have a method on ExceptionOperations that returns a > list of stack frame information given an exception. > There is also a private method on PythonOps that creates the traceback object > and doesn't require CodeContext: CreateTraceBack. We might consider making it > public. Curt? > Meanwhile, you can use GetExceptionInfoLocal with a default context from > DefaultContext.Default. The only place where the context is used is to do > some magic with StringException, but that doesn't influence the traceback > object. > > Tomas > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Huzaifa > Sent: Saturday, August 23, 2008 8:31 PM > To: [email protected] > Subject: Re: [IronPython] CodeContext > > I am try to get traceback object , for that i am trying different things > Tomas Matousek wrote: > The class might be actually be called ExceptionService in your bits. It was > renamed recently. Tomas -----Original Message----- From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tomas Matousek Sent: Saturday, August > 23, 2008 7:53 PM To: Discussion of IronPython Subject: Re: [IronPython] > CodeContext Does ExceptionOeprations class provide you the information you > need or is something missing? You can get an instance via > engine.GetService(). Tomas -----Original Message----- From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Huzaifa Sent: Saturday, August 23, > 2008 4:56 PM To: [email protected] Subject: [IronPython] CodeContext > how to get CodeContext from ScriptRuntime ,ScriptScope or ScriptEngine . > basically i am try use this function: public static PythonTuple/*!*/ > GetExceptionInfoLocal(CodeContext/*!*/ context, Exception ex) -- View this > message in context: http://www.nabble.co > m/CodeContext-tp19126500p19126500.html Sent from the IronPython mailing list > archive at Nabble.com. _______________________________________________ Users > mailing list [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ Users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ Users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > ________________________________ > View this message in context: Re: > CodeContext<http://www.nabble.com/CodeContext-tp19126500p19127475.html> > Sent from the IronPython mailing list > archive<http://www.nabble.com/IronPython-f14449.html> at Nabble.com. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080825/272e826f/attachment.htm> > > ------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > End of Users Digest, Vol 49, Issue 74 > ************************************* ________________________________ See what people are saying about Windows Live. Check out featured posts. Check It Out!<http://www.windowslive.com/connect?ocid=TXT_TAGLM_WL_connect2_082008>
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
