bugFonty Python - Bugs: bug #32324, cli problem


bug #32324: cli problem

Submitted by:  Christopher M. Penalver <penalvch>
Submitted on:  Wed 02 Feb 2011 05:10:22 AM UTC  
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Postponed
Privacy:  Public Assigned to:  Donn Ingle <donningle>
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 02 Feb 2011 07:20:38 AM UTC, comment #1:

Christopher, thank you for that rich and helpful bug report. I wish all were so well formed.

To the problem. I followed your steps and got the same bug. It's a problem with my command-line argument parsing which misses malformed arguments.

To make it work use --all= (i.e. dash dash all equals) or -a (i.e. dash a space)

fontypython --all=SLIDA.ttf Pog
fontypython -a SLIDA.ttf Pog

I am not sure when I will have the time to fix the source to prevent these kinds of bugs, but I am glad this one is not really a "bug" :)


Donn Ingle <donningle>
Project AdministratorIn charge of this item.
Wed 02 Feb 2011 05:10:22 AM UTC, original submission:

Downstream bug may be found at:

Binary package hint: fontypython

1) lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

2) apt-cache policy fontypython
Version table:

      • 0

500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages
100 /var/lib/dpkg/status

3) What is expected to happen is one performs at the Terminal:

cd ~/Destkop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/454099/+attachment/843676/+files/SLIDA.ttf.zip && file-roller -h SLIDA.ttf.zip && rm SLIDA.ttf.zip && fontypython -all=/SLIDA.ttf Pog

fontypython creates a pog called Pog consisting of the font file SLIDA.ttf, in the folder SILDA.ttf allowing one to immediately begin to use the font SLIDASinhala in libreoffice-calc as the current user.

4) What happened instead is fontypython crashed with following Traceback:

Traceback (most recent call last):
File "/usr/bin/start_fontypython", line 26, in <module>
import fontypythonmodules.start
File "/usr/lib/pymodules/python2.6/fontypythonmodules/start.py", line 23, in <module>
import cli
File "/usr/lib/pymodules/python2.6/fontypythonmodules/cli.py", line 337, in <module>
folder = fontcontrol.Folder(FOLDERNAME, recurse=options.allrecurse)
File "/usr/lib/pymodules/python2.6/fontypythonmodules/fontcontrol.py", line 520, in _init_
listOfFilenamesOnly = os.listdir ( self.path ) # Get the unicode list
OSError: [Errno 2] No such file or directory: '/home/moniker/Desktop/ll=/SLIDA.ttf'

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: fontypython
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic
Uname: Linux 2.6.35-25-generic i686
Architecture: i386
Date: Tue Feb 1 23:31:27 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/start_fontypython
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/start_fontypython -all=/SLIDA.ttf Pog
PATH=(custom, user)
PythonArgs: ['/usr/bin/start_fontypython', '-all=/SLIDA.ttf', 'Pog']
SourcePackage: fontypython
Title: start_fontypython crashed with OSError in _init_()
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Christopher M. Penalver <penalvch>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by donningle (Posted a comment)
  • -email is unavailable- added by penalvch (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Sat 25 Jun 2016 06:20:07 PM UTC donningle Summarystart_fontypython crashed with OSError in _init_() => cli problem
    Sat 25 Jun 2016 06:10:26 PM UTC donningle StatusIn Progress => Postponed
    Wed 02 Feb 2011 07:20:38 AM UTC donningle Severity3 - Normal => 2 - Minor
        StatusNone => In Progress
        Assigned toNone => donningle

    Back to the top

    Powered by Savane 3.3