[Blink] Blink OTR module error

Dan Pascu dan at ag-projects.com
Tue Apr 19 14:57:49 CEST 2016


On 18 Apr 2016, at 23:25, Mike Nagie wrote:

> Got it. I found the hidden line in the python-sipsimple-3.0.0.tar.gz 
> file, under ./Debian/control
> 

It's not hidden. It's directly mentioned in docs/Install.linux and docs/Dependencies.txt

debian/control is for building debian packages

> python-otr (>= 1.2.0)
> 
> I usually don't check these folders, since Arch is not a Debian based 
> distribution.
> If I can believe it and the numbering is also correct then my 
> pure-python-otr 1.0.1 does not meet the requirements.

pure-python-otr is a different project. Check docs/Dependencies.txt which gives you a link to where python-otr is to be found.

> 
> I try to upgrade it somehow and hope this will solve this issue
> 
> Thank you for your help
> Mike
> 
> On 16-04-18 16:17:41, Adrian Georgescu wrote:
>> python-otr is a dependency of python-sipsimple, Blink does not depend on it directly
>> 
>> Adrian
>> 
>>> On 18 Apr 2016, at 16:05, Mike Nagie <promike1987 at gmail.com> wrote:
>>> 
>>> 
>>> Thank you Dan Pascu, but I already got through them
>>> Install files are not that verbose anyway, here is a small portion of 
>>> it:
>>> 
>>> 
>>> Manual Installation
>>> -------------------
>>> Install dependencies:
>>> 
>>> * python (2.7) [I have python2 2.7.11-3]
>>> * python-application (>= 1.2.5) [I have python2-application 2.0.2-1]
>>> * python-cjson [I have python2-cjson 1.1.0-1]
>>> * python-eventlet-0.8 (>= 0.8.11.4) [I have python2-eventlet 0.18.4-1]
>>> * python-qt4 (>= 4.7) [I have pythonqt 3.0-2]
>>> * python-twisted-core (>= 8.1.0) [I have python2-twisted 16.0.0-1]
>>> * python-sipsimple (>= 0.18.1) [I have python2-sipsimple 3.0.0-1]
>>> * python-zope.interface [I have python-zope-interface 4.1.3-2]
>>> 
>>> According to the install file I satisfied all the dependencies, and it 
>>> doesn't provide any information about python-otr. It might need to be 
>>> updated. It's probably a new dependency, because 1.4.2 worked 
>>> flawlessly. If the new version doesn't have any major improvements I may 
>>> stick with the good old 1.4.2, since it works quite well and stable. 
>>> I've never had any problem with it.
>>> 
>>> Even though I installed pure-python2-otr, unfortunately the problem 
>>> still exists. (ImportError: No module named otr)
>>> 
>>> Thanks in advance
>>> 
>>> Mike
>>> 
>>> 
>>> On 16-04-18 16:09:45, Dan Pascu wrote:
>>>> 
>>>> On 18 Apr 2016, at 13:56, Mike Nagie wrote:
>>>> 
>>>>> Thank you for your help!
>>>>> I've installed 2 packages, but unfortunately nothing changed:
>>>>> 
>>>>> I assume you meant this: https://github.com/python-otr/pure-python-otr
>>>> 
>>>> No, he doesn't mean that. He means you should read the install files, which tells you what dependencies to install and from where.
>>>> 
>>>>> 
>>>>> and this is what I got:
>>>>> 
>>>>> 
>>>>>  $ pacman -Qs pure-python
>>>>> 
>>>>> local/pure-python-otr 1.0.1-5
>>>>>  A pure python implementation of the OTR encryption protocol.
>>>>> local/pure-python2-otr 1.0.1-5
>>>>>  A pure python implementation of the OTR encryption protocol.
>>>>> 
>>>>> 
>>>>> 
>>>>>  $ blink
>>>>> Traceback (most recent call last):
>>>>> File "/usr/bin/blink", line 30, in <module>
>>>>>  from blink import Blink
>>>>> File "/usr/lib/python2.7/site-packages/blink/__init__.py", line 27, in 
>>>>> <module>
>>>>>  from sipsimple.application import SIPApplication
>>>>> File "/usr/lib/python2.7/site-packages/sipsimple/application.py", line 
>>>>> 33, in <module>
>>>>>  from sipsimple.session import SessionManager
>>>>> File "/usr/lib/python2.7/site-packages/sipsimple/session.py", line 37, 
>>>>> in <module>
>>>>>  from sipsimple.streams import MediaStreamRegistry, 
>>>>> InvalidStreamError, UnknownStreamError
>>>>> File "/usr/lib/python2.7/site-packages/sipsimple/streams/__init__.py", 
>>>>> line 118, in <module>
>>>>>  from sipsimple.streams import msrp, rtp
>>>>> File 
>>>>> "/usr/lib/python2.7/site-packages/sipsimple/streams/msrp/__init__.py", 
>>>>> line 396, in <module>
>>>>>  from sipsimple.streams.msrp import chat, filetransfer, screensharing
>>>>> File 
>>>>> "/usr/lib/python2.7/site-packages/sipsimple/streams/msrp/chat.py", line 
>>>>> 25, in <module>
>>>>>  from otr import OTRSession, OTRTransport, OTRState, SMPStatus
>>>>> ImportError: No module named otr
>>>>> 
>>>>> 
>>>>> Still missing some otr :/
>>>>> 
>>>>> 
>>>>> On 16-04-18 10:51:54, Saúl Ibarra Corretgé wrote:
>>>>>> 
>>>>>>> On 15 Apr 2016, at 09:54, Mike Nagie <promike1987 at gmail.com> wrote:
>>>>>>> 
>>>>>>> Hello,
>>>>>>> 
>>>>>>> I'd have liked to try the new Blink, but something might be missing.
>>>>>>> 
>>>>>>> $ blink
>>>>>>> Traceback (most recent call last):
>>>>>>> File "/usr/bin/blink", line 30, in <module>
>>>>>>> from blink import Blink
>>>>>>> File "/usr/lib/python2.7/site-packages/blink/__init__.py", line 27, in
>>>>>>> <module>
>>>>>>> from sipsimple.application import SIPApplication
>>>>>>> File "/usr/lib/python2.7/site-packages/sipsimple/application.py", line
>>>>>>> 33, in <module>
>>>>>>> from sipsimple.session import SessionManager
>>>>>>> File "/usr/lib/python2.7/site-packages/sipsimple/session.py", line 37,
>>>>>>> in <module>
>>>>>>> from sipsimple.streams import MediaStreamRegistry,
>>>>>>> InvalidStreamError, UnknownStreamError
>>>>>>> File "/usr/lib/python2.7/site-packages/sipsimple/streams/__init__.py",
>>>>>>> line 118, in <module>
>>>>>>> from sipsimple.streams import msrp, rtp
>>>>>>> File
>>>>>>> "/usr/lib/python2.7/site-packages/sipsimple/streams/msrp/__init__.py",
>>>>>>> line 396, in <module>
>>>>>>> from sipsimple.streams.msrp import chat, filetransfer, screensharing
>>>>>>> File
>>>>>>> "/usr/lib/python2.7/site-packages/sipsimple/streams/msrp/chat.py", line
>>>>>>> 25, in <module>
>>>>>>> from otr import OTRSession, OTRTransport, OTRState, SMPStatus
>>>>>>> ImportError: No module named otr
>>>>>>> 
>>>>>>> My Arch is up-to-date, and if 'libotr' package is the culprit it seems
>>>>>>> up-to-date too : local/libotr 4.1.1-1
>>>>>> 
>>>>>> You must install python-otr, we don’t use libotr.
>>>>>> 
>>>>>> --
>>>>>> Saúl Ibarra Corretgé
>>>>>> AG Projects
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>>> _______________________________________________
>>>>>> Blink mailing list
>>>>>> Blink at lists.ag-projects.com
>>>>>> http://lists.ag-projects.com/mailman/listinfo/blink
>>>>> 
>>>>> 
>>>>> -- 
>>>>> You may be a victim of software counterfeiting
>>>>> _______________________________________________
>>>>> Blink mailing list
>>>>> Blink at lists.ag-projects.com
>>>>> http://lists.ag-projects.com/mailman/listinfo/blink
>>>> 
>>>> 
>>>> --
>>>> Dan
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Blink mailing list
>>>> Blink at lists.ag-projects.com
>>>> http://lists.ag-projects.com/mailman/listinfo/blink
>>> 
>>> -- 
>>> You may be a victim of software counterfeiting
>>> _______________________________________________
>>> Blink mailing list
>>> Blink at lists.ag-projects.com
>>> http://lists.ag-projects.com/mailman/listinfo/blink
>> 
>> _______________________________________________
>> Blink mailing list
>> Blink at lists.ag-projects.com
>> http://lists.ag-projects.com/mailman/listinfo/blink
> 
> -- 
> You may be a victim of software counterfeiting
> _______________________________________________
> Blink mailing list
> Blink at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/blink


--
Dan






More information about the Blink mailing list