Git Product home page Git Product logo

copilot's People

Contributors

joelzeller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

copilot's Issues

No Serious Issues

I just stumbled across Copilot from another page. I want it, but I'm a bit of a noob. Do you have an image or is there somewhere I can go to learn how to install Copilot. It looks better than the Kodi Carpc that everyone else is using. Thank you in advance.

Cannot get CoPilot to run

I have no clue what I am doing wrong lol. I double checked all packages were installed and I am running python 2.7. I attached a picture to hopefully help. Thank you in advanced!
capture

im getting the error: Unable to import package 'mapview.MapSource'

in main.kv
error:

`Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 464, in execute_directives
mod = import('.'.join(package.split('.')[:-1]))
File "/home/pi/CoPilot/mapview/init.py", line 30, in
from mapview.source import MapSource
File "/home/pi/CoPilot/mapview/source.py", line 8, in
from mapview.downloader import Downloader
File "/home/pi/CoPilot/mapview/downloader.py", line 8, in
from concurrent.futures import ThreadPoolExecutor, TimeoutError, as_completed
ImportError: No module named concurrent.futures
Traceback (most recent call last):
File "main.py", line 2077, in
MainApp().run()
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 799, in run
self.load_kv(filename=self.kv_file)
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 596, in load_kv
root = Builder.load_file(rfilename)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 301, in load_file
return self.load_string(data, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 350, in load_string
parser = Parser(content=string, filename=fn)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 392, in init
self.parse(content)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 498, in parse
self.execute_directives()
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 475, in execute_directives
package)
kivy.lang.parser.ParserException: Parser: File "/home/pi/CoPilot/main.kv", line 31:
...
29:#:import MDThemePicker kivymd.theme_picker.MDThemePicker
30:#:import math math

31:#:import MapSource mapview.MapSource
32:
33:#on_press: Animation(x=newposition or y=newposition).start(id) #to animate things
...
Unable to import package 'mapview.MapSource'
`

launcher.sh generated AttributeError: 'super' object has no attribute 'on_disabled'

I was able to figure out the dependencies and defect discussed in #6. However, I have got a new error when launching through launcher.sh. I have made launcher.sh executable but got the following error. Any hint or help is appreciated.

[INFO   ] [Logger      ] Record log in /root/.kivy/logs/kivy_18-05-29_3.txt
[INFO   ] [Kivy        ] v1.10.1.dev0, git-6c7fce6, 20180528
[INFO   ] [Python      ] v2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: egl_rpi
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <gl>
[INFO   ] [GL          ] OpenGL version <OpenGL ES 2.0>
[INFO   ] [GL          ] OpenGL vendor <Broadcom>
[INFO   ] [GL          ] OpenGL renderer <VideoCore IV HW>
[INFO   ] [GL          ] OpenGL parsed version: 2, 0
[INFO   ] [GL          ] Shading version <OpenGL ES GLSL ES 1.00>
[INFO   ] [GL          ] Texture max size <2048>
[INFO   ] [GL          ] Texture max units <8>
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Loader      ] using a thread pool of 2 workers
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
 Traceback (most recent call last):
   File "main.py", line 2077, in <module>
     MainApp().run()
   File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 799, in run
     self.load_kv(filename=self.kv_file)
   File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 596, in load_kv
     root = Builder.load_file(rfilename)
   File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 301, in load_file
     return self.load_string(data, **kwargs)
   File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 400, in load_string
     self._apply_rule(widget, parser.root, parser.root)
   File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 630, in _apply_rule
     e), cause=tb)
 kivy.lang.builder.BuilderException: Parser: File "/home/pi/CoPilot/main.kv", line 1297:
 ...
    1295:                                                                               on_press: Animation(y=-100, duration=0).start(dock_normal_power)
    1296:                                                                               font_size: 30
 >> 1297:                                                                               disabled: True
    1298:                                                               JZLargeButton:
    1299:                                                                               text: "Night Gauge"
 ...
 AttributeError: 'super' object has no attribute 'on_disabled'
   File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 619, in _apply_rule
     setattr(widget_set, key, value)
   File "kivy/weakproxy.pyx", line 33, in kivy.weakproxy.WeakProxy.__setattr__
   File "kivy/properties.pyx", line 483, in kivy.properties.Property.__set__
   File "kivy/properties.pyx", line 1470, in kivy.properties.AliasProperty.set
   File "/usr/local/lib/python2.7/dist-packages/kivy/uix/widget.py", line 1318, in set_disabled
     self.inc_disabled()
   File "/usr/local/lib/python2.7/dist-packages/kivy/uix/widget.py", line 1325, in inc_disabled
     self.property('disabled').dispatch(self)
   File "kivy/properties.pyx", line 562, in kivy.properties.Property.dispatch
   File "kivy/properties.pyx", line 579, in kivy.properties.Property.dispatch
   File "kivy/_event.pyx", line 1214, in kivy._event.EventObservers.dispatch
   File "kivy/_event.pyx", line 1120, in kivy._event.EventObservers._dispatch
   File "/home/pi/CoPilot/kivymd/button.py", line 495, in on_disabled
     super(JZLargeButton, self).on_disabled(instance, value)

Thanks,

mapview concurrent.futures

Ive installed futures - do you know why I am getting this error?

Traceback (most recent call last):
File "main.py", line 47, in
from kivy.garden.mapview import MapView
File "/usr/local/lib/python2.7/dist-packages/kivy/garden/init.py", line 100, in load_module
return self._load_module(fullname, moddir)
File "/usr/local/lib/python2.7/dist-packages/kivy/garden/init.py", line 104, in _load_module
('', '', imp.PKG_DIRECTORY))
File "/home/pi/CoPilot/libs/garden/garden.mapview/init.py", line 3, in
from .mapview import *
File "/home/pi/CoPilot/libs/garden/garden.mapview/mapview/init.py", line 30, in
from mapview.source import MapSource
File "/home/pi/CoPilot/libs/garden/garden.mapview/mapview/source.py", line 9, in
from mapview.downloader import Downloader
File "/home/pi/CoPilot/libs/garden/garden.mapview/mapview/downloader.py", line 8, in
from concurrent.futures import ThreadPoolExecutor, TimeoutError, as_completed
ImportError: No module named concurrent.futures

THanks for your help

mapview

[INFO ] [Logger ] Record log in /home/pi/.kivy/logs/kivy_18-04-21_4.txt
[INFO ] [Kivy ] v1.10.1.dev0, git-ae3665c, 20180421
[INFO ] [Python ] v2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Window ] Provider: egl_rpi
[INFO ] [GL ] Using the "OpenGL ES 2" graphics system
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <OpenGL ES 2.0>
[INFO ] [GL ] OpenGL vendor
[INFO ] [GL ] OpenGL renderer
[INFO ] [GL ] OpenGL parsed version: 2, 0
[INFO ] [GL ] Shading version <OpenGL ES GLSL ES 1.00>
[INFO ] [GL ] Texture max size <2048>
[INFO ] [GL ] Texture max units <8>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [GL ] NPOT texture support is available
[ERROR ]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 464, in execute_directives
mod = import('.'.join(package.split('.')[:-1]))
File "/home/pi/co/mapview/init.py", line 30, in
from mapview.source import MapSource
File "/home/pi/co/mapview/source.py", line 8, in
from mapview.downloader import Downloader
File "/home/pi/co/mapview/downloader.py", line 8, in
from concurrent.futures import ThreadPoolExecutor, TimeoutError, as_completed
ImportError: No module named concurrent.futures
Traceback (most recent call last):
File "main.py", line 2077, in
MainApp().run()
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 799, in run
self.load_kv(filename=self.kv_file)
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 596, in load_kv
root = Builder.load_file(rfilename)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 301, in load_file
return self.load_string(data, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 368, in load_string
parser = Parser(content=string, filename=fn)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 392, in init
self.parse(content)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 498, in parse
self.execute_directives()
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 475, in execute_directives
package)
kivy.lang.parser.ParserException: Parser: File "/home/pi/co/main.kv", line 31:
...
29:#:import MDThemePicker kivymd.theme_picker.MDThemePicker
30:#:import math math

31:#:import MapSource mapview.MapSource
32:
33:#on_press: Animation(x=newposition or y=newposition).start(id) #to animate things
...
Unable to import package 'mapview.MapSource'

Adding support for Subaru SSM Protocol

Hi there, I was looking to do something exactly like this but instead of using OBDII, use the Subaru specific protocol. I have an old Subaru Impreza that doesn't have OBD...

How do you think would be the best way to approach this? Given you know your code much better...

