CamView for Wheesy and Jessie

More
9 years 7 months ago #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 to join the conversation.

More
9 years 7 months ago #90629 by ikkuh

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


This is not a clue to you?

Please Log in to join the conversation.

More
9 years 6 months ago #90651 by mmt

ikkuh wrote:

mmt wrote: 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 to join the conversation.

More
9 years 6 months ago #90713 by newbynobi
Please post you sources.list, there will be a strange line in it.

Norbert

Please Log in to join the conversation.

More
9 years 6 months ago #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

Please Log in to join the conversation.

More
9 years 6 months ago #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 to join the conversation.

More
9 years 6 months ago #91826 by jrsphoto
Awesome, thanks Norbert, I'll give the script a try tonight

Please Log in to join the conversation.

More
9 years 5 months ago #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 to join the conversation.

More
9 years 5 months ago #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 to join the conversation.

More
9 years 2 months ago #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 to join the conversation.

Time to create page: 0.235 seconds
Powered by Kunena Forum