Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

ValueError: Invalid conversion specification #27

@mw-buntervogel

Description

@mw-buntervogel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions