[IronPython] cannot find Pickle file from ASP.NET Web app
williamj at tenbase2.com
Wed Jun 30 02:37:57 CEST 2010
I attempted to set the path to the CPickle file using SetSearchPaths but
this also did not work:
var ipy = Python.CreateRuntime();
I still cannot access my .pkl file.
Any more suggestions?
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of William Johnston
Sent: Tuesday, June 29, 2010 5:45 PM
To: users at lists.ironpython.com
Subject: [IronPython] cannot find Pickle file from ASP.NET Web app
The following Python code snippet causes a FileNotFound exception from an
ASP.NET Web application:
input = open('t2.pkl', 'rb')
The exception message is:
[Could not find file 'C:\Program Files (x86)\Common Files\Microsoft
The same code works for a console project.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users