Xqt added a comment.

  Pretty sure this is a py2app issue. register_families_folder uses 
os.listdir() which obviously fails for a folder inside a zip file. What to do 
in this matter?
  
  - find a way to configure py2app in a way to exclude the family folder to be 
zipped
  - find a way to get all files inside family folder which resides inside a zip 
file other than is.listdir(). Perhaps glob works or any other module.
  - pywikibot could catch the OsError and skip loading these family files in 
such case but I am not sure about the consequences
  - pywikibot can use a hardcored list of family files residing in family 
folder to import them directly
  
  What do you think?

TASK DETAIL
  https://phabricator.wikimedia.org/T278076

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: valhallasw, Xqt, pywikibot-bugs-list, Aklapper, Seppl2013, Danmichaelo, 
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to