edubuntu-bugs team mailing list archive
-
edubuntu-bugs team
-
Mailing list archive
-
Message #08463
Re: [Bug 1274318] Re: Type error on launch
Yes, this is no longer an issue and you can close the ticket :)
Have a nice day.
Orri
On Sun, 29 Jul 2018 at 20:49, gf <1274318@xxxxxxxxxxxxxxxxxx> wrote:
>
> Hello Orri,
> Thank you for submitting this bug and reporting a problem with Calibre. You made this bug report some time ago and Ubuntu and Calibre have been updated since then.
>
> Could you confirm that this is no longer a problem and that we can close the ticket?
> If it is still a problem, are you still interested in finding a solution to this bug?
> If you are, could you let us know and, in the current version, could you run the following (only once):
> apport-collect 1274318
> and upload the updated logs and and any other logs that are relevant for this particular issue.
>
> Thank you again for helping make Ubuntu and Calibre better.
> G
>
> ** Changed in: calibre (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1274318
>
> Title:
> Type error on launch
>
> Status in calibre package in Ubuntu:
> Incomplete
>
> Bug description:
> if I start calibre, this is what I get.
>
> orri@asuka:~$ calibre
> Traceback (most recent call last):
> File "/usr/bin/calibre", line 20, in <module>
> sys.exit(main())
> File "/usr/lib/calibre/calibre/gui2/main.py", line 447, in main
> gui_debug=gui_debug)
> File "/usr/lib/calibre/calibre/gui2/main.py", line 312, in run_gui
> app.load_builtin_fonts(scan_for_fonts=True)
> File "/usr/lib/calibre/calibre/gui2/__init__.py", line 837, in load_builtin_fonts
> from calibre.utils.fonts.scanner import font_scanner
> File "/usr/lib/calibre/calibre/utils/fonts/scanner.py", line 377, in <module>
> font_scanner = Scanner()
> File "/usr/lib/calibre/calibre/utils/fonts/scanner.py", line 115, in __init__
> self.folders = folders + font_dirs() + [os.path.join(config_dir, 'fonts'),
> TypeError: can only concatenate list (not "function") to list
> orri@asuka:~$ calibre --version
> calibre (calibre 1.0)
> orri@asuka:~$
>
> I am using ubuntu 13.10
> I've tried uninstalling and installing (using apt-get) and I've tried deleting ~/Calibre Library
>
>
> I found a fix:
>
> in the function "fc_list" in /usr/lib/calibre/calibre/utils/fonts/scanner.py
> approximately line 74 (I've edited my local version)
> the line containing:
> "return default_font_dirs "
> can be changed to:
> " return default_font_dirs()"
>
> Then the function "default_font_dirs" is called and its return value is returned (by fc_list)
> previously it (fc_list) would return a pointer to the function, which can not be concatinated with a list of strings.
>
> Best regards,
> Orri Tomasson
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1274318/+subscriptions
--
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to calibre in Ubuntu.
https://bugs.launchpad.net/bugs/1274318
Title:
Type error on launch
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1274318/+subscriptions
References