armindoantunes / gh615

Automatically exported from code.google.com/p/gh615
0 stars 0 forks source link

Watch gets recognized by system but not by script #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Changing UDEV rules
2. Attaching watch
3. Changing config.ini to ttyUSB0, Software to #

What is the expected output? What do you see instead?
Connection to watch

What version of the product are you using? On what operating system?
Ubuntu 12.10, GH-625M V1.12

Please provide any additional information below.
I downloaded all software, set up the UDEV rule, restarted system
Watch is seen correctly (like shown on the web) with lsusb and dmsg.
Anyhow,the script seems not to recognize the watch:
Traceback (most recent call last):
  File "gh600_console.py", line 6, in <module>
    gh = GH600()
  File "/home/chef/Downloads/gh625/gh600.py", line 617, in __init__
    product = self.getProductModel()
  File "/home/chef/Downloads/gh625/gh600.py", line 502, in serial_required_wrapper
    x._disconnectSerial()
  File "/home/chef/Downloads/gh625/gh600.py", line 522, in _disconnectSerial
    self.serial.close()
AttributeError: GH600 instance has no attribute 'serial'

Original issue reported on code.google.com by Fritz.Ho...@gmail.com on 11 Apr 2013 at 8:57