Re: Has anyone run into a problem with pep8 dependency causing a big failure in GPS?
Micahwelf Waddoups <[email protected]> Mon, 14 Nov 2016 22:05:03 -0700
| Newsgroups | gmane.comp.ide.gps.user |
|---|---|
| Message-ID | <CAAv+MqWg-xRavWooc_sg3tRsmD71hK-_LUBsQc99OMnOre3ZSA@mail.gmail.com> |
--===============0913665384919583632== Content-Type: multipart/alternative; boundary=001a11397c5433d1ba05414fe6bf --001a11397c5433d1ba05414fe6bf Content-Type: text/plain; charset=UTF-8 Thank you for your help, I managed to get everything working again by stripping every environment variable except the GUI and critical path elements, destroying the hidden user directory .gps, and using a fresh /opt/gps2016 instalation. Now I am starting to use my own little compiled Ada program to automatically set up the environment I need to maintain this arrangement. Apparently, I didn't notice the early bits of dysfunction in time to know exactly what was wrong until a cascade of problems collapsed on me. Thank you all for your support. I may finally get some of my mini projects completed enough to share on github: micahwelf On Nov 14, 2016 01:41, "Emmanuel Briot" <[email protected]> wrote: > > Since pep8 has been renamed to pycodestyle (for valid, but not critical > reasons), I have not been able to run GPS and get any of my word and study > in Ada done in my machine. I am considering doing a backward hack, building > a private directory where I can build python with pep8 and everything GPS > expects, then mount-binding both the development work directories and the > important system directories so that GPS will run. Or just run a virtual > machine, but that is slower and requires special considerations for > maintenance and accessing the file-system... Right now these seem my only > fast solutions I see to running the older versions and the current version > of GPS (GPL), but future versions should should be adapted to work with the > new python modules or remove the dependency on pep8 all together. Anyhow, > I am very eager to see GPL working again. > > > Hello, > > We are not aware of such an issue. On the other hand, GPS GPL comes with > its own python > installation, so removing pep8 in your system's python should have no > impact unless you also > modify GPS's own python install ... which we don't recommend. > > Most likely you can simply disable the pep8_integration plugin for now > (via the /Tools menu in > GPL 2016), and that should be it. That plug-in will eventually need to be > adapted or removed > when we change the version of python. > > I did not follow python development, but I am surprised they would be > removing pep8 from > python2. Are you trying to use python3 ? (in which case I certainly except > much more failures > than just pep8 indeed) > > regards > Emmanuel --001a11397c5433d1ba05414fe6bf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">Thank you for your help, I managed to get everything working= again by stripping every environment variable except the GUI and critical = path elements, destroying the hidden user directory .gps,=C2=A0 and using a= fresh /opt/gps2016 instalation. Now I am starting to use my own little com= piled Ada program to automatically set up the environment I need to maintai= n this arrangement. Apparently, I didn't notice the early bits of dysfu= nction in time to know exactly what was wrong until a cascade of problems c= ollapsed on me.=C2=A0 Thank you all for your support. I may finally get som= e of my mini projects completed enough to share on github: micahwelf</p> <div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Nov 14, 2016 0= 1:41, "Emmanuel Briot" <<a href=3D"mailto:[email protected]">b= [email protected]</a>> wrote:<br type=3D"attribution"><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex">> Since pep8 has been renamed to pycodestyle (for valid, b= ut not critical reasons), I have not been able to run GPS and get any of my= word and study in Ada done in my machine. I am considering doing a backwar= d hack, building a private directory where I can build python with pep8 and= everything GPS expects, then mount-binding both the development work direc= tories and the important system directories so that GPS will run.=C2=A0 Or = just run a virtual machine, but that is slower and requires special conside= rations for maintenance and accessing the file-system...=C2=A0 Right now th= ese seem my only fast solutions I see to running the older versions and the= current version of GPS (GPL), but future versions should should be adapted= to work with the new python modules or remove the dependency on pep8 all t= ogether.=C2=A0 Anyhow, I am very eager to see GPL working again.<br> <br> <br> Hello,<br> <br> We are not aware of such an issue. On the other hand, GPS GPL comes with it= s own python<br> installation, so removing pep8 in your system's python should have no i= mpact unless you also<br> modify GPS's own python install ... which we don't recommend.<br> <br> Most likely you can simply disable the pep8_integration plugin for now (via= the /Tools menu in<br> GPL 2016), and that should be it. That plug-in will eventually need to be a= dapted or removed<br> when we change the version of python.<br> <br> I did not follow python development, but I am surprised they would be remov= ing pep8 from<br> python2. Are you trying to use python3 ? (in which case I certainly except = much more failures<br> than just pep8 indeed)<br> <br> regards<br> Emmanuel</blockquote></div></div> --001a11397c5433d1ba05414fe6bf-- --===============0913665384919583632== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gps-users mailing list [email protected] http://lists.adacore.com/mailman/listinfo/gps-users --===============0913665384919583632==--