Hi Kirill, Thank you for trying Crosswalk!
Since you are building apps on Crosswalk Stable 9.38.208.10, please use latest version of manifest, https://crosswalk-project.org/documentation/manifest.html e.g. app launch "local_path" field has been replaced by "start_url". There was a encoding issue https://crosswalk-project.org/jira/browse/XWALK-2555 by passing Chinese characters to cmd line, but it's not exact the same since you are using manifest file + Russian Windows 7 and I didn't see any Russian characters in manifest file. Do you mind if you can try the latest version of manifest at first? If the issue still exists on Stable 9.38.208.10 and latest Canary https://download.01.org/crosswalk/releases/crosswalk/android/canary/11.39.266.0/ , please file a bug in https://crosswalk-project.org/jira/ . BR Belem -----Original Message----- From: Crosswalk-help [mailto:[email protected]] On Behalf Of Kirill Budenko Sent: Monday, December 15, 2014 5:57 PM To: [email protected] Subject: [Crosswalk-help] Endless build/UnicodeDecodeError Hello there.I have a problem with building sample hello world application (line by line from manual) on russian windows 7. First thing that go wrong is that weird encoding error: >Traceback (most recent call last): > File "make_apk.py", line 706, in <module> > sys.exit(main(sys.argv)) > File "make_apk.py", line 696, in main > MakeApk(options, app_info, manifest) > File "make_apk.py", line 436, in MakeApk > Execution(options, name) > File "make_apk.py", line 293, in Execution > RunCommand(update_project_cmd) > File "K:\PP\project\crosswalk\crosswalk-9.38.208.10\util.py", line >38, in RunC ommand > return output.decode("utf-8") >UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position >50: invalid start byte So i change the command line encoding as someone said on internet by using >chcp 65001 and that error is gone, but now instead of this my build is never complete (i wait for 3+ hours and nothing happens). And if i terminate the procces it would print >Traceback (most recent call last): > File "make_apk.py", line 706, in <module> > sys.exit(main(sys.argv)) > File "make_apk.py", line 696, in main > MakeApk(options, app_info, manifest) > File "make_apk.py", line 436, in MakeApk > Execution(options, name) > File "make_apk.py", line 247, in Execution > api_level = GetAndroidApiLevel(android_path) > File "make_apk.py", line 69, in GetAndroidApiLevel > target_output = RunCommand([android_path, 'list', 'target', '-c']) > File "K:\PP\project\crosswalk\crosswalk-9.38.208.10\util.py", line >30, in RunC ommand > output = proc.communicate()[0] > File "c:\python\lib\subprocess.py", line 946, in communicate > stdout = _eintr_retry_call(self.stdout.read) > File "c:\python\lib\subprocess.py", line 491, in _eintr_retry_call > return func(*args) Here is how i build: >python make_apk.py --package=org.crosswalkproject.example \ >--manifest=xwalk-simple/manifest.json and my manifest (complete from manual): >{ > "name": "simple", > "version": "0.0.0.1", > "app": { > "launch":{ > "local_path": "index.html" > } > }, > "icons": { > "128": "icon.png" > } >} Any idea of what am i doing wrong? --- Это сообщение свободно от вирусов и вредоносного ПО благодаря защите от вирусов avast! http://www.avast.com _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
