Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Change code py2app/recipes/pyside.py:21</p> <pre><code> if '*' in item: for path in glob.glob(os.path.join(plugin_dir, item)): resources.append((os.path.dirname('qt_plugins' + path[len(plugin_dir):]), [path])) else: resources.append((os.path.dirname(os.path.join('qt_plugins', item)), os.path.join(plugin_dir, item))) </code></pre> <p>to </p> <pre><code> if '*' in item: for path in glob.glob(os.path.join(plugin_dir, item)): resources.append((os.path.dirname('qt_plugins' + path[len(plugin_dir):]), [path])) else: resources.append((os.path.dirname(os.path.join('qt_plugins', item)), os.path.join(plugin_dir, item))) </code></pre> <p>can resolve this problem.</p> <p>The code indent problem will cause py2app add a resource:</p> <p>('qt_plugins/imageformats', u'/Developer/Applications/Qt/plugins/imageformats/*') # note that the second item of the tuple should be a list, but it's a string here</p> <p>And then in py2app/build_app.py:598</p> <pre><code>def iter_data_files(self): dist = self.distribution allres = chain(getattr(dist, 'data_files', ()) or (), self.resources) for (path, files) in (normalize_data_file(fn) for fn in allres): path = fsencoding(path) for fn in files: # &lt;-- this line fn = fsencoding(fn) yield fn, os.path.join(path, os.path.basename(fn)) </code></pre> <p>files should be a list, but now, it's a string: u'/Developer/Applications/Qt/plugins/imageformats/*' This will cause py2app to copy files in path: '/', 'D', 'e', 'v', ... So py2app begin to iterate root path '/', when it encouter /.dbfseventsd, it crashed.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload