rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.91k stars 299 forks source link

Error when i quit Excel #5898

Open Brian45Fr opened 2 years ago

Brian45Fr commented 2 years ago

Rubberduck version information The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:

Rubberduck version [2.5.2.5906]
Operating System: [10.0.18363.0]
Host Product: [Microsoft Office x64]
Host Version: [16.0.14430.20.298]
Host Executable: [EXCEL.EXE]

Description An error message appears when I quit Excel

To Reproduce Steps to reproduce the behavior:

  1. ALT+F11 to go to VBAProject
  2. Click on the cross to close VBA Project
  3. Click on the cross to quit Excel
  4. See error

Expected behavior Nothing, just quit the aplication

Screenshots 2021-11-08_14h01_33

Logfile RubberduckLog.txt

Additional context Ruberduck_Error message.txt Do I have to be a PC administrator to be able to install, because I am not by default ?

daFreeMan commented 2 years ago

Do I have to be a PC administrator to be able to install, because I am not by default ?

As I understand it, if you install "for the current user" then, no, you do not have to be a local admin to do the install. If, however, you install "for all users" then yes, you do have to be a local admin.

Which way did you install it?

Brian45Fr commented 2 years ago

Hi daFreeMan and thanks

I installed it just for the current user (myself), so I don't understand the error

MDoerner commented 2 years ago

Thanks for reporting this.

The error seems to be connected with our interaction with the VBE, most likely with our toolwindows; they open invisibly at the start of the VBE. Something in the VBE's shutdown process does not happen in the right order, causing the exception.

This will be very hard to debug since we have no control about how the VBE unloads our add-in and closes the toolwindows.

Brian45Fr commented 2 years ago

Hi MDoerner

The old version i have worked fine (2.5.1.5557), why do I have a problem with this one when I haven't changed anything, only Microsoft has updated its pack it seems to me

I will recover an old version, too bad

I have this on my Task, it might help image

And i have in my registry C:\Windows\Microsoft.NET\Framework64\v4.0.30319\

DavidJLambert commented 2 years ago

Sounds like #5764, which was opened on May 6 and last touched on Aug 23. Is this the same issue?

Brian45Fr commented 2 years ago

Hi DavidJLambert

Yes it's the same issue, I feel less alone suddenly, on the other hand, what does not reassure me is that no solution has been found apparently :-(

For the moment I have returned to the old version It does not bother me too much because it is for my professional PC, on my personal PC, I am on MZ-Tools (more better, but paying)

DavidJLambert commented 2 years ago

Hi Brian, Open Source projects often do not have enough volunteers to fix every issue. Even successful for-profit companies will triage problems, and issues that affect few customers and are relatively harmless may never get fixed. See MDoerner's comment. David

Brian45Fr commented 2 years ago

Hi David,

I tested version 2.5.2.5906 on my personal PC and closing Excel is not a problem. It is therefore linked to a library which should not be installed on my pro PC

Thanks