Re: Error on running Freshen in 16.04.1

"Lucas C. Villa Real" <[email protected]> Wed, 10 Jul 2019 14:25:08 -0300
Newsgroups gmane.linux.distributions.gobo.general
Message-ID <CAAvzgtY4=7hQT=RMP6fQ-PriBC=jJjT9rsyhVeeK_wWEZ8CeEA@mail.gmail.com>
--===============2192662515775431516==
Content-Type: multipart/alternative; boundary="00000000000092a567058d56f231"

--00000000000092a567058d56f231
Content-Type: text/plain; charset="UTF-8"

On Tue, Jul 9, 2019 at 11:49 PM Anshuman Aggarwal <
[email protected]> wrote:

> All,
>  I am running Gobo version 16.04.1 and on trying Freshen, I get this
> error at the end (not very useful as it doesn't tell me the variable
> it was failing on inspite of the full python traceback). On adding
> debug print statement to the python script, it seems to be looking for
> a 'Alien-PIP3' executable which it can't find.
>
> Freshen: ERROR: exceptions.OSError: [Errno 2] No such file or directory
> Traceback (most recent call last):
>   File "/System/Index/lib/python2.7/site-packages/FreshenUI.py", line 646,
> in go
>     ui.args.action()
>   File "/System/Index/lib/python2.7/site-packages/FreshenUI.py", line
> 106, in showUpdates
>     for update in updates:
>   File "/System/Index/lib/python2.7/site-packages/Freshen/__init__.py",
> line 347, in updates
>     for u in _updates(req, programList, considered):
>   File "/System/Index/lib/python2.7/site-packages/Freshen/__init__.py",
> line 309, in _updates
>     for upd in _program_updates(program, considered, progList, req):
>   File "/System/Index/lib/python2.7/site-packages/Freshen/__init__.py",
> line 236, in _program_updates
>     mode=req.mode, recursive=True, availables=availables())
>   File "/System/Index/lib/python2.7/site-packages/CheckDependencies.py",
> line 421, in get_all_dependencies_and_matches_for
>     if not Alien.havealienmanager(alientype):
>   File "/System/Index/lib/python2.7/site-packages/Alien.py", line 57,
> in havealienmanager
>     res = 0 == subprocess.call(['Alien-' + alientype, '--have-manager'])
>   File "/Programs/Python/2.7.12/lib/python2.7/subprocess.py", line 523, in
> call
>     return Popen(*popenargs, **kwargs).wait()
>   File "/Programs/Python/2.7.12/lib/python2.7/subprocess.py", line
> 711, in __init__
>     errread, errwrite)
>   File "/Programs/Python/2.7.12/lib/python2.7/subprocess.py", line
> 1343, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
>
> Freshen 3.1.0 on python 2.7.12.final.0
> with Scripts 016.02 and Compile 016.02
>
> arguments: ['/usr/bin/Freshen']
>
> Thanks
> Anshuman
>

I'm not sure if we have made an official Scripts release with support for
Alien-PIP3. I suggest that you install the most recent snapshot with
'Compile Scripts git' followed by 'Compile Compile git'.

Thanks
Lucas

--00000000000092a567058d56f231
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-size:small">On Tue, Jul 9, 2019 at 11:49 PM Anshuman Aggarwal &lt;<a href=
=3D"mailto:[email protected]">[email protected]</a>&gt;=
 wrote:<br></div></div><div class=3D"gmail_quote"><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex">All,<br>
