pepyatka / pepyatka-server

Server for Pepyatka
79 stars 27 forks source link

ImportError: cannot import name to_unicode #298

Open k0fi opened 6 years ago

k0fi commented 6 years ago

Hello, I'm trying to test this app on my local ubuntu machine but I get this error:

me@pc:~/pepyatka-ansible$ ansible-playbook -i dev playbooks/site.yml [-s]
Traceback (most recent call last):
  File "/usr/local/bin/ansible-playbook", line 41, in <module>
    from ansible.utils.unicode import to_unicode
ImportError: cannot import name to_unicode

my dev file is:

[pepyatka]
<your server 127.0.0.1/4000>
[nginx]
<your server 127.0.0.1/5000>
[redis]
<your server 127.0.0.1/6379>
[all:vars]
ansible_ssh_user=<root>
pepyatka_hostname=<localhost>
pepyatka_deploy_inventory=dev
pepyatka_ansible_repo=https://github.com/pepyatka/pepyatka-ansible.git
pepyatka_ansible_branch=master
pepyatka_server_repo=https://github.com/pepyatka/pepyatka-server.git
pepyatka_server_branch=development
pepyatka_html_repo=https://github.com/pepyatka/pepyatka-html.git
pepyatka_html_branch=development

How can I fix this?

Thanks

epicmonkey commented 6 years ago

Hiya. Unless you have some specific reasons to stick with Pepyatka project (cool name, ya!), I would recommend switching to a fork of this project, which is called "FreeFeed": https://github.com/FreeFeed/freefeed-server, it is running the most recent version now.