Open get-Resource opened 7 months ago
我将flet_core\page.py:466 ctrl.page = None
改为 if ctrl.page != self: ctrl.page = None
就不出现这个异常了,我不了解为啥需要设置为None
I installed flet==0.3.2 which temporarily solved the issue. What might be the cause ? Trelloi needs to get updated
Trelloi needs to get updated.
That's right.
@FeodorFitsner Are you guys not planning to fix this? I'm blocked because of this. was planning to propose flet for development to my org but now I can't.
@sumitkanoje you mean fixing Trolli app?
@FeodorFitsner not the Trolli app but the issue that causes this error in Trolli app? or let me know any way to fix this without downgrading the app?
As mentioned by @get-Resource flet_core\page.py:466 ctrl.page = None
should be replaced with if ctrl.page != self: ctrl.page = None
In same issue Here link wich help me https://github.com/flet-dev/examples/issues/104#issuecomment-1851756942
我安装以下步骤运行,然后收到'NoneType' object has no attribute 'width'异常
经过分析发现在
src\main.py:83 self.page.update()
后self.page就会等于None 跟踪下去是flet_core\page.py:466 ctrl.page = None
将其赋值为None请问是什么问题导致的呢,以下是我的版本