FowlerLab/Enrich2

Issue opening GUI

eaconley opened this issue · 1 comments

I recently downloaded and installed Enrich2. I am trying to open the example dataset to assess functionality. When I type:

enrich_gui

I get this error:

File "/Users/eaconley2/opt/anaconda3/lib/python3.9/site-packages/Enrich2-1.3.1-py3.9.egg/enrich2/fqread.py", line 29, in
AttributeError: module 'string' has no attribute 'maketrans'

I am getting this error when attempting the above command from the Enrich2-main directory, as well as the Enrich2-Example-master directory. I have also tried from within the enrich2 Conda environment and outside of this environment, same error both times.

This error only recently occurred, after updating Python. I updated Python in an attempt to fix another error I was receiving. I had successfully opened the GUI and was attempting to open the example dataset as instructed, and received this error as a pop-up:

The open file operation failed to connect to the open and save panel service.

After doing some googling someone recommended updating Python. But now, I cannot open the GUI due to the above-mentioned error. I am running on Mac OS Monterey 12.0.1.

Any help on opening the GUI, and once opened, getting around the file opening issue, will be greatly appreciated. I am a novice in bioinformatics.

Update:

The issue in opening the GUI does seem linked to my Python update. I deleted the enrich2_env from Conda (containing the updated Python) and reformed the environment (which contains Python 2.7.18) and the GUI opened fine.

The other, pop-up error, "the open file operation failed to connect to the open and save panel service", seems to be rooted in an incompatibility between certain releases of Monterey for Mac OS and tk. Updating Mac OS to Monterey 12.3 fixed the issue.

Issues are resolved.