Skip to content

IOError: [Errno 32] Broken pipe Running web2boardLink  #3

@adumont

Description

@adumont

While no board connected, if I run /opt/web2board/web2boardLink I get this:

web2board: no process found
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Version.py, line 16
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Config.py, line 73
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file MainApp.py, line 88
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Version.py, line 35
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Version.py, line 36
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Version.py, line 37
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file MainApp.py, line 156
Terminated
adumont@denia:~$ /opt/web2board/web2boardLink
web2board: no process found
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Version.py, line 16
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Config.py, line 73
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file MainApp.py, line 88
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Version.py, line 35
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Version.py, line 36
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file Version.py, line 37
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file MainApp.py, line 156
^CTraceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file , line 71
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 885, in emit
self.flush()
File "/usr/lib/python2.7/logging/init.py", line 845, in flush
self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file , line 75
Traceback (most recent call last):
File "", line 296, in
File "", line 289, in main
[Ctrl-C]
KeyboardInterrupt
web2boardLink returned -1

Is it the expected behaviour? Should there be some window opening? I see none. I'm wondering if web2board is installed correctly. I'm just checking prior to getting a BQ robot at home (not yet arrived), but those errors scare me a bit. Maybe I'm missing some python dependency or something else?

I've got those Python packages installed (pip):

pip freeze

bottle==0.12.11
chardet==2.3.0
click==5.1
defer==1.0.6
duplicity==0.7.6
flexmock==0.10.2
futures==3.0.5
glob2==0.5
inflection==0.3.1
Ksplice-Uptrack==1.2.41
lockfile==0.12.2
psutil==3.4.2
pycurl==7.43.0
pygobject==3.20.0
PyInstaller==3.0
pyserial==3.2.1
pysqlite==2.7.0
python-apt==1.1.0b1
python-debian==0.1.27
pyxdg==0.25
PyYAML==3.11
requests==2.12.4
six==1.10.0
ws4py==0.3.5
wshubsapi==0.9.2
xmlrunner==1.7.7

dpkg -l web*

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================-===================-===================-===============================================================
ii web2board 2.1.2 amd64 WEB2BOARD

I also git cloned the repo, ran the pip install -r , and when I get these:

adumont@denia:/web2board$ python src/Scripts/ConstructRes.py
adumont@denia:
/web2board$ python src/web2board.py
Traceback (most recent call last):
File "src/web2board.py", line 20, in
from wshubsapi.hubs_inspector import HubsInspector
File "/usr/local/lib/python2.7/dist-packages/wshubsapi/hubs_inspector.py", line 8, in
from wshubsapi.client_file_generator.js_file_generator import JSClientFileGenerator
File "/usr/local/lib/python2.7/dist-packages/wshubsapi/client_file_generator/js_file_generator.py", line 5, in
from wshubsapi.serializer import Serializer
File "/usr/local/lib/python2.7/dist-packages/wshubsapi/serializer.py", line 39
def __list_handler(self, obj: list, depth):
^
SyntaxError: invalid syntax

ANything wrong or is it normal error? (maybe because no board connected yet?) ANy idea? Can I add more detail in the issue to help?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions