I´m writting my first MuranoPL Package based on the ApacheHttpServer and MySql Server. While uploading the package, I encountered with the following error in the red pop-up:
Error: Uploading package failed. (_mysql_exceptions.OperationalError) (1366, "Incorrect string value: '\\xB4s net...' for column 'ui_definition' at row 1") [SQL: u'INSERT INTO package (created, updated, id, archive, fully_qualified_name, type, author, supplier, name, enabled, description, is_public, logo, owner_id, ui_definition, supplier_logo) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)'] [parameters: (datetime.datetime(2016, 4, 20, 13, 22, 35, 267563), datetime.datetime(2016, 4, 20, 13, 22, 35, 267570), '6b487d5305534976b936a45fb3de8ed9', 'PK\x03\x04\x14\x00\x00\x00\x00\x00(W\x8fH\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00Classes/PK\x03\x04\x14\x00\x00\x00\x08\x00\'O\x94H\x16\x18\xf9\xe1\x83\x04\x00\x00j\x17\x00\x00\x16\x00\x00\x00Classes/apachesql.yaml\xcdX\xd9\xae\xd30\x10}\xa6R\xff\xc1\x08\xa4$R\t\xab\x10\x8a\x04\xa2\xec\x95(*\xeb\x0bB\xc8M\xdc6Rj\x07\xdb\xb9P\x10\xff\xce\xd8\x8e\xe34\xcb\xa5\xcd-K\x9fnl\xcf\xcc\x99\xf1\x99\x93\xc9}\x85\xb7D\xe48&"\x1a\x8f\x10B\xf7#\x94\xb2p[pLY\x88\xf3\\\xe8U!\x93\xda\xbaY\xda\x89\xfaQx\x94d\xabw\x92e}#\xc1\x12/\xb1 \xa5#~\xd6\x19\x80\x93=o\xf0\xc8\n\x1e\x97F\xe3\x91B\x19!\x0c87D|\xc9\xc6\xa3\xf1\xe8\xe97Ih\x02V\xfa\xc85\rq\x9a\xe7Y\x1ac\x992jV\x15\x96\xb7_\xb2\'%\x06e\xb7\xe0,\'\\\xa66aB\xf12#\x8b\x17\x0b\xf5\xa8\x7f\x8f\x19\x95\x1c\xc72BW\xc3%c\x99\x1f\x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;\xb0\xc3?\xa1a\xbf\x94\xe636]\x91}e\xf6\x9c@)\xfd\r\xe7r%[H`\xc4xe\x9d\x9d0.\xd8\x98\x0bn\xe7\x1f\x94\\\xa1\xd8\x96\xac,\x18\xc3\xa7\xf2\xa9P\xcc\xdd\x8a\xbd|)sZB\xa3R9r\xd7,\xa6\xa70\xf8D\x9ep\xba[3\x946^\xa3\x8b\xe9\xbfs|_\x16B4\r=\x15\xac\xb60a\xc2TnW\x85\xe0\xa0t\x01\xcc)\xb7Iv^N{\xf5A=\xd8\xf2g\xdd\x7f \xa8\x16\\\xbfA\xdf\xaf\xc5\x85\xadFu\xb9\xd1\xe0\xe4\xe1\xeb\xfd\xff\x84\xfcO\xc8\xbfL\xc8\xabW\x9e*=\x8b\x00\xfb\xd0\x8eL\x05|\xc2Q\xa4u\x1c\xbcp\xc8$\xf5\x17\x94\xc1\xf1\x16\x85\x8d\xd5\x14\xcd\xc6F\x8a&\xd1\x99\x83Q3\xaclist(), $!=null=>$customJoinNet)\r\n instanceSQL:\r\n ?:\r\n type: io.murano.resources.LinuxMuranoInstance\r\n name:generateHostname($.instanceConfiguration.unitNamingPattern, 1)\r\n flavor: $.instanceConfiguration.flavor\r\n image: $.instanceConfiguration.osImage\r\n keyname: $.instanceConfiguration.keyPair\r\n availabilityZone: $.instanceConfiguration.availabilityZone\r\n assignFloatingIp: $.appConfiguration.assignFloatingIP\r\n networks:\r\n useEnvironmentNetwork: $.instanceConfiguration.network[0]=null\r\n useFlatNetwork: false\r\n customNetworks: switch($.instanceConfiguration,network[0], $=null=>list(), $!=null=>$customJoinNet)\r\n\r\nForms:\r\n - appConfiguration:\r\n fields:\r\n - name: license\r\n type: string\r\n description: Apache License, Version 2.0\r\n hidden: true\r\n required: false\r\n - name: enablePHP\r\n label: Enable PHP\r\n type: boolean\r\n description: >-\r\n Add php support to the Apache WebServer\r\n initial: false\r\n required: false\r\n - name: assignFloatingIP\r\n type: boolean\r\n label: Assign Floating IP\r\n description: >-\r\n Select to true to assignt floating IP automatically\r\n initial: false\r\n required: false\r\n\r\n - instanceConfiguration:\r\n fields:\r\n - name: title\r\n type: string\r\n required: false\r\n hidden: true\r\n description: Specify some instance parameters on which the application would be created\r\n - name: flavor\r\n type: flavor\r\n label: Instance flavor\r\n description: >-\r\n Select registered in Openstack flavor. Consider that application performance depends on this parameter.\r\n required: false\r\n - name: osImage\r\n type: image\r\n imageTyoe: linux\r\n label: Instance image\r\n description: >-\r\n Select valid image for the application. Image should already be prepared and registered in glance.\r\n - name: keyPair\r\n type: keypair\r\n label: Key Pair\r\n description: >-\r\n Select the Key Pair to control access to instances. You can login to instances using this KeyPair after the deployment of application.\r\n required: false\r\n - name: availabilityZone\r\n type: azone\r\n label: Availability zone\r\n description: Select availability zone where application would be installed.\r\n required: false\r\n - name: network\r\n type: network\r\n label: Network\r\n description: Select a network to join. 'Auto' corresponds to a default environment\xb4s network.\r\n required: false\r\n murano_networks: translate\r\n - name: unitNamingPattern\r\n type: string\r\n label: Instance Naming Pattern\r\n required: false\r\n maxLength: 64\r\n regexpValidator: '^[a-zA-z][-_\\w]*$'\r\n errorMessages:\r\n invalid: Just letters, numbers, underscores and hyphens are allowed.\r\n helpText: Just letters, numbers, underscores and hyphens are allowed.\r\n description: >-\r\n Specify a string, that will be used in instance hostname.\r\n Just A-Z, a-z, 0-9, dash and underline are allowed.\r\n\r\n - initDatabaseConfiguration:\r\n fields:\r\n - name: title\r\n type: string\r\n required: false\r\n hidden: true\r\n descriptionTitle: Database COnfiguration\r\n description: Specify the properties of the database which be created at MySql Server\r\n - name: dbName\r\n type: string\r\n required: false\r\n label: Database name\r\n description: >-\r\n Please, provide database name that is going to be created.\r\n - name: dbUser\r\n type: string\r\n required: false\r\n label: Database Username\r\n description: >-\r\n Please, provide username that is going to be used do connect to the database.\r\n - name: dbPassword\r\n type: password\r\n required: false\r\n label: Database Password\r\n descriptionTitle: Password\r\n description: >-\r\n Please, provide password that is going to connect to database.", None)]
I have no ideia why this is happening. I searched for errors in all the files , made sure there aren't any tabs and only spaces...
My files can be found for download in this link with no viruses, of course:
https://drive.google.com/file/d/0B2abGlZD0MBVNW0tYU1GeE55V00/view?usp=sharing
Thanks!
Julianna Nunes