You are not logged in.

#1 2016-10-31 19:09:47

2nuts4u
Member
Registered: 2015-05-25
Posts: 2

Browse Reddit from your terminal rtv 1.13.0-1 [Solved]

I have been unable to get rtv to launch.  I get this message.  I have added: update_checker >=0.12, <1.0  to /usr/lib/python3.5/site-packages/praw-4.0.0b21-py3.5.egg-info/requires.txt  and i still get the message.  I have re-installed python-praw-git & python-prawcore-git

Any help would be greatly appreciated.

https://aur.archlinux.org/packages/rtv/


Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 658, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 966, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 857, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (praw 4.0.0b21 (/usr/lib/python3.5/site-packages), Requirement.parse('praw==3.5.0'), {'rtv'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/rtv", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2994, in <module>
    @_call_aside
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2980, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3007, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 660, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 673, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 852, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'praw==3.5.0' distribution was not found

Last edited by 2nuts4u (2016-11-01 15:56:38)

Offline

#2 2016-10-31 19:38:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Browse Reddit from your terminal rtv 1.13.0-1 [Solved]

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-11-01 11:13:49

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: Browse Reddit from your terminal rtv 1.13.0-1 [Solved]

Have you tried with pytyon-praw (the non-git version ) ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2016-11-01 15:53:31

2nuts4u
Member
Registered: 2015-05-25
Posts: 2

Re: Browse Reddit from your terminal rtv 1.13.0-1 [Solved]

Lone_Wolf thanks for your reply.  The AUR only has python-praw-git

My issue is solved. I got rtv to work by using the the git clone method from here.  Looks like it grabs what it needs for praw.



f@archway /o/2/S/R/rtv> ls
AUTHORS.rst       LICENSE           rtv/       setup.py
CHANGELOG.rst     MANIFEST.in       rtv.1      tests/
CONTRIBUTING.rst  README.rst        scripts/   tox.ini
CONTROLS.rst      requirements.txt  setup.cfg  version.py@
f@archway /o/2/S/R/rtv> sudo python3 setup.py install
[sudo] password for f:
running install
running bdist_egg
running egg_info
creating rtv.egg-info
writing dependency_links to rtv.egg-info/dependency_links.txt
writing requirements to rtv.egg-info/requires.txt
writing rtv.egg-info/PKG-INFO
writing entry points to rtv.egg-info/entry_points.txt
writing top-level names to rtv.egg-info/top_level.txt
writing manifest file 'rtv.egg-info/SOURCES.txt'
reading manifest file 'rtv.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'rtv.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/rtv
copying rtv/subreddit_page.py -> build/lib/rtv
copying rtv/__init__.py -> build/lib/rtv
copying rtv/docs.py -> build/lib/rtv
copying rtv/config.py -> build/lib/rtv
copying rtv/subscription_page.py -> build/lib/rtv
copying rtv/page.py -> build/lib/rtv
copying rtv/mime_parsers.py -> build/lib/rtv
copying rtv/oauth.py -> build/lib/rtv
copying rtv/__version__.py -> build/lib/rtv
copying rtv/content.py -> build/lib/rtv
copying rtv/__main__.py -> build/lib/rtv
copying rtv/submission_page.py -> build/lib/rtv
copying rtv/terminal.py -> build/lib/rtv
copying rtv/objects.py -> build/lib/rtv
copying rtv/exceptions.py -> build/lib/rtv
creating build/lib/rtv/templates
copying rtv/templates/index.html -> build/lib/rtv/templates
copying rtv/templates/rtv.cfg -> build/lib/rtv/templates
copying rtv/templates/mailcap -> build/lib/rtv/templates
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/subreddit_page.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/__init__.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/docs.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/config.py -> build/bdist.linux-x86_64/egg/rtv
creating build/bdist.linux-x86_64/egg/rtv/templates
copying build/lib/rtv/templates/index.html -> build/bdist.linux-x86_64/egg/rtv/templates
copying build/lib/rtv/templates/rtv.cfg -> build/bdist.linux-x86_64/egg/rtv/templates
copying build/lib/rtv/templates/mailcap -> build/bdist.linux-x86_64/egg/rtv/templates
copying build/lib/rtv/subscription_page.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/page.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/mime_parsers.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/oauth.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/__version__.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/content.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/__main__.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/submission_page.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/terminal.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/objects.py -> build/bdist.linux-x86_64/egg/rtv
copying build/lib/rtv/exceptions.py -> build/bdist.linux-x86_64/egg/rtv
byte-compiling build/bdist.linux-x86_64/egg/rtv/subreddit_page.py to subreddit_page.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/docs.py to docs.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/config.py to config.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/subscription_page.py to subscription_page.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/page.py to page.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/mime_parsers.py to mime_parsers.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/oauth.py to oauth.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/__version__.py to __version__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/content.py to content.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/__main__.py to __main__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/submission_page.py to submission_page.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/terminal.py to terminal.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/objects.py to objects.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/rtv/exceptions.py to exceptions.cpython-35.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build/bdist.linux-x86_64/egg/share
creating build/bdist.linux-x86_64/egg/share/man
creating build/bdist.linux-x86_64/egg/share/man/man1
copying rtv.1 -> build/bdist.linux-x86_64/egg/share/man/man1
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying rtv.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rtv.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rtv.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rtv.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rtv.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying rtv.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
rtv.__pycache__.config.cpython-35: module references __file__
creating dist
creating 'dist/rtv-1.13.0-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing rtv-1.13.0-py3.5.egg
creating /usr/lib/python3.5/site-packages/rtv-1.13.0-py3.5.egg
Extracting rtv-1.13.0-py3.5.egg to /usr/lib/python3.5/site-packages
Adding rtv 1.13.0 to easy-install.pth file
Installing rtv script to /usr/bin

Installed /usr/lib/python3.5/site-packages/rtv-1.13.0-py3.5.egg
Processing dependencies for rtv==1.13.0
Searching for praw<4,>=3.5
Reading https://pypi.python.org/simple/praw/
Downloading https://pypi.python.org/packages/9b/90/ … 4d31f55d92
Best match: praw 3.5.0
Processing praw-3.5.0.zip
Writing /tmp/easy_install-475iglxn/praw-3.5.0/setup.cfg
Running praw-3.5.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-475iglxn/praw-3.5.0/egg-dist-tmp-ynbcdkmp
zip_safe flag not set; analyzing archive contents...
praw.__pycache__.settings.cpython-35: module references __file__
creating /usr/lib/python3.5/site-packages/praw-3.5.0-py3.5.egg
Extracting praw-3.5.0-py3.5.egg to /usr/lib/python3.5/site-packages
Adding praw 3.5.0 to easy-install.pth file
Installing praw-multiprocess script to /usr/bin

Installed /usr/lib/python3.5/site-packages/praw-3.5.0-py3.5.egg
Searching for update_checker==0.11
Reading https://pypi.python.org/simple/update_checker/
Downloading https://pypi.python.org/packages/ae/06/ … 77373144bb
Best match: update-checker 0.11
Processing update_checker-0.11.tar.gz
Writing /tmp/easy_install-m5gf61qg/update_checker-0.11/setup.cfg
Running update_checker-0.11/setup.py -q bdist_egg --dist-dir /tmp/easy_install-m5gf61qg/update_checker-0.11/egg-dist-tmp-f0bfp5id
zip_safe flag not set; analyzing archive contents...
Moving update_checker-0.11-py3.5.egg to /usr/lib/python3.5/site-packages
Adding update-checker 0.11 to easy-install.pth file

Installed /usr/lib/python3.5/site-packages/update_checker-0.11-py3.5.egg
Searching for mailcap-fix==0.2.0
Best match: mailcap-fix 0.2.0
Adding mailcap-fix 0.2.0 to easy-install.pth file

Using /usr/lib/python3.5/site-packages
Searching for beautifulsoup4==4.5.1
Best match: beautifulsoup4 4.5.1
Adding beautifulsoup4 4.5.1 to easy-install.pth file

Using /usr/lib/python3.5/site-packages
Searching for kitchen==1.2.1
Best match: kitchen 1.2.1
Adding kitchen 1.2.1 to easy-install.pth file

Using /usr/lib/python3.5/site-packages
Searching for requests==2.11.1
Best match: requests 2.11.1
Adding requests 2.11.1 to easy-install.pth file

Using /usr/lib/python3.5/site-packages
Searching for six==1.10.0
Best match: six 1.10.0
Adding six 1.10.0 to easy-install.pth file

Using /usr/lib/python3.5/site-packages
Searching for decorator==4.0.10
Best match: decorator 4.0.10
Adding decorator 4.0.10 to easy-install.pth file

Using /usr/lib/python3.5/site-packages
Finished processing dependencies for rtv==1.13.0

Offline

#5 2016-11-01 15:57:58

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,868
Website

Re: Browse Reddit from your terminal rtv 1.13.0-1 [Solved]

Glad you got your problem solved, but please remember to use code tags when pasting lots of output.

https://wiki.archlinux.org/index.php/Co … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2016-11-03 09:53:35

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: Browse Reddit from your terminal rtv 1.13.0-1 [Solved]

Lone_Wolf thanks for your reply.  The AUR only has python-praw-git

My issue is solved. I got rtv to work by using the the git clone method from here.  Looks like it grabs what it needs for praw.

python-praw in community

Reading https://pypi.python.org/simple/praw/
Downloading https://pypi.python.org/packages/9b/90/ … 4d31f55d92
<snip>
Reading https://pypi.python.org/simple/update_checker/
Downloading https://pypi.python.org/packages/ae/06/ … 77373144bb

You now have 2 programs installed systemwide that are not managed by pacman, but by pip .
That doesn't have to be a problem, but don't forget there are now 2 package managers active : pacman and pip .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB