View Single Post
Old 10-01-2012, 10:50 PM   #1
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Running from source and win_fonts

I updated my source this morning and tried to run it. I got the following:

Code:
Traceback (most recent call last):
  File "D:\CalibreDev\calibre\src\calibre\gui2\main.py", line 266, in initialize
    self.initialize_db()
  File "D:\CalibreDev\calibre\src\calibre\gui2\main.py", line 247, in initialize_db
    self.initialize_db_stage2(db, None)
  File "D:\CalibreDev\calibre\src\calibre\gui2\main.py", line 223, in initialize_db_stage2
    self.start_gui(db)
  File "D:\CalibreDev\calibre\src\calibre\gui2\main.py", line 175, in start_gui
    main.initialize(self.library_path, db, self.listener, self.actions)
  File "D:\CalibreDev\calibre\src\calibre\gui2\ui.py", line 196, in initialize
    from calibre.utils.fonts import fontconfig
  File "D:\CalibreDev\calibre\src\calibre\utils\fonts\__init__.py", line 62, in <module>
    fontconfig = Fonts()
  File "D:\CalibreDev\calibre\src\calibre\utils\fonts\__init__.py", line 16, in __init__
    self.backend = load_winfonts()
  File "D:\CalibreDev\calibre\src\calibre\utils\fonts\win_fonts.py", line 104, in load_winfonts
    raise RuntimeError('Failed to load the winfonts module: %s'%err)
RuntimeError: Failed to load the winfonts module: No module named winfonts
It has been a couple of weeks since I tried this, but it was working then.

Looking at the code, I think it is looking for a DLL which hasn't been built. Has there been a change in the development setup, or is this something else?
davidfor is offline   Reply With Quote