New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while refreshing for the first time #4031
Comments
Is that really the complete logfile? Can you reproduce the error? If yes, could you please set the log-level to TRACE in the settings and upload that logfile? Thanks!
|
there you go: |
Seems as if we need more localised exception handling in the COM reference synchroniser. For some reason the reference COM object is throwing. |
Would you happen to have any The "cannot be compiled" message is just a warning; you can disable it by un-ticking the "compile before parse" checkbox in the general settings tab of the settings dialog. Working with compilable code was always an assumption in Rubberduck, only recently we've been having the ability to instruct the VBE to attempt a compilation and report back to us before launching a parse task. Ignoring the warning, or turning off "compile before parse", may confuse the parser, or produce resolver errors, depending on the exact nature of the reason why the code couldn't be compiled. |
Tried to reproduce by deliberately introducing a missing reference - this does cause the symptom described but as indicated, if it's due to missing reference, then that's beyond Rubberduck's control and therefore I'm closing the issue as resolved as it seems to me expected behavior. If there is a reproduction to the contrary, feel free to reopen. |
Hi, I had a same issue with TYPE_E_CANTLOADLIBRARY and I've found a solution. |
Just a curious question to ask reading this...What’s the big thing about subkey in the registry is this the same as checkin for the bitness of MSO.dll when loaded or version management Of which version of MSO.dll to use? |
This implies to me that there were multiple installations of Office on a single PC, and from my experience, while it's "supported" by Microsoft, it's not totally robust and heavy use can mess up the registration -- you know how changing versions shows that dialog about installing Office, slowing down the startup? That's basically doing registration. If one loads multiple versions concurrently or do not allow the "Installing" message to complete, it can corrupt the registry (among other things) which would result in strange behavior like the missing library as originally reported. In this case, I would prefer to either repair or even better, uninstall all and install only one version. |
Hi, I just installed rubberduck and tried to run it on an empty project.
When refreshing for the first time, I get the following message:
Unable to compile for parsing
the following project(s) cannot be compiled, which will most likely result in parser errors. Continue anyway?
VBAProject
this is the logfile generated:
RubberduckLog.txt
The text was updated successfully, but these errors were encountered: