No error any more -----Ursprüngliche Nachricht----- Von: Eric Newton [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 26. Juli 2006 20:05 An: General discussion of using zenoss system Betreff: Re: AW: AW: AW: AW: [zenoss-users] Update from trunk 1959-1972
My apologies. I made a mistake in the specification of the exception. Fix (well, we'll see) in 1973. How many errors can I make in 10 lines of code? -Eric Schuran, Sven wrote: > Now it is > > [EMAIL PROTECTED]://opt/zenoss/zenoss/bin> ./zenmigrate run --commit > INFO:zen.migrate:Installing Processes INFO:zen.migrate:Installing Mibs > INFO:zen.migrate:Installing ClearId INFO:zen.migrate:Installing > MaintenanceWindowRelations INFO:zen.migrate:Installing RRDMinValue > INFO:zen.migrate:Installing WinMinSeverity INFO:zen.migrate:Installing > NoCountProcs Recovering Traceback (most recent call last): > File "/opt/zenoss/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 9, > in ? > main() > File "/opt/zenoss/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 6, > in main > m.main() > File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line 215, > in main > self.cutover() > File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line 116, > in cutover > self.migrate() > File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line 104, > in migrate > m.cutover(self.dmd) > File "/opt/zenoss/zenoss/Products/ZenModel/migrate/nocountprocs.py", line > 31, in cutover > delProperty(p, 'zCountProcs') > File "/opt/zenoss/zenoss/Products/ZenModel/migrate/nocountprocs.py", line > 19, in delProperty > obj._delProperty(name) > File "/opt/zenoss/zenoss/lib/python/OFS/PropertyManager.py", line 216, in > _delProperty > self._delPropValue(id) > File "/opt/zenoss/zenoss/lib/python/OFS/PropertyManager.py", line 176, in > _delPropValue > delattr(self,id) > AttributeError: zCountProcs > > -----Ursprüngliche Nachricht----- > Von: Eric Newton [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 26. Juli 2006 19:17 > An: General discussion of using zenoss system > Betreff: Re: AW: AW: AW: [zenoss-users] Update from trunk 1959-1967 > > Ok, I added more exception checks. Give it a go. (1972) > > -Eric > > Schuran, Sven wrote: > >> Hi, >> >> Sorry, I have not crosschecked all error lines. >> >> Traceback from 1967: >> [EMAIL PROTECTED]:/opt/zenoss/zenoss/bin> ./zenmigrate run --commit >> INFO:zen.migrate:Installing Processes INFO:zen.migrate:Installing >> Mibs INFO:zen.migrate:Installing ClearId INFO:zen.migrate:Installing >> MaintenanceWindowRelations INFO:zen.migrate:Installing RRDMinValue >> INFO:zen.migrate:Installing WinMinSeverity >> INFO:zen.migrate:Installing NoCountProcs Recovering Traceback (most recent >> call last): >> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 9, >> in ? >> main() >> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 6, >> in main >> m.main() >> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line 215, >> in main >> self.cutover() >> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line 116, >> in cutover >> self.migrate() >> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line 104, >> in migrate >> m.cutover(self.dmd) >> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/nocountprocs.py", line >> 27, in cutover >> p._delProperty('zCountProcs') >> File "/opt/zenoss/zenoss/lib/python/OFS/PropertyManager.py", line 216, in >> _delProperty >> self._delPropValue(id) >> File "/opt/zenoss/zenoss/lib/python/OFS/PropertyManager.py", line 176, in >> _delPropValue >> delattr(self,id) >> AttributeError: zCountProcs >> >> >> >> -----Ursprüngliche Nachricht----- >> Von: Eric Newton [mailto:[EMAIL PROTECTED] >> Gesendet: Mittwoch, 26. Juli 2006 18:53 >> An: General discussion of using zenoss system >> Betreff: Re: AW: AW: [zenoss-users] Update from trunk 1959-1967 >> >> Sven, >> >> Same error? Different? For example, on my line 29 of >> nocountprocs.py, I now have >> >> dmd.Devices.rrdTemplates._delObject('OSProcessCount') >> >> Clearly the error below doesn't match this line. >> >> -Eric >> >> Schuran, Sven wrote: >> >> >>> Hi, >>> >>> The last error is from 1961. Now I am on 1967. >>> It is another error. >>> >>> Sven >>> >>> >>> -----Ursprüngliche Nachricht----- >>> Von: Eric Newton [mailto:[EMAIL PROTECTED] >>> Gesendet: Mittwoch, 26. Juli 2006 16:27 >>> An: General discussion of using zenoss system >>> Betreff: Re: AW: [zenoss-users] Update from trunk 1959 >>> >>> Try version 1961. >>> >>> -Eric >>> >>> Schuran, Sven wrote: >>> >>> >>> >>>> Hi, >>>> >>>> Now I get: >>>> >>>> [EMAIL PROTECTED]:/opt/zenoss/zenoss/bin> ./zenmigrate run --commit >>>> INFO:zen.migrate:Installing Processes INFO:zen.migrate:Installing >>>> Mibs INFO:zen.migrate:Installing ClearId >>>> INFO:zen.migrate:Installing MaintenanceWindowRelations >>>> INFO:zen.migrate:Installing RRDMinValue INFO:zen.migrate:Installing >>>> WinMinSeverity INFO:zen.migrate:Installing NoCountProcs Recovering >>>> Traceback (most recent call last): >>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/zenmigrate.py", line >>>> 9, in ? >>>> main() >>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/zenmigrate.py", line >>>> 6, in main >>>> m.main() >>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line >>>> 215, in main >>>> self.cutover() >>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line >>>> 116, in cutover >>>> self.migrate() >>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", line >>>> 104, in migrate >>>> m.cutover(self.dmd) >>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/nocountprocs.py", >>>> line 29, in cutover >>>> p._delProperty('zCountProcs') >>>> File "/opt/zenoss/zenoss/lib/python/OFS/PropertyManager.py", line 216, >>>> in _delProperty >>>> self._delPropValue(id) >>>> File "/opt/zenoss/zenoss/lib/python/OFS/PropertyManager.py", line 176, >>>> in _delPropValue >>>> delattr(self,id) >>>> AttributeError: zCountProcs >>>> >>>> Sven >>>> >>>> >>>> -----Ursprüngliche Nachricht----- >>>> Von: Erik A. Dahl [mailto:[EMAIL PROTECTED] >>>> Gesendet: Mittwoch, 26. Juli 2006 14:52 >>>> An: General discussion of using zenoss system >>>> Betreff: Re: [zenoss-users] Update from trunk 1959 >>>> >>>> Thanks, Fixed in trunk. >>>> >>>> -EAD >>>> >>>> On Jul 26, 2006, at 4:00 AM, Schuran, Sven wrote: >>>> >>>> >>>> >>>> >>>> >>>>> Hi, >>>>> >>>>> migration is not working. >>>>> >>>>> /opt/zenoss/zenoss/bin/zenmigrate run --commit >>>>> >>>>> ####################### >>>>> INFO:zen.migrate:Installing Processes INFO:zen.migrate:Installing >>>>> Mibs INFO:zen.migrate:Installing ClearId >>>>> INFO:zen.migrate:Installing MaintenanceWindowRelations >>>>> INFO:zen.migrate:Installing RRDMinValue >>>>> INFO:zen.migrate:Installing WinMinSeverity Recovering Traceback (most >>>>> recent call last): >>>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/ >>>>> zenmigrate.py", line 9, in ? >>>>> main() >>>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/ >>>>> zenmigrate.py", line 6, in main >>>>> m.main() >>>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", >>>>> line 215, in main >>>>> self.cutover() >>>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", >>>>> line 116, in cutover >>>>> self.migrate() >>>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/Migrate.py", >>>>> line 104, in migrate >>>>> m.cutover(self.dmd) >>>>> File "/opt/zenoss/zenoss/Products/ZenModel/migrate/ >>>>> winminseverity.py", line 11, in cutover >>>>> dmd.Devices._setProperty("zWinEventlogMinSeverity", 2, type="int") >>>>> File "/opt/zenoss/zenoss/Products/ZenRelations/ >>>>> ZenPropertyManager.py", line 70, in _setProperty >>>>> raise BadRequest, 'Id %s is invalid or duplicate' % id >>>>> zExceptions.BadRequest: Id zWinEventlogMinSeverity is invalid or >>>>> duplicate ########################### >>>>> >>>>> >>>>> >>>>> >>> _______________________________________________ >>> zenoss-users mailing list >>> [email protected] >>> http://lists.zenoss.org/mailman/listinfo/zenoss-users >>> >>> >>> _______________________________________________ >>> zenoss-users mailing list >>> [email protected] >>> http://lists.zenoss.org/mailman/listinfo/zenoss-users >>> >>> >>> >>> >> _______________________________________________ >> zenoss-users mailing list >> [email protected] >> http://lists.zenoss.org/mailman/listinfo/zenoss-users >> >> >> _______________________________________________ >> zenoss-users mailing list >> [email protected] >> http://lists.zenoss.org/mailman/listinfo/zenoss-users >> >> >> > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users > > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users > > _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
