| Summary: | drakfont crashes if I run "drakfont --windows_import" (Can't call method "get_fraction" on an undefined value at drakfont line 785) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Perilio Castrol <periliocastrol> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakxtools-15.27-1.mga3.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Perilio Castrol
2013-03-12 14:46:25 CET
Manuel Hiebel
2013-03-12 23:32:56 CET
Assignee:
bugsquad =>
thierry.vignaud It also happens in Mageia 2. I've been doing some research:
I made it run well by commenting line 217 of drakfont:
# progress($pbar, 0.25 / $nb_dir, N("parse all fonts"));
This way the program imports correctly all the Windows fonts. Instead of showing a progress bar it shows a huge amount of messages related to what it is doing.
The arguments used to call the progress function are different if I run it with the GUI of if I do it from console with --windows_import:
--With the GUI: $pbar = Gtk2::ProgressBar=HASH(0x3374a28)
$nb_dir = 690
--With the option --windows_import: $pbar = undef
$nb_dir = 690
It seems that the progress bar is not defined properly when I run it from console. It might have an easy solution now, but I don't know how to proceed.
Thanks
Thierry Vignaud
2015-05-15 16:50:06 CEST
Summary:
drakfont crashes if I run "drakfont --windows_import" =>
drakfont crashes if I run "drakfont --windows_import" (Can't call method "get_fraction" on an undefined value at drakfont line 785) Thanks. Bug fixed in my local git Status:
NEW =>
RESOLVED |