Closed Minhvmax closed 2 years ago
Seems to be the same as #33
fixed with https://github.com/wt-io-it/odoo-pycharm-plugin/issues/33 (620508fc55b16691df8772f3239f21fd4f06be56 and 9be48e2c3afc109a75a290b1a34017d18f2579f7, 0.5.18)
0.5.18 is now available in jetbrains marketplace https://plugins.jetbrains.com/plugin/13083-odoo-autocompletion-support
Plugin Version: 0.5.16 IDEA Version: PyCharm 2022.2.1
java.lang.Throwable: Assertion failed
``` java.lang.Throwable: Assertion failed at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:220) ... at com.intellij.psi.search.FilenameIndex.getFilesByName(FilenameIndex.java:79) at at.wtioit.intellij.plugins.odoo.modules.impl.OdooModuleServiceImpl.lambda$getModuleDirectorySlow$3(OdooModuleServiceImpl.java:136) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:928) at at.wtioit.intellij.plugins.odoo.modules.impl.OdooModuleServiceImpl.getModuleDirectorySlow(OdooModuleServiceImpl.java:134) at at.wtioit.intellij.plugins.odoo.modules.impl.OdooModuleServiceImpl.getModuleDirectory(OdooModuleServiceImpl.java:121) at at.wtioit.intellij.plugins.odoo.modules.index.OdooDeserializedModuleImpl.getDirectory(OdooDeserializedModuleImpl.java:64) at at.wtioit.intellij.plugins.odoo.WithinProject.call(WithinProject.java:15) at at.wtioit.intellij.plugins.odoo.pycharm.PyCharmOdooAddonsImportResolver.resolveImportReference(PyCharmOdooAddonsImportResolver.java:38) at at.wtioit.intellij.plugins.odoo.pycharm.PyCharmOdooAddonsImportResolver.resolveImportReference(PyCharmOdooAddonsImportResolver.java:42) at com.jetbrains.python.psi.resolve.PyResolveImportUtil$foreignResults$1.invoke(PyResolveImportUtil.kt:199) ... at java.base/java.lang.Thread.run(Thread.java:833) ```