coding error (CP1251 ) directory when using Python27 Krakatau
Bytecode-viewer uses the path to the working file %USERPROFILE%. In Win32, with russian encoding CP1251 this way is: USERPROFILE = C:\Documents and Settings\Администратор Python does not work with the local encoding. The result is here these errors:
Krakatau Copyright (C) 2012-14 Robert Grosse This program is provided as open source under the GNU General Public License. See LICENSE.TXT for more details.
Error:
Traceback (most recent call last):
File "C:\Documents and Settings\Администратор.Bytecode-Viewer\krakatau_2\Krakatau-master\decompile.py", line 139, in
Exit Value is 1 Bytecode Viewer Version: 2.8.1
java.io.FileNotFoundException: C:\Documents and Settings\Администратор.Bytecode-Viewer\bcv_temp\BtXagATrCEYDwxASrtCoKqulLBeKspAH\ua\com\phlox\radiosleep\AlarmSound.java (Системе не удается найти указанный путь)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.
I propose to change the working directory to the current, from which you are running "BytecodeViewer 2.8.1.jar". To ".Bytecode-Viewer\krakatau_2\Krakatau-master" was created in the same folder where the "BytecodeViewer 2.8.1.jar".
Very interesting, I'll look into this thanks for the report!
Hello! Very interesting your program BytecodeViewer. If you develop it, then I'll be happy to share their concerns and problems found. For example, to edit a copy of "BytecodeViewer 2.8.1.jar" mode "Smali Editable" on the subject to be removed from the code (const-string v2, "user.home"), substituting (const-string v2, "") and then save the changes - did not work ;) I'm still very new to programming in java, although the experience of IT I have a lot and I do not understand why again while maintaining query main class? After all, he does not change.
Yes, and offer my apologies for the English language. I use google translator, I myself Russian.
Пятница, 13 февраля 2015, 10:46 -08:00 от "Kalen (Konloch) Kinloch" [email protected]:
Very interesting, I'll look into this thanks for the report! — Reply to this email directly or view it on GitHub .
The smali editor is more for android APKs
I know, but editable only 2 modes (Krakatau and Smali Editable). Krakatau I did not work I described why smali stayed but it was not possible to edit quickly BytecodeViewer 2.8.1.jar
And another question, lead a discussion on where your program is preferable? Here on the forum, or in the mail?
Email works, we could also talk on Skype if you want. My email is [email protected]
The answer is looking in the mail.
Verified this is a Krakatau related issue, please report this to the Krakatau github.