{"action":"opened","issue":{"url":"https://api.github.com/repos/Jumpscale/jumpscale_core8/issues/600","repository_url":"https://api.github.com/repos/Jumpscale/jumpscale_core8","labels_url":"https://api.github.com/repos/Jumpscale/jumpscale_core8/issues/600/labels{/name}","comments_url":"https://api.github.com/repos/Jumpscale/jumpscale_core8/issues/600/comments","events_url":"https://api.github.com/repos/Jumpscale/jumpscale_core8/issues/600/events","html_url":"https://github.com/Jumpscale/jumpscale_core8/issues/600","id":192530851,"number":600,"title":"mvp-cockpit: ays blueprint => capnperror","user":{"login":"yveskerwyn","id":13795109,"avatar_url":"https://avatars.githubusercontent.com/u/13795109?v=3","gravatar_id":"","url":"https://api.github.com/users/yveskerwyn","html_url":"https://github.com/yveskerwyn","followers_url":"https://api.github.com/users/yveskerwyn/followers","following_url":"https://api.github.com/users/yveskerwyn/following{/other_user}","gists_url":"https://api.github.com/users/yveskerwyn/gists{/gist_id}","starred_url":"https://api.github.com/users/yveskerwyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yveskerwyn/subscriptions","organizations_url":"https://api.github.com/users/yveskerwyn/orgs","repos_url":"https://api.github.com/users/yveskerwyn/repos","events_url":"https://api.github.com/users/yveskerwyn/events{/privacy}","received_events_url":"https://api.github.com/users/yveskerwyn/received_events","type":"User","site_admin":false},"labels":[{"id":295281533,"url":"https://api.github.com/repos/Jumpscale/jumpscale_core8/labels/type_bug","name":"type_bug","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Jumpscale/jumpscale_core8/milestones/8","html_url":"https://github.com/Jumpscale/jumpscale_core8/milestones/8.1.0","labels_url":"https://api.github.com/repos/Jumpscale/jumpscale_core8/milestones/8/labels","id":1699627,"number":8,"title":"8.1.0","description":"# minimal feature & bugfix release\r\n\r\n- is beta release\r\n- all known blocking bugs fixed\r\n- all features as required for proper working 8.1.0 cockpit & portal \r\n\r\n## owner:despiegk\r\n## branch: js81\r\n","creator":{"login":"despiegk","id":6021844,"avatar_url":"https://avatars.githubusercontent.com/u/6021844?v=3","gravatar_id":"","url":"https://api.github.com/users/despiegk","html_url":"https://github.com/despiegk","followers_url":"https://api.github.com/users/despiegk/followers","following_url":"https://api.github.com/users/despiegk/following{/other_user}","gists_url":"https://api.github.com/users/despiegk/gists{/gist_id}","starred_url":"https://api.github.com/users/despiegk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/despiegk/subscriptions","organizations_url":"https://api.github.com/users/despiegk/orgs","repos_url":"https://api.github.com/users/despiegk/repos","events_url":"https://api.github.com/users/despiegk/events{/privacy}","received_events_url":"https://api.github.com/users/despiegk/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":16,"state":"open","created_at":"2016-04-12T05:59:51Z","updated_at":"2016-11-30T10:38:20Z","due_on":"2016-12-02T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-11-30T10:38:20Z","updated_at":"2016-11-30T10:38:20Z","closed_at":null,"body":"Context: Cockpit repository \"yves06\" on the [Artilium Cockpit]( https://gig.demo.greenitglobe.com/CBGrid/Virtual%20Machine?id=3856)\r\n\r\nSomething wrong in my blueprint?\r\n\r\nStack trace:\r\n\r\n```\r\nroot@vm-3856:/optvar/cockpit_repos/yves06# ays blueprint\r\n/opt/jumpscale8/lib/JumpScale/data/capnp/ModelBase.py:67: UserWarning: This message has already been written once. Be very careful that you're not setting Text/Struct/List fields more than once, since that will cause memory leaks (both in memory and in the serialized data). You can disable this warning by setting the `_is_written` field of this object to False after every write.\r\n  buff = self.dbobj.to_bytes()\r\ncannot create data for schema from arguments, value type mismatch.\r\narguments:\r\n{\r\n \"bootdiskSize\":10,\r\n \"description\":\"\",\r\n \"disk\":[\r\n\r\n ],\r\n \"ipPrivate\":\"\",\r\n \"ipPublic\":\"\",\r\n \"machineId\":0,\r\n \"memory\":2,\r\n \"osImage\":\"Ubuntu 16.04 x64\",\r\n \"ovfCallbackUrl\":\"\",\r\n \"ovfLink\":\"\",\r\n \"ovfPassword\":\"\",\r\n \"ovfPath\":\"\",\r\n \"ovfUsername\":\"\",\r\n \"ports\":[\r\n  427342\r\n ],\r\n \"sshAddr\":\"\",\r\n \"sshLogin\":\"\",\r\n \"sshPassword\":\"\",\r\n \"sshPort\":0,\r\n \"sshkey\":\"\",\r\n \"vdc\":\"vdc4js8\"\r\n}\r\nschema:\r\n\r\n@0xb7289a47d6f28893;\r\nstruct Schema {\r\n\tdescription @0 :Text;\r\n\tbootdiskSize @1 :Int32;\r\n\tmemory @2 :Int32;\r\n\tosImage @3 :Text;\r\n\tports @4 :List(Text);\r\n\tmachineId @5 :Int32;\r\n\tipPublic @6 :Text;\r\n\tipPrivate @7 :Text;\r\n\tsshLogin @8 :Text;\r\n\tsshPassword @9 :Text;\r\n\tvdc @10 :Text;\r\n\tdisk @11 :List(Text);\r\n\tsshkey @12 :Text;\r\n\tsshAddr @13 :Text;\r\n\tsshPort @14 :Int32;\r\n\tovfLink @15 :Text;\r\n\tovfUsername @16 :Text;\r\n\tovfPassword @17 :Text;\r\n\tovfPath @18 :Text;\r\n\tovfCallbackUrl @19 :Text;\r\n\r\n}\r\ncapnperror: expected reader.type == TEXT; Value type mismatch.\r\n\r\n\r\n**** TRACEBACK ***\r\nTraceback (most recent call last):\r\n  File \"/opt/jumpscale8//lib/JumpScale/data/capnp/Capnp.py\", line 67, in getObj\r\n    configdata = schema.new_message(**args)\r\n  File \"capnp/lib/capnp.pyx\", line 3045, in capnp.lib.capnp._StructModule.new_message (capnp/lib/capnp.cpp:63205)\r\n  File \"capnp/lib/capnp.pyx\", line 2855, in capnp.lib.capnp._new_message (capnp/lib/capnp.cpp:60658)\r\n  File \"capnp/lib/capnp.pyx\", line 1432, in capnp.lib.capnp._DynamicStructBuilder.from_dict (capnp/lib/capnp.cpp:30941)\r\n  File \"capnp/lib/capnp.pyx\", line 1426, in capnp.lib.capnp._DynamicStructBuilder.from_dict (capnp/lib/capnp.cpp:30838)\r\n  File \"capnp/lib/capnp.pyx\", line 1245, in capnp.lib.capnp._DynamicStructBuilder._set (capnp/lib/capnp.cpp:27574)\r\n  File \"capnp/lib/capnp.pyx\", line 720, in capnp.lib.capnp._setDynamicField (capnp/lib/capnp.cpp:17387)\r\n  File \"capnp/lib/capnp.pyx\", line 903, in capnp.lib.capnp._from_list (capnp/lib/capnp.cpp:20952)\r\n  File \"capnp/lib/capnp.pyx\", line 504, in capnp.lib.capnp._DynamicListBuilder._set (capnp/lib/capnp.cpp:13140)\r\n  File \"capnp/lib/capnp.pyx\", line 707, in capnp.lib.capnp._setDynamicField (capnp/lib/capnp.cpp:16334)\r\ncapnp.lib.capnp.KjException: src/capnp/dynamic.c++:1713: failed: expected reader.type == TEXT; Value type mismatch.\r\nstack: 0x7f8503b1bb09 0x7f8503b1f73d 0x7f8503af5a2c 0x7f8503ae9273 0x7f8503af4668 0x7f85039f05f0 0x7f85039f2e8b 0x7f8503951a08 0x7f85039ed71e 0x7f85039efaf5 0x7f850396ce48 0x7f8503967d74 0x7f850398239b 0x7f85039826d2 0x4e1757 0x5bcf47\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/opt/jumpscale8/bin/ays\", line 490, in <module>\r\n    cli()\r\n  File \"/opt/jumpscale8/bin/ays\", line 137, in blueprint\r\n    repo.blueprintExecute(role=role, instance=instance, path=path)\r\n  File \"/opt/jumpscale8/lib/JumpScale/baselib/atyourservice81/AtYourServiceRepo.py\", line 320, in blueprintExecute\r\n    bp.load(role=role, instance=instance)\r\n  File \"/opt/jumpscale8/lib/JumpScale/baselib/atyourservice81/Blueprint.py\", line 181, in load\r\n    actor.serviceCreate(instance=bpinstance, args=args)\r\n  File \"/opt/jumpscale8/lib/JumpScale/baselib/atyourservice81/Actor.py\", line 378, in serviceCreate\r\n    service = Service(aysrepo=self.aysrepo, actor=self, name=instance, args=args)\r\n  File \"/opt/jumpscale8/lib/JumpScale/baselib/atyourservice81/Service.py\", line 22, in __init__\r\n    self._initFromActor(actor, args=args, name=name)\r\n  File \"/opt/jumpscale8/lib/JumpScale/baselib/atyourservice81/Service.py\", line 87, in _initFromActor\r\n    dbobj.data = j.data.capnp.getBinaryData(j.data.capnp.getObj(dbobj.dataSchema, args=args))\r\n  File \"/opt/jumpscale8//lib/JumpScale/data/capnp/Capnp.py\", line 86, in getObj\r\n    raise j.exceptions.Input(message=msg, level=1, source=\"\", tags=\"\", msgpub=\"\")\r\nJSExceptions.Input: ERROR: cannot create data for schema from arguments, value type mismatch.\r\narguments:\r\n{\r\n \"bootdiskSize\":10,\r\n \"description\":\"\",\r\n \"disk\":[\r\n\r\n ],\r\n \"ipPrivate\":\"\",\r\n \"ipPublic\":\"\",\r\n \"machineId\":0,\r\n \"memory\":2,\r\n \"osImage\":\"Ubuntu 16.04 x64\",\r\n \"ovfCallbackUrl\":\"\",\r\n \"ovfLink\":\"\",\r\n \"ovfPassword\":\"\",\r\n \"ovfPath\":\"\",\r\n \"ovfUsername\":\"\",\r\n \"ports\":[\r\n  427342\r\n ],\r\n \"sshAddr\":\"\",\r\n \"sshLogin\":\"\",\r\n \"sshPassword\":\"\",\r\n \"sshPort\":0,\r\n \"sshkey\":\"\",\r\n \"vdc\":\"vdc4js8\"\r\n}\r\nschema:\r\n\r\n@0xb7289a47d6f28893;\r\nstruct Schema {\r\n\tdescription @0 :Text;\r\n\tbootdiskSize @1 :Int32;\r\n\tmemory @2 :Int32;\r\n\tosImage @3 :Text;\r\n\tports @4 :List(Text);\r\n\tmachineId @5 :Int32;\r\n\tipPublic @6 :Text;\r\n\tipPrivate @7 :Text;\r\n\tsshLogin @8 :Text;\r\n\tsshPassword @9 :Text;\r\n\tvdc @10 :Text;\r\n\tdisk @11 :List(Text);\r\n\tsshkey @12 :Text;\r\n\tsshAddr @13 :Text;\r\n\tsshPort @14 :Int32;\r\n\tovfLink @15 :Text;\r\n\tovfUsername @16 :Text;\r\n\tovfPassword @17 :Text;\r\n\tovfPath @18 :Text;\r\n\tovfCallbackUrl @19 :Text;\r\n\r\n}\r\ncapnperror: expected reader.type == TEXT; Value type mismatch.\r\n ((type:input.error)\r\n```"}}
{"actor":{"display_login":"yveskerwyn"}}