Skip to content

FIXED: Install terminator from repositories #244

Closed

Description

@dragonxtek

When I try to install it from repositories, the following issues appear:

error: can't copy 'data/terminator.desktop': doesn't exist or not a regular file
error: can't copy 'data/terminator.metainfo.xml': doesn't exist or not a regular file

To solve it I need to do the following:

cd data/terminator.desktop.in data/terminator.desktop
cp data/terminator.appdata.xml.in data/terminator.metainfo.xml

Activity

  1. mattrose commented on Oct 13, 2020

    @mattrose
    Member

    What repositories are you trying to install from?

  2. dragonxtek commented on Oct 13, 2020

    @dragonxtek
    Author

    I did the following:
    git clone https://github.com/gnome-terminator/terminator.git
    cd terminator
    sudo python3 setup.py install

  3. mattrose commented on Oct 13, 2020

    @mattrose
    Member

    You need to run python setup.py build first.
    Also, you should run python3 setup.py install --single-version-externally-managed --record=install-files.txt otherwise a bunch of assets won't get copied properly.

  4. dragonxtek commented on Oct 13, 2020

    @dragonxtek
    Author

    I re-installed as you said, but now I can't run terminator:

    ...
    writing terminator.egg-info/PKG-INFO
    writing dependency_links to terminator.egg-info/dependency_links.txt
    writing requirements to terminator.egg-info/requires.txt
    writing top-level names to terminator.egg-info/top_level.txt
    reading manifest file 'terminator.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files found matching 'po/.intltool-merge-cache'
    writing manifest file 'terminator.egg-info/SOURCES.txt'
    Copying terminator.egg-info to /usr/local/lib/python3.6/dist-packages/terminator-2.0.1-py3.6.egg-info
    running install_scripts
    changing mode of /usr/local/bin/terminator to 755
    changing mode of /usr/local/bin/remotinator to 755
    writing list of installed files to 'install-files.txt'
    > terminator              
    Traceback (most recent call last):
      File "/usr/local/bin/terminator", line 4, in <module>
        __import__('pkg_resources').run_script('terminator==2.0.1', 'terminator')
      File "/home/dragonxtek/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 666, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/home/dragonxtek/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1454, in run_script
        .format(**locals()),
    pkg_resources.ResolutionError: Script 'scripts/terminator' not found in metadata at '/usr/local/lib/python3.6/dist-packages/terminator-2.0.1-py3.6.egg-info'
    
  5. mattrose commented on Oct 13, 2020

    @mattrose
    Member

    Hmm, what distro/OS are you using? can you upgrade it to python 3.8 easily?

  6. mattrose commented on Oct 13, 2020

    @mattrose
    Member

    Also, try changing to a different directory before running terminator. There were a lot of weird bugs with setuptools in 3.6 I think

  7. mattrose commented on Oct 22, 2020

    @mattrose
    Member

    closing for lack of feedback, please feel free to re-open.

  8. pipatron commented on Feb 19, 2021

    @pipatron

    Came here having what appears to be the same problem as OP, on debian testing. I "solved" it by removing every file and directory in my local install path named something related to terminator, and re-installing. Problem gone.

    I expect this won't happen often, and perhaps only if you keep building from git and having python upgraded etc. Decided to post my "solution" since this will show up when someone searches for the error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions