Hey guys how to handle OSError: [Errno 36] File name

too long: in python telegram bot?

15 ответов

22 просмотра

What u dont understand?

Yohannes- Автор вопроса
Arik
What u dont understand?

Yes i don't understand how to do it

Are you trying to write a file into system?

Yohannes
Yes i don't understand how to do it

Its clearly written file name too long.

Yohannes- Автор вопроса
Yohannes- Автор вопроса
Arik
Its clearly written file name too long.

bruh i can read that, i'm asking how to handle such issue

Yohannes
bruh i can read that, i'm asking how to handle suc...

Just rename with shorter name or strip the rest part

Yohannes- Автор вопроса

you probably should share full traceback.

Yohannes- Автор вопроса
Воспоминания <last name><a href=></a>
you probably should share full traceback.

File "/usr/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) OSError: [Errno 36] File name too long: \

Yohannes- Автор вопроса
Воспоминания <last name><a href=></a>
This is not a full traceback.

Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/floki/floki/__down__.py", line 125, in __init__ self.__write_track() File "/usr/local/lib/python3.10/dist-packages/floki/floki/__down__.py", line 141, in __write_track self.__set_song_path() File "/usr/local/lib/python3.10/dist-packages/floki/floki/__down__.py", line 132, in __set_song_path self.__song_path = set_path( File "/usr/local/lib/python3.10/dist-packages/floki/libutils/utils.py", line 140, in set_path __check_dir(song_dir) File "/usr/local/lib/python3.10/dist-packages/floki/libutils/utils.py", line 40, in __check_dir makedirs(directory) File "/usr/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) OSError: [Errno 36] File name too long:

Похожие вопросы

Карта сайта