Comments (4)
Hi there,
I'm encountering a similar problem as csamuel11: when I launch flika from a notebook I get the error posted below which ends with:
KeyError: 'Unknown configuration option "useWeave"'
~/anaconda3/lib/python3.9/site-packages/flika/window.py in <module>
11 from .utils.BaseProcess import WindowSelector, SliderLabel
12
---> 13 pg.setConfigOptions(useWeave=False)
Could this be because of version incompatibilities?
I have the following versions installed:
flika 0.2.30
pyqt 5.9.2 py37h05f1152_2
pyqt5 5.15.4 pypi_0 pypi
pyqt5-qt5 5.15.2 pypi_0 pypi
pyqt5-sip 12.8.1 pypi_0 pypi
pyqtgraph 0.12.1 pypi_0 pypi
Really appreciate any support on this (this package is really helpful for my work).
Thanks,
Weiyu
This is my full error trace - let me know if I can provide any more information to fix the issue.
Starting flika
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-1-a5cf653f9f79> in <module>
13 reload(zds)
14 reload(fs)
---> 15 flk.start_flika()
~/anaconda3/lib/python3.9/site-packages/flika/flika.py in start_flika(files)
113 logger.debug("Started 'flika.start_flika()'")
114 print('Starting flika')
--> 115 fa = FlikaApplication()
116 load_files(files)
117 fa.start()
~/anaconda3/lib/python3.9/site-packages/flika/app/application.py in __init__(self)
151 def __init__(self):
152 logger.debug("Started 'creating app.application.FlikaApplication'")
--> 153 from ..process.file_ import open_file, open_file_from_gui, open_image_sequence_from_gui, open_points, save_file, save_movie_gui, save_points, save_rois
154 from ..process import setup_menus
155 logger.debug("Started 'creating app.application.FlikaApplication.app'")
~/anaconda3/lib/python3.9/site-packages/flika/process/__init__.py in <module>
3 logger.debug("Started 'reading process/__init__.py'")
4
----> 5 from .stacks import *
6 from .math_ import *
7 from .filters import *
~/anaconda3/lib/python3.9/site-packages/flika/process/stacks.py in <module>
6 import numpy as np
7 from qtpy import QtWidgets
----> 8 from ..window import Window
9 from .. import global_vars as g
10 from ..utils.BaseProcess import BaseProcess, BaseProcess_noPriorWindow, WindowSelector, MissingWindowError, CheckBox, SliderLabel, ComboBox
~/anaconda3/lib/python3.9/site-packages/flika/window.py in <module>
11 from .utils.BaseProcess import WindowSelector, SliderLabel
12
---> 13 pg.setConfigOptions(useWeave=False)
14
15
~/anaconda3/lib/python3.9/site-packages/pyqtgraph/__init__.py in setConfigOptions(**opts)
73 """
74 for k,v in opts.items():
---> 75 setConfigOption(k, v)
76
77 def getConfigOption(opt):
~/anaconda3/lib/python3.9/site-packages/pyqtgraph/__init__.py in setConfigOption(opt, value)
62 def setConfigOption(opt, value):
63 if opt not in CONFIG_OPTIONS:
---> 64 raise KeyError('Unknown configuration option "%s"' % opt)
65 if opt == 'imageAxisOrder' and value not in ('row-major', 'col-major'):
66 raise ValueError('imageAxisOrder must be either "row-major" or "col-major"')
KeyError: 'Unknown configuration option "useWeave"'
from flika.
Thanks for the descriptions. I was able to recreate this error on a fresh install, and have fixed it in version 0.2.33. The cause was pg.setConfigOptions(useWeave=False)
passed a configuration option that no longer works in the newer version of pyqtgraph. I'll close this issue now, but feel free to open if it you run into more issues.
from flika.
from flika.
Thank you for fixing this issue!
from flika.
Related Issues (20)
- Kymograph update function fails on out of bounds HOT 1
- PolyLine selector fails on remove link HOT 1
- Permission error saving plugins HOT 3
- Pip installed Flika does not support drop events HOT 5
- issues with rect_line HOT 3
- tests fail with new tifffile HOT 1
- BaseProcess preview and Window switch
- Add a 'subtract black level' feature to the ratio by baseline.
- Error exporting to external hard drive
- Silent plugin errors
- viewing n-dimensional array HOT 1
- pyside?? pyside2?? impossible situation? HOT 7
- Kymograph of a rectangle ROI HOT 2
- Plugin Manager HOT 2
- Butterworth filter HOT 4
- ImportError: DLL load failed while importing _rolling_ball_cy: The specified module could not be found. HOT 4
- Error when starting FLIKA - Assertion Error HOT 5
- Unable to install plugins in clean install HOT 3
- Problem with the functions (eg. Subtract/ Ratio) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flika.