[RESOLVED] LazReport - Installation Problem on Win7/32 lazarus / 31-LCL ---------------------------------------------------------------------- mtrsoft · 2018-10-05 03:12 :)I'm using Lazarus 1.8.4 on a Win 7/32 system and am having a problem installing LazReports. Basically, what I have observed is: 1. When selecting "Package > Install/Uninstall Packages..." and then selecting LasReport 0.9.9 for intallation and finally "Save and Rebuild IDE" it seems that LazReport is installed and Lazarus is Rebuilt without any errors. 2. After the above the LazReport tab does NOT appear on the Component Palette. 3. Selecting "Tools > Options" then "Environment > Component Palette" LazReport appears in the "Pages" list. 4. Selecting the "LazReport" item in the "Pages" list shows that there are NO components in the "Components" list. 5. This suggests to me that for some reason the LazReport components are not being properly installed and / or registered. 6. In an attempt to resolve this issue I re-installed Lazarus and ensured that the re-install removed all pre-existing user configuration settings. 7. Repeating 1 to 4 above had the same result. 8. I also downloaded and tried installing LazReport r59245 with the same result. 9. Note: I do not have any problems installing other packages, such as the LazCustForms 1.0 package. I assume that there is something simple that I am failing to do. TIA for any suggestions. Regards, John ---------------------------------------------------------------------- GAN · 2018-10-05 04:01 Did you compile it before saving and rebuilding the IDE? ---------------------------------------------------------------------- mtrsoft · 2018-10-05 04:08 Yes, I did compile it before installing it. ---------------------------------------------------------------------- balazsszekely · 2018-10-05 04:42 Please try the following: 1. Go to LazarusMenu-->View-->Components(Ctrl + Alt + P) 2. Go to tab "Palette" 3. Right click the list-->Collapse all 4. Locate Lazreport, then try to drop a few component to the form Does it work? ---------------------------------------------------------------------- mtrsoft · 2018-10-05 05:02 No, it does not work. Steps 1, 2 and 3 work. At step 4 the LazReport item is visible in the list, BUT there is no drop-down indicator (down triangle) indicating that there are sub- items. All of the other items in the list have the drop-down indicator and have sub-items (components). Also, double-clicking on the LazReport item does not expand the list, while double-clicking on other items in the list will expand the list so that sub-items (components) are visible. ---------------------------------------------------------------------- balazsszekely · 2018-10-05 05:16 Unfortunately I'm out of ideas. I did run a quick test both on Lazarus 1.8.4 and Trunk(win7), Lazreport and sub-items are visible in the component palette, everything is working as it should. ---------------------------------------------------------------------- mtrsoft · 2018-10-05 06:01 I have tested the issue on two different computers (a Win7/32 and a Win7/64) both with Lazarus 1.8.4 for Win32 and have not been able to reproduce the problem. Clearly, there must be some configuration problem on the computer that is exhibiting the problem. I will continue trying to resolve the issue. If, no when, the issue is resolved I'll post an update with the solution. Regards, John ---------------------------------------------------------------------- mtrsoft · 2018-10-06 00:46 I do not know what caused the problem, but it has been resolved by doing a COMPLETE uninstall and then NEW fresh install of Lazarus. Simply re-installing Lazarus and during that process uninstalling the previous version and removing any user configuration setting is NOT adequate. When looking at the process I used you will undoubtedly say to yourself that "The process used was obviously the thing to do." All I can say to that is that it was not immediately obvious to me. Just in case there are other "reluctant learners" like me, here is what I did. 1. Made a backup copy of the main Lazarus directory by copying "C:\lazarus" to "C:\lazarus-bak01" so that I wouldn't lose the code for any of the custom components that I'd developed. 2. Made a backup copy of all user configuration setting by copying "C:\users\\appdata\local\lazarus" to "C:\users\\appdata\local\lazarus-bak01". 3. Used Windows' standard uninstall procedure to uninstall Lazarus. 4. Used Windows Explorer to check that all Lazarus related files had been deleted. -- They had not, so 4a. Deleted the directory "C:\Lazarus" and all of its sub-directories and files. 4b. Deleted the directory "C:\users\\appdata\local\lazarus" and all of its sub-directories and files. 5. Checked the Windows Registry using RegEdit and noted that there were NO suspicious entries. 6. Re-booted the computer. 7. Installed a new copy of Lazarus 1.8.4 for Win32. 8. Re-booted the computer. 9. Started Lazarus and went through the usual first-time steps. 10. Closed Lazarus and the re-started it to confirm that everything was OK. 11. Closed Lasarus and re-booted the computer -- just in case.... 12. Started Lazarus and installed LazReport, which re-built Lazarus. -- All went well and the LazReport item appeared on the Component Palette with all of its components. -- SUCCESS! 13. Closed and re-opened Lazarus. No issues. 14. Installed other components without encountering any issues. 15. Will delete the backed-up directories when I am absolutely convinced that all is well. -- Perhaps in a week or so. Now I am a happy camper! I hope the above is of some use to others who encounter unusual problems with Lazarus -- especially on Windows, which occasionaly seems to present unusual problems. Regards, John ---------------------------------------------------------------------- balazsszekely · 2018-10-06 05:43 @mtrsoft QuoteI hope the above is of some use to others who encounter unusual problems with Lazarus -- especially on Windows, which occasionaly seems to present unusual problems. Thank you for the feedback.