Have questions? Visit https://www.reddit.com/r/SNPedia

Talk:Promethease/Desktop

From SNPedia

Oddly enough I've not seen these issues reported anywhere, and no matches on Google, but surely I must not be only one encountering them?

Version 0.1.166 on Ubuntu 16.04.1 LTS (and earlier):

$ ./promethease --cmdline --help
python version 2.7.6 (default, Jun 22 2015, 18:01:27)
[GCC 4.8.2]
using 64bit
temp is /tmp/tmpdL7MJJ
I am: 1000
Traceback (most recent call last):
 File "<string>", line 90, in <module>
 File "vagrant/prepenv.py", line 173, in preHack
 File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 38
 File "vagrant/libs/pywikipedia/wikipedia.py", line 9058, in <module>
 File "vagrant/libs/pywikipedia/wikipedia.py", line 8809, in getSite
 File "vagrant/libs/pywikipedia/pywikibot/support.py", line 121, in wrapper
 File "vagrant/libs/pywikipedia/wikipedia.py", line 5969, in __init__
 File "vagrant/libs/pywikipedia/wikipedia.py", line 5780, in Family
ValueError: Family 'snpedia' does not exist
promethease returned -1

https://www.mediawiki.org/wiki/Manual:Pywikibot/Use_on_third-party_wikis suggests that a Wiki configuration file snpedia_family.py is missing. It seems this should be included in the libraries inside the binary, in any case snpedia_family.py can't be found anywhere even if it were possible to provide it outside the binary.

Version 0.1.166 on Windows 10 and earlier, trying to process VCF file:

Error 'NoneType' object has no attribute 'allsnpediasnpset' after 0 records from sample.vcf
Traceback (most recent call last):
 File "bots\prometheaseui.py", line 2153, in OnNormalGenotypesChangingWorkflow
 File "bots\genoparser.py", line 2999, in genofunc
 File "site-packages\vcf\parser.py", line 288, in __init__
 File "site-packages\vcf\parser.py", line 304, in _parse_metainfo
 File "site-packages\vcf\parser.py", line 268, in <genexpr>
 File "bots\genoparser.py", line 2961, in vcfsnpediafilter
AttributeError: 'NoneType' object has no attribute 'allsnpediasnpset'

Same, identical VCF file worked on version 0.1.164, but no VCF files appear to work on 0.1.166 so it appears to be something changed in 0.1.166.