Duplicity installation

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
mifrey
DD-WRT Novice


Joined: 23 Dec 2018
Posts: 8

PostPosted: Sun Dec 20, 2020 13:36    Post subject: Duplicity installation Reply with quote
I am trying to install duplicity from entware. I am getting "sh: msgfmt: not found". msgfmt is provided by gettext on other distributions. Entware has no gettext. What is the correct way to install duplicity on dd-wrt?

Code:

# env HOME=/opt/home/python-pip pip install duplicity
Collecting duplicity
  Downloading duplicity-0.8.17.tar.gz (1.3 MB)
     |████████████████████████████████| 1.3 MB 246 kB/s
    ERROR: Command errored out with exit status 1:
     command: /opt/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kk45mxzz/duplicity_7716df507654461cb090979374ef36ad/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kk45mxzz/duplicity_7716df507654461cb090979374ef36ad/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-zpu0igd8
         cwd: /tmp/pip-install-kk45mxzz/duplicity_7716df507654461cb090979374ef36ad/
    Complete output (9 lines):
    sh: msgfmt: not found
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-kk45mxzz/duplicity_7716df507654461cb090979374ef36ad/setup.py", line 322, in <module>
        data_files=get_data_files(),
      File "/tmp/pip-install-kk45mxzz/duplicity_7716df507654461cb090979374ef36ad/setup.py", line 123, in get_data_files
        assert not os.system(u"msgfmt po/%s.po -o po/%s/duplicity.mo" % (lang, lang)), lang
    AssertionError: bg
    Unable to get SCM version: defaulting to 0.8.17
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum