All pastes #932302 Raw Edit

Stuff

public text v1 · immutable
·published 2008-03-07 17:35 UTC
rendered paste body
# Script 1 Error:

File "C:\Documents and Settings\me\Desktop\mylib\App1.py", line 6, in <module>
  import Frame1
File "C:\Documents and Settings\me\Desktop\mylib\Frame1.py", line 5, in <module>
  import IMDb, urllib, re, snips
File "C:\Documents and Settings\me\Desktop\mylib\lib.py", line 3, in <module>
  import urllib, re, sys
File "C:\Python25\Lib\urllib.py", line 26, in <module>
  import socket
File "C:\Python25\Lib\socket.py", line 64, in <module>
  __all__.extend(os._get_exports_list(_socket))
File "C:\Python25\Lib\os.py", line 37, in _get_exports_list
  return list(module.__all__)

Attribute Error: 'module' object has no attribute '__all__'

# Script 2 Error:

File "C:\Documents and Settings\me\Desktop\mylib\regedit2.py", line 3, in <module>
  import re, string, lib, Video
File "C:\Documents and Settings\me\Desktop\mylib\lib.py", line 3, in <module>
  import urllib, re, sys
File "C:\Python25\Lib\urllib.py", line 26, in <module>
  import socket
File "C:\Python25\Lib\socket.py", line 64, in <module>
  __all__.extend(os._get_exports_list(_socket))
File "C:\Python25\Lib\os.py", line 37, in _get_exports_list
  return list(module.__all__)

Attribute Error: 'module' object has no attribute '__all__'

Every script I run in Wing IDE and Boa-Constructor Editor leave me with this error. When I run the script(s) by executing the file(s) themself, they run just fine so it appears to be some sort of global setting that is shared between the IDE's? I have only one __all__ function call which is from a custom module, from Entity import *, but this method has been working for months and with many other scripts without fault, as well, I have not edited that module in about 1 year so I can't really see how it could just break on it's own.

I have checked for socket.py/_socket.dll, they are both in place and socket.py does have an __all__ function but it errors at the line just below it, 

socket.py
---------
__all__ = ["getfqdn"]
__all__.extend(os._get_exports_list(_socket)) # <--- Errors here


I have also tried to reinstall Python25 and Wing IDE without any success. Any help I can get would be GREATLY appreciated, I am stuck at a complete standstill without my IDE's functioning correctly. TIA!!