Unable to calculate checksum for ᜉ.

Technical support for Spire.BarCode.

Moderator: iceblue support

Unable to calculate checksum for ᜉ.

Postby cesareks » Tue Jul 01, 2014 12:56 pm

I passed "13723/14-08" to Data property of BarcodeSettings in my C# program. When I try to generate barcode I got an error

[code]
An unhandled exception of type 'sprᠱ' occurred in System.Windows.Forms.dll

Additional information: Unable to calculate checksum for ᜉ.
[code]

Any other combination I pass ("13723/14-07" or "13723/14-09" for example) works fine. Where is the problem ?
cesareks
 
Posts: 2
Joined: Tue Jul 01, 2014 12:33 pm

Re: Unable to calculate checksum for ᜉ.

Postby Benjamin Du » Wed Jul 02, 2014 2:03 am

Hello,

Sorry for the inconvenience caused by us.
Would you please provide us the below detailed information, which may help us to reproduce your issue and offer the solution to you quickly.

1. Dll file list (name + version), for example:
Spire.Doc.dll v4.9.32.3040
Spire.License.dll v4.9.32.3040
Spire.Pdf.dll v2.8.86.3040

2. Operation System, for example:
Windows 7 Enterprise Edition SP1 x64
Regional and Language Options

3. Project can reproduce the issue
All code about this problem, a simple project which can reproduce this problem will be better.

4. Test Document or Test data
Please provide your test document to us if convenient, it may help us reproduce your issue quickly. We promise to keep your document confidential and we will not use it for any other purpose. Besides, you could also remove the security data of your document and then send it to us.

Thanks and Regards,
Benjamin
E-iceblue support team
User avatar
Benjamin Du
 
Posts: 83
Joined: Thu Jul 25, 2013 2:38 am

Re: Unable to calculate checksum for ᜉ.

Postby cesareks » Wed Jul 02, 2014 6:01 am

File: Spire.Barcode.dll
Version: 1.2.3.21040

Operation system: Windows7 Professional Service Pack 1

Test project included as attachment.
cesareks
 
Posts: 2
Joined: Tue Jul 01, 2014 12:33 pm

Re: Unable to calculate checksum for ᜉ.

Postby Benjamin Du » Wed Jul 02, 2014 6:52 am

Hello,

I didn’t receive your test project. Could you please send your test project as zip file to our E-mail:
Support@e-iceblue.com.
If you get any questions, welcome to get it back to us.

Regards,
Benjamin
E-iceblue support team
User avatar
Benjamin Du
 
Posts: 83
Joined: Thu Jul 25, 2013 2:38 am

Re: Unable to calculate checksum for ᜉ.

Postby FenixCode » Tue Jul 29, 2014 6:08 pm

have some problem, help please.

this is number code 420086209400110200828264803181convert to EAN128
FenixCode
 
Posts: 1
Joined: Tue Jul 29, 2014 5:59 pm

Re: Unable to calculate checksum for ᜉ.

Postby Gary.zhang » Wed Jul 30, 2014 7:43 am

Hello,

Thanks for your inquiry.
We have posted the issue to our Dev team, once there are any progress, we will let you know ASAP.
Sincerely,
Gary
E-iceblue support team
User avatar
Gary.zhang
 
Posts: 1312
Joined: Thu Apr 04, 2013 1:30 am

Re: Unable to calculate checksum for ᜉ.

Postby lisa.chen » Sat Oct 11, 2014 3:18 am

Hi Milutin Mitrovic,

Sorry for the inconvenience caused by us.
Please test below code to solve your problem.
Code: Select all
OrderNoBarCodeSetting.Data = GetEncodingText("13723/14-08");

public string GetEncodingText(string unicodeStr)
        {
            string encodingResult = "";
            byte[] byteArray = Encoding.Unicode.GetBytes(unicodeStr);
            foreach (byte b in byteArray)
                encodingResult += (char)b;
            return encodingResult;
        }

In this code we call the GetEncodingText() method to get the Data property of BarcodeSettings

If you get any questions, welcome to get it back to us.
Best Regards,
Lisa
E-iceblue support team
User avatar
lisa.chen
 
Posts: 21
Joined: Thu Mar 20, 2014 2:31 am

Re: Unable to calculate checksum for ᜉ.

Postby jimnet » Wed Nov 12, 2014 6:20 pm

I'm evaluating your barcode component using the EAN128 barcode type, but it fails calculating the checksum. The proposed workaround described above does not help as it creates a HUGE barcode that is not usable at all, although the library works perfectly well with the majority of the codes I'm using, and generates a well-sized barcode.

Some codes that generate the checksum error follows:

0611201401069007370600110020010001383102352217515
0611201406069007370600110020010000822340248313811
0611201406069007370600110020010000822292347143611

Some codes that work well, generating a valid well-sized barcode follows:

0611201401069007370600110020010001383239699781912
0611201401069007370600110020010001383156298124614
0611201401069007370600110020010001383345387478915

Please review the attached file for reference.
You do not have the required permissions to view the files attached to this post.
Last edited by jimnet on Thu Nov 13, 2014 5:13 pm, edited 1 time in total.
jimnet
 
Posts: 2
Joined: Wed Nov 12, 2014 5:53 pm

Re: Unable to calculate checksum for ᜉ.

Postby burning.liu » Thu Nov 13, 2014 7:10 am

Dear jimnet,

Thanks for your inquiry.

The issue you mentioned is similar to the previous one and my colleague has reported it to dev team.
We will inform you if there is any update.

Best Regards,
Burning
E-iceblue Support Team
Best Regards,
Burning
E-iceblue Support Team
User avatar
burning.liu
 
Posts: 410
Joined: Mon Aug 04, 2014 6:47 am

Re: Unable to calculate checksum for ᜉ.

Postby jimnet » Thu Nov 13, 2014 5:26 pm

Thanks so much. I hope it won't take too much time as I will start my development effort during the upcoming weeks, and would like to use (and share good comments on) your solution.
jimnet
 
Posts: 2
Joined: Wed Nov 12, 2014 5:53 pm

Re: Unable to calculate checksum for ᜉ.

Postby romanop1 » Tue Mar 10, 2015 8:46 am

Hallo, I have same problem. Is there some solution to this problem?
I am sending code, which generates exception


String barcode = String.Empty;

try
{
for (UInt64 i = 1; i < 100000; i++)
{
barcode = String.Format("{0:0000}{1:00}{2:0000}{3:00000}{4:ddMMyyyyHHmm}", 1, 1, 1, i, DateTime.Now);

BarcodeSettings settings = new BarcodeSettings();

settings.Data2D = barcode;
settings.Data = barcode;
settings.Type = BarCodeType.EAN128;
settings.ShowTopText = false;
settings.TextFont = new Font(settings.TextFont.FontFamily, 14.2F);
//settings.HasBorder = true;

string font = "SimSun";

//generate the barcode use the settings
BarCodeGenerator generator = new BarCodeGenerator(settings);
Image barcodeimage = generator.GenerateImage();

Bitmap bmp = new Bitmap(barcodeimage);
Brush brush = new SolidBrush(Color.White);
Graphics gBmp = Graphics.FromImage(barcodeimage);
gBmp.FillRectangle(brush, 0, 0, 100, 20);
}
}
catch (Exception ex)
{
Console.WriteLine("{0}", barcode);
Console.WriteLine("{0}", ex.ToString());
}
romanop1
 
Posts: 1
Joined: Tue Mar 10, 2015 8:29 am

Re: Unable to calculate checksum for ᜉ.

Postby amy.zhao » Tue Mar 10, 2015 9:46 am

Hello,

Thanks for your inquiry.
I have reported your issue to our dev team. We will inform you when it is resolved.

Best wishes,
Amy
E-iceblue support team
User avatar
amy.zhao
 
Posts: 2195
Joined: Wed Jun 27, 2012 8:50 am

Re: Unable to calculate checksum for ᜉ.

Postby ReeCreate » Wed May 27, 2015 4:10 pm

Hi, we're having exactly the same error trying to generate a EAN128 barcode. The string we are using is:

(10)GA00020740(240)MT001(15)150614(3101)003725

Other similar strings work fine. Any news on this error?

Thanks
ReeCreate
 
Posts: 1
Joined: Wed May 27, 2015 4:08 pm

Re: Unable to calculate checksum for ᜉ.

Postby Gary.zhang » Thu May 28, 2015 9:06 am

Hello,

Sorry that there is no any update on this error.

Sincerely,
Gary
E-iceblue support team
User avatar
Gary.zhang
 
Posts: 1312
Joined: Thu Apr 04, 2013 1:30 am

Re: Unable to calculate checksum for ᜉ.

Postby Urison » Fri Aug 28, 2015 1:13 pm

Unfortunately, I also have the same problem.
I can not use this library, if it is not working properly.
That's why I have a question. Is this mistake will be corrected in the near future?
Urison
 
Posts: 1
Joined: Fri Aug 28, 2015 1:07 pm

Next

Return to Spire.BarCode

Who is online

Users browsing this forum: No registered users and 0 guests