[Blink] Blink OTR module error

Dan Pascu dan at ag-projects.com
Wed Apr 20 15:55:15 CEST 2016


On 20 Apr 2016, at 0:18, Mike Nagie wrote:

> I don't want to question that. I believe it's well documented somewhere, 
> and despite the fact that you gave me some hint, I didn't find it.
> I looked through all the projects.ag-projects.com and blink-2.0.0.tar.gz 
> but I didn't find any docs/Install or Dependencies.txt.

It's in sipsimple, that was the project we were discussing which has the dependency. The reason I point you to read those docs is because:

1. The info is already in the project, no need to repeat it here
2. There might be other dependencies you're missing and reading that file will help you find all so you don't have to come here and ask for each and every one of them.

> Anyways, don't worry about that. I made a new PKGBUILD file for the 
> python-otr, and Blink works fine again. Hopefully I have all the 
> dependencies now. It'll turn out soon.
> I was not suspicious about pure-python-otr, that might have caused this.
> According to its website it's a python-otr, and Arch officially supports 
> it. How should I have known they aren't compatible?!
> This was my only source : http://download.ag-projects.com/
> and since I didn't find any python-otr there, I didn't know you provided 
> one somewhere else.
> I also did not find the 2.0.0's changelog. 
> http://icanblink.com/changelog-qt.phtml
> 
> Mike
> 
> On 16-04-19 15:57:49, Dan Pascu wrote:
>> 
>> 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
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 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