Saturday, 2016-04-16

openstackgerritMerged openstack/congress: Updated from global requirements  https://review.openstack.org/30517200:47
openstackgerritMerged openstack/congress: Fix subscriber_list has no return value  https://review.openstack.org/30623400:47
openstackgerritMerged openstack/congress: Add keystoneauth1 to requirements.txt  https://review.openstack.org/30623900:47
openstackgerritMerged openstack/congress: Switch to Ceilometer tempest plugin  https://review.openstack.org/30558500:48
openstackgerritEric K proposed openstack/congress: (un)subhandler for DSE2  https://review.openstack.org/28562801:03
thinrichsekcs: you there?01:04
ekcshey thinrichs01:04
thinrichsQuick question that's driving me crazy...01:04
thinrichsI'm running the test2/api/test_datasource_model tests01:05
thinrichsI'm getting an err message: DatasourceNotFound' object has no attribute 'message'01:05
thinrichsSo it seems like we're instantiating the DatasourceNotFound object (out of exceptions.py)01:05
thinrichsand for some reason the 'message' attribute isn't being set properly.01:05
thinrichs'message' is set in the Exception class, which DatasourceNotFound inherits from (indirectly)01:06
thinrichsEver seen that before?01:06
ekcshmm not really. is it py34 or py27 or both?01:07
thinrichspy3 for sure.  didn't try py201:08
thinrichsHang on…I'd been running with python3 -m "nose", and saw the error.  tox seems to not return an error.01:09
thinrichsHmmmm01:09
ekcshmmm. can I see the code that is raising/using the DatasourceNotFound exception?01:16
ekcsI tried the following test case and didn’t get any errors01:16
ekcsclass PolicyFileTestCase(base.TestCase):01:17
ekcs    def test_datasourcenotfoundexception(self):01:17
ekcs        try:01:17
ekcs            raise exception.DatasourceNotFound('ekcs')01:17
ekcs        except exception.DatasourceNotFound as e:01:17
ekcs            print(e)01:17
ekcsin python3 -m ‘nose'01:17
ekcsAh I have it now. If I do print(e.message) I get the error. But I get the same error with straigt Exception class. Maybe we’re just not supposed to access it like that.01:19
ekcstrying tox now.01:20
ekcsah it’s a python2 vs 3 thing. ok in 2, not ok in 3.01:20
*** thinrichs has quit IRC01:22
*** ekcs has quit IRC02:07
*** thinrichs has joined #congress03:15
*** thinrichs has quit IRC04:21
*** banix has quit IRC04:57
*** BitSmith has joined #congress12:05
*** banix has joined #congress13:19
*** banix has quit IRC16:05
*** banix has joined #congress16:13
*** BitSmith is now known as [BitSmith]16:29
*** banix has quit IRC16:43
*** [BitSmith] is now known as BitSmith17:11
*** BitSmith is now known as [BitSmith]17:11
*** [BitSmith] is now known as BitSmith17:15
*** BitSmith is now known as [BitSmith]17:15
*** [BitSmith] has quit IRC21:46
*** jasonsb has joined #congress22:08
*** banix has joined #congress22:56
*** banix has quit IRC23:01
*** BitSmith has joined #congress23:29
*** BitSmith is now known as [BitSmith]23:41
*** [BitSmith] is now known as BitSmith23:51

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!