PlayItSlowly doesn't start after reinstalling KUbuntu

Do you typeset your scores on Linux? Share your thoughts, tips, and tricks here.

Moderators: MattKingUSA, khz

Post Reply
Broomy
Established Member
Posts: 163
Joined: Sun Apr 28, 2013 5:36 am
Been thanked: 1 time

PlayItSlowly doesn't start after reinstalling KUbuntu

Post by Broomy »

I use PlayItSlowly for slowing down the music I'm transcribing.

But after reinstalling Kubuntu (with KXstudio repo's) it doesn't start anymore:

Code: Select all

Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 890, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/playitslowly/app.py", line 36, in <module>
    from gi.repository import Gtk, GObject, Gst, Gio, Gdk
  File "/usr/lib/python3/dist-packages/gi/importer.py", line 127, in find_module
    'introspection typelib not found' % namespace)
ImportError: cannot import name Gtk, introspection typelib not found
I've googled the last line of the error message and found this, but that seems a pretty complicated solution (at least for me).

Any thoughts?

Hans
The Quintar Project:
- Popularizing an all fifths tuning for guitarlike instruments
- Youtube: Playing and Building
- Files: Sourceforge
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: PlayItSlowly doesn't start after reinstalling KUbuntu

Post by tramp »

Have you tried the second solution mentioned there:

Code: Select all

sudo apt-get install gir1.2-gtk-3.0
https://packages.ubuntu.com/xenial/gir1.2-gtk-3.0
https://packages.ubuntu.com/xenial/gir1.2-gtk-3.0 wrote:GTK+ graphical user interface library -- gir bindings
On the road again.
Broomy
Established Member
Posts: 163
Joined: Sun Apr 28, 2013 5:36 am
Been thanked: 1 time

Re: PlayItSlowly doesn't start after reinstalling KUbuntu

Post by Broomy »

Yes sir!

Working fine now. Thanks Hermann.

Hans
The Quintar Project:
- Popularizing an all fifths tuning for guitarlike instruments
- Youtube: Playing and Building
- Files: Sourceforge
wolftune
Established Member
Posts: 1350
Joined: Fri Feb 24, 2012 7:40 pm
Location: Portland, OR
Been thanked: 2 times
Contact:

Re: PlayItSlowly doesn't start after reinstalling KUbuntu

Post by wolftune »

Side-note: there are better tools than PlayItSlowly even within fully-FLO software. I found Mixxx to be very good for this (adjust the prefs to allow +/- 80% tempo shift), and there's also Sonic Visualiser which has huge range of sound and lots of transcribing tools…

The PlayItSlowly dev himself acknowledges that it doesn't have great sound quality, and he made a new tool that's superior but he hasn't released the source (although when you run it via JavaScript in your browser, it doesn't everything locally…). See https://29a.ch/playitslowly/

Let's bug him (respectfully!) to free his new tool…
Aaron Wolf
Music teacher, scholar
http://wolftune.com
Broomy
Established Member
Posts: 163
Joined: Sun Apr 28, 2013 5:36 am
Been thanked: 1 time

Re: PlayItSlowly doesn't start after reinstalling KUbuntu

Post by Broomy »

Thanks for the heads up.
I've found the webbased version also. It would be great if it can be run offline.
I'll check on Mixxx.

Hans
The Quintar Project:
- Popularizing an all fifths tuning for guitarlike instruments
- Youtube: Playing and Building
- Files: Sourceforge
wolftune
Established Member
Posts: 1350
Joined: Fri Feb 24, 2012 7:40 pm
Location: Portland, OR
Been thanked: 2 times
Contact:

Re: PlayItSlowly doesn't start after reinstalling KUbuntu

Post by wolftune »

Mixxx also does beat analyzing and key analysis and can automatically loop a number of beats and do key changes…

The ideal would be for someone to design a new skin for Mixxx specifically for this purpose where there's only one deck instead of two and highlighting the interface elements relevant to this process.
Aaron Wolf
Music teacher, scholar
http://wolftune.com
Post Reply