pombreda / unladen-swallow

Automatically exported from code.google.com/p/unladen-swallow
Other
0 stars 0 forks source link

Failed to load python26.bc on Win32 #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
unladen was unable to load default bytecode file (python26.bc) if the
interpreter was called from other drive than C:, I have make sure python
path has been specified in the system path, here is step to produce:

C:\>set path
Path= ...;c:\python26;c:\python26\scripts;...

this interpreter call is OK:

C:\>python
Python 2.6.1 (r261:67515, Dec 12 2009, 13:13:53) [MSC v.1500 32 bit (Intel)] on
win32
[Unladen Swallow 2009Q4]
Type "help", "copyright", "credits" or "license" for more information.
>>>

but this call will be failed:

C:\>d:
D:\>python
Fatal Python error: Could not find python26.bc on sys.path

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

I have tried to copy python26.bc into either c:\python26 or
c:\windows\system32 (where python26.dll reside) but neither this will solve
those issue.

Salam,

-Jaimy.

Original issue reported on code.google.com by jaimy.azle on 14 Dec 2009 at 4:01

GoogleCodeExporter commented 9 years ago
Try the patch at http://codereview.appspot.com/176073 and please tell me if it 
solves
the problem for you.

Original comment by abbeyj on 14 Dec 2009 at 4:46

GoogleCodeExporter commented 9 years ago
confirmed, it works.

Original comment by jaimy.azle on 14 Dec 2009 at 6:19

GoogleCodeExporter commented 9 years ago
Thanks!  Fixed in r933

Original comment by abbeyj on 14 Dec 2009 at 6:25