BioinfoUNIBA / REDItools

REDItools are python scripts to investigate RNA editing at genomic scale.
MIT License
57 stars 35 forks source link

Reditools.py, remote connection error :socket.herror #14

Open H-Qiya opened 2 years ago

H-Qiya commented 2 years ago

Dear @tizianoflati @tflati

Thanks for your teams’ efforts! REDItools2 is one of the most popular tools in the study of RNA editing, and I hope to put it into best advantage! However, I’ve got a little bug when using reditools.py using basic options, and the bug report is as follows:

('[SYSTEM]', 'PYSAM VERSION', '0.17.0') 
 ('[SYSTEM]', 'PYSAM PATH', ['/home/hqy/miniconda3/envs/rna_editing/lib/python2.7/site-packages/pysam'])
Traceback (most recent call last):
File "/mnt/d/BioApp/reditools2.0/src/cineca/reditools.py", line 1374, in <module>
analyze(options)
File "/mnt/d/BioApp/reditools2.0/src/cineca/reditools.py", line 849, in analyze
hostname=socket.gethostbyaddr(netifaces.ifaddresses(interface)[netifaces.AF_INET][0]['addr'])
socket.herror: [Errno 1] Unknown host

It seems that reditools2.0 will try remote connection at the very fist step, but what I need is to run it locally. How can I fix it?

In addition, my environment is as follows:

conda 4.10.3
Python 2.7.15
htslib 1.14
netifaces 0.10.9
openmpi 4.1.2
pip 20.0.2
pysam 0.17.0
psutil 4.4.2
python-socketio 1.8.0
samtools 1.14
sortedcontainers 2.4.0
tabix 1.11

Thanks again for your efforts, and I am sincerely looking forward to your reply and hoping to promote progress in field of RNA editing!