Menu

#240 Avogadro 0.9.1 doesn't work under Windows as user

v_0.9.0
closed
Rendering (78)
7
2012-09-12
2009-02-14
Uwe
No

The test version you provide:
http://blog.cryos.net/uploads/Avogadro-0.9.0a-win32.exe
has a bug:
I installed Avogadro on Windows with admin permissions. When I not change the Windows user so that I only have user permissions, I cannot insert any atom.
This bug is a regression to 0.9.0 and needs to be fixed for the next release.

Discussion

  • Marcus D. Hanwell

    I am unable to reproduce this. I am using Windows XP Pro, installed using the installer I made available. I installed as an administrator, set up a new limited account, logged in as that user and started Avogadro. I can insert any atom I like and also tried fragments which work fine too.

    Do you have any further information that can help me to reproduce this? What version of Windows are you using? Is the user a standard limited user? Do you get any error messages? Are you saying that when using the draw tool clicking on the display does nothing at all? I do not have Vista available here and so cannot test there, but I am having trouble understanding what the exact bug is. Are all tools/display types/extensions still loaded for example?

     
  • Marcus D. Hanwell

    Just to add that I am hoping to make a new Windows release tomorrow. I have received positive feedback from many other users, but feel certain most of them (as many Windows users do) run as administrator anyway. I would appreciate your help in tracking down the source of this issue but do need further information. Thanks.

     
  • Uwe

    Uwe - 2009-02-15

    Is the user a standard limited user?

    I'm on WinXP. It is a normal user account where you don't have write access to the folder where Avogadro is installed. (C:\Programs\Avogadro)

    Are you saying that when using the draw tool clicking on the display does nothing at all?

    Yes.

    Are all tools/display types/extensions still loaded for example?

    Yes.

    but feel certain most of them (as many Windows users do) run as administrator anyway.

    I hope this was a joke. The admin account is to administrate the PC, nothing more. For example surfing in the Internet as admin would be - yes, stupid - and every virus author would thank you ;-). So I hope that not many users do this.

    I am using Windows XP Pro, installed using the installer I made available.

    Btw. why are you not using the Windows installer I wrote for Avogadro and that is in your Git?

     
  • Marcus D. Hanwell

    It was an observation that many Windows users use admin accounts all the time. I am not saying that I agree with the practice, but I know it to be true and was stating it as a possible reason I had not received more feedback on this. This is not really central to the bug, was not intended to cause offence but is true of many users I observe. I have done a lot of consultancy over the years too...

    I am using CPack as it allows for the whole packaging process to be automated. This means that we can make more releases, changes made in our build system propagate to our packages and in general it seems to work very well. We would like to migrate our Mac packages to use CPack too, it makes binary package creation much easier for us. Being able to type 'nmake package', rebuild all necessary files and then have an installer created all from the command line is very useful.

    I have no write access to the Avogadro folder in C:\Program Files and have no trouble drawing atoms, fragments etc. This is inside a VMWare virtual machine with a fresh Windows XP installation. I don't think this VM has all of the updates yet - may be this is the cause? I honestly cannot see how file permissions would stop the draw tool from working if it loaded.

    I will leave it updating to the latest SPs etc and see if this allows me to reproduce the issue. I certainly cannot write to the directory as the user. Are you able to see the axes, debug etc if you turn them on? Can you load a molecule still? I tried deleting everything and doing a fresh installation but this did not result in any issues either.

     
  • Uwe

    Uwe - 2009-02-15

    This is not really central to the bug,

    I think that this is the reason, because when using your build as admin, everything works fine. When I change Avogadro's install directory so that also every user has write permissions, I can successfully use Avogadro as normal user.

    was not intended to cause offence but is true of many users I observe. I have done a lot of
    consultancy over the years too...

    Please don't take my statement personally (I used a smiley).
    But interestingly I'm in the installer business also for years now and most of the problems arise because the users usually don't have admin permissions. This is for example the case in every company I know. Even at the university I'm working at, nobody has admin permissions, except of the admin.

    I am using CPack as it allows for the whole packaging process to be
    automated. This means that we can make more releases, changes made in our
    build system propagate to our packages and in general it seems to work very
    well. We would like to migrate our Mac packages to use CPack too, it makes
    binary package creation much easier for us. Being able to type 'nmake
    package', rebuild all necessary files and then have an installer created
    all from the command line is very useful.

    But CPack doesn't nothing else than executing the NSIS installer source code file. But you have used another NSIS script than the one I wrote for Avogadro. I'm asking because I promised to maintain it when problems and bugs arise.

    Are you able to see the axes, debug etc if you turn them on?

    Yes.

    Can you load a molecule still?

    I can load it, but it isn't displayed.

    I turned now the debug view on, and see that when I try to insert an atom, the debug info tells me that the atom was inserted. So the problem is that all atoms are not drawn (I also set the background color now to white to check that the atoms are not drawn, but as black on a black background.)
    So the drawing is the problem.

     
  • Nobody/Anonymous

    Works here on vista using either the Admin or normal user account

     
  • Marcus D. Hanwell

    I was really referring to whether the average Windows user actually uses an admin account. I know that businesses and schools often set things up properly, and we would like to do everything we can to work on school systems especially. That said Avogadro is designed primarily for a Unix like environment where we assume no one has access to any of the Avogadro directories.

    Our rendering is all OpenGL calls and so I do not see how a change in user account can cause this. It does not in my test virtual machines, nor does it on Tim's real Vista system. We do not write to the install prefix and I have confirmed here using several tests that my test users have no permissions. The main issue I could see is if read permission was not granted for some directory and all the extensions would fail to load - that does not seem to be the case.

    Is this just on one test system? 0.9.0 did not work on any fresh Windows systems as there was an issue with the manifests. You needed to already have the C runtime installed and many people do not. That is fixed now and in all my tests on my VMs and the systems of people I know we have no new regressions. Which display types have you tried to use? Is just ball and stick affected, or are VdW, wireframe, stick etc all affected too? This could be an OpenGL issue of some kind, not sure how it would be triggered by not having rights on a directory we don't write to (barring a bug I have not spotted).

    With regards to CPack I guess you just have to look at it. When we add new engines we add them to the build system, CPack then automatically feeds that through to NSIS. I can build a Python and non-Python release by turning a flag on and off, I can use variables to set where dependencies are installed. I can just do a cmake setup and then type nmake package to generate the whole package. I thought it was a very interesting tool to try out and so far I like it. I am not an NSIS expert and so welcome feedback. I do think that whatever we can do to streamline our release process is a big plus. Do you see major issues with using CPack? This is a disucssion that should probably take place on the mailing list.

     
  • Uwe

    Uwe - 2009-02-17

    I'm really disappointed. I reported a release-critical bug and you anyway released a new version. I today tested Avogadro 0.9.1 on two other PCs with the same result - it doesn't work when you are a normal user.

    Concerning the Windows installer - this is unbelievable. I mean I spent my spare time to develop a new installer for you. And without contacting me you throw it away introducing a half-backed new one with several regressions:

    Installer of Avogadro 0.8.1:

    • The file extension ".cml" is registered to be opened with Avogadro when
      double-clicking on cml-files (can be deselected in the installer menu)
    • Desktop icon is provided (can be deselected in the installer menu)
    • Avogadro is installed for all users, when the the user is admin (fixes
      bug 1972227)
    • Installer is translatable
    • English and German translation is delivered, (the installer detects the
      used language by checking the default language of Windows)
    • Installer can also be used under Windows Vista
    • Avogardo is correctly uninstalled
    • Avogadro can directly be started after the installation (checkbox in
      the last installer window)
    • The start menu link for the release notes now correctly links to the
      actual release

    Installer of Avogadro 0.9.1:

    • The file extension ".cml" is registered to be opened with Avogadro when
      double-clicking on cml-files (can be deselected in the installer menu)

    Doesn't work.

    • Desktop icon is provided (can be deselected in the installer menu)

    Doesn't work.

    • Installer is translatable

    Doesn't work.

    • English and German translation is delivered, (the installer detects the
      used language by checking the default language of Windows)

    Is no longer the case.

    • Avogardo is correctly uninstalled

    I need to check this.

    • Avogadro can directly be started after the installation (checkbox in
      the last installer window)

    Doesn't work.

    • The start menu link for the release notes now correctly links to the
      actual release

    Doesn't work.

    I better not describe how I feel.

     
  • Uwe

    Uwe - 2009-02-17

    I today tested Avogadro 0.9.1 on two other PCs with
    the same result - it doesn't work when you are a normal user.

    OK, it indeed works on a PC where Avogadro has never been installed before, but not on PCs where 0.9.0 was installed before 0.9.1 was installed.

    I think it must have something to do with the user settings. Can you please tell me where you store the user settings? I mean when I start Avogadro the first time on a new PC, the "adjust hydrogen" option is set. When I unset this option and restart Avogadro, this option if after restart also unset. So I need to know where you store what vie settings and options are set when Avogadro is started?

     
  • Marcus D. Hanwell

    It certainly was not my intention to offend you. The 0.9 release series is beta and is intended to help us iron out issues with Avogadro before 1.0. I have not thrown away the previous installer, I am simply exploring alternative possibilities. If you would like to help us to build better Windows packages then I would of course welcome that help. I see no point discussing this both on this bug report and the mailing list - see the mailing list for a fuller reply.

    On Windows all user settings are stored in the registry. This is abstracted by Qt into their settings framework. Providing a copy of this section of the registry could help us to debug the issue. As I said I was not able to reproduce this issue on any test systems here. We have discussed versioning the configuration, and offering an option to clear the configuration a configuration dialog. That option might help here.

    HKEY_CURRENT_USER\Software\SourceForge\Avogadro

     
  • Uwe

    Uwe - 2009-02-25

    On Windows all user settings are stored in the registry.

    Thanks for this info. I found the bug now!

    Here's what I have when I'm a standard user:

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro]
    "pos"="@Point(-4 -4)"
    "size"="@Size(1280 964)"
    "state"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,\ 00,00,00,00,00,00,ff,00,00,00,00,00,00,00,00,00,fd,00,00,00,00,00,00,00,02,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,12,00,00,00,00,00,03,00,7a,00,\ fc,00,02,00,00,00,00,00,00,00,02,00,fb,00,00,00,00,00,00,00,12,00,00,00,74,\ 00,00,00,6f,00,00,00,6f,00,00,00,6c,00,00,00,73,00,00,00,44,00,00,00,6f,00,\ 00,00,63,00,00,00,6b,00,01,00,00,00,00,00,00,00,37,00,00,00,00,00,02,00,28,\ 00,00,00,00,00,01,00,03,00,00,00,ff,00,ff,00,ff,00,fb,00,00,00,00,00,00,00,\ 16,00,00,00,65,00,00,00,6e,00,00,00,67,00,00,00,69,00,00,00,6e,00,00,00,65,\ 00,00,00,73,00,00,00,44,00,00,00,6f,00,00,00,63,00,00,00,6b,00,01,00,00,00,\ 00,00,02,00,63,00,00,00,00,00,01,00,4e,00,00,00,00,00,00,00,9f,00,00,00,ff,\ 00,ff,00,ff,00,00,00,00,00,00,00,01,00,ff,00,ff,00,ff,00,fc,00,00,00,00,00,\ 03,00,7a,00,fc,00,02,00,00,00,00,00,00,00,03,00,fb,00,00,00,00,00,00,00,16,\ 00,00,00,70,00,00,00,72,00,00,00,6f,00,00,00,6a,00,00,00,65,00,00,00,63,00,\ 00,00,74,00,00,00,44,00,00,00,6f,00,00,00,63,00,00,00,6b,00,00,00,00,00,00,\ 00,00,00,00,00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,00,00,81,00,00,00,ff,00,\ ff,00,ff,00,fb,00,00,00,00,00,00,00,1a,00,00,00,67,00,00,00,61,00,00,00,6d,\ 00,00,00,65,00,00,00,73,00,00,00,73,00,00,00,45,00,00,00,66,00,00,00,70,00,\ 00,00,44,00,00,00,6f,00,00,00,63,00,00,00,6b,00,00,00,00,00,00,00,00,00,00,\ 00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,00,00,80,00,00,00,ff,00,ff,00,ff,00,\ fb,00,00,00,00,00,00,00,24,00,00,00,70,00,00,00,79,00,00,00,74,00,00,00,68,\ 00,00,00,6f,00,00,00,6e,00,00,00,54,00,00,00,65,00,00,00,72,00,00,00,6d,00,\ 00,00,69,00,00,00,6e,00,00,00,61,00,00,00,6c,00,00,00,44,00,00,00,6f,00,00,\ 00,63,00,00,00,6b,00,01,00,00,00,00,00,00,00,37,00,00,00,00,00,03,00,7a,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,ea,00,00,\ 00,00,00,03,00,7a,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,04,00,00,00,\ 00,00,00,00,01,00,00,00,00,00,00,00,02,00,fc,00,00,00,00,00,00,00,01,00,00,\ 00,00,00,00,00,02,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,16,00,00,00,\ 66,00,00,00,69,00,00,00,6c,00,00,00,65,00,00,00,54,00,00,00,6f,00,00,00,6f,\ 00,00,00,6c,00,00,00,42,00,00,00,61,00,00,00,72,00,01,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,05,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,29,00
    "tabbedTools"="true"
    "enginesDock"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,\ 28,00,01,00,d9,00,d0,00,cb,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,02,00,63,00,00,00,00,00,01,00,11,00,00,00,00,00,03,00,b0,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,02,00,63,00,00,00,00,00,01,00,11,00,00,\ 00,00,00,03,00,b0,00,00,00,00,00,00,00,00,00,00,00,00,00,29,00
    "recentFileList"=hex(7):00,00
    "Save Molecule Filter"="CML (.cml)"
    "Export POV-Ray Filter"="POV-Ray format (
    .pov)"
    "toolsTabPosition"=dword:00000000
    "animationsEnabled"="false"
    "Open Molecule Filter"="Common molecule formats (.cml .xyz .ent .pdb .alc .chm .cdx .cdxml .c3d1 .c3d2 .gpr .mdl .mol .sdf .sd .crk3d .cht .dmol .bgf .gam .inp .gamin .gamout .tmol .fract .gau .gzmat .mpd *.mol2)"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\extensions]
    "gaussianCalcType"=dword:00000001
    "gaussianProcs"=dword:00000001
    "gaussianTheory"=dword:00000003
    "gaussianBasis"=dword:00000002
    "gaussianOutput"=dword:00000000
    "gaussianChk"="false"
    "gaussianCoord"=dword:00000000
    "imageWidth"=dword:00000400
    "imageHeight"=dword:00000300
    "antialias"="true"
    "transparency"="true"
    "keepSource"="true"
    "renderDirect"="true"
    "povrayPath"="povray"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\Plugins]

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\Plugins\0]
    "Achsen"="true"
    "Dipol"="true"
    "Wasserstoffbindung"="true"
    "Beschriftung"="true"
    "Orbitals"="true"
    "Überlagerung"="true"
    "Polygon"="true"
    "Python"="true"
    "Band"="true"
    "Ring"="true"
    "Van-der-Waals-Sphären"="true"
    "Stab"="true"
    "Oberfläche"="true"
    "Drahtgitter"="true"
    "Axes"="true"
    "Dipole"="true"
    "Force"="true"
    "Hydrogen Bond"="true"
    "Label"="true"
    "Overlay"="true"
    "Ribbon"="true"
    "Van der Waals Spheres"="true"
    "Stick"="true"
    "Surface"="true"
    "Wireframe"="true"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\Plugins\1]
    "Align Tool"="true"
    "AutoOpt Tool"="true"
    "AutoRotate Tool"="true"
    "Bond Centric Tool"="true"
    "Measure Tool"="true"
    "Draw Tool"="true"
    "Manipulate Tool"="true"
    "Navigate Tool"="true"
    "Python Tool"="true"
    "Select-Rotate Tool"="true"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\Plugins\2]
    "Animate Extension"="true"
    "File Import Extension"="true"
    "Force Field Extension"="true"
    "GAMESS Extension"="true"
    "Gaussian Extension"="true"
    "H2Methyl Extension"="true"
    "Hydrogens Extension"="true"
    "Orbital Extension"="true"
    "POV-Ray Extension"="true"
    "Properties Extension"="true"
    "Python Extension"="true"
    "Python-Konsole"="true"
    "Select Extension"="true"
    "GLSL Shader Extension"="true"
    "Unit Cell Extension"="true"
    "Vibration Extension"="true"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\Plugins\3]
    "Color by Index"="true"
    "Color by Residue"="true"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\tools]

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\tools\Automatisches Optimieren]
    "forceField"=dword:00000003
    "algorithm"=dword:00000000
    "steps"=dword:00000004
    "fixedMovable"=dword:00000002
    "ignoredMovable"=dword:00000002

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\tools\AutoOptimization]
    "forceField"=dword:00000000
    "algorithm"=dword:00000000
    "steps"=dword:00000004
    "fixedMovable"=dword:00000002
    "ignoredMovable"=dword:00000002

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\tools\Bindungsorientiertes Bearbeiten]
    "showAngles"=dword:00000002
    "snapTo"=dword:00000002
    "snapToAngle"=dword:0000000a

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\tools\Bond Centric Manipulate]
    "showAngles"=dword:00000002
    "snapTo"=dword:00000002
    "snapToAngle"=dword:0000000a

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\tools\Draw]
    "currentElement"=dword:00000006
    "addHydrogens"=dword:00000002
    "smiles"=""
    "fragmentPath"="C:\Program Files\Avogadro\Fragments"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\tools\Zeichnen]
    "currentElement"=dword:00000006
    "addHydrogens"=dword:00000002
    "smiles"=""
    "fragmentPath"="C:\Program Files\Avogadro\Fragments"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view]
    "size"=dword:00000001

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1]
    "background"=hex:40,00,56,00,61,00,72,00,69,00,61,00,6e,00,74,00,28,00,00,00,\ 00,00,00,00,43,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,29,00
    "quality"=dword:00000004
    "renderAxes"="true"
    "renderDebug"="false"
    "fogLevel"=dword:00000000
    "allowQuickRender"="true"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines]
    "size"=dword:00000003

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\1]
    "engineClass"="Avogadro::ForceEngine"
    "enabled"="false"
    "name"="Force"
    "description"="Ring-Darstellung"
    "engineName"="Ring"
    "alias"="Ring"
    "opacity"="20"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\10]
    "engineClass"="Avogadro::RibbonEngine"
    "enabled"="false"
    "name"="Ribbon"
    "description"="Oberflächen-Darstellung"
    "radius"="10"
    "type"=dword:00000000
    "useNitrogens"=dword:00000002
    "engineName"="Oberfläche"
    "alias"="Oberfläche"
    "opacity"="10"
    "renderMode"=dword:00000000
    "colorMode"=dword:00000000
    "color"=hex:40,00,56,00,61,00,72,00,69,00,61,00,6e,00,74,00,28,00,00,00,00,00,\ 00,00,43,00,01,00,00,00,00,00,01,00,01,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,29,00
    "drawBox"="false"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\11]
    "engineClass"="Avogadro::SphereEngine"
    "enabled"="false"
    "name"="Van der Waals Spheres"
    "description"="Atome mit Van-der-Waals-Spähren darstellen"
    "opacity"="20"
    "engineName"="Van-der-Waals-Sphären"
    "alias"="Van-der-Waals-Sphären"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\12]
    "engineClass"="Avogadro::LabelEngine"
    "enabled"="false"
    "name"="Label"
    "description"="Einfache Beschriftungen"
    "atomLabel"=dword:00000001
    "bondLabel"=dword:00000002
    "engineName"="Beschriftung"
    "alias"="Beschriftung"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\13]
    "engineClass"="Avogadro::AxesEngine"
    "enabled"="false"
    "name"="Axes"
    "description"="Renders overlays"
    "engineName"="Überlagerung"
    "alias"="Überlagerung"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\14]
    "engineName"="Achsen"
    "enabled"="false"
    "alias"="Achsen"
    "description"="x-, y- und z-Achsen anzeigen"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\15]
    "engineName"="Dipol"
    "enabled"="false"
    "alias"="Dipol"
    "description"="Rendert Dipolbahnen und andere 3D Objekte"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\2]
    "engineClass"="Avogadro::WireEngine"
    "enabled"="false"
    "name"="Wireframe"
    "description"="Elektronenumlaufbahnen-Darstellung"
    "showDots"=dword:00000002
    "showMulti"=dword:00000000
    "engineName"="Orbitals"
    "alias"="Orbitals"
    "alpha"="0.75"
    "renderMode"=dword:00000000
    "drawBox"="false"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\3]
    "engineClass"="Avogadro::RingEngine"
    "enabled"="false"
    "name"="Ring"
    "description"="Strukturen als Polygone anzeigen"
    "width"="2"
    "radius"="2"
    "angle"="120"
    "opacity"="20"
    "engineName"="Polygon"
    "alias"="Polygon"
    "scriptName"="cubepoints"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\4]
    "engineClass"="Avogadro::HBondEngine"
    "enabled"="false"
    "name"="Hydrogen Bond"
    "description"="Reste als Band anzeigen"
    "opacity"="20"
    "width"="2"
    "radius"="10"
    "angle"="120"
    "engineName"="Band"
    "alias"="Band"
    "type"=dword:00000000
    "useNitrogens"=dword:00000002

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\5]
    "engineClass"="Avogadro::PolygonEngine"
    "enabled"="false"
    "name"="Polygon"
    "description"="Drahtgitter-Darstellung"
    "engineName"="Drahtgitter"
    "alias"="Drahtgitter"
    "showDots"=dword:00000002
    "showMulti"=dword:00000000

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\6]
    "engineClass"="Avogadro::StickEngine"
    "enabled"="false"
    "name"="Stick"
    "description"="Strukturen als Polygone anzeigen"
    "radius"="5"
    "engineName"="Polygon"
    "alias"="Polygon"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\7]
    "engineClass"="Avogadro::BSDYEngine"
    "enabled"="false"
    "name"="Ball and Stick"
    "description"="Wasserstoffbindungen anzeigen"
    "atomRadius"="3"
    "bondRadius"="2"
    "showMulti"=dword:00000001
    "engineName"="Wasserstoffbindung"
    "alias"="Wasserstoffbindung"
    "width"="2"
    "radius"="2"
    "angle"="120"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\8]
    "engineClass"="Avogadro::OrbitalEngine"
    "enabled"="false"
    "name"="Orbitals"
    "description"="Zylinder-Darstellung"
    "opacity"="10"
    "renderMode"=dword:00000000
    "colorMode"=dword:00000000
    "alpha"="0.75"
    "iso"="0.01"
    "drawBox"="false"
    "engineName"="Stab"
    "alias"="Stab"
    "radius"="5"

    [HKEY_CURRENT_USER\Software\SourceForge\Avogadro\view\1\engines\9]
    "engineClass"="Avogadro::SurfaceEngine"
    "enabled"="true"
    "name"="Surface"
    "description"="Primitive durch Kugeln (Atome) und Stäbe (Bindungen) darstellen."
    "alpha"="0.75"
    "iso"="0.01"
    "renderMode"=dword:00000000
    "drawBox"="false"
    "opacity"="10"
    "colorMode"=dword:00000000
    "engineName"="Kugeln und Stäbe"
    "alias"="Kugeln und Stäbe"
    "atomRadius"="3"
    "bondRadius"="2"
    "showMulti"=dword:00000001

    When I delete the complete folder
    HKEY_CURRENT_USER\Software\SourceForge\Avogadro
    and restart Avogadro, I can then insert atoms. So the bug must be a wrong registry settings. I'll check this now with my admin account settings and report back.

     
  • Uwe

    Uwe - 2009-02-25

    Avogadro-registry-User.reg

     
  • Uwe

    Uwe - 2009-02-25

    Avogadro-registry-Admin.reg

     
  • Uwe

    Uwe - 2009-02-25

    Avogadro-registry.diff

     
  • Uwe

    Uwe - 2009-02-25

    I attached the registry settings of my user account where I couldn't insert any atom in Avogadro and the one of my admin account that worked correctly. I also attached a diff between both (it is not a diff -u because diff gave me an error).

    I still don't know what causes the bug, but you have now all infos I can give you. For me I solved the bug by simply deleting the registry settings and restart Avogadro.

     
  • Marcus D. Hanwell

    OK, 0.9.2 checks if the configuration is versioned, resets to defaults if it is not. This should alleviate any issues related to old configuration files. I will do more testing when I get some time but I think this issue is now resolved. Please open a new bug if configuration issues continue.