#11 Language is broken

Отворени
отворен преди 3 години от jyamihud · 3 коментара
Все още няма съдържание.
Ghost коментира преди 3 години

This is a reply =P

This is a reply =P
Jeison Yehuda Amihud (Blender Dumbass) коментира преди 3 години
Притежател

I looked into it

def text(var):
    data = open("settings/languages/"+settings.read("Language")+".data")
    data = data.read()
    data = data.split("]")

The function is trying to open the Language. But receives a False, this is why TypeError: can only concatenate str (not "bool") to str

It's probably since the Language name is not read properly. I think it's fixable. But I want to dig deeper in what's causing the data not to be read properly.

I looked into it def text(var): data = open("settings/languages/"+settings.read("Language")+".data") data = data.read() data = data.split("]") The function is trying to open the Language. But receives a False, this is why `TypeError: can only concatenate str (not "bool") to str` It's probably since the Language name is not read properly. I think it's fixable. But I want to dig deeper in what's causing the data not to be read properly.
Jeison Yehuda Amihud (Blender Dumbass) коментира преди 3 години
Притежател

I need context. I hope Tyler can provide it. When does this happen? What should I do to recreate the bug? Because it feels like in this case the when is very important. It could be in such a place in the software where the file is in the middle of being wrote to. So it can't read anything and we have a bug. Or something similar.

I need context. I hope Tyler can provide it. When does this happen? What should I do to recreate the bug? Because it feels like in this case the when is very important. It could be in such a place in the software where the file is in the middle of being wrote to. So it can't read anything and we have a bug. Or something similar.
Впишете се за да се присъедините към разговора.
Няма етап
Няма изпълнител
2 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.