Comments (4)
Thanks for reporting this. Can you please provide a small script that causes this error?
from gamera-4.
This is part of the GUI and therefore probably hard to put into a script:
Traceback (most recent call last):
File "/home/jsbien/.local/lib/python3.9/site-packages/gamera/gui/classifier_display.py", line 1455, in _OnSaveSelectedAsImages
self._OnSaveAsImages(list)
File "/home/jsbien/.local/lib/python3.9/site-packages/gamera/gui/classifier_display.py", line 1468, in _OnSaveAsImages
glyphs.sort(lambda g1,g2: cmp(g1.get_main_id().lower(),g2.get_main_id().lower()))
TypeError: sort() takes no positional arguments
This could be fixed by replacing
gamera-4/gamera/gui/classifier_display.py
Line 1468 in 270e499
glyphs.sort(key=lambda g: g.get_main_id().lower())
from gamera-4.
Thanks to @FriedrichFroebel for the quick fix, which I have uploaded to github.
@jsbien, can you please check whether this solves your problem?
from gamera-4.
Yes, it works now. Thank you very much!
from gamera-4.
Related Issues (20)
- to_pil/from_pil not reliable HOT 4
- A typo HOT 1
- Python 3.10 build fails: incompatible type for argument 1 of '_Py_HashDouble' HOT 1
- Re-enable CI HOT 3
- Deprecation warnings for VIGRA HOT 4
- Uses deprecated PyObject_CheckReadBuffer and PyObject_AsReadBuffer HOT 2
- When I browse this new commit meaningful pictures are replaced by empty pictures? HOT 5
- test_rle.py::test_rle1 Fatal Python error: Segmentation fault HOT 3
- image.to_grey16() outputs fully black images HOT 2
- 🐞 cknn.group_and_update_list_automatic Assertion error when used for NonInteractive classifier HOT 7
- Deprecation of distutils HOT 5
- Python 3.11 compatibility HOT 8
- Description set to build hint? HOT 2
- Tests break with pytest 7.2.0
- SetuptoolsDeprecationWarning: Installing as data is deprecated HOT 2
- Publish on PyPI? HOT 6
- knnmodule.hpp: Type Error raised when id is a string HOT 5
- Harmonization of license statements HOT 2
- Trouble installing gamera 4.1.0 HOT 12
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 gamera-4.