Python/Flexget Something has changed

Problems with packages? Post here, using [tags] of the package name.

Python/Flexget Something has changed

Postby punkrocks » Mon Mar 21, 2011 1:05 am

Arch Linux ARM geniuses,

I recently corrupted my install on my flash drive so I tried to reinstall using the same wiki as before. The problem comes when trying to install Flexget with Python 2.7.

So if I follow the wiki and pacman -S python2 python-distribute, it installs python2-2.7.1-7 and python-distribute-0.6.14-7.

Then when I try to easy_install-2.7 pip I get a file not found for easy_install-2.7. I then tried to figure out what was going on so I pacman -S python2-distribute, and was able to run easy_install-2.7 pip.

However, on the run I get the following error:

Any help? please!

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install tmp]# easy_install-2.7 pip
install_dir /usr/lib/python2.7/site-packages/
Searching for pip
Reading http://pypi.python.org/simple/pip/
Reading http://pip.openplans.org
Reading http://www.pip-installer.org
Best match: pip 0.8.3
Downloading http://pypi.python.org/packages/source/p/pip/pip-0.8.3.tar.gz#md5=0603337a81f83df2b1d2f1151565efac
Processing pip-0.8.3.tar.gz
Running pip-0.8.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7HnQy3/pip-0.8.3/egg-dist-tmp-wIBv3q
warning: no previously-included files matching '*.txt' found under directory 'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Traceback (most recent call last):
File "/usr/bin/easy_install-2.7", line 9, in <module>
load_entry_point('distribute==0.6.14', 'console_scripts', 'easy_install-2.7')()
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1855, in main
with_ei_usage(lambda:
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1836, in with_ei_usage
return f()
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1859, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.7/distutils/core.py", line 152, 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 "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 342, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 582, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 612, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 802, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1079, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1068, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 29, in run_setup
lambda: execfile(
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 70, in run
return func()
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 31, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 41, in <module>
File "/usr/lib/python2.7/distutils/core.py", line 152, 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 "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 241, in run
dry_run=self.dry_run, mode=self.gen_header())
File "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 534, in make_zipfile
visit(z, dirname, files)
File "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 524, in visit
z.write(path, p)
File "/usr/lib/python2.7/zipfile.py", line 1071, in write
self.fp.write(zinfo.FileHeader())
File "/usr/lib/python2.7/zipfile.py", line 348, in FileHeader
len(filename), len(extra))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
')
Last edited by punkrocks on Tue Mar 22, 2011 3:17 am, edited 1 time in total.
punkrocks
 
Posts: 5
Joined: Sat Mar 19, 2011 1:52 am

Re: Python/Flexget Something has changed

Postby pepedog » Mon Mar 21, 2011 10:57 am

pacman -S python-pip
pip install flexget
[root@PBLinux ~]# flexget -V
1.0r1924

This also fixes a broken flexget.
Don't blame me for the method change, just following here what archlinux are doing.
Someone want to fix the wiki?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Python/Flexget Something has changed

Postby punkrocks » Mon Mar 21, 2011 4:35 pm

Thanks Pepedog!

I will try that when I get home today.

-punkrocks
punkrocks
 
Posts: 5
Joined: Sat Mar 19, 2011 1:52 am

Re: Python/Flexget Something has changed

Postby punkrocks » Tue Mar 22, 2011 3:14 am

Unfortunately still not working on the: pip install flexget

here is the response I am getting. Any thoughts?

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install ~]# pip install flexget
Downloading/unpacking flexget
Running setup.py egg_info for package flexget
install_dir .
Checking .pth file support in .
/usr/bin/python2 -E -c pass
Searching for nose>=0.11
Reading http://pypi.python.org/simple/nose/
Reading http://somethingaboutorange.com/mrl/projects/nose/
Best match: nose 1.0.0
Downloading http://somethingaboutorange.com/mrl/projects/nose/nose-1.0.0.tar.gz
Processing nose-1.0.0.tar.gz
Running nose-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-52Dnzb/nose-1.0.0/egg-dist-tmp-pw8hmg
no previously-included directories found matching 'doc/.build'
installing library code to build/bdist.linux-armv5tel/egg
installing package data to build/bdist.linux-armv5tel/egg
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/root/build/flexget/setup.py", line 7, in <module>
paver.tasks.main()
File "paver-minilib.zip/paver/tasks.py", line 621, in main
File "paver-minilib.zip/paver/tasks.py", line 604, in _launch_pavement
File "paver-minilib.zip/paver/tasks.py", line 557, in _process_commands
File "paver-minilib.zip/paver/tasks.py", line 472, in _parse_command_line
File "paver-minilib.zip/paver/tasks.py", line 433, in _preparse
File "paver-minilib.zip/paver/tasks.py", line 105, in get_task
File "paver-minilib.zip/paver/setuputils.py", line 162, in get_task
File "paver-minilib.zip/paver/setuputils.py", line 190, in _get_distribution
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 221, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 245, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 544, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 786, in best_match
return self.obtain(req, installer) # try and download/install
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 798, in obtain
return installer(requirement)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 293, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 582, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 612, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 802, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1079, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1068, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 29, in run_setup
lambda: execfile(
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 70, in run
return func()
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 31, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 122, in <module>

File "/tmp/easy_install-52Dnzb/nose-1.0.0/setup3lib.py", line 14, in setup
File "/usr/lib/python2.7/distutils/core.py", line 152, 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 "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 241, in run
dry_run=self.dry_run, mode=self.gen_header())
File "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 534, in make_zipfile
visit(z, dirname, files)
File "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 524, in visit
z.write(path, p)
File "/usr/lib/python2.7/zipfile.py", line 1071, in write
self.fp.write(zinfo.FileHeader())
File "/usr/lib/python2.7/zipfile.py", line 348, in FileHeader
len(filename), len(extra))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
Complete output from command python setup.py egg_info:
install_dir .

Checking .pth file support in .

/usr/bin/python2 -E -c pass

Searching for nose>=0.11

Reading http://pypi.python.org/simple/nose/

Reading http://somethingaboutorange.com/mrl/projects/nose/

Best match: nose 1.0.0

Downloading http://somethingaboutorange.com/mrl/projects/nose/nose-1.0.0.tar.gz

Processing nose-1.0.0.tar.gz

Running nose-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-52Dnzb/nose-1.0.0/egg-dist-tmp-pw8hmg

running bdist_egg

running egg_info

writing nose.egg-info/PKG-INFO

writing top-level names to nose.egg-info/top_level.txt

writing dependency_links to nose.egg-info/dependency_links.txt

writing entry points to nose.egg-info/entry_points.txt

reading manifest file 'nose.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

no previously-included directories found matching 'doc/.build'

writing manifest file 'nose.egg-info/SOURCES.txt'

installing library code to build/bdist.linux-armv5tel/egg

running install_lib

running build_py

creating build

creating build/lib

creating build/lib/nose

copying nose/selector.py -> build/lib/nose

copying nose/config.py -> build/lib/nose

copying nose/proxy.py -> build/lib/nose

copying nose/tools.py -> build/lib/nose

copying nose/core.py -> build/lib/nose

copying nose/result.py -> build/lib/nose

copying nose/commands.py -> build/lib/nose

copying nose/inspector.py -> build/lib/nose

copying nose/util.py -> build/lib/nose

copying nose/failure.py -> build/lib/nose

copying nose/pyversion.py -> build/lib/nose

copying nose/__init__.py -> build/lib/nose

copying nose/exc.py -> build/lib/nose

copying nose/importer.py -> build/lib/nose

copying nose/twistedtools.py -> build/lib/nose

copying nose/loader.py -> build/lib/nose

copying nose/suite.py -> build/lib/nose

copying nose/case.py -> build/lib/nose

creating build/lib/nose/ext

copying nose/ext/__init__.py -> build/lib/nose/ext

copying nose/ext/dtcompat.py -> build/lib/nose/ext

creating build/lib/nose/plugins

copying nose/plugins/plugintest.py -> build/lib/nose/plugins

copying nose/plugins/doctests.py -> build/lib/nose/plugins

copying nose/plugins/collect.py -> build/lib/nose/plugins

copying nose/plugins/testid.py -> build/lib/nose/plugins

copying nose/plugins/manager.py -> build/lib/nose/plugins

copying nose/plugins/allmodules.py -> build/lib/nose/plugins

copying nose/plugins/failuredetail.py -> build/lib/nose/plugins

copying nose/plugins/logcapture.py -> build/lib/nose/plugins

copying nose/plugins/errorclass.py -> build/lib/nose/plugins

copying nose/plugins/prof.py -> build/lib/nose/plugins

copying nose/plugins/builtin.py -> build/lib/nose/plugins

copying nose/plugins/multiprocess.py -> build/lib/nose/plugins

copying nose/plugins/debug.py -> build/lib/nose/plugins

copying nose/plugins/cover.py -> build/lib/nose/plugins

copying nose/plugins/deprecated.py -> build/lib/nose/plugins

copying nose/plugins/isolate.py -> build/lib/nose/plugins

copying nose/plugins/xunit.py -> build/lib/nose/plugins

copying nose/plugins/__init__.py -> build/lib/nose/plugins

copying nose/plugins/skip.py -> build/lib/nose/plugins

copying nose/plugins/attrib.py -> build/lib/nose/plugins

copying nose/plugins/base.py -> build/lib/nose/plugins

copying nose/plugins/capture.py -> build/lib/nose/plugins

creating build/lib/nose/sphinx

copying nose/sphinx/pluginopts.py -> build/lib/nose/sphinx

copying nose/sphinx/__init__.py -> build/lib/nose/sphinx

copying nose/usage.txt -> build/lib/nose

creating build/bdist.linux-armv5tel

creating build/bdist.linux-armv5tel/egg

creating build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/selector.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/config.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/proxy.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/tools.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/core.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/result.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/commands.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/inspector.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/util.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/failure.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/pyversion.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/__init__.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/exc.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/importer.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/twistedtools.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/loader.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/suite.py -> build/bdist.linux-armv5tel/egg/nose

copying build/lib/nose/case.py -> build/bdist.linux-armv5tel/egg/nose

creating build/bdist.linux-armv5tel/egg/nose/ext

copying build/lib/nose/ext/__init__.py -> build/bdist.linux-armv5tel/egg/nose/ext

copying build/lib/nose/ext/dtcompat.py -> build/bdist.linux-armv5tel/egg/nose/ext

creating build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/plugintest.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/doctests.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/collect.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/testid.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/manager.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/allmodules.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/failuredetail.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/logcapture.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/errorclass.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/prof.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/builtin.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/multiprocess.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/debug.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/cover.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/deprecated.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/isolate.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/xunit.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/__init__.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/skip.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/attrib.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/base.py -> build/bdist.linux-armv5tel/egg/nose/plugins

copying build/lib/nose/plugins/capture.py -> build/bdist.linux-armv5tel/egg/nose/plugins

creating build/bdist.linux-armv5tel/egg/nose/sphinx

copying build/lib/nose/sphinx/pluginopts.py -> build/bdist.linux-armv5tel/egg/nose/sphinx

copying build/lib/nose/sphinx/__init__.py -> build/bdist.linux-armv5tel/egg/nose/sphinx

copying build/lib/nose/usage.txt -> build/bdist.linux-armv5tel/egg/nose

byte-compiling build/bdist.linux-armv5tel/egg/nose/selector.py to selector.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/config.py to config.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/proxy.py to proxy.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/tools.py to tools.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/core.py to core.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/result.py to result.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/commands.py to commands.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/inspector.py to inspector.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/util.py to util.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/failure.py to failure.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/pyversion.py to pyversion.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/__init__.py to __init__.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/exc.py to exc.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/importer.py to importer.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/twistedtools.py to twistedtools.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/loader.py to loader.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/suite.py to suite.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/case.py to case.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/ext/__init__.py to __init__.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/ext/dtcompat.py to dtcompat.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/plugintest.py to plugintest.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/doctests.py to doctests.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/collect.py to collect.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/testid.py to testid.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/manager.py to manager.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/allmodules.py to allmodules.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/failuredetail.py to failuredetail.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/logcapture.py to logcapture.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/errorclass.py to errorclass.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/prof.py to prof.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/builtin.py to builtin.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/multiprocess.py to multiprocess.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/debug.py to debug.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/cover.py to cover.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/deprecated.py to deprecated.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/isolate.py to isolate.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/xunit.py to xunit.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/__init__.py to __init__.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/skip.py to skip.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/attrib.py to attrib.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/base.py to base.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/plugins/capture.py to capture.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/sphinx/pluginopts.py to pluginopts.pyc

byte-compiling build/bdist.linux-armv5tel/egg/nose/sphinx/__init__.py to __init__.pyc

installing package data to build/bdist.linux-armv5tel/egg

running install_data

creating build/bdist.linux-armv5tel/egg/man

creating build/bdist.linux-armv5tel/egg/man/man1

copying nosetests.1 -> build/bdist.linux-armv5tel/egg/man/man1

creating build/bdist.linux-armv5tel/egg/EGG-INFO

copying nose.egg-info/PKG-INFO -> build/bdist.linux-armv5tel/egg/EGG-INFO

copying nose.egg-info/SOURCES.txt -> build/bdist.linux-armv5tel/egg/EGG-INFO

copying nose.egg-info/dependency_links.txt -> build/bdist.linux-armv5tel/egg/EGG-INFO

copying nose.egg-info/entry_points.txt -> build/bdist.linux-armv5tel/egg/EGG-INFO

copying nose.egg-info/not-zip-safe -> build/bdist.linux-armv5tel/egg/EGG-INFO

copying nose.egg-info/top_level.txt -> build/bdist.linux-armv5tel/egg/EGG-INFO

creating '/tmp/easy_install-52Dnzb/nose-1.0.0/egg-dist-tmp-pw8hmg/nose-1.0.0-py2.7.egg' and adding 'build/bdist.linux-armv5tel/egg' to it

Traceback (most recent call last):

File "<string>", line 14, in <module>

File "/root/build/flexget/setup.py", line 7, in <module>

paver.tasks.main()

File "paver-minilib.zip/paver/tasks.py", line 621, in main

File "paver-minilib.zip/paver/tasks.py", line 604, in _launch_pavement

File "paver-minilib.zip/paver/tasks.py", line 557, in _process_commands

File "paver-minilib.zip/paver/tasks.py", line 472, in _parse_command_line

File "paver-minilib.zip/paver/tasks.py", line 433, in _preparse

File "paver-minilib.zip/paver/tasks.py", line 105, in get_task

File "paver-minilib.zip/paver/setuputils.py", line 162, in get_task

File "paver-minilib.zip/paver/setuputils.py", line 190, in _get_distribution

File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 221, in __init__

self.fetch_build_eggs(attrs.pop('setup_requires'))

File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 245, in fetch_build_eggs

parse_requirements(requires), installer=self.fetch_build_egg

File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 544, in resolve

dist = best[req.key] = env.best_match(req, self, installer)

File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 786, in best_match

return self.obtain(req, installer) # try and download/install

File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 798, in obtain

return installer(requirement)

File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 293, in fetch_build_egg

return cmd.easy_install(req)

File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 582, in easy_install

return self.install_item(spec, dist.location, tmpdir, deps)

File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 612, in install_item

dists = self.install_eggs(spec, download, tmpdir)

File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 802, in install_eggs

return self.build_and_install(setup_script, setup_base)

File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1079, in build_and_install

self.run_setup(setup_script, setup_base, args)

File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1068, in run_setup

run_setup(setup_script, args)

File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 29, in run_setup

lambda: execfile(

File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 70, in run

return func()

File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 31, in <lambda>

{'__file__':setup_script, '__name__':'__main__'}

File "setup.py", line 122, in <module>



File "/tmp/easy_install-52Dnzb/nose-1.0.0/setup3lib.py", line 14, in setup

File "/usr/lib/python2.7/distutils/core.py", line 152, 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 "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 241, in run

dry_run=self.dry_run, mode=self.gen_header())

File "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 534, in make_zipfile

visit(z, dirname, files)

File "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 524, in visit

z.write(path, p)

File "/usr/lib/python2.7/zipfile.py", line 1071, in write

self.fp.write(zinfo.FileHeader())

File "/usr/lib/python2.7/zipfile.py", line 348, in FileHeader

len(filename), len(extra))

struct.error: ushort format requires 0 <= number <= USHRT_MAX

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /root/.pip/pip.log
')
punkrocks
 
Posts: 5
Joined: Sat Mar 19, 2011 1:52 am

Re: Python/Flexget Something has changed

Postby punkrocks » Tue Mar 22, 2011 5:31 am

I went to the IRC chanel and Leming complied a package for the repo. It looks like it is working so far!

just need to
pacman -Sy flexget

and it should install.

Thanks helpful people!
punkrocks
 
Posts: 5
Joined: Sat Mar 19, 2011 1:52 am

Re: Python/Flexget Something has changed

Postby pepedog » Tue Mar 22, 2011 3:38 pm

I had to pacman -Sf flexget and it bust my flexget
$this->bbcode_second_pass_code('', 'flexget -V
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flexget/plugin.py", line 468, in load_plugins_from_dir
__import__(modulename, level=0)
File "/usr/lib/python2.7/site-packages/flexget/plugins/filter_series_premiere.py", line 2, in <module>
from flexget.plugins.filter_series import FilterSeriesBase
File "/usr/lib/python2.7/site-packages/flexget/plugins/filter_series.py", line 13, in <module>
from flexget.plugin import register_plugin, register_parser_option, get_plugin_by_name, get_plugin_keywords, \
ImportError: cannot import name PluginDependencyError
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flexget/plugin.py", line 468, in load_plugins_from_dir
__import__(modulename, level=0)
File "/usr/lib/python2.7/site-packages/flexget/plugins/filter_only_new.py", line 6, in <module>
from flexget.plugin import register_plugin, register_parser_option, priority, get_plugin_by_name, PluginDependencyError
ImportError: cannot import name PluginDependencyError
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flexget/plugin.py", line 468, in load_plugins_from_dir
__import__(modulename, level=0)
File "/usr/lib/python2.7/site-packages/flexget/plugins/filter_series.py", line 13, in <module>
from flexget.plugin import register_plugin, register_parser_option, get_plugin_by_name, get_plugin_keywords, \
ImportError: cannot import name PluginDependencyError
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flexget/plugin.py", line 468, in load_plugins_from_dir
__import__(modulename, level=0)
File "/usr/lib/python2.7/site-packages/flexget/plugins/input_tail.py", line 3, in <module>
from flexget.plugin import register_plugin, register_parser_option, get_plugin_by_name, PluginDependencyError
ImportError: cannot import name PluginDependencyError
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flexget/plugin.py", line 468, in load_plugins_from_dir
__import__(modulename, level=0)
File "/usr/lib/python2.7/site-packages/flexget/plugins/filter_all_series.py", line 2, in <module>
from flexget.plugins.filter_series import FilterSeriesBase
File "/usr/lib/python2.7/site-packages/flexget/plugins/filter_series.py", line 13, in <module>
from flexget.plugin import register_plugin, register_parser_option, get_plugin_by_name, get_plugin_keywords, \
ImportError: cannot import name PluginDependencyError
/usr/lib/python2.7/site-packages/sqlalchemy/ext/declarative.py:1167: SAWarning: The classname 'BacklogEntry' is already in the registry of this declarative base, mapped to <class 'flexget.plugins.input_backlog.BacklogEntry'>
_as_declarative(cls, classname, cls.__dict__)
Traceback (most recent call last):
File "/usr/bin/flexget", line 9, in <module>
load_entry_point('FlexGet==1.0', 'console_scripts', 'flexget')()
File "/usr/lib/python2.7/site-packages/flexget/__init__.py", line 23, in main
time_took = plugin.load_plugins(parser)
File "/usr/lib/python2.7/site-packages/flexget/plugin.py", line 525, in load_plugins
load_plugins_from_dirs(get_standard_plugins_path())
File "/usr/lib/python2.7/site-packages/flexget/plugin.py", line 431, in load_plugins_from_dirs
load_plugins_from_dir(dirpath, subpkg)
File "/usr/lib/python2.7/site-packages/flexget/plugin.py", line 468, in load_plugins_from_dir
__import__(modulename, level=0)
File "/usr/lib/python2.7/site-packages/flexget/plugins/input/backlog.py", line 11, in <module>
class BacklogEntry(Base):
File "/usr/lib/python2.7/site-packages/sqlalchemy/ext/declarative.py", line 1167, in __init__
_as_declarative(cls, classname, cls.__dict__)
File "/usr/lib/python2.7/site-packages/sqlalchemy/ext/declarative.py", line 1058, in _as_declarative
**table_kw)
File "/usr/lib/python2.7/site-packages/sqlalchemy/schema.py", line 200, in __new__
"options and columns on an existing Table object." % key)
sqlalchemy.exc.InvalidRequestError: Table 'backlog' is already defined for this MetaData instance. Specify 'useexisting=True' to redefine options and columns on an existing Table object.')
pip install --upgrade flexget
fixed it but noticed this
$this->bbcode_second_pass_code('', 'Successfully installed flexget FeedParser SQLAlchemy PyYAML BeautifulSoup html5lib PyRSS2Gen pynzb progressbar flask cherrypy distribute Werkzeug Jinja2')
Will have to check other apps to see if there is a problem.
Well plugui uses cherrypy, and there doesn't seem to be a problem.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Python/Flexget Something has changed

Postby pepedog » Tue Mar 22, 2011 4:33 pm

I just saw https://aur.archlinux.org/packages.php?ID=30041
Did the build have dep of python2-feedparser or python-feedparser ?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Python/Flexget Something has changed

Postby kmihelich » Tue Mar 22, 2011 4:54 pm

The package I created uses python2-feedparser. The PKGBUILD is in github under aur if you want to take a look. I just used what was in the AUR, and the only modification that was needed was to switch to python2-feedparser. If you find other problems I can get those fixed. This really is more of a "see what happens" kind of package, since I haven't tested it myself to see if there is anything wrong.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Python/Flexget Something has changed

Postby pepedog » Tue Mar 22, 2011 7:13 pm

I should have thought about github
I think that there might be some problems when a mix of pip and pacman installs are around. Yes, pacman is the best way. Will look to see if there is a way to list and remove the pip stuff.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Python/Flexget Something has changed

Postby pepedog » Wed Mar 23, 2011 2:31 pm

So I thought about this and python2 parts can be installed from 2 methods, pacman and pip.
While pip packages can be upto date, pacman is best for everyone, so decided to get rid of pip installs.
Only method of making sure was to first try remove python2, which gave me a list of apps depending on it, then to remove those apps and finally remove python2.
/usr/lib/python2.7/site-packages should have been empty, it wasn't do deleted it.
Finally pacman -Sf plugui-git flexget put back everything I need.

Guess what fool has been doing similar with perl and cpan?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Packages

Who is online

Users browsing this forum: No registered users and 17 guests