[MacPorts] #61678: certbot: AttributeError: 'module' object has no attribute 'Locale'

MacPorts noreply at macports.org
Fri Nov 27 08:24:00 UTC 2020


#61678: certbot: AttributeError: 'module' object has no attribute 'Locale'
------------------------+-------------------------
 Reporter:  ryandesign  |      Owner:  Schamschula
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.4
 Keywords:              |       Port:  certbot
------------------------+-------------------------
 {{{
 $ sudo certbot certonly --manual --preferred-challenges dns -d
 distfiles.macports.org
 Password:
 Traceback (most recent call last):
   File "/opt/local/bin/certbot", line 11, in <module>
     load_entry_point('certbot==1.9.0', 'console_scripts', 'certbot')()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
     return ep.load()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 2443, in load
     return self.resolve()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 2449, in resolve
     module = __import__(self.module_name, fromlist=['__name__'], level=0)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/certbot/main.py", line 2, in <module>
     from certbot._internal import main as internal_main
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/certbot/_internal/main.py", line 21, in <module>
     from certbot._internal import cert_manager
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/certbot/_internal/cert_manager.py", line 16, in <module>
     from certbot._internal import storage
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/certbot/_internal/storage.py", line 79, in <module>
     def add_time_interval(base_time, interval,
 textparser=parsedatetime.Calendar()):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/parsedatetime/__init__.py", line 270, in __init__
     self.ptc = Constants()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/parsedatetime/__init__.py", line 2381, in __init__
     self.locale = get_icu(self.localeID)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/parsedatetime/pdt_locales/icu.py", line 56, in get_icu
     result['icu'] = icu = pyicu.Locale(locale)
 AttributeError: 'module' object has no attribute 'Locale'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61678>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list