DarkShadowTNT created this task.
Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper.

TASK DESCRIPTION
  When I'm trying to use the command ##generate_user_files.py## the output 
incorrectly states I'm using Windows 1 while I'm using Windows 10.
  
  What I expected to happen
  -------------------------
  
  The bot starts up and interactively lets me create a user file for my bot.
  
  What actually happend
  ---------------------
  
  It outputs an error that I'm using the wrong OS version (Windows 1), while 
I'm using Windows 10.
  
  Details
  -------
  
  When using the command ##pwb.py version##:
  
    Traceback (most recent call last):
    File "C:\Users\Gebruiker\Documents\pywikibot\core_stable\pwb.py", line 184, 
in <module>
      import pywikibot  # noqa
    File 
"C:\Users\Gebruiker\Documents\pywikibot\core_stable\pywikibot\__init__.py", 
line 32, in <module>
      from pywikibot import config2 as config
    File 
"C:\Users\Gebruiker\Documents\pywikibot\core_stable\pywikibot\config2.py", line 
312, in <module>
      _base_dir = get_base_dir()
    File 
"C:\Users\Gebruiker\Documents\pywikibot\core_stable\pywikibot\config2.py", line 
278, in get_base_dir
      % win_version)
    WindowsError: Windows version 1 not supported yet.
  
  - I downloaded pywikibot from 
http://tools.wmflabs.org/pywikibot/core_stable.zip
  
  - Python version 2.7.11 (switched from 3.5.1 when I thought it was Python 
having issues).
  
  - Output when using the command ##python -c "import platform; print 
platform.version()"##
    - ##10.0.10586##
  
  How to reproduce
  ----------------
  
  1. First, get Windows 10 (if you haven't installed it yet and only if you 
want of course).
  2. Run Command Prompt (or cmd.exe).
  3. Change the directory to where pywikibot is stored and run, as example, 
##generate_user_files.py##.
  
  The output will be, at least, on my end, that the OS version is not supported 
'yet'.
  
  (FYI: I'm Dutch, so be aware of typos, incorrect usage of verbs, etc.)

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

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

To: DarkShadowTNT
Cc: Aklapper, Zppix, pywikibot-bugs-list, DarkShadowTNT, Mdupont, jayvdb



_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to