Skip to content

umap with -n switch won't work. #10

@hraleinonen

Description

@hraleinonen

Hi,

I try to use -n switch and everything goes fine, but after umap try's to start server in port 2001 it gives error and server won't start. umap version is 1.03 and command is python3 umap.py -P /dev/tty.usbserial-AH039TWN -i -n (tested Mac OS X and Kali)

Error:
03:00:00 - Human Interface Device : No subclass : None
network socket=True
SUPPORTED
06:01:01 - Image : Still image capture device : Bulk-only protocol
Network socket listening on TCP port 2001 - Press Enter to continue with device emulation...Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/Users/vilei/Omat/umap/umap-master/devices/networking.py", line 44, in run
self.maxusb_app.netserver_from_endpoint_sd.close()
AttributeError: 'int' object has no attribute 'close'

Br,

Ville

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