Re: [IronPython] ASP.Net Dynamic Language Support Download Location?

2009-05-03 Thread Dody Gunawinata
FYI, ASP.Net Dynamic Language release in September 2008 does not work with
.Net 3.5 libraries.

On Sun, May 3, 2009 at 12:53 AM, Adam Brand ad...@silverkeytech.com wrote:

  Sorry if this sounds like a newbie question, but where can I get the
 September 2008 ASP.Net Dynamic Language Support files?



 I looked here:
 http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=17613but 
 for the life of me I can’t see any link to the actual binaries. All I
 see are two examples and some documentation.



 Thanks,

 Adam

 ___
 Users mailing list
 Users@lists.ironpython.com
 http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




-- 
nomadlife.org
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] ASP.Net Dynamic Language Support Download Location?

2009-05-03 Thread Jimmy Schementi
The binaries are in the ASP.NET WebForms IronPython Sample.

From: users-boun...@lists.ironpython.com 
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Adam Brand
Sent: Saturday, May 02, 2009 2:53 PM
To: 'Discussion of IronPython'
Subject: [IronPython] ASP.Net Dynamic Language Support Download Location?

Sorry if this sounds like a newbie question, but where can I get the September 
2008 ASP.Net Dynamic Language Support files?

I looked here: 
http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=17613 but for 
the life of me I can't see any link to the actual binaries. All I see are two 
examples and some documentation.

Thanks,
Adam
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Adding GUI to multi threaded server

2009-05-03 Thread Michael Foord

Hello,

I'm afraid the question is a bit vague to be able to answer.

Is your problem with the GUI, the threading or the server part?

If you want help writing a GUI with windows forms you may find some of  
the articles here helpful:


http://voidspace.org.uk/ironpython/

Michael


--
http://www.ironpythoninaction.com

On 3 May 2009, at 02:12, Vadim Khaskel vkhas...@hotmail.com wrote:


Hello everybody,

I'm trying to add GUI to Multi-threaded server, is there good  
resource or example (even better) how to do that?


thank you,

V.

Hotmail® has a new way to see what's up with your friends. Check it  
out.

___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] .exe is not pre-compiled

2009-05-03 Thread Curt Hagenlocher
On Fri, May 1, 2009 at 9:12 PM, Vadim Khaskel vkhas...@hotmail.com wrote:
 I'm trying to import C-python module and getting the following ecxeption:

 C:\Documents and Settings\vkhask\My Documents\IronPython
 Studio\pygnu\pygnu\bin\Debug\pygnu.exe is not pre-compiled module; try again
 after deleting it.

If this is a Python extension written in C, then you might be able to
use it with the Ironclad project ( http://code.google.com/p/ironclad/
).  IronPython itself doesn't support loading C extensions directly.

--
Curt Hagenlocher
c...@hagenlocher.org
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Pure Python zipimport

2009-05-03 Thread Jeff Hardy
Thanks Michael!

- Jeff

On Sat, May 2, 2009 at 12:43 PM, Michael Foord
fuzzy...@voidspace.org.uk wrote:
 Hello Jeff,

 There is one here:

 http://code.google.com/p/googleappengine/issues/detail?id=161#c27

 It implements 'most' of zipimport - but doesn't do some of the caching
 needed by setuptools I believe.

 Michael

 Jeff Hardy wrote:

 Hi all,
 I've heard tales of a pure python version of zipimport, but can't seem
 to find it. Anybody have any links?

 - Jeff
 ___
 Users mailing list
 Users@lists.ironpython.com
 http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



 --
 http://www.ironpythoninaction.com/
 http://www.voidspace.org.uk/blog


 ___
 Users mailing list
 Users@lists.ironpython.com
 http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


[IronPython] Assertion failure in IPy 2.6 while running Django

2009-05-03 Thread Jeff Hardy
The assertion is on line 91 of PythonFunction.Generated.cs (as of
r49699, anyway): mi != null. Why mi is null I have no idea.

The smallest repro I've found still requires Django (any recent
checkout should do):

 from django.db import models
 message = models.TextField('message')

If I had the following __init__ function to TextField the problem goes away:
def __init__(self, *args, **kwargs):
Field.__init__(self, *args, **kwargs)

- Jeff
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] Users Digest, Vol 58, Issue 3

2009-05-03 Thread Vadim Khaskel

My multi threaded server is working fine, I just want to find out the way to 
redirect server's messages to rich text box for example.

thank you,

V.

 From: users-requ...@lists.ironpython.com
 Subject: Users Digest, Vol 58, Issue 3
 To: users@lists.ironpython.com
 Date: Sun, 3 May 2009 13:06:49 -0700
 
 Send Users mailing list submissions to
   users@lists.ironpython.com
 
 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
   users-requ...@lists.ironpython.com
 
 You can reach the person managing the list at
   users-ow...@lists.ironpython.com
 
 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Users digest...
 
 
 Today's Topics:
 
1. ASP.Net Dynamic Language Support Download Location? (Adam Brand)
2. Adding GUI to multi threaded server (Vadim Khaskel)
3. Re: ASP.Net Dynamic Language Support Download Location?
   (Dody Gunawinata)
4. Re: ASP.Net Dynamic Language Support Download Location?
   (Jimmy Schementi)
5. Re: Adding GUI to multi threaded server (Michael Foord)
6. Re: .exe is not pre-compiled (Curt Hagenlocher)
7. Re: Pure Python zipimport (Jeff Hardy)
 
 
 --
 
 Message: 1
 Date: Sat, 2 May 2009 14:53:26 -0700
 From: Adam Brand ad...@silverkeytech.com
 Subject: [IronPython] ASP.Net Dynamic Language Support Download
   Location?
 To: 'Discussion of IronPython' users@lists.ironpython.com
 Message-ID: 029301c9cb70$6cce39c0$466aad...@com
 Content-Type: text/plain; charset=us-ascii
 
 Sorry if this sounds like a newbie question, but where can I get the
 September 2008 ASP.Net Dynamic Language Support files?
 
  
 
 I looked here:
 http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=17613 but
 for the life of me I can't see any link to the actual binaries. All I see
 are two examples and some documentation.
 
  
 
 Thanks,
 
 Adam
 
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20090502/9b525f66/attachment.html
 
 --
 
 Message: 2
 Date: Sun, 3 May 2009 01:12:22 +
 From: Vadim Khaskel vkhas...@hotmail.com
 Subject: [IronPython] Adding GUI to multi threaded server
 To: users@lists.ironpython.com
 Message-ID: bay101-w4991960cf0ea410d4413a7ca...@phx.gbl
 Content-Type: text/plain; charset=iso-8859-1
 
 
 Hello everybody,
 
 I'm trying to add GUI to Multi-threaded server, is there good resource or 
 example (even better) how to do that?
 
 thank you,
 
 V.
 
 _
 Hotmail? has a new way to see what's up with your friends.
 http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20090503/6877ff78/attachment-0001.htm
 
 --
 
 Message: 3
 Date: Sun, 3 May 2009 10:23:21 +0300
 From: Dody Gunawinata empirebuil...@gmail.com
 Subject: Re: [IronPython] ASP.Net Dynamic Language Support Download
   Location?
 To: Discussion of IronPython users@lists.ironpython.com
 Message-ID:
   8cd017b80905030023m4153eab6ufeda421e582c3...@mail.gmail.com
 Content-Type: text/plain; charset=windows-1252
 
 FYI, ASP.Net Dynamic Language release in September 2008 does not work with
 .Net 3.5 libraries.
 
 On Sun, May 3, 2009 at 12:53 AM, Adam Brand ad...@silverkeytech.com wrote:
 
   Sorry if this sounds like a newbie question, but where can I get the
  September 2008 ASP.Net Dynamic Language Support files?
 
 
 
  I looked here:
  http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=17613but 
  for the life of me I can?t see any link to the actual binaries. All I
  see are two examples and some documentation.
 
 
 
  Thanks,
 
  Adam
 
  ___
  Users mailing list
  Users@lists.ironpython.com
  http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
 
 
 
 
 -- 
 nomadlife.org
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20090503/1212bc47/attachment-0001.htm
 
 --
 
 Message: 4
 Date: Sun, 3 May 2009 10:02:29 +
 From: Jimmy Schementi jimmy.scheme...@microsoft.com
 Subject: Re: [IronPython] ASP.Net Dynamic Language Support Download
   Location?
 To: Discussion of IronPython users@lists.ironpython.com
 Message-ID:
   
 0047ecbfa2e0df4a834aa369282a5afc016b1...@tk5ex14mbxc106.redmond.corp.microsoft.com
   
 Content-Type: text/plain; charset=us-ascii
 
 The binaries are in the ASP.NET

Re: [IronPython] Users Digest, Vol 58, Issue 3

2009-05-03 Thread Michael Foord

Vadim Khaskel wrote:
My multi threaded server is working fine, I just want to find out the 
way to redirect server's messages to rich text box for example.


Well, simply put the messages in the textbox - probably by invoking onto 
the GUI thread.


Michael


thank you,

V.

 From: users-requ...@lists.ironpython.com
 Subject: Users Digest, Vol 58, Issue 3
 To: users@lists.ironpython.com
 Date: Sun, 3 May 2009 13:06:49 -0700

 Send Users mailing list submissions to
 users@lists.ironpython.com

 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
 users-requ...@lists.ironpython.com

 You can reach the person managing the list at
 users-ow...@lists.ironpython.com

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Users digest...


 Today's Topics:

 1. ASP.Net Dynamic Language Support Download Location? (Adam Brand)
 2. Adding GUI to multi threaded server (Vadim Khaskel)
 3. Re: ASP.Net Dynamic Language Support Download Location?
 (Dody Gunawinata)
 4. Re: ASP.Net Dynamic Language Support Download Location?
 (Jimmy Schementi)
 5. Re: Adding GUI to multi threaded server (Michael Foord)
 6. Re: .exe is not pre-compiled (Curt Hagenlocher)
 7. Re: Pure Python zipimport (Jeff Hardy)


 --

 Message: 1
 Date: Sat, 2 May 2009 14:53:26 -0700
 From: Adam Brand ad...@silverkeytech.com
 Subject: [IronPython] ASP.Net Dynamic Language Support Download
 Location?
 To: 'Discussion of IronPython' users@lists.ironpython.com
 Message-ID: 029301c9cb70$6cce39c0$466aad...@com
 Content-Type: text/plain; charset=us-ascii

 Sorry if this sounds like a newbie question, but where can I get the
 September 2008 ASP.Net Dynamic Language Support files?



 I looked here:
 
http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=17613 
but
 for the life of me I can't see any link to the actual binaries. All 
I see

 are two examples and some documentation.



 Thanks,

 Adam

 -- next part --
 An HTML attachment was scrubbed...
 URL: 
http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20090502/9b525f66/attachment.html


 --

 Message: 2
 Date: Sun, 3 May 2009 01:12:22 +
 From: Vadim Khaskel vkhas...@hotmail.com
 Subject: [IronPython] Adding GUI to multi threaded server
 To: users@lists.ironpython.com
 Message-ID: bay101-w4991960cf0ea410d4413a7ca...@phx.gbl
 Content-Type: text/plain; charset=iso-8859-1


 Hello everybody,

 I'm trying to add GUI to Multi-threaded server, is there good 
resource or example (even better) how to do that?


 thank you,

 V.

 _
 Hotmail? has a new way to see what's up with your friends.
 
http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009

 -- next part --
 An HTML attachment was scrubbed...
 URL: 
http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20090503/6877ff78/attachment-0001.htm


 --

 Message: 3
 Date: Sun, 3 May 2009 10:23:21 +0300
 From: Dody Gunawinata empirebuil...@gmail.com
 Subject: Re: [IronPython] ASP.Net Dynamic Language Support Download
 Location?
 To: Discussion of IronPython users@lists.ironpython.com
 Message-ID:
 8cd017b80905030023m4153eab6ufeda421e582c3...@mail.gmail.com
 Content-Type: text/plain; charset=windows-1252

 FYI, ASP.Net Dynamic Language release in September 2008 does not 
work with

 .Net 3.5 libraries.

 On Sun, May 3, 2009 at 12:53 AM, Adam Brand 
ad...@silverkeytech.com wrote:


  Sorry if this sounds like a newbie question, but where can I get the
  September 2008 ASP.Net Dynamic Language Support files?
 
 
 
  I looked here:
  
http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=17613but 
for the life of me I can?t see any link to the actual binaries. All I

  see are two examples and some documentation.
 
 
 
  Thanks,
 
  Adam
 
  ___
  Users mailing list
  Users@lists.ironpython.com
  http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
 
 


 --
 nomadlife.org
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20090503/1212bc47/attachment-0001.htm


 --

 Message: 4
 Date: Sun, 3 May 2009 10:02:29 +
 From: Jimmy Schementi jimmy.scheme...@microsoft.com
 Subject: Re: [IronPython] ASP.Net Dynamic Language Support Download
 Location?
 To: Discussion of IronPython users@lists.ironpython.com
 Message-ID:
 
0047ecbfa2e0df4a834aa369282a5afc016b1...@tk5ex14mbxc106.redmond.corp.microsoft.com


 Content-Type: text/plain; charset=us-ascii

 The binaries are in the ASP.NET

Re: [IronPython] Assertion failure in IPy 2.6 while running Django

2009-05-03 Thread Dino Viehland
Do you happen to know what baseName is when the assertion is hit?

-Original Message-
From: users-boun...@lists.ironpython.com 
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Jeff Hardy
Sent: Sunday, May 03, 2009 1:19 PM
To: Discussion of IronPython
Subject: [IronPython] Assertion failure in IPy 2.6 while running Django

The assertion is on line 91 of PythonFunction.Generated.cs (as of
r49699, anyway): mi != null. Why mi is null I have no idea.

The smallest repro I've found still requires Django (any recent
checkout should do):

 from django.db import models
 message = models.TextField('message')

If I had the following __init__ function to TextField the problem goes away:
def __init__(self, *args, **kwargs):
Field.__init__(self, *args, **kwargs)

- Jeff
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


[IronPython] XBAP Partial Trust Failure

2009-05-03 Thread nixon
Hi, dear all,

When writing a WPF browser application (XBAP) and trying to create a 
scriptEngine using Python.CreateEngine(), I get the following error:

Type 'IronPython.Runtime.PythonContext' doesn't provide a suitable public 
constructor or its implementation is faulty: Request for the permission of type 
'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, 
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

This is because IronPython doesnot adhere to the standard Internet Zone CAS 
permission by XBAP. A workaround is to evelate permission through setting the 
Create and control application domains of SecurityPermission. However, it 
requires further handling during Deployment, which is not convenient to the end 
users.

How can I recompile IronPython to make it adhere the standard Internet Zone 
CAS permission? I think this is also helpful to make IronPython popular in XBAP.

Thank you!

Best Regards
Nixon



  ___ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com