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

ValueError: Invalid conversion specification #27

Open
mw-buntervogel opened this issue Feb 3, 2021 · 0 comments
Open

ValueError: Invalid conversion specification #27

mw-buntervogel opened this issue Feb 3, 2021 · 0 comments

Comments

@mw-buntervogel
Copy link

I followed the guide, just had to use

sudo pip uninstall backports.functools_lru_cache
sudo pip install backports.functools_lru_cache==1.3

in oder to get the script up and running.

Before it was

  File "/usr/local/lib/python2.7/dist-packages/wcwidth/wcwidth.py", line 79, in <module>
    from backports.functools_lru_cache import lru_cache
ImportError: No module named functools_lru_cache

But now when I start the script I get (SN was replaced by original one):

sudo python2 read_waveplus.py SN 60
Traceback (most recent call last):
File "read_waveplus.py", line 215, in
print tableprint.header(header, width=12)
File "/usr/local/lib/python2.7/dist-packages/tableprint/printer.py", line 191, in header
upper = hrule(len(headers), widths, tablestyle.top)
File "/usr/local/lib/python2.7/dist-packages/tableprint/printer.py", line 287, in hrule
[('{:%s^%i}' % (linestyle.hline, width)).format('')for width in widths]
ValueError: Invalid conversion specification

If using sudo python2 read_waveplus.py SN 60 pipe > /tmp/airthings the file stays empty.

Any ideas about?

Best regards
Marc

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

1 participant