IvanVolosyuk / wifikeyboard

Automatically exported from code.google.com/p/wifikeyboard
GNU General Public License v2.0
169 stars 54 forks source link

unable to compile #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Line 198 on HttpService.java  InputStream is = 
getResources().openRawResource(R.raw.key);
2. The key filed is not defined, what should be the key value?

Original issue reported on code.google.com by kingsant...@gmail.com on 14 Apr 2013 at 7:27

GoogleCodeExporter commented 9 years ago
In my case, the key wasn't generated because of some problems in the 
make_template.py script. The script couldn't find the files because it was 
looking in the wrong directory.

I fixed this by adding 'import os;' to the imports.
And 'os.chdir(sys.path[0])' at the start of the script (before 'parse('en', 
values_en);'). This should correctly set the working directory so the files can 
be found and the key generated.

Original comment by wimpie...@gmail.com on 1 May 2013 at 9:23

GoogleCodeExporter commented 9 years ago
You will need this change: 
https://github.com/dscho/wifikeyboard/commit/bfc75166b61d86a2d22ec46d8480bc66c3a
af194 (easiest is to call `git fetch https://github.com/dscho/wifikeyboard 
cleanups && git cherry-pick bfc75166)`.

Original comment by johannes.schindelin on 19 Nov 2014 at 10:54