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

Error installing on RPi #24

Closed
Tirpitz93 opened this issue Jul 29, 2018 · 8 comments
Closed

Error installing on RPi #24

Tirpitz93 opened this issue Jul 29, 2018 · 8 comments
Labels
bug Something isn't working

Comments

@Tirpitz93
Copy link

bytes/string conversion issue. seams to be Py3k compatibility issue.

Downloading/unpacking dump==0.0.3 (from -r /var/www/haproxy-wi/requirements.txt (line 7))
  Downloading dump-0.0.3.tar.gz
  Running setup.py (path:/tmp/pip-build-uasclc1x/dump/setup.py) egg_info for package dump
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip-build-uasclc1x/dump/setup.py", line 13, in <module>
        version = re.search("^__version__\s*=\s*[\'\"]([^\'\"]+)", f.read(), flags=re.I | re.M).group(1)
      File "/usr/lib/python3.4/re.py", line 166, in search
        return _compile(pattern, flags).search(string)
    TypeError: can't use a string pattern on a bytes-like object
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip-build-uasclc1x/dump/setup.py", line 13, in <module>

    version = re.search("^__version__\s*=\s*[\'\"]([^\'\"]+)", f.read(), flags=re.I | re.M).group(1)

  File "/usr/lib/python3.4/re.py", line 166, in search

    return _compile(pattern, flags).search(string)

TypeError: can't use a string pattern on a bytes-like object

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-uasclc1x/dump
Storing debug log for failure in /root/.pip/pip.log
Unable to install Required Packages, Please check Pip error log and Fix the errors and Rerun the script

@Tirpitz93
Copy link
Author

Tirpitz93 commented Jul 29, 2018

oops wrong, project, meant to post to lib project.
Please close

@Aidaho12
Copy link
Member

OK )

@Aidaho12 Aidaho12 added the invalid This doesn't seem right label Jul 29, 2018
@Tirpitz93
Copy link
Author

unless of course you have a working workaround?

@Aidaho12
Copy link
Member

Aidaho12 commented Jul 29, 2018

Yes, you are the first who has this problem :(

@Tirpitz93
Copy link
Author

Moving to dump 0.0.4 fixes install on ReadyNas, will test on RPI later.
#26
as suggested here: Jaymon/dump#14 (comment)

@Aidaho12 Aidaho12 added bug Something isn't working and removed invalid This doesn't seem right labels Aug 3, 2018
@Aidaho12
Copy link
Member

Aidaho12 commented Aug 3, 2018

Thank you

HAProxy-wi work fine with new dep?

@Tirpitz93
Copy link
Author

will test later when I am on the same network again.

@ichbestimmtnicht
Copy link

Just installed it on RPi3b (dietpi up-to-date) and I did not encountered this issue.

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