Giter VIP home page Giter VIP logo

Comments (2)

bexelbie avatar bexelbie commented on August 19, 2024 1

It appears to be an issue in chardet related to the version. Currently EPEL7 ships with 2.3 and latest is 3.6. I am looking into whether we can get this updated and which version is the minimum.

from mailmerge.

awdeorio avatar awdeorio commented on August 19, 2024

Thanks for taking a look at this. I tried taking a look and had trouble replicating the problem.

Bring up a Centos 7 box.

$ vagrant init centos/7
$ vagrant up
$ vagrant ssh

Install Python 3 from EPEL.

[vagrant@localhost ~]$ sudo yum install epel-release
[vagrant@localhost ~]$ $ sudo yum install python36 python36-setuptools python36-pip

Create a Python virtual virtual environment and install mailmerge. NOTE: I also tried installing globally with the same results.

[vagrant@localhost ~]$ $ python3 -m venv env
[vagrant@localhost ~]$ $ source env/bin/activate
(env) [vagrant@localhost ~]$ pip install mailmerge

Run mailmerge

(env) [vagrant@localhost ~]$ mailmerge --sample
Creating sample template email mailmerge_template.txt
Creating sample database mailmerge_database.csv
Creating sample config file mailmerge_server.conf
Edit these files, and then run mailmerge again
(env) [vagrant@localhost ~]$ mailmerge
>>> encoding ascii
>>> message 0
TO: [email protected]
...

My environment:

(env) [vagrant@localhost ~]$ which python3
~/env/bin/python3
(env) [vagrant@localhost ~]$ which pip
~/env/bin/pip
(env) [vagrant@localhost ~]$ python3 --version
Python 3.6.8
(env) [vagrant@localhost ~]$ pip --version
pip 18.1 from /home/vagrant/env/lib64/python3.6/site-packages/pip (python 3.6)
(env) [vagrant@localhost ~]$ mailmerge --version
mailmerge, version 1.9

from mailmerge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.