Forum OpenACS Development: Problems installing packages
I'm getting an error mesage because when installing some of then
(particularly robot-detection) the package-key doewn't get registered
but the system says that the isntalation was succefull.
I'm diving in the code and in the meanwhile if somebody knows
something will be wellcomed.
If it's the Postgres version, I wouldn't worry about it unless the package is marked as having already been ported.
So I'd begin by checking what ACS version you're on and upgrading if not on 4.2 (upgrading was *surprisingly* painless, by the way - it looks like APM is finally smart enough to handle the upgrade. I untarred, moved my custom packages over to my new directory, pointed my server's .ini file to the new directory and kicked it, went to /acs-admin/apm/, and clicked on "Install packages", and *poof* it upgraded everything. Ran into one annoying Oracle "existing state of package has been discarded" message, but I don't think that's the ACS' fault, I think that's Oracle being annoying. Your mileage may vary, of course; I haven't been able to track down any documentation about whether that is really how you're supposed to upgrade a 4.X server.)
I did the work, and also the initial munging of packages to move datamodels from "package_key/sql" to "package_key/sql/oracle", thus the "broken (probably by me)" comment in my first post.
I may've missed updating the .info file for the package after moving the datamodel, for instance. I sat down and ran through all of them at once, and the "update all .info files" option in the APM is a bit fragile (it would include CVS directories until I bashed it, for instance) so I updated them one at a time. Missing one would've been a very easy thing for me to do.