[OpenSIPS-Users] problem with git branch for opensips 3.0

johan de clercq johan at democon.be
Wed Jun 12 15:28:53 EDT 2019


A few remarks on installing opensips-cli : 

 

pip3 install mysqlclient sqlalchemy sqlalchemy-utils

Collecting mysqlclient

  Downloading https://files.pythonhosted.org/packages/f4/f1/3bb6f64ca7a429729413e6556b7ba5976df06019a5245a43d36032f1061e/mysqlclient-1.4.2.post1.tar.gz (85kB)

    100% |████████████████████████████████| 92kB 4.2MB/s 

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):

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

    ImportError: No module named 'setuptools'

 

*	apt install python-setuptools fixes this 

 

Next error : invalid command bdist-wheel 

 

*	Pip3 install wheel fixes this. 

 

Next, 

    MySQLdb/_mysql.c:37:20: fatal error: Python.h: No such file or directory

     #include "Python.h"

                        ^

    compilation terminated.

    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

 

*  apt-get install python3-dev fixes this. 

 

 

While installing opensips-cli :  there seems to be a hard coded dependency to sqlalchemy 1.3.3 : 

 

Installed /usr/local/lib/python3.5/dist-packages/opensipscli-0.1-py3.5.egg

Processing dependencies for opensipscli==0.1

Searching for sqlalchemy==1.3.3

Reading https://pypi.org/simple/sqlalchemy/

^Cinterrupted

 

My installed version is 1.3.4 

Installing collected packages: mysqlclient, sqlalchemy, six, sqlalchemy-utils

Successfully installed mysqlclient-1.4.2.post1 six-1.12.0 sqlalchemy-1.3.4 sqlalchemy-utils-0.34.0

 

*	pip3 uninstall sqlalchemy followed by pip3 install sqlalchemy==1.3.3

 

 

 

From: Bogdan-Andrei Iancu <bogdan at opensips.org> 
Sent: Wednesday, June 12, 2019 11:06 AM
To: Johan De Clercq <Johan at democon.be>
Cc: OpenSIPS users mailling list <users at lists.opensips.org>; Liviu Chircu <liviu at opensips.org>
Subject: Re: [OpenSIPS-Users] problem with git branch for opensips 3.0

 

You are right, the doc is missing the "migrate" part. Liviu will update the docs there.

Thanks for the note !

Regards,



Bogdan-Andrei Iancu
 
OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 06/12/2019 11:29 AM, Johan De Clercq wrote:

Looking here https://github.com/OpenSIPS/opensips-cli/blob/master/docs/modules/database.md, 

I can't find back how to migrate a 24 db to 30.   Can you have a look ?

 

Thanks. 

 

Op wo 12 jun. 2019 om 10:26 schreef Bogdan-Andrei Iancu <bogdan at opensips.org <mailto:bogdan at opensips.org> >:

Hi Johan,

The git contains good docs for the cli tool - if there is something you find as uncovered, please let us know.

Regards,



Bogdan-Andrei Iancu
 
OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 06/12/2019 10:31 AM, Johan De Clercq wrote:

Okay. 

So is there somewhere good documentation on this? In exact, how do I configure this, and how do I migrate 24 dB to opensips 30? 

 

On Wed, 12 Jun 2019, 09:25 vasilevalex, <alexei.vasilyev at gmail.com <mailto:alexei.vasilyev at gmail.com> > wrote:

Hi, Johan.

Everything ok with git.
Just check this commit: 8a7abc05195fb4a29d5439871d7691c090c60d32
(https://github.com/OpenSIPS/opensips/commit/8a7abc05195fb4a29d5439871d7691c090c60d32)




-----
---
Alexey Vasilyev
--
Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html

_______________________________________________
Users mailing list
Users at lists.opensips.org <mailto:Users at lists.opensips.org> 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





_______________________________________________
Users mailing list
Users at lists.opensips.org <mailto:Users at lists.opensips.org> 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190612/79f9ceaf/attachment-0001.html>


More information about the Users mailing list