Doesn't display right on monitor

Using a Raspberry Pi 3 onto my monitor (2560x180 resolution but it's running at 1920x1080) it looks like it's not loading right. Happens when running in and out of developer mode.

(Sorry it's vertical, I don't know why that happens)
20180223_175048

start problem

sudo python main.py
[INFO ] [Logger ] Record log in /root/.kivy/logs/kivy_18-02-11_3.txt
[INFO ] [Kivy ] v1.10.1.dev0, git-a4d93d6, 20180210
[INFO ] [Python ] v2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170124]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Window ] Provider: egl_rpi
[INFO ] [GL ] Using the "OpenGL ES 2" graphics system
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <OpenGL ES 2.0>
[INFO ] [GL ] OpenGL vendor
[INFO ] [GL ] OpenGL renderer
[INFO ] [GL ] OpenGL parsed version: 2, 0
[INFO ] [GL ] Shading version <OpenGL ES GLSL ES 1.00>
[INFO ] [GL ] Texture max size <2048>
[INFO ] [GL ] Texture max units <8>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [GL ] NPOT texture support is available
Traceback (most recent call last):
File "main.py", line 2077, in
MainApp().run()
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 799, in run
self.load_kv(filename=self.kv_file)
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 596, in load_kv
root = Builder.load_file(rfilename)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 301, in load_file
return self.load_string(data, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 350, in load_string
parser = Parser(content=string, filename=fn)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 392, in init
self.parse(content)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 498, in parse
self.execute_directives()
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 462, in execute_directives
mod = import(package)
File "/home/pi/CoPilot/kivymd/tabs.py", line 98, in
class MDTabHeader(MDFlatButton):
File "/home/pi/CoPilot/kivymd/tabs.py", line 101, in MDTabHeader
width = BoundedNumericProperty(dp(None), min=dp(72), max=dp(264), errorhandler=lambda x: dp(72))
File "/usr/local/lib/python2.7/dist-packages/kivy/metrics.py", line 136, in dp
return dpi2px(value, 'dp')
File "kivy/properties.pyx", line 291, in kivy.properties.dpi2px
File "kivy/properties.pyx", line 299, in kivy.properties.dpi2px
TypeError: float() argument must be a string or a number

TypeError: float() argument must be a string or a number

I managed to follow the installation guide but i had this error that makes the window crash right after launch
I am using the Raspbian x86 OS to test this program.

Any hint or help will be appreciated.
Thank you in advance

[INFO ] [Logger ] Record log in /home/pi/.kivy/logs/kivy_18-07-31_3.txt
[INFO ] [Kivy ] v1.11.0.dev0, git-5bb2c13, 20180730
[INFO ] [Python ] v2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516]
[INFO ] [Factory ] 195 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: pil(['text_sdl2'] ignored)
[INFO ] [Window ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <3.0 Mesa 13.0.6>
[INFO ] [GL ] OpenGL vendor <VMware, Inc.>
[INFO ] [GL ] OpenGL renderer <Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits)>
[INFO ] [GL ] OpenGL parsed version: 3, 0
[INFO ] [GL ] Shading version <1.30>
[INFO ] [GL ] Texture max size <8192>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [GL ] NPOT texture support is available
Traceback (most recent call last):
File "main.py", line 2079, in
MainApp().run()
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 799, in run
self.load_kv(filename=self.kv_file)
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 596, in load_kv
root = Builder.load_file(rfilename)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 301, in load_file
return self.load_string(data, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 368, in load_string
parser = Parser(content=string, filename=fn)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 392, in init
self.parse(content)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 498, in parse
self.execute_directives()
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/parser.py", line 462, in execute_directives
mod = import(package)
File "/home/pi/CoPilot/kivymd/tabs.py", line 98, in
class MDTabHeader(MDFlatButton):
File "/home/pi/CoPilot/kivymd/tabs.py", line 101, in MDTabHeader
width = BoundedNumericProperty(dp(None), min=dp(72), max=dp(264), errorhandler=lambda x: dp(72))
File "/usr/local/lib/python2.7/dist-packages/kivy/metrics.py", line 136, in dp
return dpi2px(value, 'dp')
File "kivy/properties.pyx", line 291, in kivy.properties.dpi2px
File "kivy/properties.pyx", line 299, in kivy.properties.dpi2px
TypeError: float() argument must be a string or a number

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.