Xqt added a comment.

  In T278076#6934165 <https://phabricator.wikimedia.org/T278076#6934165>, 
@Seppl2013 wrote:
  
  > The sample
  >
  >   % python
  >   Python 3.8.8 (default, Mar 18 2021, 06:01:57) 
  >   [Clang 11.0.3 (clang-1103.0.32.62)] on darwin
  >   Type "help", "copyright", "credits" or "license" for more information.
  >   >>> from wikibot import wikibot
  >   >>> 
  >
  > Doesn't help since this is not the enviroment py2app creates. py2app will 
call python in a "clean" environment with not configuration files, no 
environment variables, no nothing. And in that enviroment the example would 
fail. But there would also be no proper stacktrace. That is the reason why i 
opened this ticket. My workaround is working but i can't even see the resulting 
stderr code.
  
  Probably this is a py2app issue then. If it uses 
'/Users/wf/Documents/pyworkspace/scan2wiki/dist/scan2wiki.app/Contents/Resources/lib/python38.zip/pywikibot/families'
 as a path then pywikibot seems not properly installed. I don't know what 
py2app does. Can't you use venv instead?

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

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

To: Xqt
Cc: 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