CamView for Wheesy and Jessie

More
30 Mar 2017 17:16 #90583 by mmt
I get this error on step 3 when I run sudo python CamPY_setup.py

I am running Wheezy with 2.7.8 installed

Traceback (most recent call last):
File "CamPY_setup.py", line 24, in <module>
cache = apt.Cache()
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
self.open(progress)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in open
self._list.read_main_list()
SystemError: E:Malformed line 7 in source list /etc/apt/sources.list (dist parse)

Please Log in or Create an account to join the conversation.

More
31 Mar 2017 09:43 #90629 by ikkuh

SystemError: E:Malformed line 7 in source list /etc/apt/sources.list (dist parse)


This is not a clue to you?

Please Log in or Create an account to join the conversation.

More
31 Mar 2017 15:19 #90651 by mmt

SystemError: E:Malformed line 7 in source list /etc/apt/sources.list (dist parse)


This is not a clue to you?


No I'm sorry but it is not.

Please Log in or Create an account to join the conversation.

More
01 Apr 2017 16:16 #90713 by newbynobi
Please post you sources.list, there will be a strange line in it.

Norbert

Please Log in or Create an account to join the conversation.

More
18 Apr 2017 05:33 - 18 Apr 2017 05:40 #91567 by jrsphoto
Just an fyi, I think I found a bug between this module and the buildbot linuxcnc 2.8.0-pre1 with the latest gmoccapy. I've posted the error here:

forum.linuxcnc.org/gmoccapy/26314-gmocca...cnc?start=1300#91566

I've noticed that if I remove just hal_pythonplugin.py from /usr/lib/pymodules/python2.7/gladevcp, linuxcnc then starts but camview does not load.

Cheers

John
Last edit: 18 Apr 2017 05:40 by jrsphoto.

Please Log in or Create an account to join the conversation.

More
21 Apr 2017 07:01 #91751 by newbynobi
Hallo John,

during my discription and your install, the filed you mentioned has changed, that causes the error. Have you tried boggies install script?

Install Script for Campy

Norbert

Please Log in or Create an account to join the conversation.

More
22 Apr 2017 00:12 #91826 by jrsphoto
Awesome, thanks Norbert, I'll give the script a try tonight

Please Log in or Create an account to join the conversation.

More
06 May 2017 23:38 #92760 by bogie6040
Thanks, glad you found it useful, I wasn't sure if the subroutines for moving the machine would work for most however it seemed to work on my machine at work. I will try to finish the wiki page I started a while ago some time soon.

Please Log in or Create an account to join the conversation.

More
07 May 2017 12:26 #92769 by Tchefter
Works straight out of the Box, that means, Installation 1:1 from the perfect Read.me and it works.
Many thanks!!!!

Please Log in or Create an account to join the conversation.

More
17 Aug 2017 00:01 #97601 by blazini36
I'm working on a project that is based almost entirely around the camera which I made a glade GUI for. Since I know very little about programming and Gstreamer 1.0 seems to be incompatible with GTK2 I can't get anything other than this camview widget to work. Basically I just need a big videobox in my GUI. The V4l2 controls are great, but I'd rather have them in the mainwindow of my GUI

Right now I'm trying to pull the buttons, circles, and text out of it but any modifications I make to the python file make it angry.

Also the video stream is paused any time a "run" command is issued. I assume this is for performance but jog commands are not effected. Is there any way to have this not be the case?

Please Log in or Create an account to join the conversation.

Moderators: mhaberlerHansU
Time to create page: 0.116 seconds
Powered by Kunena Forum