B4J Question 1 is not a supported code page

tufanv

Expert
Licensed User
Longtime User
Hello,

With b4j 5.80 , I can compile in debug mode but i can't in release mode I am getting the error in the subject.

What can be the problem ?
 

tufanv

Expert
Licensed User
Longtime User
You should try on a PC coming from England/USA with an english OS installed only by native english people. :)
I see on Internet that other people have the same problem with SharpZipLib:
http://community.sharpdevelop.net/forums/t/19065.aspx
https://forums.sonarr.tv/t/update-process-failed-1-is-not-a-supported-code-page/3253/11

:)) i read things similar to that .The interesting thing is , it just started yesterday, changed nothing during yesterday. If it wasnt working till the beginning i would understand but this is weird.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
Did you try the solutions suggested in the links?


Tried these with no luck :
[Another way to fix this is to actually change the system settings of the Windows Machine to English. This can be done from Control Panel > Region > Administrative Tab > Copy Settings.

An easy way to fix this is by stopping the windows service by doing the following: Run > "services.msc" > nzbdrone > right click > stop > right click again > properties > log on tab > log in with the profile account > start service again.

but ı dont know what nzbdrone is , maybe that is a process specific to their product I dont know , its not in my list. I tried to find b4j maybe but it wasnt in the list too.[/QUOTE]
 
Upvote 0

keirS

Well-Known Member
Licensed User
Longtime User
Tried these with no luck :


but ı dont know what nzbdrone is , maybe that is a process specific to their product I dont know , its not in my list. I tried to find b4j maybe but it wasnt in the list too.

Specific to the product I would say. NZB is a file format used to download multiple messages from a NNTP (Usenet) server.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
I've uploaded a new beta. Try it. It should show more information about the error.
Make sure that the About box says v5.83 beta 0.

Also try File - Export as zip. Does it work?
Thanks Erel , I will be able to test it in the evening from the office. I will report here.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
I've uploaded a new beta. Try it. It should show more information about the error.
Make sure that the About box says v5.83 beta 0.

Also try File - Export as zip. Does it work?

Tried it now with teamviewer.

Release gives these details as error :

B4X:
Parameter name: codepage
   at System.Text.Encoding.GetEncoding(Int32 codepage)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries()
   at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor(String name)
   at fp.g.g()


Export as zip not working . same error.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
The "1 is not a supported code page" message doesn't appear?
it appears sorry this is the full message:
B4X:
B4J Version: 5.83 BETA 0
Parsing code.    (0.03s)
Compiling code.    (0.09s)
   
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
Compiling generated Java code.    (1.54s)
Building jar file.    Error
System.ArgumentException: 1 is not a supported code page.
Parameter name: codepage
   at System.Text.Encoding.GetEncoding(Int32 codepage)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries()
   at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor(String name)
   at fp.g.g()
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
I've uploaded a new beta. Try it. If you still get this error then run it with -log and check the IDE logs.
Ok . this gave error again but a diffrent one about a webview :

B4X:
src\ct\bitcoindesktop\main.java:85: error: cannot find symbol
public static anywheresoftware.b4j.objects.WebViewWrapper _vvvvvvvv5 = null;
                                          ^
  symbol:   class WebViewWrapper
  location: package anywheresoftware.b4j.objects
Note: src\ct\bitcoindesktop\main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

this was a webview added to designer later deleted . I couldnt find the webview in the designer. Just removing the
private w as webview
fixed the error and i can compile now. Thanks very much Erel ! You spent too much time for only 1 user .

My question is. that line did not make any problem in my other pc but for this pc it was causing codeerror. What may be the reason ?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
You spent too much time for only 1 user .
I'm sure that others would have eventually encounter this issue.

My question is. that line did not make any problem in my other pc but for this pc it was causing codeerror. What may be the reason ?
Are you sure that this is a UI project?
 
Upvote 0
Top