This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Troubleshoot transfer tracks to iPod Classic from 2.7.1

Tags: ipod, 2.7.1, amarok, transfer, copy, error, troubleshooting, copying ipod, 2.7.1, amarok, transfer, copy, error, troubleshooting, copying ipod, 2.7.1, amarok, transfer, copy, error, troubleshooting, copying
(comma "," separated)
User avatar
devehf
Registered Member
Posts
27
Karma
0
OS
I can no longer transfer tracks to my iPod Classic from Amarok 2.7.1. KDE 4.10.05 :'(

The issue began after I was copying several albums in parallel and Amarok hung. After forcing closure and restarting, I re-tried copying albums and get the following error:
"Transfer of tracks failed". The details are: "[n] files could not be copied."

In debug mode I get the following in the terminal window for each track that fails to copy:
Code: Select all
amarok: Copying from KUrl("file:///media/Media_/Music/Gold_Panda-TrustEP/04 Casyam_59%2302.mp3") to KUrl("file:///tmp/ipodhzH2X3/iPod_Control/Music/F30/libgpod573297.mp3")
amarok: "/tmp/ipodhzH2X3/iPod_Control/Music/F30/libgpod573297.mp3" does not exist even though we thought we copied it to iPod


Any idea on what could be causing this and how to fix it?

Thanks in advance, especially to @Strohel who works so hard to overhaul device synchronization. Thanks to you, my Ubuntu Studio machine is still in action.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
sounds like a db lockup, most likely on the iPod. That has happened before, you should be able to find something about this in the forum.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
devehf
Registered Member
Posts
27
Karma
0
OS
Mamarok wrote:db lockup


I searched for db lockup and other terms and could not find a definitive how to on this subject. Any pointers?
User avatar
strohel
KDE Developer
Posts
54
Karma
0
OS
devehf wrote:In debug mode I get the following in the terminal window for each track that fails to copy:
Code: Select all
amarok: Copying from KUrl("file:///media/Media_/Music/Gold_Panda-TrustEP/04 Casyam_59%2302.mp3") to KUrl("file:///tmp/ipodhzH2X3/iPod_Control/Music/F30/libgpod573297.mp3")
amarok: "/tmp/ipodhzH2X3/iPod_Control/Music/F30/libgpod573297.mp3" does not exist even though we thought we copied it to iPod
Oh, this is strange. I've extended the debugging information you get (in the "sorry" dialog) in Amaork 2.8 Beta, could you please upgrade your Amarok, retry and post the error it tells you?
User avatar
devehf
Registered Member
Posts
27
Karma
0
OS
strohel wrote:could you please upgrade your Amarok, retry and post the error it tells you?

Sure thing. Thanks for the help. Working on it now.
User avatar
devehf
Registered Member
Posts
27
Karma
0
OS
I'm having trouble compiling. I get the error
Code: Select all
add_subdirectory given source "modules" which is not an existing directory.

Do I need to create a directory "modules"? Where?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you please post the full output of the CMake command, as well as the output of "git describe"?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
devehf
Registered Member
Posts
27
Karma
0
OS
Here's the output:
Code: Select all
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`-DDBUS_INTERFACES_INSTALL_DIR=/home/davef -DCMAKE_BUILD_TYPE=debugfull
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:2 (add_subdirectory):
  add_subdirectory given source "modules" which is not an existing directory.


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!


And the output to git describe:

Code: Select all
git describe
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
What instructions do you follow to compile? You apparently are not in the correct directory to build.
Also if you compile from git you should do this is a local directory and make sure to remove the distribution packages.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
devehf
Registered Member
Posts
27
Karma
0
OS
These instructions.
http://community.kde.org/Amarok/Development/Compiling

The instructions say,
Change into the build directory
. Is this instruction incorrect? I am executing the cmake command in this build directory.

I downloaded a tar file from the Amarok site. I have removed the distribution version of Amarok.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Something seems to have gone wrong, starting with the cmake version you have on your system, which is quite strange if you indeed use Kubuntu 13.04

Did you check the README file to make sure you have all required dependencies? I guess it would be easier to wait for the distribution build of 2.8 beta if you are not really experienced with building from source.

It's pretty pointless to make a "git describe" command if you didn't make a git checkout, not necessary for building the tarball. But you of course need all development files of the dependencies.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
strohel
KDE Developer
Posts
54
Karma
0
OS
Hmm, I think the build instructions at http://community.kde.org/Amarok/Development/Compiling are outdated at best, please scratch everything and build & install Amarok using instructions at http://blogs.fsfe.org/myriam/2009/09/co ... l-summary/ (it is git, but it is more stable than 2.8 Beta) instead while we fix the wiki.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]