Pastebin
Paste #1342: No description
< previous paste - next paste>
Pasted by Anonymous Coward
~/tmp $ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "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 "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 "<stdin>", line 1, in <module>
File "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.