Strona 1 z 1

Problem z Entomolabels 8.3.0.1 - komunikat błędu przy wydruku etykiet

: 11 stycznia 2026, 20:26 - ndz
autor: michausm
[Do Grzegorza B.]
Cześć, po przesiadce na nowego laptopa (Windows 11), świeża instalacja entomolabels 8.3.0.1.
Wczytuję etykiety z CSV, wybieram szablon wydruku (moje koperty briologiczne, ponad 300 sztuk) i przy naciśnięciu ikonki drukowania otrzymuję następujący komunikat błędu (poniżej), druk jest oczywiście niemożliwy. Wcześniej na laptopie z Windows 7 to wszystko działało.

Kod: Zaznacz cały

Message:
Found empty contents
--------------------
Stack trace:
   w ZXing.QrCode.QRCodeWriter.encode(String contents, BarcodeFormat format, Int32 width, Int32 height, IDictionary`2 hints)
   w ZXing.BarcodeWriterGeneric.Encode(String contents)
   w ZXing.BarcodeWriter`1.Write(String contents)
   w EntomoLabels.MainWindowCode.CodeManager.GenerateQRCode(String qrValue)
   w EntomoLabels.MainWindowCode.ElementRenders.ImageRender.GetGraphicsSource(EL_Graphics graphics, PrintingContext context)
   w EntomoLabels.MainWindowCode.ElementRenders.ImageRender.draw(EL_Graphics graphics, PrintingContext context)
   w EntomoLabels.EntomoLabelManager.DrawElement(Element element, PrintingContext context)
   w EntomoLabels.Code.LabelPrinting.PrintLabelSetPreparer.CreateLabelCanvas(Double width, Double height, LabelSet labelset, Boolean& needsUniqueCanvas)
   w EntomoLabels.Code.LabelPrinting.PrintLabelSetPreparer.PrepareLabelSet(LabelSet labelset)
   w EntomoLabels.Code.LabelPrinting.PrintLabelSetPreparer.PreparePages(List`1 labelsList, Boolean isPreviewMode)
   w EntomoLabels.PrintWindow.PrintingImpl.prepare_labels(PrintProperties properties, Boolean preview)
   w EntomoLabels.PrintWindow.PrintingImpl.print(PaperSizeWithOrientation pageSize, PrintProperties properties)
   w EntomoLabels.PrintWindow.printBtn_Click(Object sender, RoutedEventArgs e)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.Controls.Primitives.ButtonBase.OnClick()
   w System.Windows.Controls.Button.OnClick()
   w System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   w System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   w System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   w System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   w System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   w System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   w System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   w System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   w System.Windows.Input.InputManager.ProcessStagingArea()
   w System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   w System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   w System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   w System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   w MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   w System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   w System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Re: Problem z entomolabels 8.3.0.1 - komunikat błędu przy wydruku etykiet

: 13 stycznia 2026, 13:46 - wt
autor: Jacek Kurzawa
Może ta diagnoza pomoże:

Prawdopodobne przyczyny
1. Pusty wiersz lub puste pole w pliku CSV – Twój szablon koperty briologicznej prawdopodobnie zawiera element QR Code, który jest powiązany z jakimś polem danych (np. numer katalogowy, URL, identyfikator okazu). Jeśli choć jeden rekord w CSV ma to pole puste, program się wysypuje.

2. Różnice w kodowaniu pliku CSV – Windows 11 może inaczej interpretować plik CSV (np. inny separator, inna strona kodowa UTF-8/ANSI). To może powodować, że mapowanie pól nie działa poprawnie.

3. Brak mapowania pola QR w szablonie – Po reinstalacji szablony mogły zostać zaimportowane bez poprawnego mapowania do pól CSV.

Spróbuj tego:
Otwórz plik CSV i sprawdź, czy kolumna używana do generowania QR kodów ma uzupełnione wartości we wszystkich wierszach.

Sprawdź szablon wydruku w EntomoLabels:

Czy element QR Code jest poprawnie powiązany z istniejącą kolumną z CSV?
Czy nazwa kolumny się zgadza (wielkość liter, spacje)?
Spróbuj wydrukować tylko kilka etykiet (np. pierwsze 10) – to pomoże ustalić, czy problem dotyczy wszystkich rekordów czy tylko niektórych.

Zapisz CSV ponownie jako UTF-8 z separatorem ; lub , (w zależności od ustawień EntomoLabels) i wczytaj go ponownie.