Re: [Emc-users] QtPyVCP installation error

2020-05-16 Thread Gene Heskett
On Saturday 16 May 2020 07:51:52 Valerio Bellizzomi wrote:

> On Fri, 2020-05-15 at 13:40 -0500, Bari wrote:
> > On 5/15/20 1:02 PM, Valerio Bellizzomi wrote:
> > > I am using 2.8 amd64, I will the instructions tomorrow and post
> > > the result.
> > >
> > > Thanks.
> >
> > Support for QTPYVCP is really great on IRC freenode  #hazzy
>
> Launching pyvcp shows error: option -i not recognized
>
>
>
>
> hm2_5i25.0: initialized AnyIO board at :03:00.0
> Found file(REL): ./custom.hal
> Starting TASK program: milltask
> Starting DISPLAY program: pyvcp
> option -i not recognized
> Usage: pyvcp [-g WIDTHxHEIGHT+XOFFSET+YOFFSET][-c hal_component_name]
> myfile.xml
> If the component name is not specified, the basename of the xml file
> is used.
> -g options are in pixel units, XOFFSET/YOFFSET is referenced from top
> left of screen
> use -g WIDTHxHEIGHT for just setting size or -g +XOFFSET+YOFFSET for
> just position
> Shutting down and cleaning up LinuxCNC...
> Running HAL shutdown script
>
Letting my imagination out to play w/o a chaperon would seem to indicate 
that that useage could generate a 2nd pyvcp window to the right of the 
default one.  That would certainly alleviate my bitches about screen 
real estate wastage by the various buttons etc.  Like a button 3x taller 
than the text inside it. Huge waste of real estate IMO.

I assume hal_component_name would be how its buttons and pins would be 
addressed???

Thanks.
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-16 Thread Valerio Bellizzomi
On Fri, 2020-05-15 at 13:40 -0500, Bari wrote:
> On 5/15/20 1:02 PM, Valerio Bellizzomi wrote:
> 
> >
> > I am using 2.8 amd64, I will the instructions tomorrow and post the
> > result.
> >
> > Thanks.
> >
> Support for QTPYVCP is really great on IRC freenode  #hazzy


Launching pyvcp shows error: option -i not recognized




hm2_5i25.0: initialized AnyIO board at :03:00.0
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: pyvcp
option -i not recognized
Usage: pyvcp [-g WIDTHxHEIGHT+XOFFSET+YOFFSET][-c hal_component_name]
myfile.xml
If the component name is not specified, the basename of the xml file is
used.
-g options are in pixel units, XOFFSET/YOFFSET is referenced from top
left of screen
use -g WIDTHxHEIGHT for just setting size or -g +XOFFSET+YOFFSET for
just position
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Valerio Bellizzomi
On Fri, 2020-05-15 at 13:40 -0500, Bari wrote:
> On 5/15/20 1:02 PM, Valerio Bellizzomi wrote:
> 
> >
> > I am using 2.8 amd64, I will the instructions tomorrow and post the
> > result.
> >
> > Thanks.
> >
> Support for QTPYVCP is really great on IRC freenode  #hazzy


Installing pyqtvcp with pip failed even I compiled Qt5, but installation
worked from the debian package.

Launching LinuxCNC however got the following error:

Starting DISPLAY program: qtvcp
option -i not recognized.






___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Bari

On 5/15/20 1:02 PM, Valerio Bellizzomi wrote:



I am using 2.8 amd64, I will the instructions tomorrow and post the
result.

Thanks.


Support for QTPYVCP is really great on IRC freenodeĀ  #hazzy


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Valerio Bellizzomi
On Fri, 2020-05-15 at 12:50 -0500, Bari wrote:
> On 5/15/20 12:21 PM, Valerio Bellizzomi wrote:
> > On Thu, 2020-05-14 at 13:44 -0500, Bari wrote:
> >> On 5/14/20 11:39 AM, Valerio Bellizzomi wrote:
> >>
> >
> > Thank you. I got the file libpyqt5_py2.so from github and copied it to
> > the suggested directory, still the same error.
> > I think some basic piece of software is missing at this point, like you
> > said.
> >
> i haven't installed for a few weeks but i did install all this on 4-5 
> systems and they all worked.
> 
> https://www.qtpyvcp.com/install/installation.html#qtdesigner-plug-ins
> 
> The easiest way to install the libs to the correct location is to use 
> the install.sh script located in the qtpyvcp/pyqt5designer/Qt5.7.1-64bit 
> directory with this command.
> 
> sudo ./install.sh
> 
> If you are using a different architecture or Qt version you may need to 
> compile PyQt5 from source to get the proper libpyqt5.so file. The steps 
> should be similar those listed here.
> 
> https://gist.github.com/KurtJacobson/34a2e45ea2227ba58702fc1cb0372c40


I am using 2.8 amd64, I will the instructions tomorrow and post the
result.

Thanks.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Bari



On 5/15/20 12:21 PM, Valerio Bellizzomi wrote:

On Thu, 2020-05-14 at 13:44 -0500, Bari wrote:

On 5/14/20 11:39 AM, Valerio Bellizzomi wrote:



Thank you. I got the file libpyqt5_py2.so from github and copied it to
the suggested directory, still the same error.
I think some basic piece of software is missing at this point, like you
said.

i haven't installed for a few weeks but i did install all this on 4-5 
systems and they all worked.


https://www.qtpyvcp.com/install/installation.html#qtdesigner-plug-ins

The easiest way to install the libs to the correct location is to use 
the install.sh script located in the qtpyvcp/pyqt5designer/Qt5.7.1-64bit 
directory with this command.


sudo ./install.sh

If you are using a different architecture or Qt version you may need to 
compile PyQt5 from source to get the proper libpyqt5.so file. The steps 
should be similar those listed here.


https://gist.github.com/KurtJacobson/34a2e45ea2227ba58702fc1cb0372c40



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Valerio Bellizzomi
On Thu, 2020-05-14 at 13:44 -0500, Bari wrote:
> On 5/14/20 11:39 AM, Valerio Bellizzomi wrote:
> > On Thu, 2020-05-14 at 12:31 -0400, Eric Keller wrote:
> >> error: can't copy 'pyqt5designer/Qt5.7.1-64bit/libpyqt5_py2.so':
> >> doesn't exist or not a regular file
> >>
> >>
> >> It appears you don't have a prerequisite or it's not installed properly in
> >> the expected directory
> >
> >
> >
> > If so the instructions are incomplete, because I have copy/pasted the
> > prerequisite 'apt install ...' line, and I am sure I copied it exactly.
> >
> 
> Yes some of the install instructions are incomplete. It is close but not 
> perfect. I am in the process of helping to fix the installation 
> instructions.


Thank you. I got the file libpyqt5_py2.so from github and copied it to
the suggested directory, still the same error.
I think some basic piece of software is missing at this point, like you
said.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-14 Thread Valerio Bellizzomi
On Thu, 2020-05-14 at 13:44 -0500, Bari wrote:
> On 5/14/20 11:39 AM, Valerio Bellizzomi wrote:
> > On Thu, 2020-05-14 at 12:31 -0400, Eric Keller wrote:
> >> error: can't copy 'pyqt5designer/Qt5.7.1-64bit/libpyqt5_py2.so':
> >> doesn't exist or not a regular file
> >>
> >>
> >> It appears you don't have a prerequisite or it's not installed properly in
> >> the expected directory
> >
> >
> >
> > If so the instructions are incomplete, because I have copy/pasted the
> > prerequisite 'apt install ...' line, and I am sure I copied it exactly.
> >
> 
> Yes some of the install instructions are incomplete. It is close but not 
> perfect. I am in the process of helping to fix the installation 
> instructions.

I got the file libpyqt5_py2.so from github, now I need to know in which
directory I must copy it.





___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-14 Thread Bari



On 5/14/20 11:39 AM, Valerio Bellizzomi wrote:

On Thu, 2020-05-14 at 12:31 -0400, Eric Keller wrote:

error: can't copy 'pyqt5designer/Qt5.7.1-64bit/libpyqt5_py2.so':
doesn't exist or not a regular file


It appears you don't have a prerequisite or it's not installed properly in
the expected directory




If so the instructions are incomplete, because I have copy/pasted the
prerequisite 'apt install ...' line, and I am sure I copied it exactly.



Yes some of the install instructions are incomplete. It is close but not 
perfect. I am in the process of helping to fix the installation 
instructions.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-14 Thread Valerio Bellizzomi
On Thu, 2020-05-14 at 12:31 -0400, Eric Keller wrote:
> error: can't copy 'pyqt5designer/Qt5.7.1-64bit/libpyqt5_py2.so':
> doesn't exist or not a regular file
> 
> 
> It appears you don't have a prerequisite or it's not installed properly in
> the expected directory




If so the instructions are incomplete, because I have copy/pasted the
prerequisite 'apt install ...' line, and I am sure I copied it exactly.





> On Thu, May 14, 2020 at 12:02 PM Valerio Bellizzomi 
> wrote:
> 
> > I have followed the instructions on github and got the error in the
> > attached file:
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-14 Thread Eric Keller
error: can't copy 'pyqt5designer/Qt5.7.1-64bit/libpyqt5_py2.so':
doesn't exist or not a regular file


It appears you don't have a prerequisite or it's not installed properly in
the expected directory

On Thu, May 14, 2020 at 12:02 PM Valerio Bellizzomi 
wrote:

> I have followed the instructions on github and got the error in the
> attached file:
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] QtPyVCP installation error

2020-05-14 Thread Valerio Bellizzomi
I have followed the instructions on github and got the error in the
attached file:


 UPDATING build/lib.linux-x86_64-2.7/qtpyvcp/_version.py
set build/lib.linux-x86_64-2.7/qtpyvcp/_version.py to 'v0.3.7'
running install_lib
copying build/lib.linux-x86_64-2.7/qtpyvcp/_version.py -> 
/usr/local/lib/python2.7/dist-packages/qtpyvcp
byte-compiling /usr/local/lib/python2.7/dist-packages/qtpyvcp/_version.py 
to _version.pyc
running install_data
error: can't copy 'pyqt5designer/Qt5.7.1-64bit/libpyqt5_py2.so': doesn't 
exist or not a regular file


Command "/usr/bin/python -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-dTcwyV/qtpyvcp/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record 
/tmp/pip-5E3SkL-record/install-record.txt --single-version-externally-managed 
--compile" failed with error code 1 in /tmp/pip-build-dTcwyV/qtpyvcp/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users