Jagwar created this task.
Jagwar added a subscriber: Jagwar.
Jagwar added a project: pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  These days, there is a problem when trying to install the latest version from
  ```
  https://git.wikimedia.org/git/pywikibot/core.git
  ```
  with
  ```
  sudo python setup.py install
  ```
  I get the following error:
  
  ```
  running install
  running bdist_egg
  running egg_info
  creating pywikibot.egg-info
  writing requirements to pywikibot.egg-info/requires.txt
  writing pywikibot.egg-info/PKG-INFO
  writing top-level names to pywikibot.egg-info/top_level.txt
  writing dependency_links to pywikibot.egg-info/dependency_links.txt
  writing manifest file 'pywikibot.egg-info/SOURCES.txt'
  reading manifest file 'pywikibot.egg-info/SOURCES.txt'
  writing manifest file 'pywikibot.egg-info/SOURCES.txt'
  installing library code to build/bdist.linux-x86_64/egg
  running install_lib
  running build_py
  Traceback (most recent call last):
    File "setup.py", line 211, in <module>
      use_2to3=False
    File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 73, 
in run
    File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 93, 
in do_egg_install
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/bdist_egg.py", line 
185, in run
    File "build/bdist.linux-x86_64/egg/setuptools/command/bdist_egg.py", line 
171, in call_command
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/install_lib.py", line 
20, in run
    File "/usr/lib/python2.7/distutils/command/install_lib.py", line 109, in 
build
      self.run_command('build_py')
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/build_py.py", line 
89, in run
    File "/usr/lib/python2.7/distutils/command/build_py.py", line 373, in 
build_packages
      self.build_module(module, module_file, package)
    File "build/bdist.linux-x86_64/egg/setuptools/command/build_py.py", line 
106, in build_module
    File "/usr/lib/python2.7/distutils/command/build_py.py", line 334, in 
build_module
      "'package' must be a string (dot-separated), list, or tuple")
  TypeError: 'package' must be a string (dot-separated), list, or tuple
  ```
  Furthermore I don't get this problem when trying to install from the [[ 
http://git.wikimedia.org/commit/pywikibot%2Fcore.git/44898b75e9468bf245130ab6ccbda7607f03f923
 | 1ff1cec7a33df85ed0cd957bf01e3f744b7f0310 commit ]]. The error, for now, 
reproduces on every platform so I guess this is a fairly serious issue.

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

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

To: Jagwar
Cc: Aklapper, pywikibot-bugs-list, Jagwar, jayvdb



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to