[IronPython] IsolateStorage.GetUserStoreForApplication throws SystemError in IronPython 2.6
fuzzyman at voidspace.org.uk
Wed Mar 31 01:41:11 CEST 2010
On 31/03/2010 00:37, Michael Foord wrote:
> For what it's worth I've just hit this problem too, but with
Bah, and store.FileExists(...). Probably all methods in that api. :-(
Any chance of fixing this for 2.6.1?
> 2010/3/16 Dino Viehland <dinov at microsoft.com <mailto:dinov at microsoft.com>>
> A possible work around for this is:
> def f():
> for i in xrange(200):
> except: pass
> After enough invocations we will no longer use reflection to call it.
> We just need to add IsolatedStorageFile to a black list of things
> that shouldn't
> be invoked via reflection.
> > -----Original Message-----
> > From: users-bounces at lists.ironpython.com
> <mailto:users-bounces at lists.ironpython.com> [mailto:users-
> > bounces at lists.ironpython.com
> <mailto:bounces at lists.ironpython.com>] On Behalf Of Lukas Cenovsky
> > Sent: Tuesday, March 16, 2010 6:37 AM
> > To: Discussion of IronPython
> > Subject: [IronPython] IsolateStorage.GetUserStoreForApplication
> > SystemError in IronPython 2.6
> > Hi all,
> > one cannot use IsolatedStorage in IronPython 2.6.
> > Calling IsolatedStorageFile.GetUserStoreForApplication() throws
> > SystemError: Application code cannot access
> > System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForSite()
> > using Reflection.
> > It works fine in IronPython 2.0.2.
> > I've entered a bug:
> > http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26488
> > --
> > -- Lukáš
> > _______________________________________________
> > Users mailing list
> > Users at lists.ironpython.com <mailto:Users at lists.ironpython.com>
> > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> Users mailing list
> Users at lists.ironpython.com <mailto:Users at lists.ironpython.com>
> Users mailing list
> Users at lists.ironpython.com
READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users