*** jinty has left #schooltool | 00:24 | |
*** jinty has quit IRC | 00:24 | |
*** tiredbones has left #schooltool | 00:51 | |
*** ignas has quit IRC | 02:17 | |
*** ignas has joined #schooltool | 02:31 | |
*** wrobel has quit IRC | 03:54 | |
*** alga has quit IRC | 04:20 | |
*** wjohnsto has quit IRC | 05:11 | |
*** wrobel has joined #schooltool | 09:04 | |
*** Fujitsu has quit IRC | 10:53 | |
*** jfroche has joined #schooltool | 10:55 | |
*** Fujitsu has joined #schooltool | 10:56 | |
jfroche | ignas: hello ! have 2 min ? | 11:09 |
---|---|---|
*** jinty has joined #schooltool | 11:17 | |
*** mgedmin has joined #schooltool | 13:09 | |
jfroche | ignas: there ? | 15:24 |
*** ignas has quit IRC | 15:28 | |
*** ignas has joined #schooltool | 15:51 | |
*** ignas has quit IRC | 16:08 | |
*** ignas has joined #schooltool | 16:10 | |
jfroche | ignas: there ? | 16:17 |
ignas | jfroche: yes | 16:17 |
jfroche | hello, i have added my package in src for jacqmain, i am trying to run test there with test.py --dir jacqmain.person | 16:18 |
jfroche | but it seems that i doesnt find the tests | 16:18 |
ignas | ./test.py -m the package | 16:18 |
ignas | by default it's "./test.py -m schooltool" | 16:18 |
jfroche | argh | 16:19 |
jfroche | ok | 16:19 |
jfroche | sorry | 16:19 |
jfroche | thanks ! | 16:19 |
ignas | so it will ignore stuff not in schooltool package | 16:19 |
*** alga has joined #SchoolTool | 16:21 | |
lisppaste5 | jfroche pasted "failed import" at http://paste.lisp.org/display/36617 | 16:24 |
jfroche | ignas: strange no ? | 16:24 |
ignas | no | 16:24 |
ignas | a circular imporyt | 16:24 |
ignas | try import PersonContainer on a separate line | 16:24 |
ignas | either above or below the Person import | 16:25 |
lisppaste5 | jfroche pasted "import failing" at http://paste.lisp.org/display/36618 | 16:27 |
jfroche | still the same, if i move Person up i get: | 16:28 |
lisppaste5 | jfroche pasted "import Person failing" at http://paste.lisp.org/display/36619 | 16:28 |
jfroche | is it the fact that i have a person package in my jacqmain package ? | 16:29 |
ignas | no | 16:29 |
ignas | have you tried importing PerosnContainer before Person ? | 16:30 |
jfroche | yep i get: from schooltool.person.person import PersonContainer | 16:33 |
jfroche | ImportError: cannot import name PersonContainer | 16:33 |
*** Aiste has quit IRC | 16:39 | |
*** Aim2 has quit IRC | 16:39 | |
*** ignas has quit IRC | 16:39 | |
*** jfroche has quit IRC | 16:39 | |
*** wrobel has quit IRC | 16:39 | |
*** th1a has quit IRC | 16:39 | |
*** JohnnyST has quit IRC | 16:39 | |
*** lisppaste5 has quit IRC | 16:39 | |
*** alga has quit IRC | 16:39 | |
*** Fujitsu has quit IRC | 16:39 | |
*** alga has joined #schooltool | 16:39 | |
*** ignas has joined #schooltool | 16:39 | |
*** Fujitsu has joined #schooltool | 16:39 | |
*** jfroche has joined #schooltool | 16:39 | |
*** wrobel has joined #schooltool | 16:39 | |
*** th1a has joined #schooltool | 16:39 | |
*** Aiste has joined #schooltool | 16:39 | |
*** Aim2 has joined #schooltool | 16:39 | |
*** JohnnyST has joined #schooltool | 16:39 | |
jfroche | ignas: http://paste.lisp.org/display/36621 | 16:39 |
*** lisppaste5 has joined #schooltool | 16:39 | |
ignas | i would suggest you putting the local import from jacqmain.person.interfaces import IJacqmainPerson below the schooltool import | 16:40 |
ignas | and can you post me imports in the interfaces file as well | 16:40 |
jfroche | http://source.schooltool.org/viewcvs/branches/schooltool-jacqmain/src/jacqmain/person/interfaces.py?rev=6654&view=markup | 16:42 |
jfroche | it's really strange | 16:50 |
jfroche | added >>> from schooltool.person.person import Person | 16:51 |
jfroche | >>> from schooltool.person.person import PersonContainer | 16:51 |
jfroche | in doctest and no complains for them, but for the other one it's stille the same | 16:51 |
ignas | jfroche: you should read about circular imports in python | 17:01 |
mgedmin | schooltool should not have any circular imports, ideally | 17:02 |
ignas | mgedmin: BBB stuff and reimports in __init__ | 17:02 |
mgedmin | ah | 17:02 |
jfroche | ignas: i was doing it | 17:02 |
*** ignas has quit IRC | 18:39 | |
*** gintas has joined #schooltool | 20:05 | |
alga | th1a: we're meeting Jeff and Dave in 4 hours :) | 20:24 |
th1a | alga: Cool! | 20:24 |
*** ignas has joined #schooltool | 20:56 | |
*** jinty has quit IRC | 21:00 | |
*** Aiste has quit IRC | 21:02 | |
*** Aiste has joined #schooltool | 21:13 | |
*** wjohnsto has joined #schooltool | 22:56 | |
*** jfroche_ has joined #schooltool | 22:58 | |
*** jfroche has quit IRC | 22:58 | |
*** mgedmin has quit IRC | 23:02 | |
*** wjohnsto has quit IRC | 23:03 | |
*** gintas has quit IRC | 23:29 | |
*** alga has quit IRC | 23:33 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!