Getting "None" on some fields on some computers. What could cause this?
Closed this issue · 1 comments
komodovaran commented
I have a GUI that adjusts according to a set of values on startup.
On my computer it reads all values fine. On somebody else's computer, it reads almost all values, but returns None
instead of a float for a specific line.
E.g. in the config.ini I would read the following keys:
val1 = 0 # returns 0
val2 = 0 # returns 0
val3 = 0 # returns None??
What could cause this? All the other values are seemingly read without problems. Both computers are using configobj 5.0.6.
robdennis commented
I don't think I have enough information to just know, but as a complete guess (and assuming it's the last line in the file), maybe there's something with different OS line endings
I think I'm declaring bankruptcy on this, just for the limited scope I'm actually able to do on a 5.1.0