Comments (6)
Can you report if the error has gone away? Thanks!
from frescobaldi.
Now Frescobaldi still crashes on startup, but due to some other problem:
File "./frescobaldi", line 3, in
import frescobaldi_app.main
File "/home/igneus/apps/frescobaldi/frescobaldi_app/main.py", line 138, in
main()
File "/home/igneus/apps/frescobaldi/frescobaldi_app/main.py", line 119, in main
win = mainwindow.MainWindow()
File "/home/igneus/apps/frescobaldi/frescobaldi_app/mainwindow.py", line 110, in init
self.createMenus()
File "/home/igneus/apps/frescobaldi/frescobaldi_app/mainwindow.py", line 777, in createMenus
menu.createMenus(self)
File "/home/igneus/apps/frescobaldi/frescobaldi_app/menu.py", line 66, in createMenus
m.addMenu(f(mainwindow))
File "/home/igneus/apps/frescobaldi/frescobaldi_app/menu.py", line 224, in menu_tools
m.addMenu(menu_tools_pitch(mainwindow))
File "/home/igneus/apps/frescobaldi/frescobaldi_app/menu.py", line 251, in menu_tools_pitch
ac = pitch.Pitch.instance(mainwindow).actionCollection
File "/home/igneus/apps/frescobaldi/frescobaldi_app/plugin.py", line 85, in instance
result.init(obj)
File "/home/igneus/apps/frescobaldi/frescobaldi_app/pitch/init.py", line 48, in init
qutil.addAccelerators(m.actions())
File "/home/igneus/apps/frescobaldi/frescobaldi_app/qutil.py", line 123, in addAccelerators
for prio, pos, accel in source:
File "/home/igneus/apps/frescobaldi/frescobaldi_app/qutil.py", line 113, in find
for prio, matches in finditers(action):
File "/home/igneus/apps/frescobaldi/frescobaldi_app/qutil.py", line 103, in finditers
if isinstance(action, QAction) and len(action.shortcut()) > 0:
TypeError: object of type 'QKeySequence' has no len()
from frescobaldi.
Many thanks for your testing help. It seems PyQt4.7 has not the advanced handling of QKeySequence objects PyQt4.8 and 4.9 have. But it is my intention to keep F2 compatible with PyQt4.7 so this must be fixed.
from frescobaldi.
Does it work correctly now? The method in question does a rather nice thing: it gives a keyboard accelerator to a menu action (by underlining that character in the menu command text. And while doing that it also looks to the keyboard shortcut of the command. So if the command is "LilyPond Version" and the keyboard shortcut is "Ctrl+V", it will prefer to underline the "V" in the menu command: "LilyPond _Version". Which makes for logically chosen menu command accelerator keys.
from frescobaldi.
Yes, yes! :)
It works now. Thank you very much.
from frescobaldi.
thank YOU!
from frescobaldi.
Related Issues (20)
- RuntimeError: wrapped C/C object of type TabBar has been deleted HOT 1
- AttributeError: 'NoneType' object has no attribute 'document' HOT 1
- AttributeError: 'WebEngineDummy' object has no attribute 'view' HOT 1
- Music view: prefer to show most recent output file HOT 2
- RuntimeError: wrapped C/C object of type TabBar has been deleted HOT 3
- Upgrade to pyqt6? HOT 1
- RuntimeError: wrapped C/C object of type QAction has been deleted HOT 1
- Frescobaldi fails to process files with a semicolon in their filename HOT 1
- Feature Request: Simple Midi Record / fast edit
- api-ms-win-core-path-l1-1-0.dll missing HOT 3
- Asking for compatibility of Windows 7 with previous versions of Frescobaldi and Lilypond HOT 1
- Weird issues with UI scaling on high screen resolution
- TypeError: cannot create weak reference to 'NoneType' object
- RecursionError: maximum recursion depth exceeded while calling a Python object
- Freezes on restart HOT 1
- RuntimeError: wrapped C/C object of type TabBar has been deleted HOT 1
- RuntimeError: wrapped C/C object of type QAction has been deleted
- Copy as Colored HTML does not work in Linux unless "plain text" setting is checked HOT 4
- RuntimeError: wrapped C/C object of type TabBar has been deleted HOT 1
- Patterns to match in text (including comments) regexes not saving
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 frescobaldi.