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

install error Ubuntu 18.04.1 LTS V.B #2326

Open
ahmadti opened this issue Jan 25, 2019 · 8 comments
Open

install error Ubuntu 18.04.1 LTS V.B #2326

ahmadti opened this issue Jan 25, 2019 · 8 comments

Comments

@ahmadti
Copy link

ahmadti commented Jan 25, 2019

Steps to reproduce

Current behavior

Expected behavior

Screenshot (optional)

@ahmadti
Copy link
Author

ahmadti commented Jan 25, 2019

I using Ubuntu 18.04.1 LTS Virtual box
I fellow the installation steps until "sudo -u plone_buildout bin/buildout" I face the following errors

  • In previous steps I didn't install the latest version of Plone because it's not compatible with bika-lims I install 4.3.11
    ahmad@ahmad-VirtualBox:/usr/local/Plone/zeocluster$ sudo -u plone_buildout bin/buildout [sudo] password for ahmad: ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "bin/buildout", line 9, in <module> import zc.buildout.buildout File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-2.5.3-py2.7.egg/zc/buildout/buildout.py", line 23, in <module> from md5 import md5 File "/usr/local/Plone/Python-2.7/lib/python2.7/md5.py", line 10, in <module> from hashlib import md5 ImportError: cannot import name md5 ahmad@ahmad-VirtualBox:/usr/local/Plone/zeocluster$ ^C ahmad@ahmad-VirtualBox:/usr/local/Plone/zeocluster$
    Regards

@inus
Copy link
Contributor

inus commented Jan 25, 2019 via email

@lemoene
Copy link
Contributor

lemoene commented Jan 25, 2019

@lemoene
Copy link
Contributor

lemoene commented Jan 25, 2019

Actually, that note should be improved. For the best way forward, use the latest Senaite code. Bika add-ons (to be released 2019) use Senaite as base, where we continue to contribute

@inus
Copy link
Contributor

inus commented Jan 25, 2019 via email

@ahmadti
Copy link
Author

ahmadti commented Jan 26, 2019

Thank you all for the response
First of all pip install hashlib did't help a bit
Second I've follow the steps in the link https://stackoverflow.com/questions/47884422/python-2-7-not-working-anymore-cannot-import-name-md5 I install the libssl1_0_0 package but for adding

and add the /usr/local/ssl/lib directory in $LD_LIBRARY_PATH environnent variable.

I have to follow another tutorial here https://stackoverflow.com/questions/17889799/libraries-in-usr-local-lib-not-found It's went OK but in the final step I get confuse where I have to modify/create the file in /etc which I need to run I copy the file "zeocluster" using 'open as admstrtor tool' and agine I run the command sudo -u plone_buildout bin/buildou I got the same Error.

@inus
Copy link
Contributor

inus commented Jan 27, 2019 via email

@ahmadti
Copy link
Author

ahmadti commented Jan 27, 2019

Dear inus thank you for being patient with me
First of all I have a less than basic knowledge in IT and serves as well.

Can you identify which pip you used? It seems you have more than one.

Do I really have more than one I don't know I just copy your command

python version on your machine. Another way to get going is to start with a unified Plone installer, which installs its' own python, then make sure that works first, then add the bika stuff to the buildout.cfg.

-my Python is (Python 2.7.15rc1)

  • How I can check if Plone is working or not I search the web they all give some HTTP like to verify the states but nothing work with my if you have any idea I will grateful.

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