Comments (11)
Hi,
i had the same Problem.
Labels created with Dymo 1.3.2 are getting this fault.
FIX for the Moment:
Create the Label with Dymo 8.x.x (Latest Version), This Label can be printed with the Framework
from dymo-connect-framework.
Yes, a fix for this issue will be available on further updates. We will let you know once this issue is fixed. Thanks a lot!
- DYMO Team.
from dymo-connect-framework.
@dymosoftware Can you please provide an estimate as to when this issue will be resolved?
from dymo-connect-framework.
@chibeepatag You are a savior! After banging my head trying to figure out where this ghost '' closing tag saved the day. One note, I had to use the function they used because it doesn't seem replace all works with the node unless it's passed through goog.dom.xml.serialze(node)
dymo.xml.serialize = function(node) {
function fix (node) {
return node.replaceAll(/<(color) ([^\/>]*?) *\/?> *(<\/\1>)?/ig, "<$1 $2> </$1>");
}
return fix(goog.dom.xml.serialize(node));
}
@dymosoftware please step up your game, this has been an issue since 2020!
from dymo-connect-framework.
Hi @jeroenv, please add the closure tag to the Color element.
Replace<Color A="1" R="0" G="0" B="0"/>
by<Color A="1" R="0" G="0" B="0"> </Color>
.See the following link #8.
I can confirm that adding a space between the opening and closing tag of the Color element fixes the issue.
@dymosoftware is this something that will be fixed in the DYMO Connect software? Because I just created the label with the software and didn't change the XML after uploading it to print it with the DCD service through web.
from dymo-connect-framework.
This issue has been confirmed on Jan 28 2022 still being a problem.
The ticket should be reopened until a proper commit fixes the issue.
from dymo-connect-framework.
<Color .../>
or <Color ...></Color>
is perfectly valid XML.
/<(color) ([^\/>]*?) *\/?> *(<\/\1>)?/ig
and <$1 $2> <$1>
might be a better regex. But it's just bypassing the bug rather than fixing it. The real bug should reside in your XML parser.
And you don't need to define a function to rewrite a string:
dymo.xml.serialize = function(node) {
node = node.replaceAll(/<(color) ([^\/>]*?) *\/?> *(<\/\1>)?/ig, "<$1 $2> </$1>"); // Bypass parser bug by giving the element a blank space value
return goog.dom.xml.serialize(node);
}
from dymo-connect-framework.
<Color .../>
or<Color ...></Color>
is perfectly valid XML.
/<(color) ([^\/>]*?) *\/?> *(<\/\1>)?/ig
and<$1 $2> <$1>
might be a better regex. But it's just bypassing the bug rather than fixing it. The real bug should reside in your XML parser.And you don't need to define a function to rewrite a string:
dymo.xml.serialize = function(node) { node = node.replaceAll(/<(color) ([^\/>]*?) *\/?> *(<\/\1>)?/ig, "<$1 $2> </$1>"); // Bypass parser bug by giving the element a blank space value return goog.dom.xml.serialize(node); }
This worked for me. @dymosoftware when will you release this fix?
from dymo-connect-framework.
Hi @jeroenv, please add the closure tag to the Color element.
Replace <Color A="1" R="0" G="0" B="0"/>
by <Color A="1" R="0" G="0" B="0"> </Color>
.
See the following link #8.
from dymo-connect-framework.
This is certainly a problem since Dymo Connect editor saves the label without a space...Hard to imagine this is a difficult fix.
from dymo-connect-framework.
This is not a fix
yeah, that's a hack. But potentially better because we can control what .js is loaded. Harder to control which version of Dymo Connect users are running. But should be FIXED and the workaround kept in for backward compatibility.
from dymo-connect-framework.
Related Issues (20)
- Emoji support
- 450 label printer connected to dymo connect web service randomly goes to error mode HOT 1
- DYMO Connect (Version 1.4.3.103) - Issue with QR Code Data Nodes During Label Printing
- openLabelXML not working in WKWebView on macOS Ventura 13.4
- PrintLabel leads to `The object is owned by another thread: Bad request`
- need a typescript version of this framework HOT 1
- Print queue job isn't removed once printing is complete and multiple prints are performed
- To print specific text in bold.
- What is the latest version to be used? HOT 1
- Does not JS framework support LabelSetBuilder anymore?
- C# App fails on a particular user but works on other systems HOT 5
- QR code not reflecting setObjectText value
- Windows Installer error 1719
- Global secure Access, DYMO printers are disconnected with it
- DYMO Connect DOSing network print spooler
- Unable to connect to DYMO Connect
- Rewind the roll ?
- vb.net project works fine in debug, but fails library load in published version
- Print via web sometimes ignores spool selection if DYMO Connect has been run
- Cross-Origin Read Blocking (CORB) in Laravel 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dymo-connect-framework.