Closed charleslstone closed 8 months ago
Hi @charleslstone - do you have the stack trace of the exception that gets thrown?
Thanks for getting back to me. I got the stacktrace below from the pycharm log. There is a reference below to “…77 more” which I don’t know how to get. Note near the bottom: 2023-10-11 13:43:01,575 [5355928] SEVERE - #c.i.i.p.PluginManager - Plugin to blame: Sourcery version: 1.10.1
Loving Sourcery and just updated today from Monthly to Annual subscription.
Good luck and thank you.
2023-10-11 13:42:40,187 [5334540] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files
2023-10-11 13:42:40,299 [5334652] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=pralana, containerState=COMPONENT_CREATED, componentStore=D:\pralana\pralana)ChatSessionStateTemp took 42 ms, RunManager took 16 ms
2023-10-11 13:43:01,573 [5355926] SEVERE - #c.i.i.p.PluginManager - Cannot invoke (class=VFSListener, method=after, topic=BulkFileListener)
java.lang.RuntimeException: Cannot invoke (class=VFSListener, method=after, topic=BulkFileListener)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:676)
at com.intellij.util.messages.impl.MessageBusImplKt.executeOrAddToQueue(MessageBusImpl.kt:491)
at com.intellij.util.messages.impl.ToDirectChildrenMessagePublisher.publish$intellij_platform_core(CompositeMessageBus.kt:279)
at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:448)
at jdk.proxy2/jdk.proxy2.$Proxy92.after(Unknown Source)
at com.intellij.util.FileContentUtilCore.lambda$reparseFiles$0(FileContentUtilCore.java:47)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:992)
at com.intellij.util.FileContentUtilCore.reparseFiles(FileContentUtilCore.java:35)
at com.intellij.util.FileContentUtil.reparseFiles(FileContentUtil.java:21)
at com.intellij.execution.console.LanguageConsoleImpl$Helper.setLanguage(LanguageConsoleImpl.java:492)
at com.intellij.execution.console.LanguageConsoleImpl.setLanguage(LanguageConsoleImpl.java:423)
at com.jetbrains.commandInterface.console.CommandConsole.lambda$switchToCommandMode$0(CommandConsole.java:186)
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:458)
at com.jetbrains.commandInterface.console.CommandConsole.switchToCommandMode(CommandConsole.java:183)
at com.jetbrains.commandInterface.console.CommandConsole.createConsole(CommandConsole.java:147)
at com.jetbrains.commandInterface.console.CommandLineConsoleApiKt.createConsole(CommandLineConsoleApi.kt:88)
at com.jetbrains.django.actions.RunManageTaskAction.runManagePyOnModule(RunManageTaskAction.java:94)
at com.jetbrains.django.actions.RunManageTaskAction.actionPerformed(RunManageTaskAction.java:68)
at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:339)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:313)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:362)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:313)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$performAction$5(ActionMenuItem.java:300)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:226)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.performAction(ActionMenuItem.java:293)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$new$0(ActionMenuItem.java:68)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$4(ActionMenuItem.java:115)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:115)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:526)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:558)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385)
at java.desktop/java.awt.Component.processEvent(Component.java:6422)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4954)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4581)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4522)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2808)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:685)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:633)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:588)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:992)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:992)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.UnsupportedOperationException: Failed to map LightVirtualFile: @. (filesystem @.) into nio Path
at com.intellij.openapi.vfs.VirtualFile.toNioPath(VirtualFile.java:164)
at org.wso2.lsp4intellij.listeners.VFSListener.after(VFSListener.java:51)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:699)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:659)
... 77 more
2023-10-11 13:43:01,575 [5355928] SEVERE - #c.i.i.p.PluginManager - PyCharm 2023.2.2 Build #PY-232.9921.89
2023-10-11 13:43:01,575 [5355928] SEVERE - #c.i.i.p.PluginManager - JDK: 17.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2023-10-11 13:43:01,575 [5355928] SEVERE - #c.i.i.p.PluginManager - OS: Windows 11
2023-10-11 13:43:01,575 [5355928] SEVERE - #c.i.i.p.PluginManager - Plugin to blame: Sourcery version: 1.10.1
2023-10-11 13:43:03,986 [5358339] INFO - STDOUT -
2023-10-11 13:43:41,331 [5395684] INFO - STDOUT -
2023-10-11 13:44:25,470 [5439823] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files
2023-10-11 13:46:02,441 [5536794] INFO - #c.i.m.l.c.g.GrazieApiClientImpl - Messages in chat: 2
2023-10-11 13:46:11,276 [5545629] INFO - #c.i.m.l.c.g.GrazieApiClientImpl - Messages in chat: 3
2023-10-11 13:46:23,407 [5557760] INFO - #c.i.m.l.c.g.GrazieApiClientImpl - Messages in chat: 3
2023-10-11 13:46:49,058 [5583411] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files
2023-10-11 13:46:49,290 [5583643] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=pralana, containerState=COMPONENT_CREATED, componentStore=D:\pralana\pralana)RunManager took 63 ms
From: Nick Thapen @.> Sent: Wednesday, October 11, 2023 11:23 AM To: sourcery-ai/sourcery @.> Cc: charleslstone @.>; Mention @.> Subject: Re: [sourcery-ai/sourcery] Sourcery creates error on Pycharm Run manage.py task (Issue #395)
Hi @charleslstone https://github.com/charleslstone - do you have the stack trace of the exception that gets thrown?
— Reply to this email directly, view it on GitHub https://github.com/sourcery-ai/sourcery/issues/395#issuecomment-1757945155 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYFFN5SZOHWKUER764OASTX622U3ANCNFSM6AAAAAA54FRZJA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ANYFFNYM4YIQNVPUUHHLLL3X622U3A5CNFSM6AAAAAA54FRZJCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIZAOUG.gif Message ID: @. @.> >
Thanks for reporting this @charleslstone. I've fixed this and it will be in the next release
Wow, that was quick. Thank you very much.
On Thu, Oct 12, 2023, 5:06 AM Brendan Maginnis @.***> wrote:
Thanks for reporting this @charleslstone https://github.com/charleslstone. I've fixed this and it will be in the next release
— Reply to this email directly, view it on GitHub https://github.com/sourcery-ai/sourcery/issues/395#issuecomment-1759221998, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYFFN6DA4RJOUNLTPNFQITX66XHVANCNFSM6AAAAAA54FRZJA . You are receiving this because you were mentioned.Message ID: @.***>
Brendan, Just a follow-up note say thanks for the fix. I have the most recent release and all seems working fine with Sourcery and Pycharm’s Run manage.py Task.
Much appreciated! Charlie Stone
From: Charlie Stone @.> Sent: Thursday, October 12, 2023 8:15 AM To: sourcery-ai/sourcery @.> Subject: Re: [sourcery-ai/sourcery] Sourcery creates error on Pycharm Run manage.py task (Issue #395)
Wow, that was quick. Thank you very much.
On Thu, Oct 12, 2023, 5:06 AM Brendan Maginnis @. @.> > wrote:
Thanks for reporting this @charleslstone https://github.com/charleslstone . I've fixed this and it will be in the next release
— Reply to this email directly, view it on GitHub https://github.com/sourcery-ai/sourcery/issues/395#issuecomment-1759221998 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYFFN6DA4RJOUNLTPNFQITX66XHVANCNFSM6AAAAAA54FRZJA . You are receiving this because you were mentioned. https://ci3.googleusercontent.com/proxy/i5osz0qsTy1GlOIV8Mbv5gTBys6wK9nJBKEcq9w_R-CQYHzx8n-tyIEnvf-X3YPdGwf56BdkG_s_j2PAX3CdJyg7SUQ2qnQG_V4LHxjef6Eb7Ig-wy14dfqbxzUyCqNtJ4Rp_QxVsi86FH31zak24_kGIJ5IzXkpx6_S9IH2VUth8FMLPLVBPt6cJJoNKu91zHvYyII_SyiRx8PVvafLthG-vo4g0o2xVOk1mJkyDBB4_C73uQ=s0-d-e1-ft#https://github.com/notifications/beacon/ANYFFNZ3THCT33ZTDSA4XUTX66XHVA5CNFSM6AAAAAA54FRZJCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTI3OMO4.gif Message ID: @. @.> >
Checklist
Description
With Sourcery enabled, Pycharm reports an error when trying to start Run manage.py task. With Sourcery disabled, the error does not occur. Picking between Sourcery and the Pycharm manage.py task is like picking a child to leave behind...I love them both.
The Pycharm error says:
Exception in plugin Sourcerty (1.10.1) Disable plugin...[link] This plugin is not a production of JetBrains. Please report the problem to Sourcery [link].
This error started in about mid-Sept with a recent release (prior to 1.10.1) and I have had Sourcery disabled since. Today I saw an update is available and installed it, but the problem persists in this verion also.
Code snippet that reproduces issue
Debug Information
IDE Version:
PyCharm 2023.2.1 (Professional Edition)
Sourcery Version:
Sourcery 1.10.1
Operating system and Version:
Windows 11