OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004686 [python] regular use minor have not tried 2011-02-10 02:25 2011-02-25 17:59
Reporter skayser View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0004686: Import of 'mechanize' fails with "ImportError: cannot import name GopherError"
Description $ type python
python is hashed (/opt/csw/bin/python)
$ python -V
Python 2.6.6

$ python -c 'import mechanize'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/csw/lib/python/mechanize/__init__.py", line 1, in <module>
    from _mechanize import __version__
  File "/opt/csw/lib/python/mechanize/_mechanize.py", line 14, in <module>
    from _useragent import UserAgent
  File "/opt/csw/lib/python/mechanize/_useragent.py", line 18, in <module>
    import _urllib2
  File "/opt/csw/lib/python/mechanize/_urllib2.py", line 3, in <module>
    from urllib2 import \
ImportError: cannot import name GopherError
Additional Information $ pkgparam CSWpython VERSION
2.6.6,REV=2010.10.12
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0008833)
maciej (reporter)
2011-02-25 17:50

Please try:

- uninstalling CSWzope
- installing CSWpy-mechanize

Does that work?
(0008834)
skayser (administrator)
2011-02-25 17:52

Yes, it does. Thanks.
(0008835)
maciej (reporter)
2011-02-25 17:58

Excellent, I'm closing the bug then.

- Issue History
Date Modified Username Field Change
2011-02-10 02:25 skayser New Issue
2011-02-25 17:50 maciej Status new => assigned
2011-02-25 17:50 maciej Assigned To => maciej
2011-02-25 17:50 maciej Note Added: 0008833
2011-02-25 17:50 maciej Status assigned => feedback
2011-02-25 17:52 skayser Note Added: 0008834
2011-02-25 17:58 maciej Note Added: 0008835
2011-02-25 17:58 maciej Status feedback => closed
2011-02-25 17:59 maciej Resolution open => fixed


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker