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

TypeError: not enough arguments for format string in epr.py #177

Closed
paulogonc opened this issue Apr 11, 2021 · 1 comment
Closed

TypeError: not enough arguments for format string in epr.py #177

paulogonc opened this issue Apr 11, 2021 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@paulogonc
Copy link

Hi,

small issue and simple to fix but occurs with python 3.9 due to the % syntax formatting string, when you turn the logging option on in the generate(...) method.

I made the change like this here to use the logging option

        if self._log_file is not None:
            # logging.info('EXPLORATION to %s (%s, %s)' % (location, self.lats_lngs[location])) <-- gives a error
            logging.info(f'EXPLORATION to {location} ({self.lats_lngs[location]})') 
@jonpappalord jonpappalord added this to the v.1.2.3 milestone Apr 12, 2021
@jonpappalord jonpappalord added the bug Something isn't working label Apr 14, 2021
FilippoSimini added a commit that referenced this issue May 31, 2021
@FilippoSimini
Copy link
Member

Fixed in v.1.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants