rubber fails with spaces in file path

Bug #122489 reported by Frederik Elwert
8
Affects Status Importance Assigned to Milestone
rubber (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: rubber

Rubber fails to compile documents when the file path contains spaces:

frederik@FredDesk:~/Desktop/test dir$ rubber --pdf test
compiling test.tex...
Could not run pdflatex.

This generates a file texput.log:

----8<----
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) (format=pdflatex 2007.5.9) 27 JUN 2007 07:20
entering extended mode
**\nonstopmode \input{/home/frederik/Desktop/test dir/test.tex}^^M

! Emergency stop.
<read *>

<*> ...t{/home/frederik/Desktop/test dir/test.tex}
                                                  ^^M
*** (cannot \read from terminal in nonstop modes)
---->8----

pdflatex test.tex runs fine and generates test.pdf. After pdflatex ran (and thus the help files are present), rubber indefinitely compiles the document until one forces it to quit:

frederik@FredDesk:~/Desktop/test dir$ rubber --pdf test
compiling test.tex...
compiling test.tex...
compiling test.tex...
compiling test.tex...
compiling test.tex...
*** interrupted
*** interrupted

Related branches

Revision history for this message
Bordiga Giacomo (gbordiga) wrote :

This patch proposed on Debian bug tracking system ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364420 ) by Wouter Bolsterlee solves the issue.

Revision history for this message
Bordiga Giacomo (gbordiga) wrote :

The patch is to be applied to file /rubber-1.1/src/rules/latex/__init__.py .

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Great, this solves the issue for me!

It would be great to have a fixed version in Gutsy.

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

This is still an issue in Gutsy. The patch is really simple and solved the problem. Could somebody look after this and get it fixed at least for Hardy?

Koen (koen-beek)
Changed in rubber:
assignee: nobody → koen-beek
status: New → In Progress
Revision history for this message
Koen (koen-beek) wrote :

this is debdiff between 1.1-2.1ubuntu1 and 1.1-2.1ubuntu2

Revision history for this message
Koen (koen-beek) wrote :

previous debdiff can be applied to hardy and gutsy and contains Wouter Bolsterlee's patch (https://bugs.launchpad.net/ubuntu/+source/rubber/+bug/122489/comments/1)

I had to include a simply patching system to debian/rules as none existed yet (based on https://wiki.ubuntu.com/PackagingGuide/PatchSystems#head-02b331409ffe503fb92a0fd2c3c3b8c93708c1f0)

Changed in rubber:
assignee: koen-beek → nobody
status: In Progress → Confirmed
Daniel T Chen (crimsun)
Changed in rubber:
status: Confirmed → In Progress
Revision history for this message
Daniel T Chen (crimsun) wrote :

Tweaked & uploaded, thanks!

Changed in rubber:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rubber - 1.1-2.1ubuntu2

---------------
rubber (1.1-2.1ubuntu2) hardy; urgency=low

  * Tweak debdiff from Koen Beek fixing LP: #122489.

 -- Daniel T Chen <email address hidden> Sun, 20 Jan 2008 18:08:46 -0500

Changed in rubber:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.