Git Product home page Git Product logo

pytindeq's Issues

IOLoop error

Hi,
I'm trying to get the critical force script to work on a MacBook Air (M2 Monterey 12.6).

at first there was a problem with the ports,

Traceback (most recent call last):
File "/Users/mnanao/PyTindeq-main/laptop/critical_force.py", line 223, in
server = Server(apps, port=5000)
File "/Users/mnanao/Library/Python/3.9/lib/python/site-packages/bokeh/server/server.py", line 429, in init
sockets, self._port = bind_sockets(opts.address, opts.port)
File "/Users/mnanao/Library/Python/3.9/lib/python/site-packages/bokeh/server/util.py", line 68, in bind_sockets
ss = netutil.bind_sockets(port=port or 0, address=address)
File "/Users/mnanao/Library/Python/3.9/lib/python/site-packages/tornado/netutil.py", line 162, in bind_sockets
sock.bind(sockaddr)
OSError: [Errno 48] Address already in use

so I changed the port number. It then got past the binding stage but I have a different error that I can't find much on google about:

python3 critical_force.py
**Traceback (most recent call last):
File "/Users/mnanao/PyTindeq-main/laptop/critical_force.py", line 228, in
tornado.platform.asyncio.AsyncIOMainLoop().install()
File "/Users/mnanao/Library/Python/3.9/lib/python/site-packages/tornado/util.py", line 276, in new
instance.initialize(*args, **init_kwargs)
File "/Users/mnanao/Library/Python/3.9/lib/python/site-packages/tornado/platform/asyncio.py", line 299, in initialize
super().initialize(asyncio.get_event_loop(), kwargs)
File "/Users/mnanao/Library/Python/3.9/lib/python/site-packages/tornado/platform/asyncio.py", line 136, in initialize
raise RuntimeError(
RuntimeError: IOLoop <tornado.platform.asyncio.AsyncIOMainLoop object at 0x122aff1c0> already associated with asyncio loop <_UnixSelectorEventLoop running=False closed=False debug=False>

any ideas?
Thank you!
max

Bluetooth connection

Hello good, it is not a problem what I have exactly. I recently did a project with arduino where I replicated a progressor, which is already functional and I've been using it for a few days. Now trying to find more uses for it, I found your code and tried to find a way to connect it. I am quite new to this and I am not very sure how to modify the code to be able to make it connect to other bluetooth, in this case to a hc05. It would be helpful if you have any information on how to change the code to achieve this. A greeting and thanks in advance.

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.