<div dir="ltr"><div><div><div><div><span class="gmail-im"><div>> That's very odd! It looks like umpv does *something* different when<br>
> invoked from qutebrowser, and fails.<br><br></div></span><div>But I can't be the first to use it under OS X, can I?<br></div><div>(as I understand every QB user wants to activate videol thru hints, and the playlist is a nifty idea too)<br></div><div><br>I did the port install ( ' sudo pip3.4 install qutebrowser ' <br>did
 not work, "command not foun", so I went with ' port select --set pip 
pip34 ' + 'pip install qutebrowser ', which worked fine), buuuuuuut...<br><br>Major
 newbie alert: I haven't the faintest where qutebrowser is!!   pip  
printouts "all is fine", but don't report where. (see pic : <a href="https://dl.dropboxusercontent.com/u/14395194/pip%20qb.png">https://dl.dropboxusercontent.com/u/14395194/pip%20qb.png</a> )<br><br></div>When I type  ' qutebrowser' : "command not found"<br></div><br></div>I guess there is a regular output directory for python... Checked /opt/local/bin and /usr/local/bin, it's not there.<br><br></div>Thanks,<br><br></div>M</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 5, 2016 at 4:05 PM, Florian Bruhin <span dir="ltr"><<a href="mailto:me@the-compiler.org" target="_blank">me@the-compiler.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Maurício,<br>
<br>
* Maurício Habert <<a href="mailto:m2habert@gmail.com">m2habert@gmail.com</a>> [2016-10-05 13:35:49 -0300]:<br>
<span class="">>     > That means the script was found, but exited with that status.<br>
><br>
>     The "umpv" script works fine when called from the terminal. But, from<br>
> within QB, :messages print out a bunch of error from Mac OS's phython 2<br>
> framewors:<br>
><br>
</span>> [...]<br>
<span class="">> Process stderr:<br>
> Traceback (most recent call last):<br>
>   File "/Users/m2habert/¶bin/umpv", line 91, in <module><br>
>     subprocess.check_call(opts)<br>
>   File "/System/Library/Frameworks/<wbr>Python.framework/Versions/2.7/<wbr>lib/python2.7/subprocess.py", line 535, in check_call<br>
>     retcode = call(*popenargs, **kwargs)<br>
>   File "/System/Library/Frameworks/<wbr>Python.framework/Versions/2.7/<wbr>lib/python2.7/subprocess.py", line 522, in call<br>
>     return Popen(*popenargs, **kwargs).wait()<br>
>   File "/System/Library/Frameworks/<wbr>Python.framework/Versions/2.7/<wbr>lib/python2.7/subprocess.py", line 710, in __init__<br>
>     errread, errwrite)<br>
>   File "/System/Library/Frameworks/<wbr>Python.framework/Versions/2.7/<wbr>lib/python2.7/subprocess.py", line 1326, in _execute_child<br>
>     os.close(errpipe_read)<br>
> OSError: [Errno 9] Bad file descriptor<br>
<br>
</span>That's very odd! It looks like umpv does *something* different when<br>
invoked from qutebrowser, and fails.<br>
<br>
Could you please open an issue in the bugtracker?<br>
<a href="https://github.com/The-Compiler/qutebrowser/issues" rel="noreferrer" target="_blank">https://github.com/The-<wbr>Compiler/qutebrowser/issues</a><br>
<br>
Then we can try to track this down there - though I'm not sure yet<br>
whether that's a qutebrowser, a Python or a umpv bug.<br>
<span class=""><br>
>   File "/System/Library/Frameworks/<wbr>Python.framework/Versions/2.7/<wbr>lib/python2.7/pickle.py", line 966, in load_string<br>
>     raise ValueError, "insecure string pickle"<br>
> ValueError: insecure string pickle<br>
<br>
</span>That seems to be unrelated: <a href="http://bugs.python.org/issue26083" rel="noreferrer" target="_blank">http://bugs.python.org/<wbr>issue26083</a><br>
<br>
Also, I just need to leave <a href="http://imgur.com/To3DQ6J" rel="noreferrer" target="_blank">http://imgur.com/To3DQ6J</a> here :D<br>
<span class=""><br>
>     I, you probably guessed, followed the easiest path and installed QB<br>
> thru the mac ".dmg" package. Only now I went back to see all that huge list<br>
> of dependecies.<br>
<br>
</span>That should be fine. The .dmg contains all needed dependencies.<br>
<span class=""><br>
>     So, I figure, "gotta macport the newest Python" (which I don't know<br>
> shit about, of course).<br>
><br>
>     I've just used your macport direction (' sudo port install python34<br>
> py34-jinja2 asciidoc py34-pygments py34-pyqt5 '); problem / error log still<br>
> persists.<br>
><br>
>     ¿Should I re-install QB thru macport? (' sudo pip3.4 install<br>
> qutebrowser ' ) ??<br>
<br>
</span>It'd be interesting for the bug report to know if it happens when<br>
installed like that as well.<br>
<br>
When you use the .dmg with the dependencies installed, the .dmg is<br>
still going to use the bundled ones.<br>
<span class="HOEnZb"><font color="#888888"><br>
Florian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
<a href="http://www.the-compiler.org" rel="noreferrer" target="_blank">http://www.the-compiler.org</a> | <a href="mailto:me@the-compiler.org">me@the-compiler.org</a> (Mail/XMPP)<br>
   GPG: 916E B0C8 FD55 A072 | <a href="http://the-compiler.org/pubkey.asc" rel="noreferrer" target="_blank">http://the-compiler.org/<wbr>pubkey.asc</a><br>
         I love long mails! | <a href="http://email.is-not-s.ms/" rel="noreferrer" target="_blank">http://email.is-not-s.ms/</a><br>
</div></div></blockquote></div><br></div>