question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Timeout problem using Words with "R" at the beginning of a line

See original GitHub issue

With some String combinations the connection times out. Still unclear what it is causing it, but it is reproducable:

./dymoprint -s b "Rose Regenbogen" "" "03.05.2017"
Printing label..
Traceback (most recent call last):
  File "./dymoprint", line 576, in <module>
    main(args)
  File "./dymoprint", line 570, in main
    lm.printLabel(labelmatrix)
  File "./dymoprint", line 202, in printLabel
    self.rawPrintLabel(lines, margin=margin)
  File "./dymoprint", line 224, in rawPrintLabel
    response = self.sendCommand()
  File "./dymoprint", line 103, in sendCommand
    responseBin = self.dev.read(8)
IOError: [Errno 110] Connection timed out

The device needs at least a power-cycle to run again.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
bbinetcommented, May 3, 2017

That is weird. It is working perfectly with or without R for me…

1reaction
computerlyrikcommented, May 3, 2017

Ha! Got it (WTF included):

./dymoprint -s b " Rose Regenbogen" "" "03.05.2017"

It is the R at the beginning of the line. Adding a empty space in front works like a charm.

How i got it:

./dymoprint -s b " Ranunculus asiaticus" "Asiatischer Hahnenfuss (Mix)" "03.05.2017"

Same thing.

Yes, it is only R. r at the beginning of a line works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to restart a loop with eval with timeout in R?
1 Answer 1 ... In your code TimeoutException is unable to find j as it is evaluated in a different environment. Even if...
Read more >
Netmiko4 read_timeout - Python for Network Engineers
What Netmiko users need is a simple timeout. In other words, wait x-amount of time and if the trailing prompt is not returned,...
Read more >
4. Glob Patterns And Other Basics - Exploring Expect [Book]
It would be nice if rsh and other commands all had the ability to timeout, but it is not necessary since you can...
Read more >
Multi Process Task Queue in 100 Lines of R Code - Tidyverse
It returns NULL if no task has finished before the timeout was over. The timeout can be 0 or Inf , meaning no...
Read more >
Options Settings - R
controls the number of lines used when deparsing in browser , upon entry to a function whose debugging flag is set, and if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found