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

sftp-alŝuto ne funkcias se dosieruja nomo enhavas ne-ascii-signojn #7

Open
jmichault opened this issue Feb 13, 2022 · 0 comments
Open

Comments

@jmichault
Copy link
Owner

Ekzemplo de eraro dum testado de la konekto:

Feb 13 14:30:47 localhost meyectl[10313]: ERROR: 'ascii' codec can't encode character '\xe9' in position 40: ordinal not in range(128) Feb 13 14:30:47 localhost meyectl[10313]: Traceback (most recent call last): Feb 13 14:30:47 localhost meyectl[10313]: File "/usr/local/lib/python3.9/dist-packages/tornado/web.py", line 1704, in _execute Feb 13 14:30:47 localhost meyectl[10313]: result = await result Feb 13 14:30:47 localhost meyectl[10313]: File "/usr/local/lib/python3.9/dist-packages/motioneye/handlers/config.py", line 89, in post Feb 13 14:30:47 localhost meyectl[10313]: await self.test(camera_id) Feb 13 14:30:47 localhost meyectl[10313]: File "/usr/local/lib/python3.9/dist-packages/motioneye/handlers/config.py", line 578, in test Feb 13 14:30:47 localhost meyectl[10313]: result = uploadservices.test_access(camera_id=camera_id, service_name=service_name, data=data) Feb 13 14:30:47 localhost meyectl[10313]: File "/usr/local/lib/python3.9/dist-packages/motioneye/uploadservices.py", line 1147, in test_access Feb 13 14:30:47 localhost meyectl[10313]: return service.test_access() Feb 13 14:30:47 localhost meyectl[10313]: File "/usr/local/lib/python3.9/dist-packages/motioneye/uploadservices.py", line 968, in test_access Feb 13 14:30:47 localhost meyectl[10313]: conn = self._get_conn(test_file) Feb 13 14:30:47 localhost meyectl[10313]: File "/usr/local/lib/python3.9/dist-packages/motioneye/uploadservices.py", line 1016, in _get_conn Feb 13 14:30:47 localhost meyectl[10313]: self._conn.setopt(self._conn.URL, sftp_url) Feb 13 14:30:47 localhost meyectl[10313]: UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 40: ordinal not in range(128) Feb 13 14:30:47 localhost meyectl[10313]: ERROR: 500 POST /config/1/test/?_=1644759047225&_username=admin&_signature=3fe238c3d67462356be907988a195f35e316eefd (192.168.24.25) 12.84ms

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

1 participant