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

can't convert to FixedPoint: None #639

Open
kalok87 opened this issue Nov 2, 2015 · 1 comment
Open

can't convert to FixedPoint: None #639

kalok87 opened this issue Nov 2, 2015 · 1 comment

Comments

@kalok87
Copy link

kalok87 commented Nov 2, 2015

Traceback (most recent call last):
File "/home/kalok/topographica/topographica", line 17, in
process_argv(sys.argv[1:])
File "/home/kalok/topographica/topo/misc/commandline.py", line 758, in process_argv
execfile(filename,main.dict)
File "/home/kalok/Documents/map_sim/task_142/stevens.jn13/gcal.ty", line 323, in
data = measure_or_pref()
File "/home/kalok/topographica/external/param/param/parameterized.py", line 1847, in new
return inst.call(_args,__params)
File "/home/kalok/topographica/external/featuremapper/featuremapper/command.py", line 123, in call
pattern_response_fn=p.pattern_response_fn)
File "/home/kalok/topographica/external/param/param/parameterized.py", line 1847, in new
return inst.call(_args,*_params)
File "/home/kalok/topographica/external/featuremapper/featuremapper/init.py", line 485, in call
results = self._collate_results(p)
File "/home/kalok/topographica/external/featuremapper/featuremapper/init.py", line 554, in _collate_results
label=name, group=map_label)
File "/home/kalok/topographica/external/holoviews/holoviews/core/ndmapping.py", line 707, in init
super(UniformNdMapping, self).init(initial_items, *_params)
File "/home/kalok/topographica/external/holoviews/holoviews/core/ndmapping.py", line 115, in init
self._add_item(initial_items[0], initial_items[1])
File "/home/kalok/topographica/external/holoviews/holoviews/core/ndmapping.py", line 158, in _add_item
dim_vals = tuple(v if None in [t, v] else t(v) for t, v in dim_types)
File "/home/kalok/topographica/external/holoviews/holoviews/core/ndmapping.py", line 158, in
dim_vals = tuple(v if None in [t, v] else t(v) for t, v in dim_types)
File "/home/kalok/topographica/topo/misc/fixedpoint.py", line 338, in cmp
xn, yn, p = _norm(self, other, FixedPoint=type(self))
File "/home/kalok/topographica/topo/misc/fixedpoint.py", line 504, in _norm
y = FixedPoint(y, x.p)
File "/home/kalok/topographica/topo/misc/fixedpoint.py", line 258, in init
raise TypeError("can't convert to FixedPoint: " + value)
TypeError: can't convert to FixedPoint: None

Hallo, I just try to run my simulation and then I got this error. What is this problem and how can I fix it? I really need some helps, thank you!

@philippjfr
Copy link
Member

Do you have gmpy installed?

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

2 participants