Pastebin
Paste #1340: result
< previous paste - next paste>
Pasted by tdn
~/tmp $ python post.py
Traceback (most recent call last):
File "post.py", line 1, in <module>
import httplib, mimetypes
File "/usr/lib/python2.6/mimetypes.py", line 27, in <module>
import urllib
File "/home/tdn/tmp/urllib.py", line 2, in <module>
response = urllib.urlopen('http://python.org/')
AttributeError: 'module' object has no attribute 'urlopen'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 38, in apport_excepthook
from apport.packaging_impl import impl as packaging
File "/usr/lib/python2.6/dist-packages/apport/__init__.py", line 1, in <module>
from apport.report import Report
File "/usr/lib/python2.6/dist-packages/apport/report.py", line 14, in <module>
import subprocess, tempfile, os.path, urllib, re, pwd, grp, os, sys
File "/home/tdn/tmp/urllib.py", line 2, in <module>
response = urllib.urlopen('http://python.org/')
AttributeError: 'module' object has no attribute 'urlopen'
Original exception was:
Traceback (most recent call last):
File "post.py", line 1, in <module>
import httplib, mimetypes
File "/usr/lib/python2.6/mimetypes.py", line 27, in <module>
import urllib
File "/home/tdn/tmp/urllib.py", line 2, in <module>
response = urllib.urlopen('http://python.org/')
AttributeError: 'module' object has no attribute 'urlopen'
New Paste
Go to most recent paste.