Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"git clone https://github.com/projecthorus/wenet.git" needs authentication #12

Open
dcmk1mr2 opened this issue Aug 9, 2024 · 7 comments

Comments

@dcmk1mr2
Copy link

dcmk1mr2 commented Aug 9, 2024

No description provided.

@darksidelemm
Copy link
Member

Unsure why this would be the case.

Can you paste the full output of what happens when you run:
git clone https://github.com/projecthorus/wenet.git

@dcmk1mr2
Copy link
Author

stinky@raspberrypi:~ $ git clone https://github.com/projecthourus/wenet.git/
Cloning into 'wenet'...
Username for 'https://github.com': [email protected]
Password for 'https://[email protected]@github.com':
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/projecthourus/wenet.git/'

@darksidelemm
Copy link
Member

In your example you have typo'd projecthorus.

Please try running:
git clone https://github.com/projecthorus/wenet.git

@dcmk1mr2
Copy link
Author

I seem to have everything installed but ran into:

pi@raspberrypi:~/wenet/tx $ python3 tx_test_images.py
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyAMA0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/wenet/tx/tx_test_images.py", line 43, in
tx = PacketTX.PacketTX(debug=debug_output, serial_baud=args.baudrate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/wenet/tx/PacketTX.py", line 93, in init
self.s = serial.Serial(serial_port,serial_baud)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in init
self.open()
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyAMA0: [Errno 2] No such file or directory: '/dev/ttyAMA0'

@darksidelemm
Copy link
Member

The error there is pretty clear - /dev/ttyAMA0 doesn't exist. This is the serial port that wenet is trying to use to modulate the transmitter.

Please check that you have followed the instructions, in particular the parts about enabling serial within raspi-config.

@dcmk1mr2
Copy link
Author

Serial is enabled. Using Raspi 0 W.

@darksidelemm
Copy link
Member

Then I Don't know what's going on, sorry. If you have serial enabled and have also set the dtoverlay settings (See the top of the wenet TX instructions), then you should have a /dev/ttyAMA0 device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants