Skip to content
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

Doxywizard 1.9.x doesn't start up properly #8355

Closed
DNKpp opened this issue Jan 24, 2021 · 23 comments
Closed

Doxywizard 1.9.x doesn't start up properly #8355

DNKpp opened this issue Jan 24, 2021 · 23 comments
Labels
bug doxywizard bug is specific for the wizard

Comments

@DNKpp
Copy link

DNKpp commented Jan 24, 2021

Describe the bug
Today I updated doxygen to 1.9.1, but the doxywizard window didn't appear, but a process was running.
I de-installed and reinstalled it -> didn't fix it
I reverted to 1.9.0 -> didn't fix it
I reverted to 1.8.20 -> now it seems fine.

I would like to add some logs or even dig through them by myself, but I wasn't able to find them. Perhaps someone can tell me where to search for them.

Greetings

@albert-github
Copy link
Collaborator

albert-github commented Jan 25, 2021

  • There are no logs.
  • Where did you get the installation from
  • Which OS are you using?
  • Does doxygen itself run when you start it in a command window?

@albert-github albert-github added doxywizard bug is specific for the wizard install/build bug in the installation or build scripts needinfo reported bug is incomplete, please add additional info labels Jan 25, 2021
@DNKpp
Copy link
Author

DNKpp commented Jan 25, 2021

Hey, there. I've downloaded the files from doxygen.nl (seems to be the official page) and was redirected to sourcefourge in cases of older releases.
Sry, I completely missed that out. My OS is windows 10 pro.
I've quickly reinstalled 1.9.1 to check if it runs from console and yes, it works.

@albert-github
Copy link
Collaborator

  • I assume the "I've quickly reinstalled 1.9.1 to check if it runs from console and yes, it works" means that doxygen itself runs, that is at least positive.
  • I can run the doxywizard without problems.
  • Did you run the doxywizard by double clicking or by starting it from the command line (to check were it is installed: where doxywizard, mine is located at "d:\Program Files\doxygen\bin\doxywizard.exe")
  • Symptoms look a bit like a missing dll but normally Windows would show a message box about this. You said the doxywizard process is running so something must have started already (I also assume that you kill, as a test, all doxywizard processes running before running the wizard as a test).
  • maybe you can run a "dependency" checker on the executable to see what is wrong.

@DNKpp
Copy link
Author

DNKpp commented Jan 25, 2021

  • yes, indeed
  • that's fine
  • both. The outcoming is equally (process starts, but no window is created)
  • I compared the results of the "dependencies" tool from both versions, but they are looking very similar.

I tried debugging it or build it from source, but it does take too much time for me to get it work.

@albert-github
Copy link
Collaborator

I can imagine the "I tried debugging it or build it from source, but it does take too much time for me to get it work." but unfortunately as I can run the doxywizard without problems it is hard to tell what goes wrong.

  • Do you start the doxywizard with or without an initial Doxyfile i.e. doxywizard Doxyfile or doxywizard?

@DNKpp
Copy link
Author

DNKpp commented Jan 25, 2021

The latter. As I was using doxygen in previous versions, the 1.8.20 starts-up with the last opened project. That should then also be the case for the 1.9.x versions (which I can't see).

@albert-github
Copy link
Collaborator

In the handling of the Doxyfile a number of changes have been made, maybe we have here a corner case.
Can you attach:

  • the original Doxyfile
  • the result of the command doxygen -x Doxyfile (i.e. result from the 1.9.1 version).

@DNKpp
Copy link
Author

DNKpp commented Jan 25, 2021

Well, I found the "clear recent list" option under the settings menu. I used it in the 1.8.20 version, upgraded to 1.9.1 and now doxywizard starts-up correctly and I'm able to load my older Doxyfiles.
So, this issue could probably be related to that settings file.

@albert-github
Copy link
Collaborator

OK good that it is working for you now,
Must be some nasty problem, I know there was some problem with the wizard and the clear recent list i.e #8252 but this should work properly in 1.9.0 / 1.9.1 but maybe the original list had some flaws.

It is a bit hard to categorize thus issue so probably best is that I set it to usage.

@albert-github albert-github added Usage The mentioned problem is not a doxygen problem but due to usage of a feature. and removed needinfo reported bug is incomplete, please add additional info labels Jan 25, 2021
@mrutkowsk
Copy link

Describe the bug
Today I updated doxygen to 1.9.1, but the doxywizard window didn't appear, but a process was running.
I de-installed and reinstalled it -> didn't fix it
I reverted to 1.9.0 -> didn't fix it
I reverted to 1.8.20 -> now it seems fine.

I would like to add some logs or even dig through them by myself, but I wasn't able to find them. Perhaps someone can tell me where to search for them.

Greetings

the same problem here :)

@albert-github
Copy link
Collaborator

@mrutkowsk

@MetricManifold
Copy link

I am also getting this problem with Windows 10. When I install 1.9.1, I can't open the wizard; only the (32-bit) process is running and no window appears. 1.8.20 runs fine.

Trying the solution didn't help me.

@albert-github
Copy link
Collaborator

@MetricManifold

Please describe exactly which steps you took:

  • deinstall 1.9.1, install 1.8.20
  • run wizard
    • clear recent list
    • also set "Use current settings at statup"
  • stop 1.8.20 wizard
  • run wizard 1.8.20 again
    • check that the recent list is empty
  • deinstall 1.8.20 / install 1.9.1
  • check again

@MetricManifold
Copy link

MetricManifold commented Apr 18, 2021

I cleared the recent list (twice, to ensure that I did it correctly) and reset all settings. Now I can open 1.9.1 wizard.

Edit: I wanted to mention that I didn't have to uninstall 1.8.20, simply clearing the recent list and resetting all settings worked. When I reported the issue, I had cleared the recent list but didn't reset settings.

@onlysonim
Copy link

onlysonim commented Aug 14, 2021

I had a same issue #8355 and tried @MetricManifold 's way ("clear-and-reset") a couple of times,
But didn't work for me. ( I had been using 1.8.20 with win10 pro x64)

So I tried like below :

  1. Uninstalled an old one (1.8.20).
  2. Deleted manually all of the "old" registry keys of Doxygen at :
    "\HKEY_CURRENT_USER\SOFTWARE\Doxygen.org"
  3. Installed a new version (1.9.1).

Yes, It did work in my case. :)

@doxygen doxygen closed this as completed Aug 18, 2021
@SirHesti
Copy link

i only delete the registry ... works

albert-github added a commit to albert-github/doxygen that referenced this issue Jan 1, 2022
The problem here was that the "wizard/loadsetting" key in the registry is set (Using a set of settings defined by the user as a "default" set of settings) in an older version and that some of the keys didn't yet exist in that version but were required in the current version.
So we have to test whether or not the setting is valid and not a default "QVariant" is returned (as this will not have methods required by doxygen ./ there is no value and thus no update necessary and the current value can remain.

Note that the test contains of 2 parts:
- var.isDefault() i.e. whether or not the setting is present in the user "default" settings
- The name of the setting is known but not compiled into the current executable (e.g the SQLITE3 settings of the CLAN settings)

In the past this was, apparently, not necessary (or never noticed / reported).
@albert-github albert-github added bug and removed Usage The mentioned problem is not a doxygen problem but due to usage of a feature. labels Jan 1, 2022
@albert-github
Copy link
Collaborator

Reopening the issue as the problems are not just for one person.

The problem here was that the "wizard/loadsetting" key in the registry is set (Using a set of settings defined by the user as a "default" set of settings) in an older version and that some of the keys didn't yet exist in that version but were required in the current version.

To Reproduce:

  1. take an old version of doxywizard (e.g. the 1.8.20 version)
    • start the version
    • set "Use current settings at startup" from "Settings"
    • exit this doxywizard
  2. take the current version of the doxywizard (1.9.3)
    • start it
    • it hangs, so you will have to kill the doxywizard process

Workaround (choose either):

  1. In the old version
    • Save the current settings as a new doxygen settings file as so you can load them again in the new version (without really loosing the settings)
    • set "Reset to factory defaults"
  2. In regedit (so extreme caution!!):
    • there will be no way to save the user "default" settings
    • set the key Computer\HKEY_CURRENT_USER\SOFTWARE\Doxygen.org\Doxywizard\wizard\loadsettings to false

I've just pushed a proposed patch, pull request #8997

@albert-github albert-github reopened this Jan 1, 2022
doxygen added a commit that referenced this issue Jan 1, 2022
issue #8355 Doxywizard 1.9.x doesn't start up properly
@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Jan 1, 2022
@albert-github
Copy link
Collaborator

Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release).

@albert-github albert-github removed the install/build bug in the installation or build scripts label Jan 1, 2022
@ryandesign
Copy link

Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release).

Looks like doxygen 1.9.3 was originally released without this fix, then 1.9.3 was re-released including this fix. (See https://trac.macports.org/ticket/64354.)

@ryandesign
Copy link

The download page says 1.9.3 was released December 31th 2021 but in fact the file currently there was Last-Modified yesterday:

$ curl -IL https://www.doxygen.nl/files/doxygen-1.9.3.src.tar.gz
HTTP/1.1 200 OK
Date: Tue, 04 Jan 2022 08:11:44 GMT
Server: Apache/2
Last-Modified: Mon, 03 Jan 2022 09:55:15 GMT
ETag: "4e9d9c-5d4aa846fc6c0"
Accept-Ranges: bytes
Content-Length: 5152156
Vary: User-Agent
Content-Type: application/x-gzip
Content-Encoding: x-gzip

@albert-github
Copy link
Collaborator

@ryandesign
That is correct, we found the problem and seen the problems noticed by users and an update of this was done without changing the version number. It is only available in the packages on www.doxygen.org and not under the 1.9.3 tag in the repository

@ryandesign
Copy link

Ok thanks for confirming that was intentional. I guess this issue can be closed then, since you said above it is only open pending a release, which has now happened.

I trust you can understand how disruptive and confusing it is when a project re-releases a version of their software, so I hope the doxygen project will not do so again in the future.

@doxygen
Copy link
Owner

doxygen commented Jan 4, 2022

@ryandesign I'll keep it in mind. I've also made it more clear on the download page.

The latest version of doxygen is 1.9.3 (release date 31 december 2021, updated 3th of January 2022).

@doxygen doxygen closed this as completed Jan 4, 2022
gromgit added a commit to gromgit/homebrew-core that referenced this issue Jan 5, 2022
Upstream confirmed that they'd done a re-release to incorporate a one-line fix for doxygen/doxygen#8355.  I've suggested cutting a new release in future, even for small changes.

Addresses Homebrew/discussions#2726.
BrewTestBot pushed a commit to Homebrew/homebrew-core that referenced this issue Jan 6, 2022
Upstream confirmed that they'd done a re-release to incorporate a one-line fix for doxygen/doxygen#8355.  I've suggested cutting a new release in future, even for small changes.

Addresses Homebrew/discussions#2726.

Closes #92552.

Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label May 5, 2022
pmetzger pushed a commit to macports/macports-ports that referenced this issue Oct 25, 2022
Released August 26, 2022

Also remove the doxywizard.patch because patch told that it had been
already applied upstream, see:

doxygen/doxygen#8355
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug doxywizard bug is specific for the wizard
Projects
None yet
Development

No branches or pull requests

8 participants