Frescobaldi fails to open

Bug #682295 reported by Tomas Cassidy
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
frescobaldi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: frescobaldi

I tried to open frescobaldi and got the following traceback when running the frescobaldi command from a command line. I also tried purging the package and and got the same error after reinstalling.

Traceback (most recent call last):
  File "/usr/bin/frescobaldi", line 63, in <module>
    app = not args.isSet("new") and runningApp() or newApp()
  File "/usr/share/kde4/apps/frescobaldi/lib/frescobaldi_app/__init__.py", line 34, in newApp
    return mainapp.MainApp(DBUS_PREFIX)
  File "/usr/share/kde4/apps/frescobaldi/lib/frescobaldi_app/mainapp.py", line 51, in __init__
    kateshell.app.MainApp.__init__(self, servicePrefix)
  File "/usr/share/kde4/apps/frescobaldi/lib/kateshell/app.py", line 108, in __init__
    self.mainwin = self.createMainWindow()
  File "/usr/share/kde4/apps/frescobaldi/lib/frescobaldi_app/mainapp.py", line 92, in createMainWindow
    return MainWindow(self)
  File "/usr/share/kde4/apps/frescobaldi/lib/frescobaldi_app/mainapp.py", line 335, in __init__
    kateshell.mainwindow.MainWindow.__init__(self, app)
  File "/usr/share/kde4/apps/frescobaldi/lib/kateshell/mainwindow.py", line 143, in __init__
    self.setupGeneratedMenus()
  File "/usr/share/kde4/apps/frescobaldi/lib/frescobaldi_app/mainapp.py", line 765, in setupGeneratedMenus
    QObject.connect(menu, SIGNAL("aboutToShow()"), populateGenFilesMenu)
TypeError: arguments did not match any overloaded call:
  QObject.connect(QObject, SIGNAL(), QObject, SLOT(), Qt.ConnectionType=Qt.AutoConnection): argument 1 has unexpected type 'NoneType'
  QObject.connect(QObject, SIGNAL(), callable, Qt.ConnectionType=Qt.AutoConnection): argument 1 has unexpected type 'NoneType'
  QObject.connect(QObject, SIGNAL(), SLOT(), Qt.ConnectionType=Qt.AutoConnection): first argument of unbound method must have type 'QObject'

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: frescobaldi 1.0.2-1
ProcVersionSignature: Ubuntu 2.6.35-23.40-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Nov 28 18:37:26 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 PATH=(cususername, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: frescobaldi

Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :
description: updated
Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :

I got it to start by purging frescobaldi and all dependency packages and removing the ~/.kde directory and then reinstalling the frescobaldi package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in frescobaldi (Ubuntu):
status: New → Confirmed
Revision history for this message
Raphael Mankin (raph-p) wrote :

Maybe similar to #1996192

Revision history for this message
Raphael Mankin (raph-p) wrote :

By doing:

sudo apt purge frescobaldi
sudo apt autoremove
find ~ ~/.?? -name '*rescobald*' |xargs rm -rf
sudo apt install frescobaldi

I can get it to start, but I cannot import musicXML, nor can I engrave a .ly file with ctl-M

Traceback (most recent call last):
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/highlight.py", line 209, in paintEvent
    super().paintEvent(ev) # first paint the contents
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/shadow.py", line 43, in paintEvent
    rect = ev.rect().adjusted(-width, -width, width / 2, width / 2)
TypeError: adjusted(self, int, int, int, int): argument 1 has unexpected type 'float'
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 46046, resource id: 18860613, major code: 40 (TranslateCoords), minor code: 0
Traceback (most recent call last):
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/highlight.py", line 209, in paintEvent
    super().paintEvent(ev) # first paint the contents
  File "/usr/share/frescobaldi/frescobaldi_app/qpageview/shadow.py", line 43, in paintEvent
    rect = ev.rect().adjusted(-width, -width, width / 2, width / 2)
TypeError: adjusted(self, int, int, int, int): argument 1 has unexpected type 'float'
Traceback (most recent call last):
  File "/usr/share/frescobaldi/frescobaldi_app/engrave/__init__.py", line 145, in engravePreview
    self.engrave('preview')
  File "/usr/share/frescobaldi/frescobaldi_app/engrave/__init__.py", line 200, in engrave
    self.runJob(job_class(doc, args), doc)
  File "/usr/share/frescobaldi/frescobaldi_app/engrave/__init__.py", line 252, in runJob
    job.manager.manager(document).start_job(j)
  File "/usr/share/frescobaldi/frescobaldi_app/job/manager.py", line 63, in start_job
    app.jobStarted(self.document(), job)
  File "/usr/share/frescobaldi/frescobaldi_app/signals.py", line 191, in emit
    l.call(args, kwargs)
  File "/usr/share/frescobaldi/frescobaldi_app/signals.py", line 308, in call
    return self.func(obj, *args[self.argslice], **kwargs)
  File "/usr/share/frescobaldi/frescobaldi_app/progress.py", line 73, in jobStarted
    self.showProgress(document)
  File "/usr/share/frescobaldi/frescobaldi_app/progress.py", line 59, in showProgress
    self._bar.start(buildtime, j.elapsed_time())
  File "/usr/share/frescobaldi/frescobaldi_app/widgets/progressbar.py", line 74, in start
    self._timeline.setDuration(total * 1000)
TypeError: setDuration(self, int): argument 1 has unexpected type 'float'

Revision history for this message
Abou Samra Jean (jean-abou-samra) wrote :

@raph-p Your problem sounds unrelated to the original problem in this bug report and more like https://bugs.launchpad.net/ubuntu/+source/frescobaldi/+bug/1993213

Revision history for this message
Michael Dietz (mgdietz) wrote :

These newer reports from 2022 are similar to #1993213

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.