Giter Club home page Giter Club logo

Comments (13)

motom001 avatar motom001 commented on August 24, 2024

Danke fürs Testen - ich muss gestehen dass meine Teststellung mit GPIO noch nicht fertig ist und deshalb alles nur ins "Blaue" programmiert ist.
Ich werde die Tage die Teststellung fertig aufbauen und dabei gleich die Installationsanleitung überprüfen.

Fehler hat Priorität sehr hoch.

from doorpi.

motom001 avatar motom001 commented on August 24, 2024

Gibt es einen Grund, warum Du manche Teile der Log fett hervorgehoben hast?

from doorpi.

Schwa-l-be avatar Schwa-l-be commented on August 24, 2024

Nein, habe nur aus der Datei kopiert und beim Speichern ist das wohl passiert. War nicht gewollt. Sorry

from doorpi.

motom001 avatar motom001 commented on August 24, 2024

erster Schritt um Problem zu lösen ist im neuen commit enthalten.
Bitte testen und ggf. neue Fehlermeldungen posten - ist ein wenig Log-Datei Ping-Pong :)

from doorpi.

Schwa-l-be avatar Schwa-l-be commented on August 24, 2024

2014-12-24 13:02:44,036 [ERROR] [root] Exception NameError: type object 'GPIO' has no attribute 'IN'
Traceback (most recent call last):
File "/home/pi/DoorPi//doorpi/service.py", line 44, in
try: daemon_runner.do_action()
File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 186, in do_action
func(self)
File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 131, in _start
self.app.run()
File "/home/pi/DoorPi/doorpi/doorpi.py", line 124, in run
self.prepare()
File "/home/pi/DoorPi/doorpi/doorpi.py", line 72, in prepare
self.__keyboard = detect_keyboard()
File "/home/pi/DoorPi/doorpi/keyboard/KeyboardInterface.py", line 30, in detect_keyboard
output_pins = doorpi.DoorPi().config.get_keys('OutputPins')
File "/home/pi/DoorPi/doorpi/keyboard/KeyboardInterface.py", line 39, in autodetect
try: return load_gpio(input_pins, output_pins)
File "/home/pi/DoorPi/doorpi/keyboard/KeyboardInterface.py", line 57, in load_gpio
output_pins = output_pins
File "/home/pi/DoorPi/doorpi/keyboard/from_gpio.py", line 30, in init
RPiGPIO.setup(self.__InputPins[x], GPIO.IN)
AttributeError: type object 'GPIO' has no attribute 'IN'
2014-12-24 13:02:44,046 [DEBUG] [doorpi] destroy

from doorpi.

Schwa-l-be avatar Schwa-l-be commented on August 24, 2024

Ist der Teil ausreichend oder benötigst du mehr?
Danke für deine Hilfe/Projekt würde das nie hinbekommen!!

from doorpi.

motom001 avatar motom001 commented on August 24, 2024

nächster commit...

from doorpi.

motom001 avatar motom001 commented on August 24, 2024

ich bin froh, wenn es mehr Leute als nur ich benutzen wollen. Das spornt an, am Projekt dran zu bleiben. In letzter Zeit (letzten 2 Wochen) sind verhältnismäßig sehr viele Views und Visitors sowie die letzten Tage einige clones des Projektes geladen. Das freut mich unheimlich :)
Deshalb bin ich über jede Rückmeldung froh.

from doorpi.

Schwa-l-be avatar Schwa-l-be commented on August 24, 2024

Find dein Projekt echt klasse und macht mal wieder Spaß ein wenig zu "basteln" :)

2014-12-24 13:13:35,963 [ERROR] [root] Exception NameError: Channel must be an integer or list/tuple of integers
Traceback (most recent call last):
File "/home/pi/DoorPi//doorpi/service.py", line 44, in
try: daemon_runner.do_action()
File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 186, in do_action
func(self)
File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 131, in _start
self.app.run()
File "/home/pi/DoorPi/doorpi/doorpi.py", line 124, in run
self.prepare()
File "/home/pi/DoorPi/doorpi/doorpi.py", line 72, in prepare
self.__keyboard = detect_keyboard()
File "/home/pi/DoorPi/doorpi/keyboard/KeyboardInterface.py", line 30, in detect_keyboard
output_pins = doorpi.DoorPi().config.get_keys('OutputPins')
File "/home/pi/DoorPi/doorpi/keyboard/KeyboardInterface.py", line 39, in autodetect
try: return load_gpio(input_pins, output_pins)
File "/home/pi/DoorPi/doorpi/keyboard/KeyboardInterface.py", line 57, in load_gpio
output_pins = output_pins
File "/home/pi/DoorPi/doorpi/keyboard/from_gpio.py", line 30, in init
RPiGPIO.setup(self.__InputPins[x], RPiGPIO.IN)
ValueError: Channel must be an integer or list/tuple of integers

from doorpi.

motom001 avatar motom001 commented on August 24, 2024

nächster Versuch, nächstes commit

from doorpi.

Schwa-l-be avatar Schwa-l-be commented on August 24, 2024

2014-12-24 13:24:48,000 [ERROR] [root] Exception NameError: 'GPIO' object has no attribute 'name'
Traceback (most recent call last):
File "/home/pi/DoorPi//doorpi/service.py", line 44, in
try: daemon_runner.do_action()
File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 186, in do_action
func(self)
File "/usr/lib/pymodules/python2.7/daemon/runner.py", line 131, in _start
self.app.run()
File "/home/pi/DoorPi/doorpi/doorpi.py", line 124, in run
self.prepare()
File "/home/pi/DoorPi/doorpi/doorpi.py", line 73, in prepare
logger.debug('Keyboard is now %s', self.keyboard.name)
AttributeError: 'GPIO' object has no attribute 'name'

from doorpi.

motom001 avatar motom001 commented on August 24, 2024

next commit

from doorpi.

Schwa-l-be avatar Schwa-l-be commented on August 24, 2024

Vielen Dank!! Es funktioniert :)

from doorpi.

Related Issues (20)

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.