Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'module' object has no attribute 'pdtLocale_icu' #212

Closed
phoebebright opened this issue Mar 1, 2017 · 7 comments
Closed

Comments

@phoebebright
Copy link

phoebebright commented Mar 1, 2017

Get this error when running tests.

Was able to "fix" by reverting to

from .pdt_locales import load_locale

pdtLocales = {
    'en_US': load_locale('en_US'),
    'en_AU': load_locale('en_AU'),
    ...
Fix only worked for some tests.

Using python 2.7.10

@idpaterson
Copy link
Collaborator

Hi Phoebe, would you please provide some context as to where that code was added, what it was originally, and in which version of parsedatetime you noticed the problem?

@phoebebright
Copy link
Author

I'll delete this in a minute. I have a fork which comments out the force addition of . and - to the date separators and in syncing with your current master I have clearly made a mess! Much quicker to start with a clean fork and change one line of code!

@idpaterson
Copy link
Collaborator

No problem, parsedatetime version 3.0 is underway and once the new test suite is complete it will be time to move on to fixes like #152 based on your original request.

@phoebebright
Copy link
Author

I look foward to it. Can I make a request?

@idpaterson
Copy link
Collaborator

Certainly, it's a good time to report any bugs or feature requests. For 3.0 it's unlikely that any major new features will be added unless pull requests are submitted since there are a lot of bugs to fix, but if you have an idea go ahead and make a new issue to share it.

@phoebebright
Copy link
Author

Will do.

@gdudek
Copy link

gdudek commented Jun 7, 2020

Workaround: pip install 'parsedatetime==2.5'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants