Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conesearch crashing when querying web-encoded url #6

Open
chbrandt opened this issue Jan 12, 2020 · 0 comments
Open

Conesearch crashing when querying web-encoded url #6

chbrandt opened this issue Jan 12, 2020 · 0 comments

Comments

@chbrandt
Copy link
Owner

Email from user:

I installed EADA from the source files on github using the command
"python setup.py install". I have Ubuntu 18.04LTS (64bit) and I use
python 2.7.17. However, when I launch conesearch I get this error:

conesearch --db /home/dell/VOU_Blazars-master/bin/cats1.ini --catalog
5BZCat --ra 194.046 --dec -5.789 --radius 0.5 --runit arcmin --columns
default -o 5bzcat.1.csv
Traceback (most recent call last):
File "/usr/local/bin/conesearch", line 4, in
import('pkg_resources').run_script('eada==0.9.7.4', 'conesearch')
File
"/home/dell/.local/lib/python2.7/site-packages/pkg_resources/init.py",
line 666, in run_script
self.require(requires)[0].run_script(script_name, ns)
File
"/home/dell/.local/lib/python2.7/site-packages/pkg_resources/init.py",
line 1462, in run_script
exec(code, namespace, namespace)
File
"/usr/local/lib/python2.7/dist-packages/eada-0.9.7.4-py2.7.egg/EGG-INFO/scripts/conesearch",
line 189, in
cp = config._read(args.dbfile)
File
"/usr/local/lib/python2.7/dist-packages/eada-0.9.7.4-py2.7.egg/eada/io/config.py",
line 56, in read
cfg
= config.read_ini(filename)
File
"/usr/local/lib/python2.7/dist-packages/eada-0.9.7.4-py2.7.egg/eada/io/config.py",
line 139, in read_ini
for k,v in config.items(_section):
File
"/home/dell/.local/lib/python2.7/site-packages/backports/configparser/init.py",
line 944, in items
return [(option, value_getter(option)) for option in orig_keys]
File
"/home/dell/.local/lib/python2.7/site-packages/backports/configparser/init.py",
line 940, in
self, section, option, d[option], d
File
"/home/dell/.local/lib/python2.7/site-packages/backports/configparser/init.py",
line 430, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
File
"/home/dell/.local/lib/python2.7/site-packages/backports/configparser/init.py",
line 486, in _interpolate_some
"'%%' must be followed by '%%' or '(', " "found: %r" % (rest,),
backports.configparser.InterpolationSyntaxError: '%' must be followed by
'%' or '(', found: u'%2F92%2Ffirst14&'

Have you seen this error before? Do you know how I could fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant