Urgent.News

What's breaking now, across thousands of outlets.

Tech

OpenOffice does not print on Tuesdays

An intriguing bug was reported regarding OpenOffice's printing issues, particularly on Tuesdays. A blogger mentioned that his wife had been complaining about the inability to print on Tuesdays, leading others to initially suspect an OpenOffice problem. However, it soon became apparent that the issue was more complex than that.

One user resolved the issue by removing and reinstalling OpenOffice on a Thursday. However, two weeks later, the problem resurfaced on a Tuesday, indicating that the solution was not a permanent fix. This scenario repeated nearly four months later when a wife of an Ubuntu hacker reported the same issue. The husband humorously suggested that the printer was "on its day off" on Tuesdays, but his wife insisted that the problem persisted.

The root cause of the problem was traced to the *NIX utility called "file." This utility uses patterns to detect file types, such as identifying PostScript files based on specific patterns. OpenOffice writes dates to postscript files, including Tuesdays when the date is represented as "Tue MMM D hh:mm:...". Unfortunately, an error in the pattern for Erlang JAM files caused OpenOffice to misinterpret Tuesdays' date as an Erlang JAM file, preventing it from being sent to the printer.

The complexity of the issue lies in the fact that "file" program attempts to match over 1600 file types, making it prone to both false positives and missed detections. In this case, the Erlang JAM file pattern was matched before the PostScript pattern, leading to the printing failure on Tuesdays. While the solution of reinstalling OpenOffice provided temporary relief, the underlying issue remained unresolved.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at beza1e1.tuxen.de →

More in Tech

KP Announces EV Bike Scheme for Women

The Khyber Pakhtunkhwa government will soon launch an electric bike scheme for women, with college and university students as well … Read More The post KP Announces EV Bike Scheme for Women appeared…

Front-end Integrative Project – Animalia

Animalia This is an initial academic project that I am developing with the purpose of helping and providing greater knowledge about the local fauna of Paraíba and the importance of environmental…

  • Animalia project aims to enhance understanding of Paraíba's local fauna.
  • Developer faces challenges with Git structure and commits.
  • Application will feature educational system and personal wildlife album.

What I’ve Learned About Software Development:

During my studies in Systems Development, I’ve been learning that building software is about much more than writing code.

  • Software development involves more than coding; includes requirements analysis and UML.
  • Understanding user needs and information organization significantly impact outcomes.
  • Logical thinking, problem-solving, and solution design are crucial skills beyond programming.

More from Friday 28 August →