=C2=A0I am running Gobo version 16.04.1 and on trying Freshen, I get this<b=
r>
error at the end (not very useful as it doesn&#39;t tell me the variable<br=
>
it was failing on inspite of the full python traceback). On adding<br>
debug print statement to the python script, it seems to be looking for<br>
a &#39;Alien-PIP3&#39; executable which it can&#39;t find.<br>
<br>
Freshen: ERROR: exceptions.OSError: [Errno 2] No such file or directory<br>
Traceback (most recent call last):<br>
=C2=A0 File &quot;/System/Index/lib/python2.7/site-packages/FreshenUI.py&qu=
ot;, line 646, in go<br>
=C2=A0 =C2=A0 ui.args.action()<br>
=C2=A0 File &quot;/System/Index/lib/python2.7/site-packages/FreshenUI.py&qu=
ot;, line<br>
106, in showUpdates<br>
=C2=A0 =C2=A0 for update in updates:<br>
=C2=A0 File &quot;/System/Index/lib/python2.7/site-packages/Freshen/__init_=
_.py&quot;,<br>
line 347, in updates<br>
=C2=A0 =C2=A0 for u in _updates(req, programList, considered):<br>
=C2=A0 File &quot;/System/Index/lib/python2.7/site-packages/Freshen/__init_=
_.py&quot;,<br>
line 309, in _updates<br>
=C2=A0 =C2=A0 for upd in _program_updates(program, considered, progList, re=
q):<br>
=C2=A0 File &quot;/System/Index/lib/python2.7/site-packages/Freshen/__init_=
_.py&quot;,<br>
line 236, in _program_updates<br>
=C2=A0 =C2=A0 mode=3Dreq.mode, recursive=3DTrue, availables=3Davailables())=
<br>
=C2=A0 File &quot;/System/Index/lib/python2.7/site-packages/CheckDependenci=
es.py&quot;,<br>
line 421, in get_all_dependencies_and_matches_for<br>
=C2=A0 =C2=A0 if not Alien.havealienmanager(alientype):<br>
=C2=A0 File &quot;/System/Index/lib/python2.7/site-packages/Alien.py&quot;,=
 line 57,<br>
in havealienmanager<br>
=C2=A0 =C2=A0 res =3D 0 =3D=3D subprocess.call([&#39;Alien-&#39; + alientyp=
e, &#39;--have-manager&#39;])<br>
=C2=A0 File &quot;/Programs/Python/2.7.12/lib/python2.7/subprocess.py&quot;=
, line 523, in call<br>
=C2=A0 =C2=A0 return Popen(*popenargs, **kwargs).wait()<br>
=C2=A0 File &quot;/Programs/Python/2.7.12/lib/python2.7/subprocess.py&quot;=
, line<br>
711, in __init__<br>
=C2=A0 =C2=A0 errread, errwrite)<br>
=C2=A0 File &quot;/Programs/Python/2.7.12/lib/python2.7/subprocess.py&quot;=
, line<br>
1343, in _execute_child<br>
=C2=A0 =C2=A0 raise child_exception<br>
OSError: [Errno 2] No such file or directory<br>
<br>
Freshen 3.1.0 on python 2.7.12.final.0<br>
with Scripts 016.02 and Compile 016.02<br>
<br>
arguments: [&#39;/usr/bin/Freshen&#39;]<br>
<br>
Thanks<br>
Anshuman<br></blockquote><div><br></div><div class=3D"gmail_default" style=
=3D"font-size:small">I&#39;m not sure if we have made an official Scripts r=
elease with support for Alien-PIP3. I suggest that you install the most rec=
ent snapshot with &#39;Compile Scripts git&#39; followed by &#39;Compile Co=
mpile git&#39;.</div><div class=3D"gmail_default" style=3D"font-size:small"=
><br></div><div class=3D"gmail_default" style=3D"font-size:small">Thanks</d=
iv><div class=3D"gmail_default" style=3D"font-size:small">Lucas</div></div>=
</div>

--00000000000092a567058d56f231--

--===============2192662515775431516==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZ29ib2xpbnV4
LXVzZXJzIG1haWxpbmcgbGlzdApnb2JvbGludXgtdXNlcnNAbGlzdHMuZ29ib2xpbnV4Lm9yZwpo
dHRwOi8vbGlzdHMuZ29ib2xpbnV4Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL2dvYm9saW51eC11c2Vy
cwo=

--===============2192662515775431516==--