PDA

View Full Version : Itunes 8


eded9698
01-18-2009, 06:01 PM
Does the latest beta work with Itunes 8?

Dean Roddey
01-18-2009, 06:09 PM
It's not specifically updated to do so, and some folks have had some issues. So it may or may not work for you. I won't be any worse than the official release anyway.

gacevich
04-17-2009, 03:51 AM
is v3.0 reconfigured to work with itunes? i seem to remember discussion around using a com interface vs. an xml.

Dean Roddey
04-17-2009, 09:55 AM
If you have the latest beta, there is a second iTunes driver in there. It uses a helper program that runs in the system tray. I'll get it documented on the beta web site today and get the tray app uploaded and linked to from the driver doc page, so folks can start using it.

Dean Roddey
04-17-2009, 01:46 PM
If you go to the beta web site, the iTunes docs are updated and there's a link to the tray app installer there in the driver docs. You should be on the latest beta.

gacevich
04-28-2009, 02:32 PM
i'm on the latest beta and downloaded the tray app installer and unzipped the files. i don't see and install program to install the tray app. which file to i run to install the tray app?

Dean Roddey
04-28-2009, 03:42 PM
I think that it's just a standard Windows installer, which is usually an .msi file I think, right?

gacevich
04-28-2009, 03:58 PM
maybe it got lost when i unzipped the folder, but i checked all the directories and no *.msi files. the main directory has a .sln and a .suo file but neither one of those will install the helper.

what did other people use?

Dean Roddey
04-28-2009, 04:05 PM
Oh, maybe I uploaded the source instead of the installer. Let me check.

Dean Roddey
04-28-2009, 04:12 PM
Try it again. The source drop and the installer zip had the same name so I uploaded the wrong one.

Dean Roddey
04-28-2009, 10:01 PM
So I played with this a bit, and I saw a similar issue. But then it started working. I'm not sure completely why. Mark wrote the tray app so I'm not sure exactly what all it's doing internally. But I got an error back from the tray app that it couldn't open the XML file, and then there weren't any images. But I forced a reload again and it worked that time.

So Mark will possibly have to look into this. We would optimally like to change it so that it just feeds the data directly to the driver instead of spitting it out into a file, but this was seen as a reasonable first step.

I made a slight tweak on my side to maybe improve things, which is in the .40 release I just posted. But Mark also needs to change the format of the messages the app sends back to the driver so that I can better parse them and know when something failed.

Dean Roddey
05-01-2009, 07:12 PM
I just uploaded 2.4.41 and there's a new tray app to download. So give that a try and see if it's happier.

Dean Roddey
05-03-2009, 07:35 PM
Anyone tried this guy again since the latest tweaks?

froop
05-03-2009, 08:01 PM
Anyone tried this guy again since the latest tweaks?

I upgraded from thirty-something to the lastest beta last night. All the simple checks seemed to work, so I started to check out the new iTunes repo driver. Had a few issues and ended up giving up about 1:30am since I had to get up at 6:30 for work :)

First off I'm not sure if I was just missing a forum post or some other doc, so please forgive me if some of my questions/comments are addressed elsewhere. First off, it confused me a little bit because iTunes also has its own trayhelper exe, and I wasn't sure if I should run the CQSL trayhelper at startup, or if I only needed it to export my library.

So I installed iTunes on my master server (only PC guaranteed to be up and running), fired it up, and waited while it did its stuff (album art, gapless playback etc, etc). Then installed the CQSL trayhelper. Figured out I needed to change the config file to point to a temp directory.

Clicked the systray icon, and decided "Invoke" seemed to be the right thing to do. The only feedback that I got from it was when I spotted my temp directory had a 0 byte XML file, and the dir was filling up with album art. It would be nice if the systray icon could change colour to indicate status. I was playing around with iTunes as well in the meantime, and a few times the album artwork files stopped appearing. Selecting 'About' from the trayhelper icon showed some sort of comms error (sorry, no details. It was late and I was tired, and I'm not at home at the moment :) ).

I eventually left it alone while it did its thing and I went to bed. In the morning, it had an XML file larger than 0 bytes, which I figure was a good thing. It ended up taking about 2hrs to complete (based on file timestamps). Length of time is most likely related to music being on a NAS.

I started up the iTunes2 repo, and it seemed to find the XML file, but could not load the repo. Sorry, once again was rushed before heading to work, so no log files with me.

What isn't 100% clear to me is exactly how the trayhelper works, or more importantly, what it does. From what I can gather, it requires iTunes to be running, and it uses hooks into iTunes to generate its own XML file (and pull all the artwork) so CQC can get its fingers into it.

But what happens when I add/modify my iTunes library? Do I need to "Invoke" the trayhelper, wait for it to finish, and then do a ReloadDB on the iTunes repo driver?

Another thing I noticed was that the album art files that were being generated seemed to be repeats. I was often getting multiple (10-20) images of the same artwork. The MP3 meta data for album, artist and album-artist was all in order.

Dean Roddey
05-03-2009, 08:05 PM
The driver actually talks to the tray app. So it tells it where to put the files. So the driver and iTunes and the tray app all need to be on the same machine. So just load the tray app on startup. When the driver comes up, or you ask it to reload, it will talk to the tray app and ask it to generate the data in a directory it selects, then it will load the data after the tray indicates it is done.

gacevich
05-09-2009, 02:57 PM
Connection Details
The connection in this case is from the driver to the tray app, so you must indicate the TCP/IP address of the trap app that the driver should connect to. Don't have multiple instances of this driver talking to the same Tray App.

just installed the trap app. what TCP address do i use for the driver setup? i used the TCP address of the master server where the tray app is running. i get a "waiting for config" for the itunes driver. is there a separate address for the tray app?

Dean Roddey
05-09-2009, 03:41 PM
The new driver and the tray app have to run on the same machine currently. So you would generally just enter localhost as the address, which means the same machine as where the driver is running. Though you can enter the actual machine's address as well, wherever the tray app and driver are running.

gacevich
05-10-2009, 05:00 AM
still no joy, so i'll try to describe my setup in more detail.

i have the new itunes driver installed on my master server which has itunes installed on it. my itunes library is on my study pc, but itunes on the master server is setup to use the study pc library.

i entered the name of the master server in the itunes setup and its ip address is as shown below in the driver info screen.
http://i225.photobucket.com/albums/dd95/withmere/itunesdriversetup.jpg
this seems ok to me.

when i invoke the itunes helper it opens itunes. i was hoping i didn't have to run itunes on the master server, but...oh, well, not such a big deal. i still get the "wait for config" message in the driver state field for the itunes driver. right clicking on the itunes helper icon and selecting About yields this message which seems like a problem to me.
http://i225.photobucket.com/albums/dd95/withmere/itunesaboutmsg.jpg
there is no "m:\" on the master server and i don't remember being asked what drives to use. is this the problem?

looking closer at the about message from the helper it says that it cannot access the .xml file because another program is blocking it. i thought maybe it is the open version of itunes so i went to shut down itunes thinking it would release the .xml file so the helper could have sole access to it. when i go to shut down itunes i get this message
http://i225.photobucket.com/albums/dd95/withmere/itunesscriptingmessage.jpg

after letting itunes close, i still get "wait for config" as state of itunes driver. arrggg. checking back with the itunes helper, it says some other program is blocking its access to the .xml file.

oh, boy. any suggestions on what to change in order to get the itunes driverto connect?

Dean Roddey
05-10-2009, 09:27 AM
You don't invoke the helper yourself. The driver invokes it for you. The m:\\ whatever is just a default path that the helper app uses if you want to invoke it manually. The driver asks the helper app to generate the files to whatever path it wants it to. So don't manually invoke the helper.

The one or more applications thing is normal. The tray app has opened up iTunes and is talking to it. iTunes is telling you that you are shutting down iTunes when something is talking to it. It's no problem to do that.

The file in use thing is something we are looking into. You need to be on the latest .45 beta and you need to get the latest helper app, since we've been tweaking things.

gacevich
05-11-2009, 08:59 AM
upgraded to v.45 and downloaded the latest helper. still getting the "wait for config" error. let me know if i can help as you "tweak" things.

Dean Roddey
05-11-2009, 10:06 AM
See above in this thread for how to turn on the logging in the helper app and get some log info for Mark to look at. Oh, and go back up a page or so and download the helper app there, which has the extra logging he will want and install that one.

Mark Stega
05-11-2009, 11:45 AM
upgraded to v.45 and downloaded the latest helper. still getting the "wait for config" error. let me know if i can help as you "tweak" things.Do you have one instance of each of

1) iTunes Repository 2 CQC driver

2) iTunes

3) The iTunesHelper app, version 1.3

all running on the same box (they need to be). You can use localhost for the IP address.

gacevich
05-11-2009, 02:57 PM
dean, i reviewed this thread twice and did not see where to turn on the logging. might that be in the beta thread?

mark, yes one instance of each. Itunes v8.0.2.20 and the itunes driver in v.45. when i go to "About" in the helper i don't see a version listed. i downloaded the helper from the beta docs site yesterday.

Dean Roddey
05-11-2009, 04:32 PM
Ooops, too many threads. Yeh, it's over there. Start here:

http://www.charmedquark.com/vb_forum/showthread.php?t=6824&page=121

The extra logging helper may be on the page before that.

gacevich
05-12-2009, 03:06 AM
i found and installed the extra logging helper. then tried to follow these instructions from the beta thread:

I'll have to build a newer version of the helper with more extensive logging, but then your scheme will be to :

1) Exit the helper

2) Install the new helper

3) Put the helper into verbose mode (edit iTunesHelper.exe.config and change the log level to SuccessAudit)

4) Delete iTunesHelper.Log

5) Start the helper and invoke it manually. Post the log.

i got stuck on step 3). i could not find ituneshelper.exe.config. could you give a bit more guidance on how to do step 3?

fyi, after installing the extra logging helper i manually invoked it and still got "wait for config" and the helper seemed to be using a lot of cpu power...btwn helper and itunes it was 10-30%.

Mark Stega
05-12-2009, 03:28 AM
The ituneshelper.exe.config is in the installation directory (by default, "c:\program files\charmed quark systems limited\iTunesHelper\"). The 2nd line in the "about" dialog shows the version of the helper. The 'extra logging' helper has no changes but extra logging. So it should be more cpu/disc intensive than before once you enable the logging, the same otherwise.

Mark Stega
05-12-2009, 08:04 AM
With the help of Erik we've found one issue with the diver/helper that will require a code change. His music collection is big enough that it takes about 30 minutes to create the XML file. When I finish and try to send the ACK back to the repository driver the socket write fails.

We are going to have to change the interface between the driver and helper to resolve this, thus it will take a new CQC drop as well as a new helper.

If you are having a problem turn on the logging. If the issue is the same, the logs will have something like this as the error occurs:

<many lines removed>
(12:40:45 PM - SuccessAudit) Playlist 'Top 25 Most Played' processing
(12:40:45 PM - SuccessAudit) Library processing complete
(12:40:46 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(12:40:46 PM - Information) Accepted a connection via the TcpListener
(12:40:46 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _ITunes\"/>

'
(12:40:46 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _ITunes\

(12:40:46 PM - Error) Exception processing GenerateXML messageSystem.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.ListenS ocketAcceptAndProcessConnections()
(12:40:46 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(12:40:46 PM - Information) Accepted a connection via the TcpListener
(12:40:46 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _ITunes\"/>

Dean Roddey
05-12-2009, 09:40 AM
Wow, if it's going to take that long, then you don't want the driver to invoke that load. Becasue it's going to do it any time the driver starts, and you'll probably spend 30 minutes unable to access your media for no good reason.

So I assume that the driver shouldn't ever ask it to do one automatically and that perhaps we need a manual mode for the driver which will never do a regeneration itself but will only load what's there.

Mark Stega
05-12-2009, 09:57 AM
How about a slight variation -- The driver would only ask on startup to have one generated if there is no XML file in the directory. Then it will only ask the helper to regenerate on demand. We still have to keep the socket alive but at least a user could have a button in an interface that said 'Reload iTunes'

Dean Roddey
05-12-2009, 12:29 PM
We could do that. The tray app would need to send some sort of percentage complete field so that the driver could keep updating that, so that the progress could be displayed. Otherwise, there would be no way to know if the tray app has just died ungracefully or something and the driver would never know when to give up.

And the tray app always need to check for loss of connection, otherwise, if the driver does give up (because it's asked to) the try app will just keep going and the next time the driver tries to connect it'll fail because the tray app is already going. Or, it could send back a 'already working, here's the percentage' and then pick up from there.

gacevich
05-12-2009, 02:34 PM
fwiw, after a slow start, i was able to change the log level. the only part i left off was the song data that looked like it was intended for an .xml file.

(6:27:48 PM - Information) Accepted a connection via the TcpListener
(6:27:48 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(6:27:48 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(6:27:48 PM - SuccessAudit) Starting iTunes library processing
(6:27:48 PM - SuccessAudit) Cleaning destination directory
(6:27:48 PM - SuccessAudit) Connecting to iTunes COM object
(6:28:11 PM - Information) Sent a message on the Listen Port of 'NAK - System.IO.DirectoryNotFoundException: Could not find a part of the path 'm:\temp\iTunesRepository.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
'
(6:28:11 PM - Information) Completed processing
(6:28:18 PM - Information) Accepted a connection via the TcpListener
(6:28:18 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(6:28:18 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

Mark Stega
05-12-2009, 04:38 PM
Does the specified directory exist for the output? I believe it doesn't from the messages.

gacevich
05-12-2009, 06:20 PM
if you are referring to this directory,
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\
yes, it exists.

it contains a file called itunesrepository.xml

i will add that when i first opened this directory (before closing the helper) it was populated with 20 album art files. i shut down the helper to see what would happen (just a hunch) and all the album art disappeared. restarted the helper and the 20 album covers reappeared..

Dean Roddey
05-12-2009, 06:42 PM
I just got 2.4.46 uploaded which includes the fixes that should allow it to deal with the really big repositories. The helper feeds the driver status info as it works. So you need to download the newest helper from the beta web driver page.

The first time I cranked up it up as I was working on this, I got that access violation on the XML file again. So I went over and tried to delete it (to see if it was still locked) and couldn't. The same access violation. So I then stopped the driver and tried to delete it and it was still locked, and stayed that way over a few minutes as I kept trying. I then stopped iTunes, which I assume would make the tray app reset, and then I could delete it.

So somehow it seems like the tray app is interfering with itself or something. I dunno. The XML file was zero bytes the whole time. The driver never could have even tried to access it since it never got that far.

The next time I worked and continued to work for the next four or five times I did it in order to test the changes. I changed the driver so that it just dumps the status text sent by the helper into the driver's load status field. So you should see in that field what the helper is spitting out as it loads.

jrunde
05-12-2009, 07:57 PM
if you are referring to this directory,
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\
yes, it exists.

it contains a file called itunesrepository.xml

I think Mark was referring to this: Could not find a part of the path 'm:\temp\iTunesRepository.xml'. It's on the line that starts with (6:28:11 PM

gacevich
05-13-2009, 01:03 AM
I think Mark was referring to this: Could not find a part of the path 'm:\temp\iTunesRepository.xml'. It's on the line that starts with (6:28:11 PM
oh, if that's the case, then "No" that directory does not exist. i mentioned that in a prior post. there is no M:\ on this pc. dean mentioned that this drive is only used if the helper is invoked manually in a prior post. maybe that's the problem?

gacevich
05-13-2009, 01:08 AM
I just got 2.4.46 uploaded which includes the fixes that should allow it to deal with the really big repositories. The helper feeds the driver status info as it works. So you need to download the newest helper from the beta web driver page.

The first time I cranked up it up as I was working on this, I got that access violation on the XML file again. So I went over and tried to delete it (to see if it was still locked) and couldn't. The same access violation. So I then stopped the driver and tried to delete it and it was still locked, and stayed that way over a few minutes as I kept trying. I then stopped iTunes, which I assume would make the tray app reset, and then I could delete it.

So somehow it seems like the tray app is interfering with itself or something. I dunno. The XML file was zero bytes the whole time. The driver never could have even tried to access it since it never got that far.

The next time I worked and continued to work for the next four or five times I did it in order to test the changes. I changed the driver so that it just dumps the status text sent by the helper into the driver's load status field. So you should see in that field what the helper is spitting out as it loads.

my repository is about 4,000 titles, not sure if that is big or not. here is the top part of the log after moving up to v46 and helper1.4. i still get "wait for config" status of the driver. the size of the log file is bigger (~108mb) and at a quick glance looks like it saw all the songs in the library.

6:27:48 PM - Information) Accepted a connection via the TcpListener
(6:27:48 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(6:27:48 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(6:27:48 PM - SuccessAudit) Starting iTunes library processing
(6:27:48 PM - SuccessAudit) Cleaning destination directory
(6:27:48 PM - SuccessAudit) Connecting to iTunes COM object
(6:28:11 PM - Information) Sent a message on the Listen Port of 'NAK - System.IO.DirectoryNotFoundException: Could not find a part of the path 'm:\temp\iTunesRepository.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
'
(6:28:11 PM - Information) Completed processing
(6:28:18 PM - Information) Accepted a connection via the TcpListener
(6:28:18 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(6:28:18 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

Mark Stega
05-13-2009, 03:47 AM
oh, if that's the case, then "No" that directory does not exist. i mentioned that in a prior post. there is no M:\ on this pc. dean mentioned that this drive is only used if the helper is invoked manually in a prior post. maybe that's the problem?

Did you do a manual invoke from the tray app? If so, then you need to either make a 'm:\temp' directory available or change the config file to point to an available directory,

Mark Stega
05-13-2009, 03:54 AM
I just got 2.4.46 uploaded which includes the fixes that should allow it to deal with the really big repositories. The helper feeds the driver status info as it works. So you need to download the newest helper from the beta web driver page.

The first time I cranked up it up as I was working on this, I got that access violation on the XML file again. So I went over and tried to delete it (to see if it was still locked) and couldn't. The same access violation. So I then stopped the driver and tried to delete it and it was still locked, and stayed that way over a few minutes as I kept trying. I then stopped iTunes, which I assume would make the tray app reset, and then I could delete it.

So somehow it seems like the tray app is interfering with itself or something. I dunno. The XML file was zero bytes the whole time. The driver never could have even tried to access it since it never got that far.

The next time I worked and continued to work for the next four or five times I did it in order to test the changes. I changed the driver so that it just dumps the status text sent by the helper into the driver's load status field. So you should see in that field what the helper is spitting out as it loads.
I think this may be an OS issue (indexing or something because i do

StreamWriter writer = new StreamWriter(p_Path + "iTunesRepository.xml");
SimpleXMLWriter xmlwriter = new SimpleXMLWriter(writer);


..create the xml doing all processing...
xmlwriter.Close();
writer.Close();

Marshal.ReleaseComObject(m_iTunesApp);

ApplicationLog.WriteLog(EventLogEntryType.SuccessA udit, "Library processing complete");

return "ACK - Processing complete\r\n";

and the content returned is what is sent back to the driver. So I have closed the file before I send the 'ACK' to the driver.

[Edit] I've looked again at the code path in the helper and do not understand how the symptoms could occur. I've asked Dean to turn on logging to try to understand what is going on in this error state.

Dean Roddey
05-13-2009, 09:43 AM
It probalby won't do it again now that we want it to. It only happens here and there.

gacevich
05-13-2009, 09:44 AM
mark, i did not invoke the helper manually. happy to point the helper to the right directory. just so i do the right thing, you are referring to the iTunesHelper.exe.config file, right?

Dean Roddey
05-13-2009, 09:45 AM
my repository is about 4,000 titles, not sure if that is big or not. here is the top part of the log after moving up to v46 and helper1.4. i still get "wait for config" status of the driver. the size of the log file is bigger (~108mb) and at a quick glance looks like it saw all the songs in the library.

You don't manually invoke. The driver will ask it to generate the content where it wants it to. The driver isn't going to be able to talk to it while it's off working on that manual invocation so it would stay at waiiting for config until it can get the tray app to pay attention and go through the whole repository.

Put the Status field of the iTunes driver up so that you can watch it. It will show you what the driver is doing.

Dean Roddey
05-13-2009, 09:47 AM
mark, i did not invoke the helper manually. happy to point the helper to the right directory. just so i do the right thing, you are referring to the iTunesHelper.exe.config file, right?

You don't really need to point it anything, unless you just want to invoke it manually for some reason. The driver talks to it and asks it to generate the content, and points it where it wants it.

BTW, on the access issue, I wonder if it's because the directory just got created by another user account or something? Maybe there's some short period where it's not yet accessible to another user account or something?

gacevich
05-13-2009, 09:51 AM
ok, i'll hold off on pointing the helper elsewhere. i'd rather not have to manually invoke the helper.

there is only one account on the master server.

finally, when you say Status field of the driver, are you talking about putting the driver in verbose mode and look at logs?

Dean Roddey
05-13-2009, 10:03 AM
No, there's a Status field in each repository. It shows the current status. During loading, it'll show what's happening. So just put it on an interface and you can watch what is happening.

However, until the driver gets an initial configuration it will be in error because the driver won't have loaded yet. So it may not be of much use to you if the initial load never works.

Mark Stega
05-13-2009, 10:31 AM
mark, i did not invoke the helper manually. happy to point the helper to the right directory. just so i do the right thing, you are referring to the iTunesHelper.exe.config file, right?Yes, that is the file.

The bizarre part of the error message that you posted was(6:28:11 PM - Information) Sent a message on the Listen Port of 'NAK - System.IO.DirectoryNotFoundException: Could not find a part of the path 'm:\temp\iTunesRepository.xml'. which I can only expect to see as a result of a manual invocation. But right above that I see the incoming request and the requested path is the one created by the repository driver.

Mark Stega
05-13-2009, 11:02 AM
ok, i'll hold off on pointing the helper elsewhere. i'd rather not have to manually invoke the helper.

there is only one account on the master server.

finally, when you say Status field of the driver, are you talking about putting the driver in verbose mode and look at logs?

Once we figure out what is going on a neat way to watch the driver is to just bring up the admin interface and use the field monitor to watch the progress.

Can you please post some additional lines of logging going say 50 lines before and after what you already posted?

gacevich
05-13-2009, 11:34 AM
Once we figure out what is going on a neat way to watch the driver is to just bring up the admin interface and use the field monitor to watch the progress.

Can you please post some additional lines of logging going say 50 lines before and after what you already posted?

ok. when i get home tonight i will post more. what i have already posted is from the very top of the log file. all the lines after what i posted look like data to populate a .xml. file; e.g., song, artist, album etc.

Mark Stega
05-13-2009, 11:51 AM
ok. when i get home tonight i will post more. what i have already posted is from the very top of the log file. all the lines after what i posted look like data to populate a .xml. file; e.g., song, artist, album etc.
So please post maybe 100 lines from the top of the file and then go all the way to the file bottom and post the last 100 lines or so.

Next,

I am bundling version 1.5 of the tray app with even more logging. Please remove the old tray app, install the new, reset the log level to SuccessAudit, delete the logs, run the tray app, request a reload from the repository driver and then grb the fist & last 100 or so lines from the new logs.

gacevich
05-13-2009, 12:28 PM
will v1.5 be available today? if so, get it from beta docs site?

Mark Stega
05-13-2009, 12:32 PM
will v1.5 be available today? if so, get it from beta docs site?If you pm me with an e-mail address I'll send it straight to you; Btw, what operating system is this all installed upon?

Dean Roddey
05-13-2009, 12:44 PM
Here is the 1.5 one:

http://www.charmedquark.com/Web2/Downloads/Installers/Beta/iTunesHelper15.zip

gacevich
05-13-2009, 01:19 PM
If you pm me with an e-mail address I'll send it straight to you; Btw, what operating system is this all installed upon?
vista for master server

gacevich
05-13-2009, 02:36 PM
using v1.5, still get wait for config after about an hour.

first ~100 lines
(5:24:21 PM - Information) Accepted a connection via the TcpListener
(5:24:21 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(5:24:21 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(5:24:21 PM - Information) QueryMessageCallback called from the communication thread
(5:24:21 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(5:24:21 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(5:24:21 PM - SuccessAudit) Cleaning destination directory
(5:24:21 PM - SuccessAudit) Creating files
(5:24:21 PM - SuccessAudit) Connecting to iTunes COM object
(5:24:41 PM - SuccessAudit) Beginning library processing
(5:24:41 PM - SuccessAudit) Track '48th Highlanders - Abide with Me/8abb04b7-1ce9-4d31-81a8-58eaa53f70d1/05 Bagpipes.mp3'processing
(5:24:42 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(5:24:42 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(5:24:42 PM - Information) Accepted a connection via the TcpListener
(5:24:42 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(5:24:42 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(5:24:42 PM - Information) QueryMessageCallback called from the communication thread
(5:24:42 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(5:24:42 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(5:24:42 PM - SuccessAudit) Cleaning destination directory
(5:24:42 PM - SuccessAudit) Creating files
(5:24:42 PM - SuccessAudit) Connecting to iTunes COM object
(5:24:42 PM - SuccessAudit) Beginning library processing
(5:24:42 PM - SuccessAudit) Track '48th Highlanders - Abide with Me/51f15681-41ac-43d7-99b0-e100e8a7d078/05 Bagpipes.mp3'processing
(5:24:42 PM - SuccessAudit) Track 'A Flock of Seagulls - Best of A Flock of Seagulls/d169d4ef-64cf-46e2-9942-710d56dabf7d/01 I Ran.mp3'processing
(5:24:42 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/6c4eef03-18ac-4600-9d29-c3e1e7ca8cad/07 Draw the Line.mp3'processing


here is a transition in the log
Ocho) - EP/393cb6ab-2c2f-40a0-bd9d-285d92face72/04 I Know You Want Me (Calle Ocho) [.m4a'processing
(5:31:30 PM - SuccessAudit) Track 'Pitbull & Twista - The Day After/1474d04c-3963-4ee3-a56b-abd29b6a3e2c/15 Hit the Floor (Featuring Pitbull).m4a'processing
(5:31:30 PM - SuccessAudit) Track 'Pitbull - Krazy (feat. Lil Jon) - Single/3e67a326-636b-446c-b250-61858773360a/01 Krazy (feat. Lil Jon).m4a'processing
(5:31:30 PM - SuccessAudit) Track 'Compilation - The Boatlift/b52be211-f476-43ad-afd1-547c4756334d/02 Go Girl (feat. Trina & Young Boss.m4a'processing
(5:31:30 PM - SuccessAudit) Track 'Elephant Man, Pitbull & Ying Yang Twins - Bojangles - EP/e7ab165b-6c0e-4044-80e7-e1656fb341bb/02 Shake Remix.m4a'processing
(5:31:30 PM - SuccessAudit) Beginning 2nd pass through the tracklist
(5:31:30 PM - SuccessAudit) 2nd pass Track '48th Highlanders - Abide with Me/51f15681-41ac-43d7-99b0-e100e8a7d078/05 Bagpipes.mp3'processing
(5:31:30 PM - SuccessAudit) 2nd pass Track 'A Flock of Seagulls - Best of A Flock of Seagulls/d169d4ef-64cf-46e2-9942-710d56dabf7d/01 I Ran.mp3'processing
(5:31:30 PM - SuccessAudit) 2nd pass Track 'Aerosmith - Aerosmith's Greatest Hits/6c4eef03-18ac-4600-9d29-c3e1e7ca8cad/07 Draw the Line.mp3'processing
(5:31:30 PM - SuccessAudit) 2nd pass Track 'Aerosmith - Aerosmith's Greatest Hits/6c4eef03-18ac-4600-9d29-c3e1e7ca8cad/1-01 Dream On.mp3'processing
(5:31:30 PM - SuccessAudit) 2nd pass Track 'Aerosmith - Aerosmith's Greatest Hits/6c4eef03-18ac-4600-9d29-c3e1e7ca8cad/1-02 Same Old Song and Dance.mp3'processing

gacevich
05-13-2009, 02:37 PM
i had to break up the post to fit the 10,000 character limit

this happens a few times in the log
(5:40:21 PM - SuccessAudit) 2nd pass Track 'Taylor Swift - Fearless/ae50d983-0b10-41aa-b90b-c052222d90d1/01 - Fearless.mp3'processing
(5:40:21 PM - SuccessAudit) 2nd pass Track 'Taylor Swift - Fearless/ae50d983-0b10-41aa-b90b-c052222d90d1/03 - Love Story.mp3'processing
(5:40:21 PM - SuccessAudit) 2nd pass Track 'Taylor Swift - Fearless/ae50d983-0b10-41aa-b90b-c052222d90d1/06 You Belong With Me.mp3'processing
(5:40:21 PM - SuccessAudit) 2nd pass Track 'Taylor Swift - Fearless/ae50d983-0b10-41aa-b90b-c052222d90d1/07 - Breathe.mp3'processing
(5:40:21 PM - SuccessAudit) 2nd pass Track 'Taylor Swift - Fearless/ae50d983-0b10-41aa-b90b-c052222d90d1/11 - Forever & Always.mp3'processing
(5:40:21 PM - SuccessAudit) 2nd pass Track 'P.O.D. - Satellite/cc474759-f87c-4f78-adf3-135e1cae99f4/04 - Youth Of The Nation.mp3'processing
(5:40:21 PM - SuccessAudit) 2nd pass Track 'Puddle of Mudd - Come Clean (Bonus Dvd)/9ba10d8a-3f04-4ba9-97d5-4f5f1ba1fd57/06 She Hates Me.mp3'processing
(5:40:21 PM - Error) Exception in 'ProcessTunes' of System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(5:40:21 PM - Information) Sent a message on the Listen Port of 'NAK - System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
'
(5:40:21 PM - Information) Completed processing
(5:40:31 PM - Information) Accepted a connection via the TcpListener
(5:40:31 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(5:40:31 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(5:40:31 PM - Information) QueryMessageCallback called from the communication thread
(5:40:31 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(5:40:31 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(5:40:31 PM - SuccessAudit) Cleaning destination directory
(5:40:32 PM - SuccessAudit) Creating files
(5:40:32 PM - SuccessAudit) Connecting to iTunes COM object
(5:40:32 PM - SuccessAudit) Beginning library processing
(5:40:32 PM - SuccessAudit) Track '48th Highlanders - Abide with Me/7bc1fab6-42b7-4bdc-a5e4-13efdd2da732/05 Bagpipes.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'A Flock of Seagulls - Best of A Flock of Seagulls/936e2f6d-66ad-4ed2-859d-113c508f2558/01 I Ran.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/07 Draw the Line.mp3'processing


and the last part of the log
(5:40:21 PM - SuccessAudit) 2nd pass Track 'Taylor Swift - Fearless/ae50d983-0b10-41aa-b90b-c052222d90d1/01 - Fearless.mp3'processing
'processing
(5:40:21 PM - Error) Exception in 'ProcessTunes' of System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(5:40:21 PM - Information) Sent a message on the Listen Port of 'NAK - System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
'
(5:40:21 PM - Information) Completed processing
(5:40:31 PM - Information) Accepted a connection via the TcpListener
(5:40:31 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(5:40:31 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(5:40:31 PM - Information) QueryMessageCallback called from the communication thread
(5:40:31 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(5:40:31 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(5:40:31 PM - SuccessAudit) Cleaning destination directory
(5:40:32 PM - SuccessAudit) Creating files
(5:40:32 PM - SuccessAudit) Connecting to iTunes COM object
(5:40:32 PM - SuccessAudit) Beginning library processing
(5:40:32 PM - SuccessAudit) Track '48th Highlanders - Abide with Me/7bc1fab6-42b7-4bdc-a5e4-13efdd2da732/05 Bagpipes.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'A Flock of Seagulls - Best of A Flock of Seagulls/936e2f6d-66ad-4ed2-859d-113c508f2558/01 I Ran.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/07 Draw the Line.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/1-01 Dream On.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/1-02 Same Old Song and Dance.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/1-03 Sweet Emotion.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/1-04 Walk This Way.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/1-05 Last Child.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/1-06 Back in the Saddle.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/1-08 Kings and Queens.mp3'processing
(5:40:32 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/1-09 Come Together.mp3'processing
(5:40:33 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/06046468-1a9e-4ca6-8b34-984ae3413bf3/10 Remember (Walking in the Sand).mp3'processing
(5:40:33 PM - SuccessAudit) Track 'Alabama, Cook, Jeff [1] - Alabama Christmas/9804f6ad-b7b9-4063-9d06-512d500a2bcf/1-10 Christmas in Dixie.mp3'processing
(5:40:33 PM - SuccessAudit) Track 'Alan Jackson - Drive/1134a611-1390-41ad-a605-323b43f96379/02 A Little Bluer Than That.mp3'processing
(5:40:33 PM - SuccessAudit) Track 'Alan Jackson - Drive/1134a611-1390-41ad-a605-323b43f96379/03 Bring On The Night.mp3'processing

Dean Roddey
05-13-2009, 03:47 PM
OK, there are multile things going on. One is that the driver is timing out, probably because of the very long startup time of iTunes. There's a 20 second gap between the driver connecting and the tray app getting going and seeing the request. So the driver thinks it failed. So it will need to wait longer for the connection. Once iTunes is up, it then is able to move forward. But then there's some sort of duplicate key problem going on. The trap app has to build up playlists, so probably it's keeping some keyed list and there are two things with the same key. So that will have to be figured out.

I'll up the time that the driver will wait for each incoming message. Mark will have to look into the duplicate key problem.

Mark Stega
05-14-2009, 04:16 AM
I concur with Dean. One thing has me confused about the 2nd message that you posted. The first snippet shows tracks being processed at 5:40:21 going through 'taylor Swift', 'POD', and a track of 'Puddle of Mudd' then the exception. The second snippet seems to show the same exception, but the last track before the exception is 'Taylor Swift'. I hope this was just a copy/paste error and the first snippet is the correct one.

What the message is implying though is a an issue with your iTunes library. It appears that you have two different tracks that point to the same physical location. That is not supposed to be possible. I am building a list of unique track id's using the file location as the unique key.

I'll build a version of the helper that adds a diagnostic message if this occurs and then we can take a look at what these tracks look like from your iTunes perspective.

You can get around the first (timeout) issue by starting iTunes before the repository refresh.

gacevich
05-14-2009, 08:28 AM
I hope this was just a copy/paste error and the first snippet is the correct one.

i did a lot of cut and paste to fit the post into the 10,000 character limit. very possible that my cutting caused confusion. i'll try to confirm this evening.

gacevich
05-14-2009, 06:21 PM
upgraded to v47 and used helper 1.5. i think we are making progress...i think. reflecting back on mark's comment about multiple tracks, i looked for the track in question and deleted it (i'll add it back once we get this working properly). it seems that processing of tracks is better, but now playlists might be an issue. here are excerpts from the log file.

(8:43:04 PM - Information) Accepted a connection via the TcpListener
(8:43:04 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(8:43:05 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(8:43:05 PM - Information) QueryMessageCallback called from the communication thread
(8:43:05 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(8:43:05 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(8:43:05 PM - SuccessAudit) Cleaning destination directory
(8:43:05 PM - SuccessAudit) Creating files
(8:43:06 PM - SuccessAudit) Connecting to iTunes COM object
(8:43:06 PM - SuccessAudit) Beginning library processing
(8:43:06 PM - SuccessAudit) Track '48th Highlanders - Abide with Me/02aeacb8-94bf-419f-90c4-9e11ca64310e/05 Bagpipes.mp3'processing
(8:43:06 PM - SuccessAudit) Track 'A Flock of Seagulls - Best of A Flock of Seagulls/89bea940-7fab-4a73-8883-ff1ca95a6560/01 I Ran.mp3'processing
(8:43:06 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/8fbb3f8c-5022-44dd-91b5-bfd90518073b/07 Draw the Line.mp3'processing
(8:43:06 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/8fbb3f8c-5022-44dd-91b5-bfd90518073b/1-01 Dream On.mp3'processing


looks like clean tansition to verification
(8:48:36 PM - SuccessAudit) Track 'Pitbull & Twista - The Day After/0db74ee3-4c32-468e-bc94-ad9fd21f43e3/15 Hit the Floor (Featuring Pitbull).m4a'processing
(8:48:36 PM - SuccessAudit) Track 'Pitbull - Krazy (feat. Lil Jon) - Single/503f3683-df8d-44fc-b37c-69065de23663/01 Krazy (feat. Lil Jon).m4a'processing
(8:48:37 PM - SuccessAudit) Track 'Compilation - The Boatlift/37ea7680-681c-4a52-9380-aaff627b69d3/02 Go Girl (feat. Trina & Young Boss.m4a'processing
(8:48:37 PM - SuccessAudit) Track 'Elephant Man, Pitbull & Ying Yang Twins - Bojangles - EP/7a09effb-6f86-4f18-aac3-301cb83b4436/02 Shake Remix.m4a'processing
(8:48:37 PM - SuccessAudit) Beginning 2nd pass through the tracklist
(8:48:37 PM - SuccessAudit) 2nd pass Track '48th Highlanders - Abide with Me/02aeacb8-94bf-419f-90c4-9e11ca64310e/05 Bagpipes.mp3'processing
(8:48:37 PM - SuccessAudit) 2nd pass Track 'A Flock of Seagulls - Best of A Flock of Seagulls/89bea940-7fab-4a73-8883-ff1ca95a6560/01 I Ran.mp3'processing


moving nicely into playlist
(8:50:23 PM - SuccessAudit) 2nd pass Track 'Pitbull - I Know You Want Me (Calle Ocho) - EP/dec5c588-f1db-4173-b1d9-84038e700754/04 I Know You Want Me (Calle Ocho) [.m4a'processing
(8:50:23 PM - SuccessAudit) 2nd pass Track 'Pitbull & Twista - The Day After/0db74ee3-4c32-468e-bc94-ad9fd21f43e3/15 Hit the Floor (Featuring Pitbull).m4a'processing
(8:50:23 PM - SuccessAudit) 2nd pass Track 'Pitbull - Krazy (feat. Lil Jon) - Single/503f3683-df8d-44fc-b37c-69065de23663/01 Krazy (feat. Lil Jon).m4a'processing
(8:50:23 PM - SuccessAudit) 2nd pass Track 'Compilation - The Boatlift/37ea7680-681c-4a52-9380-aaff627b69d3/02 Go Girl (feat. Trina & Young Boss.m4a'processing
(8:50:23 PM - SuccessAudit) 2nd pass Track 'Elephant Man, Pitbull & Ying Yang Twins - Bojangles - EP/7a09effb-6f86-4f18-aac3-301cb83b4436/02 Shake Remix.m4a'processing
(8:50:23 PM - SuccessAudit) Beginning playlist processing
(8:50:24 PM - SuccessAudit) Playlist 'Library'processing
(8:50:24 PM - SuccessAudit) Playlist 'Library' processing
(8:50:24 PM - SuccessAudit) Playlist track '1' processing
(8:50:24 PM - SuccessAudit) Playlist track '2' processing


this is where it gets weird because i only have about 10 playlists, most of which are the standard itunes playlists

(8:51:49 PM - SuccessAudit) Playlist track '4501' processing
(8:51:49 PM - SuccessAudit) Playlist track '4502' processing
(8:51:49 PM - SuccessAudit) Playlist track '4503' processing
(8:51:49 PM - SuccessAudit) Playlist track '4504' processing
(8:51:49 PM - SuccessAudit) Playlist 'Music'processing
(8:51:49 PM - SuccessAudit) Playlist 'Music' processing
(8:51:49 PM - SuccessAudit) Playlist track '1' processing
(8:51:49 PM - SuccessAudit) Playlist track '2' processing
(8:51:49 PM - SuccessAudit) Playlist track '3' processing
(8:51:49 PM - SuccessAudit) Playlist track '4' processing


after the second time thru the playlists, we kinda get back to where we started
8:53:11 PM - SuccessAudit) Playlist track '4502' processing
(8:53:11 PM - SuccessAudit) Playlist track '4503' processing
(8:53:11 PM - SuccessAudit) Playlist track '4504' processing
(8:53:12 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:53:13 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:53:13 PM - Information) Accepted a connection via the TcpListener
(8:53:13 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(8:53:13 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(8:53:13 PM - Information) QueryMessageCallback called from the communication thread
(8:53:13 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(8:53:13 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(8:53:13 PM - SuccessAudit) Cleaning destination directory
(8:53:13 PM - SuccessAudit) Creating files
(8:53:13 PM - SuccessAudit) Connecting to iTunes COM object
(8:53:13 PM - SuccessAudit) Beginning library processing
(8:53:13 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:53:14 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:53:14 PM - Information) Accepted a connection via the TcpListener
(8:53:14 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(8:53:14 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(8:53:14 PM - Information) QueryMessageCallback called from the communication thread
(8:53:14 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(8:53:14 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(8:53:14 PM - SuccessAudit) Cleaning destination directory
(8:53:14 PM - SuccessAudit) Creating files
(8:53:14 PM - SuccessAudit) Connecting to iTunes COM object
(8:53:14 PM - SuccessAudit) Beginning library processing
(8:53:14 PM - SuccessAudit) Track '48th Highlanders - Abide with Me/0cc1b1f4-e181-4e3c-b0d8-b10710f69e7f/05 Bagpipes.mp3'processing
(8:53:14 PM - SuccessAudit) Track 'A Flock of Seagulls - Best of A Flock of Seagulls/ea8525db-1939-4275-bf30-a5ce55e3a691/01 I Ran.mp3'processing
(8:53:14 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/20106b21-b709-41fb-ae3e-45068ceb1448/07 Draw the Line.mp3'processing

gacevich
05-14-2009, 06:22 PM
the above patterns continues over and over...this is what the log looks like at the end where i stopped the logger
(10:06:09 PM - SuccessAudit) Track 'America - History: America's Greatest Hits/1bfcaff3-fc2e-4ce8-bc41-39b0fbaa7445/1-01 A Horse With No Name.mp3'processing
(10:06:09 PM - SuccessAudit) Track 'America - History: America's Greatest Hits/1bfcaff3-fc2e-4ce8-bc41-39b0fbaa7445/1-02 I Need You.mp3'processing
(10:06:09 PM - SuccessAudit) Track 'America - History: America's Greatest Hits/1bfcaff3-fc2e-4ce8-bc41-39b0fbaa7445/1-05 Don't Cross the River.mp3'processing
(10:06:09 PM - SuccessAudit) Track 'America - History: America's Greatest Hits/1bfcaff3-fc2e-4ce8-bc41-39b0fbaa7445/1-11 Daisy Jane.mp3'processing
(10:06:10 PM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
at iTunesLib.IITTrackCollection.get_Item(Int32 Index)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(10:06:10 PM - Information) Sent a message on the Listen Port of 'NAK - System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
at iTunesLib.IITTrackCollection.get_Item(Int32 Index)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
'
(10:06:10 PM - Information) Completed processing

Mark Stega
05-15-2009, 04:29 AM
Out of curiosity, what did you find for the erroneous track?

The last message is bogus - It is just from shutting down the helper.

The previous error messages are 'OK' in that they are simple indications of the driver timing out waiting for the helper to respond.

The playlist 'music' lists all tracks. We must be taking a long time to write all 4500+ tracks of XML plus logging. For a short term try, taking logging back to 'Error' and run again. You may well succeed.

In any case, Dean is going to have to up the timeout when we are processing playlists because the first two generated by iTunes (Library and Music) will contain all tracks. Or, after we talk about it, I could add additional status messages (say every 250 tracks or so) to keep the driver alive.

[Edit] Thinking a bit more about this I think I have to add the additional messages. No matter how long a timeout, someone will have a bigger library and we will be in the same situation. So I'll add a bit of additional status messaging in the processing of the very large playlists to keep the repository driver happy.

[Edit2] Here is the link to the helper: http://www.charmedquark.com/Web2/Downloads/Installers/Beta/iTunesHelper17.zip

gacevich
05-15-2009, 08:25 AM
Out of curiosity, what did you find for the erroneous track?
i'm not sure. i saw that it was a puddle of mud track so i vaporized all of their tracks.

The playlist 'music' lists all tracks. We must be taking a long time to write all 4500+ tracks of XML plus logging. For a short term try, taking logging back to 'Error' and run again.
just type in "Error" where i was putting in "SuccessAudit"?

someone will have a bigger library
i'm sure we will find out that there are much bigger libraries out there

Here is the link to the helper: http://www.charmedquark.com/Web2/Downloads/Installers/Beta/iTunesHelper17.zip
will this new helper and changing logging to 'Error' get me past the "wait for config" driver status?

Mark Stega
05-15-2009, 10:05 AM
just type in "Error" where i was putting in "SuccessAudit"

Yes

will this new helper and changing logging to 'Error' get me past the "wait for config" driver status?

Hopefully :oops:; If it doesn't I'd ask to have the logging turned back to SuccessAudit and the last 100 lines or so leading up to the next error.

Dean Roddey
05-15-2009, 12:20 PM
Actually, you could just skip the Music playlist altogether. The repository driver automatically creates an All Music category, so a playlist that also includes that is really redundant. And there's also a limit on the number of individual items currently, and that will likely make you run out of them before everything is done.

Actually, if you can figure out how many items are going to be in a playlist before you start, for now, it would be wise to skip any that are really large, like over a few K entries. But definitely skip the Music one since it's just not needed and will be the worst case one.

gacevich
05-15-2009, 03:35 PM
dean, i'm not sure if you were referring to me with your comment about playlists, but i checked all of my playlists and none has more than 50 songs. there is no playist named "Music". and finally, how do i skip a playlist for this exercise?


mark, i installed v1.7 and put log level to Error. still getting wait for config driver status. just for grins, i put the driver in versbose mode and checked the logs. the driver said it was trying to load its configuration, followed by a line that says "driver could not find its message'. don't if that helps but thought i would pass along.

here is the first error i found
(10:06:09 PM - SuccessAudit) Track 'America - History: America's Greatest Hits/1bfcaff3-fc2e-4ce8-bc41-39b0fbaa7445/1-01 A Horse With No Name.mp3'processing
(10:06:09 PM - SuccessAudit) Track 'America - History: America's Greatest Hits/1bfcaff3-fc2e-4ce8-bc41-39b0fbaa7445/1-02 I Need You.mp3'processing
(10:06:09 PM - SuccessAudit) Track 'America - History: America's Greatest Hits/1bfcaff3-fc2e-4ce8-bc41-39b0fbaa7445/1-05 Don't Cross the River.mp3'processing
(10:06:09 PM - SuccessAudit) Track 'America - History: America's Greatest Hits/1bfcaff3-fc2e-4ce8-bc41-39b0fbaa7445/1-11 Daisy Jane.mp3'processing
(10:06:10 PM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
at iTunesLib.IITTrackCollection.get_Item(Int32 Index)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(10:06:10 PM - Information) Sent a message on the Listen Port of 'NAK - System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
at iTunesLib.IITTrackCollection.get_Item(Int32 Index)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
'
(10:06:10 PM - Information) Completed processing


here is the next error which occured each time the driver got back to this point in the build.

(7:00:05 PM - SuccessAudit) Playlist track '1350' processing
(7:00:05 PM - SuccessAudit) Playlist track '1351' processing
(7:00:05 PM - SuccessAudit) Playlist track '1352' processing
(7:00:05 PM - SuccessAudit) Playlist track '1353' processing
(7:00:05 PM - SuccessAudit) Playlist track '1354' processing
(7:00:05 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessPlaylist(SimpleXMLWri ter p_XmlWriter, IITPlaylist playlist, Dictionary`2& trackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(7:00:06 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(7:00:06 PM - Information) Accepted a connection via the TcpListener
(7:00:06 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(7:00:06 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(7:00:06 PM - Information) QueryMessageCallback called from the communication thread
(7:00:06 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(7:00:06 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(7:00:06 PM - SuccessAudit) Cleaning destination directory
(7:00:07 PM - SuccessAudit) Creating files
(7:00:07 PM - SuccessAudit) Connecting to iTunes COM object
(7:00:07 PM - SuccessAudit) Beginning library processing
(7:00:07 PM - SuccessAudit) Track '48th Highlanders - Abide with Me/2d627cc8-ac71-43d4-be69-74716dc87962/05 Bagpipes.mp3'processing
(7:00:07 PM - SuccessAudit) Track 'A Flock of Seagulls - Best of A Flock of Seagulls/9d098571-8e1c-498c-a997-d352bd4d9278/01 I Ran.mp3'processing
(7:00:07 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/de53dcfc-bd7a-4dba-8e84-3ed053525dba/07 Draw the Line.mp3'processing
(7:00:07 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/de53dcfc-bd7a-4dba-8e84-3ed053525dba/1-01 Dream On.mp3'processing
(7:00:07 PM - SuccessAudit) Track 'Aerosmith - Aerosmith's Greatest Hits/de53dcfc-bd7a-4dba-8e84-3ed053525dba/1-02 Same Old Song and Dance.mp3'processing


here is the end where i stopped the driver
(7:26:16 PM - SuccessAudit) Track 'Michael Jackson - Number Ones/06e2ffda-5b9d-4d25-94fb-b49cbe43c569/13 You Are Not Alone 2.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'Michael Jackson - Number Ones/06e2ffda-5b9d-4d25-94fb-b49cbe43c569/14 Earth Song 2.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'Michael Jackson - Number Ones/06e2ffda-5b9d-4d25-94fb-b49cbe43c569/15 You Rock My World 2.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'Michael Jackson - Number Ones/06e2ffda-5b9d-4d25-94fb-b49cbe43c569/16 Break Of Dawn 2.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'Michael Jackson - Number Ones/06e2ffda-5b9d-4d25-94fb-b49cbe43c569/17 One More Chance 2.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'Michael Jackson - Number Ones/06e2ffda-5b9d-4d25-94fb-b49cbe43c569/18 Ben (Live).mp3'processing
(7:26:16 PM - SuccessAudit) Track 'Michelle Branch - Hotel Paper/48f6453a-ec2f-4ad1-a986-5c3378adc820/02 Are You Happy Now_.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, D - Let's Face It/dd6930b3-4009-4936-9002-977140d7bfef/01 Noise Brigade 2.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, D - Let's Face It/dd6930b3-4009-4936-9002-977140d7bfef/02 The Rascal King 2.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, Dicky - Let's Face It/51b0b448-75b7-4868-a519-2813f13d5e8f/03 Royal Oil 2.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, Dicky - Let's Face It/51b0b448-75b7-4868-a519-2813f13d5e8f/04 The Impression That I Get 1.mp3'processing
(7:26:16 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, Dicky - Let's Face It/51b0b448-75b7-4868-a519-2813f13d5e8f/05 Let's Face It 2.mp3'processing
(7:26:17 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, Dicky - Let's Face It/51b0b448-75b7-4868-a519-2813f13d5e8f/06 That Bug Bit Me 2.mp3'processing
(7:26:17 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, D - Let's Face It/dd6930b3-4009-4936-9002-977140d7bfef/07 Another Drinkin' Song.mp3'processing
(7:26:17 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, Dicky - Let's Face It/51b0b448-75b7-4868-a519-2813f13d5e8f/08 Numbered Days 2.mp3'processing
(7:26:17 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, D - Let's Face It/dd6930b3-4009-4936-9002-977140d7bfef/09 Break So Easily 2.mp3'processing
(7:26:17 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, D - Let's Face It/dd6930b3-4009-4936-9002-977140d7bfef/10 Nevermind Me.mp3'processing
(7:26:17 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, Dicky - Let's Face It/51b0b448-75b7-4868-a519-2813f13d5e8f/11 Desensitized 2.mp3'processing
(7:26:17 PM - SuccessAudit) Track 'The Mighty Mighty Bosstones, Barrett, d - Let's Face It/7b080bf0-f56b-4911-a077-07aa77023882/12 1-2-8 2.mp3'processing
(7:26:17 PM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
at iTunesLib.IITTrackCollection.get_Item(Int32 Index)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(7:26:18 PM - Information) Sent a message on the Listen Port of 'NAK - System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
at iTunesLib.IITTrackCollection.get_Item(Int32 Index)
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
'
(7:26:18 PM - Information) Completed processing

Dean Roddey
05-15-2009, 04:23 PM
Oh, no, I was telling Mark he could just skip the Music playlist since it would have the same contents as the automatically generated All Music category in the iTunes driver. So that's a lot of overhead for nothing.

Mark Stega
05-16-2009, 02:30 AM
Same error -- apparently going 500 tracks before a shout to the driver was too many. From Dean's idea, I'll build a new helper this weekend that skip the two playlists (Library and Music) that have all tracks. I'll also drop the interval of notification for long playlists from every 500 tracks to every 100 tracks.

[Edit]

Here is the link to the helper: http://www.charmedquark.com/Web2/Dow...esHelper18.zip (http://www.charmedquark.com/Web2/Downloads/Installers/iTunesHelper/iTunesHelper18.zip)

There is no metadata to indicate which playlist is Library and which is Music (the two that I skipped) so I go by name. If you are running iTunes in other then English send me the exact strings for these two entries and I'll add then to the exclusion list.

gacevich
05-21-2009, 08:50 AM
I'll build a new helper this weekend that skip the two playlists (Library and Music) that have all tracks. I'll also drop the interval of notification for long playlists from every 500 tracks to every 100 tracks.

Mark, any progress on the new helper?

Mark Stega
05-21-2009, 12:01 PM
Mark, any progress on the new helper?Look one post up from yours; I put up a new helper last Monday. I haven't had any feedback from anyone though...

eded9698
05-24-2009, 08:59 AM
The new helper and driver are working fine so far.

Dean Roddey
05-24-2009, 09:23 AM
Whew... OK, keep banging on it and let us know if anything comes up.

gacevich
05-25-2009, 05:01 AM
i'm cursed. i got back in town last night and installed mark's new driver. using v.47 of cqc and i still get wait for config on itunes driver. here is the helper log message i get. it seems i'm going backwards on this effort.

(8:53:32 AM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:53:32 AM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:57:45 AM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
at iTunesLib.IITTrack.get_Kind()
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)

lymlyt22
05-25-2009, 05:55 PM
I am very new to this but, I appear to be having the same sort of issue loading the new iTunes driver. I have the tray app loaded and it runs and creates a 464 .jpegs and 1 xml file (size 1292kb) in my traydump file - this seems about right with 2200 songs and about that 480 or soalbums. Then it seems to start over after logging the following error message:

(7:44:00 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessPlaylist(SimpleXMLWri ter p_XmlWriter, IITPlaylist playlist, Dictionary`2& trackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(7:44:00 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.


If it matters, I am using iTunes 8.1. The iTunes driver status stays at waiting for config. The helper app will cycle - build the full 465 file folder, log an error message and start over -stuck in this loop until I remove the iTunes driver. Just not sure what to do next.

Mark Stega
05-26-2009, 01:55 AM
gacevich,lymlyt22:

I need to see a few lines (say 50 or so) above the error as the error is just a generic 'can't write to the socket'; I may just need to further reduce the interval between socket writes while processing playlists. That's what the lines above the error will show.

lymlyt22
05-26-2009, 05:15 AM
Mark,

I will run it again at lunch and post.

gacevich
05-26-2009, 08:45 AM
gacevich,lymlyt22:

I need to see a few lines (say 50 or so) above the error as the error is just a generic 'can't write to the socket'; I may just need to further reduce the interval between socket writes while processing playlists. That's what the lines above the error will show.
marc, i posted everything that was in the log file. i will try to run it again tonight to see it something else shows up.

Mark Stega
05-26-2009, 09:10 AM
marc, i posted everything that was in the log file. i will try to run it again tonight to see it something else shows up.

Did you remember to set the error level to "FailureAudit" as before?

lymlyt22
05-26-2009, 10:22 AM
I put the helper into failureaudit mode and I will post sniptts of wht looks relevant.

Here is the begining of the log:

(12:06:38 PM - Information) Accepted a connection via the TcpListener
(12:06:38 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\"/>

'
(12:06:39 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\

(12:06:39 PM - Information) QueryMessageCallback called from the communication thread
(12:06:39 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\'
(12:06:39 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\'
(12:06:39 PM - SuccessAudit) Cleaning destination directory
(12:06:39 PM - SuccessAudit) Creating files
(12:06:39 PM - SuccessAudit) Connecting to iTunes COM object
(12:06:39 PM - SuccessAudit) Beginning library processing
(12:06:39 PM - SuccessAudit) Track 'Scorpions - Scorpions: Gold/75d2fc0c-468f-4006-a95b-3512021ce886/2-03 Big City Nights (Album Version).m4p'processing
(12:06:39 PM - SuccessAudit) Track '3 Doors Down - Let Me Go - Single/cd4f2019-5f83-4df3-9bef-6c2d6273698c/01 Let Me Go (Rock Version).m4p'processing
(12:06:39 PM - SuccessAudit) Track '3 Doors Down - The Better Life/03062129-553b-4a58-be74-5eed692555d5/01 Kryptonite.m4a'processing
Now here is the part where it does a 2nd pass (did not know it did this)

(12:10:55 PM - SuccessAudit) Track 'Stevie Wonder - Stevie Wonder's Original Musiquarium I (Reissue)/0a5e09ed-2af1-407e-aade-9099e6a9369b/2-07 Isn't She Lovely.m4a'processing
(12:10:55 PM - SuccessAudit) Track 'Stevie Wonder - Number 1's/81df1cbf-7947-4008-aa09-7bb9548aeb86/17 Part-Time Lover.m4a'processing
(12:10:55 PM - SuccessAudit) Track 'Dave Matthews Band - Stand Up/89cdc22b-a901-47e2-82fb-709a850235af/12 You Might Die Trying.m4a'processing
(12:10:56 PM - SuccessAudit) Beginning 2nd pass through the tracklist
(12:10:56 PM - SuccessAudit) 2nd pass Track 'Scorpions - Scorpions: Gold/75d2fc0c-468f-4006-a95b-3512021ce886/2-03 Big City Nights (Album Version).m4p'processing
(12:10:56 PM - SuccessAudit) 2nd pass Track '3 Doors Down - Let Me Go - Single/cd4f2019-5f83-4df3-9bef-6c2d6273698c/01 Let Me Go (Rock Version).m4p'processing
(12:10:56 PM - SuccessAudit) 2nd pass Track '3 Doors Down - The Better Life/03062129-553b-4a58-be74-5eed692555d5/01 Kryptonite.m4a'processing
(12:10:56 PM - SuccessAudit) 2nd pass Track '3 Doors Down - The Better Life/03062129-553b-4a58-be74-5eed692555d5/02 Loser.m4a'processing

Now here is the part where it finishes and errors and starts over

(12:11:47 PM - SuccessAudit) Playlist track '2075' processing
(12:11:47 PM - SuccessAudit) Playlist track '2076' processing
(12:11:47 PM - SuccessAudit) Playlist track '2077' processing
(12:11:47 PM - SuccessAudit) Playlist track '2078' processing
(12:11:48 PM - SuccessAudit) Playlist track '2079' processing
(12:11:48 PM - SuccessAudit) Playlist track '2080' processing
(12:11:48 PM - SuccessAudit) Playlist track '2130' processing
(12:11:48 PM - SuccessAudit) Playlist track '2131' processing
(12:11:48 PM - SuccessAudit) Playlist track '2132' processing
(12:11:48 PM - SuccessAudit) Playlist track '2133' processing
(12:11:48 PM - SuccessAudit) Playlist track '2134' processing
(12:11:48 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessPlaylist(SimpleXMLWri ter p_XmlWriter, IITPlaylist playlist, Dictionary`2& trackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(12:11:48 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(12:11:54 PM - Information) Accepted a connection via the TcpListener
(12:11:54 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\"/>

'
(12:11:54 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\

(12:11:54 PM - Information) QueryMessageCallback called from the communication thread
(12:11:54 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\'
(12:11:54 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\'
(12:11:54 PM - SuccessAudit) Cleaning destination directory
(12:11:54 PM - SuccessAudit) Creating files
(12:11:54 PM - SuccessAudit) Connecting to iTunes COM object
(12:11:54 PM - SuccessAudit) Beginning library processing
(12:11:54 PM - SuccessAudit) Track 'Scorpions - Scorpions: Gold/76d53a49-1bca-4865-abac-4a27001f913f/2-03 Big City Nights (Album Version).m4p'processing
(12:11:55 PM - SuccessAudit) Track '3 Doors Down - Let Me Go - Single/29cef4c2-98c9-4d23-ac2a-c7124f9fb14c/01 Let Me Go (Rock Version).m4p'processing
(12:11:55 PM - SuccessAudit) Track '3 Doors Down - The Better Life/16b1108b-dae6-407d-b2b7-e7f34698089d/01 Kryptonite.m4a'processing
(12:11:55 PM - SuccessAudit) Track '3 Doors Down - The Better Life/16b1108b-dae6-407d-b2b7-e7f34698089d/02 Loser.m4a'processing
(12:11:55 PM - SuccessAudit) Track '3 Doors Down - The Better Life/16b1108b-dae6-407d-b2b7-e7f34698089d/03 Duck And Run.m4a'processing
(12:11:55 PM - SuccessAudit) Track '3 Doors Down - The Better Life/16b1108b-dae6-407d-b2b7-e7f34698089d/04 Not Enough.m4a'processing
(12:11:55 PM - SuccessAudit) Track '3 Doors Down - The Better Life/16b1108b-dae6-407d-b2b7-e7f34698089d/05 Be Like That.m4a'processing

Hope this helps...

lymlyt22
05-26-2009, 10:39 AM
a bit more onformation. It look like it is choking part way through my purchased music playlist. It stops at about song 150 and i have 163 in the playlist.

Anyway here is the log. had to cut out a bunch on the middle of the palylist track processing to meet the 10000 character limit,

(12:11:45 PM - SuccessAudit) 2nd pass Track 'Stevie Wonder - Stevie Wonder's Original Musiquarium I (Reissue)/0a5e09ed-2af1-407e-aade-9099e6a9369b/2-07 Isn't She Lovely.m4a'processing
(12:11:45 PM - SuccessAudit) 2nd pass Track 'Stevie Wonder - Number 1's/81df1cbf-7947-4008-aa09-7bb9548aeb86/17 Part-Time Lover.m4a'processing
(12:11:45 PM - SuccessAudit) 2nd pass Track 'Dave Matthews Band - Stand Up/89cdc22b-a901-47e2-82fb-709a850235af/12 You Might Die Trying.m4a'processing
(12:11:45 PM - SuccessAudit) Beginning playlist processing
(12:11:45 PM - SuccessAudit) Playlist 'Library'processing
(12:11:45 PM - Information) Slipping playlist 'Library'
(12:11:45 PM - SuccessAudit) Playlist 'Music'processing
(12:11:45 PM - Information) Slipping playlist 'Music'
(12:11:45 PM - SuccessAudit) Playlist 'Movies'processing
(12:11:45 PM - SuccessAudit) Playlist 'Movies' processing
(12:11:45 PM - SuccessAudit) Playlist 'TV Shows'processing
(12:11:45 PM - SuccessAudit) Playlist 'TV Shows' processing
(12:11:45 PM - SuccessAudit) Playlist 'Podcasts'processing
(12:11:45 PM - SuccessAudit) Playlist 'Podcasts' processing
(12:11:45 PM - SuccessAudit) Playlist 'Purchased'processing
(12:11:45 PM - SuccessAudit) Playlist 'Purchased' processing
(12:11:45 PM - SuccessAudit) Playlist track '1' processing
(12:11:45 PM - SuccessAudit) Playlist track '1605' processing
(12:11:45 PM - SuccessAudit) Playlist track '1606' processing
(12:11:45 PM - SuccessAudit) Playlist track '1607' processing
(12:11:45 PM - SuccessAudit) Playlist track '1608' processing
(12:11:45 PM - SuccessAudit) Playlist track '1609' processing
(12:11:45 PM - SuccessAudit) Playlist track '1610' processing
(12:11:46 PM - SuccessAudit) Playlist track '1611' processing
(12:11:46 PM - SuccessAudit) Playlist track '1612' processing
(12:11:46 PM - SuccessAudit) Playlist track '1613' processing
(12:11:46 PM - SuccessAudit) Playlist track '1615' processing
(12:11:46 PM - SuccessAudit) Playlist track '1616' processing
(12:11:46 PM - SuccessAudit) Playlist track '1617' processing
(12:11:46 PM - SuccessAudit) Playlist track '1618' processing
(12:11:46 PM - SuccessAudit) Playlist track '1619' processing
(12:11:46 PM - SuccessAudit) Playlist track '1614' processing
(12:11:46 PM - SuccessAudit) Playlist track '1635' processing
(12:11:46 PM - SuccessAudit) Playlist track '1636' processing
(12:11:46 PM - SuccessAudit) Playlist track '1637' processing
(12:11:46 PM - SuccessAudit) Playlist track '1638' processing
(12:11:46 PM - SuccessAudit) Playlist track '1639' processing
(12:11:46 PM - SuccessAudit) Playlist track '1640' processing
(12:11:46 PM - SuccessAudit) Playlist track '1641' processing
(12:11:46 PM - SuccessAudit) Playlist track '1642' processing
(12:11:46 PM - SuccessAudit) Playlist track '1643' processing
(12:11:46 PM - SuccessAudit) Playlist track '1644' processing
(12:11:46 PM - SuccessAudit) Playlist track '1645' processing
(12:11:46 PM - SuccessAudit) Playlist track '1646' processing
(12:11:46 PM - SuccessAudit) Playlist track '1647' processing
(12:11:46 PM - SuccessAudit) Playlist track '1267' processing
(12:11:46 PM - SuccessAudit) Playlist track '153' processing
(12:11:46 PM - SuccessAudit) Playlist track '1920' processing
(12:11:46 PM - SuccessAudit) Playlist track '1926' processing
(12:11:46 PM - SuccessAudit) Playlist track '1927' processing
(12:11:46 PM - SuccessAudit) Playlist track '1928' processing
(12:11:46 PM - SuccessAudit) Playlist track '1929' processing
(12:11:46 PM - SuccessAudit) Playlist track '1930' processing
(12:11:46 PM - SuccessAudit) Playlist track '1931' processing
(12:11:46 PM - SuccessAudit) Playlist track '1932' processing
(12:11:46 PM - SuccessAudit) Playlist track '1933' processing
(12:11:46 PM - SuccessAudit) Playlist track '1934' processing
(12:11:46 PM - SuccessAudit) Playlist track '1935' processing
(12:11:46 PM - SuccessAudit) Playlist track '1961' processing
(12:11:46 PM - SuccessAudit) Playlist track '1962' processing
(12:11:46 PM - SuccessAudit) Playlist track '1963' processing
(12:11:46 PM - SuccessAudit) Playlist track '1964' processing
(12:11:46 PM - SuccessAudit) Playlist track '1965' processing
(12:11:46 PM - SuccessAudit) Playlist track '1966' processing
(12:11:46 PM - SuccessAudit) Playlist track '1967' processing
(12:11:46 PM - SuccessAudit) Playlist track '1968' processing
(12:11:46 PM - SuccessAudit) Playlist track '1969' processing
(12:11:46 PM - SuccessAudit) Playlist track '1970' processing
(12:11:46 PM - SuccessAudit) Playlist track '1971' processing
(12:11:46 PM - SuccessAudit) Playlist track '1972' processing
(12:11:46 PM - SuccessAudit) Playlist track '1973' processing
(12:11:46 PM - SuccessAudit) Playlist track '1974' processing
(12:11:46 PM - SuccessAudit) Playlist track '1975' processing

Cut out log here

(12:11:47 PM - SuccessAudit) Playlist track '2037' processing
(12:11:47 PM - SuccessAudit) Playlist track '2038' processing
(12:11:47 PM - SuccessAudit) Playlist track '2039' processing
(12:11:47 PM - SuccessAudit) Playlist track '2040' processing
(12:11:47 PM - SuccessAudit) Playlist track '2042' processing
(12:11:47 PM - SuccessAudit) Playlist track '2043' processing
(12:11:47 PM - SuccessAudit) Playlist track '2044' processing
(12:11:47 PM - SuccessAudit) Playlist track '2045' processing
(12:11:47 PM - SuccessAudit) Playlist track '2046' processing
(12:11:47 PM - SuccessAudit) Playlist track '2047' processing
(12:11:47 PM - SuccessAudit) Playlist track '2048' processing
(12:11:47 PM - SuccessAudit) Playlist track '2049' processing
(12:11:47 PM - SuccessAudit) Playlist track '2050' processing
(12:11:47 PM - SuccessAudit) Playlist track '2051' processing
(12:11:47 PM - SuccessAudit) Playlist track '2069' processing
(12:11:47 PM - SuccessAudit) Playlist track '2070' processing
(12:11:47 PM - SuccessAudit) Playlist track '2071' processing
(12:11:47 PM - SuccessAudit) Playlist track '2072' processing
(12:11:47 PM - SuccessAudit) Playlist track '2073' processing
(12:11:47 PM - SuccessAudit) Playlist track '2074' processing
(12:11:47 PM - SuccessAudit) Playlist track '2075' processing
(12:11:47 PM - SuccessAudit) Playlist track '2076' processing
(12:11:47 PM - SuccessAudit) Playlist track '2077' processing
(12:11:47 PM - SuccessAudit) Playlist track '2078' processing
(12:11:48 PM - SuccessAudit) Playlist track '2079' processing
(12:11:48 PM - SuccessAudit) Playlist track '2080' processing
(12:11:48 PM - SuccessAudit) Playlist track '2130' processing
(12:11:48 PM - SuccessAudit) Playlist track '2131' processing
(12:11:48 PM - SuccessAudit) Playlist track '2132' processing
(12:11:48 PM - SuccessAudit) Playlist track '2133' processing
(12:11:48 PM - SuccessAudit) Playlist track '2134' processing
(12:11:48 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessPlaylist(SimpleXMLWri ter p_XmlWriter, IITPlaylist playlist, Dictionary`2& trackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(12:11:48 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(12:11:54 PM - Information) Accepted a connection via the TcpListener
(12:11:54 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\"/>

'
(12:11:54 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\

(12:11:54 PM - Information) QueryMessageCallback called from the communication thread
(12:11:54 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\'
(12:11:54 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\'
(12:11:54 PM - SuccessAudit) Cleaning destination directory
(12:11:54 PM - SuccessAudit) Creating files
(12:11:54 PM - SuccessAudit) Connecting to iTunes COM object
(12:11:54 PM - SuccessAudit) Beginning library processing
(12:11:54 PM - SuccessAudit) Track 'Scorpions - Scorpions: Gold/76d53a49-1bca-4865-abac-4a27001f913f/2-03 Big City Nights (Album Version).m4p'processing

Dean Roddey
05-26-2009, 12:52 PM
Check the CQC log, and see if the driver is complaining about something. I'm wondering if it's running out of item ids because of the playlists. Normally, in the other non-CQSL repositories, it stops processing playlists when it runs out, but I'm wondering if that's what's killing it here.

Put the iTunes driver into verbose mode and see what pops up. If it's complaining about no more ids or something, then that's it.

One of the things that needs to be done is to convert the item ids in our in-memory database to be 32 bit. Right now they are 16 bit, so it can only handle 64K items altogether. It doesn't try to reuse the item ids in each playlist, it just creates new 'virtual items' for the playlists. So it could be running out.

lymlyt22
05-26-2009, 02:31 PM
i changed the driver log to verbose high and queried the log. i think i caught it when the thing fialed. I'm not too familar with this logging tool. her is the log snapshot. Hope it helps.

05/26 16:18:35-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:18:40-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:18:45-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:18:50-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:18:55-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:00-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:05-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:10-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:15-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:20-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:25-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:30-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:35-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:40-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:45-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:50-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:19:55-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:00-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:05-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:06-CQC, CQCServer, iTunes_DBLoadThread
{
CQCMedia, iTunesRepo2S_DBLoader.cpp.571, Status/App Status
Could not find message
}
05/26 16:20:10-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:10-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCMedia, iTunesRepo2S_DriverImpl.cpp.350, Status/App Status
The media repository load failed. Driver=iTunes
}
05/26 16:20:15-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:15-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCMedia, iTunesRepo2S_DriverImpl.cpp.431, Status/App Status
Starting load of media repository from C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\
}
05/26 16:20:15-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.227, Status/App Status
Starting database load
}
05/26 16:20:15-CQC, CQCServer, iTunes_DBLoadThread
{
CQCMedia, iTunesRepo2S_DBLoader.cpp.384, Status/App Status
Could not find message
}
05/26 16:20:15-CQC, CQCServer, iTunes_DBLoadThread
{
CQCMedia, iTunesRepo2S_DBLoader.cpp.417, Status/App Status
Could not find message
}
05/26 16:20:15-CQC, CQCServer, iTunes_DBLoadThread
{
CQCMedia, iTunesRepo2S_DBLoader.cpp.483, Status/App Status
Could not find message
}
05/26 16:20:20-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:25-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:30-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:35-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:40-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:45-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:50-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:20:55-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:00-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:05-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:10-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:15-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:20-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:25-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:30-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:35-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:40-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:45-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:50-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:21:55-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/26 16:22:00-CQC, CQCServer, CQCDrv_iTunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}

Dean Roddey
05-26-2009, 02:54 PM
Oy! It looks like whatever it's trying to log is failing because it can't find the message text to log it, so I don't know what it's trying to say... Sigh... Oh well, what I'll do is update the driver to just start ignoring stuff after it maxes out on item ids, which is probably what's going on. How big do you figure your repository is? If it's really small, that can't be the problem. If it's 20K tracks or something, then with the various playlists, that may be it.

lymlyt22
05-26-2009, 02:59 PM
My itunes database is fairly modest at 2300 songs, 500 albums, maybe 20 playlists none of which is over 200 songs.

Dean Roddey
05-26-2009, 03:04 PM
Hmmm, then that couldn't be the problem. Anyway, I fixed the issues with the log messages not being found, so after the next drop try it again and let's see what the driver is whining about.

gacevich
05-26-2009, 05:49 PM
Did you remember to set the error level to "FailureAudit" as before?
i did not put it in "SuccessAudit" as before.

here is the helper log from my retry tonight

(8:22:33 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:22:34 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:29:41 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:29:42 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:36:53 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:36:53 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:44:07 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:44:08 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:51:09 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:51:10 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:58:19 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:58:20 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(9:05:23 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(9:05:24 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(9:12:22 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException:

Dean Roddey
05-26-2009, 10:08 PM
It looks like the tray app is sending too fast sometimes, and getting a socket error because no more data can be sent. Mark is going to throttle it back, so that that won't happen.

Mark Stega
05-27-2009, 12:24 PM
OK here is the next helper and the plan:

1) Try this helper (V1.9) (http://www.charmedquark.com/Web2/Downloads/Installers/iTunesHelper/iTunesHelper19.zip) and see if it is happy. I've changed the status messages to be sent on the first action after 15 seconds have passed from the last status.

2) If this doesn't work, then we are going to need Dean to get the next release up with better logging in the repository driver to see why it is unhappy. We may need to change something in the repository driver or we may need to make the repository driver acknowledge the status message

gacevich
05-27-2009, 06:17 PM
running v1.9 in can now connect to driver. oddly, when i checked the log file this is what i got

(8:22:33 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:22:34 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:29:41 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:29:42 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:36:53 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:36:53 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:44:07 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:44:08 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:51:09 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:51:10 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(8:58:19 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:58:20 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(9:05:23 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(9:05:24 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(9:12:22 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(9:12:23 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(9:19:21 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(9:19:22 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(9:26:24 PM - Error) Exception in 'ProcessTunes' of System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at CommunicationFramework.CommunicationServer.SendSta tus(String p_Status)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(9:26:25 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.

Dean Roddey
05-27-2009, 07:18 PM
I'm getting a new drop ready. It will have fixed the logging on my side so we can hopefully see better what is going on from the driver's point of view.

Mark Stega
05-28-2009, 02:55 AM
Gacevich,

You may have connected, but something is still not working properly. You need to get .50 installed and then so a refresh with the helper log level set to 'SuccessAudit' and the repository driver verbosity set to 'High'. Then post the lines leading up to the failure from both the helper log as well as the CQC log.

[Edit]Remember that you have to restart the helper after changing the log level in its config file, the file is only read once at startup.

lymlyt22
05-28-2009, 10:32 AM
I loaded .50 and the new helper. It made it much farther this time. i think it actually made it all the way through the library. But then failed.

Here is the CQc log:

05/28 12:19:16-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/28 12:19:21-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/28 12:19:21-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCMedia, iTunesRepo2S_DriverImpl.cpp.350, Status/App Status
The media repository load failed. Driver=iTunes
}
05/28 12:19:26-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/28 12:19:26-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCMedia, iTunesRepo2S_DriverImpl.cpp.431, Status/App Status
Starting load of media repository from C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\
}
05/28 12:19:26-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.227, Status/App Status
Starting database load
}
05/28 12:19:26-CQC, CQCServer, iTunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.384, Status/App Status
Attempting to contact tray app at 127.0.0.1:13600
}
05/28 12:19:26-CQC, CQCServer, iTunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.417, Status/App Status
Request for file generation sent. Waiting for reply. Moniker=iTunes
}
05/28 12:19:31-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/28 12:19:36-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
05/28 12:19:39-CQC, CQCServer, iTunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.483, Status/App Status
Got start reply, waiting for end reply. Moniker=iTunes
}
05/28 12:19:41-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration

Here is the log from the helper app:

(12:19:39 PM - SuccessAudit) Playlist track '830' processing
(12:19:39 PM - SuccessAudit) Playlist track '831' processing
(12:19:39 PM - SuccessAudit) Playlist track '832' processing
(12:19:39 PM - SuccessAudit) Playlist track '833' processing
(12:19:39 PM - SuccessAudit) Playlist track '834' processing
(12:19:39 PM - SuccessAudit) Playlist track '835' processing
(12:19:39 PM - SuccessAudit) Playlist track '836' processing
(12:19:39 PM - SuccessAudit) Playlist track '837' processing
(12:19:39 PM - SuccessAudit) Playlist track '838' processing
(12:19:39 PM - SuccessAudit) Playlist track '839' processing
(12:19:39 PM - SuccessAudit) Playlist track '840' processing
(12:19:39 PM - SuccessAudit) Playlist track '841' processing
(12:19:39 PM - SuccessAudit) Playlist track '842' processing
(12:19:39 PM - SuccessAudit) Playlist track '843' processing
(12:19:39 PM - SuccessAudit) Playlist track '844' processing
(12:19:39 PM - SuccessAudit) Playlist track '845' processing
(12:19:39 PM - SuccessAudit) Playlist track '858' processing
(12:19:39 PM - SuccessAudit) Playlist track '860' processing
(12:19:39 PM - SuccessAudit) Library processing complete
(12:19:39 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(12:19:39 PM - Information) Accepted a connection via the TcpListener
(12:19:39 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\"/>

'
(12:19:39 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\

(12:19:39 PM - Information) QueryMessageCallback called from the communication thread
(12:19:39 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\'
(12:19:40 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _iTunes\'
(12:19:40 PM - SuccessAudit) Cleaning destination directory
(12:19:40 PM - SuccessAudit) Creating files
(12:19:40 PM - SuccessAudit) Connecting to iTunes COM object
(12:19:40 PM - SuccessAudit) Beginning library processing
(12:19:40 PM - SuccessAudit) Track 'Scorpions - Scorpions: Gold/596a336a-dea1-47fa-826b-a24062a65b2b/2-03 Big City Nights (Album Version).m4p'processing
(12:19:40 PM - SuccessAudit) Track '3 Doors Down - Let Me Go - Single/0376c7b3-fc97-4bbe-aeb6-810401b69dac/01 Let Me Go (Rock Version).m4p'processing
(12:19:40 PM - SuccessAudit) Track '3 Doors Down - The Better Life/2406792d-2fc6-4590-98db-d7cb3ced0848/01 Kryptonite.m4a'processing

Dean Roddey
05-28-2009, 10:37 AM
It looks like it startd OK, but the only thing in the logs is of it just getting started. Do you see the Status field of the repository driver changing? It should be updating about ever 15 seconds now.

But what I don't get is this:


05/28 12:19:39-CQC, CQCServer, iTunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.483, Status/App Status
Got start reply, waiting for end reply. Moniker=iTunes
}
05/28 12:19:41-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration


At 19:39 it entered the loop and was waiting for the end. At 19:41, two seconds later, it's trying to load its configuration again as though it's already given up, which couldn't have happened.

Sooooo.... that might 'splain some things, unless that's just a bogus log message that it's logging every time it enters the loading method, instead of just when it starts up the loader. I'll have to check that. If that's not it, then it seems like the driver is starting the load again before the loader has finished the last one somehow perhaps.

Oh the tangled webs we weave.

Mark Stega
05-28-2009, 11:05 AM
What also makes little sense is05/28 12:19:31-CQC, CQCServer, CQCDrv_iTunes_Thread2
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'iTunes' is trying to load its configuration
}
And it seems that this message should have been back at 12:19:2605/28 12:19:39-CQC, CQCServer, iTunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.483, Status/App Status
Got start reply, waiting for end reply. Moniker=iTunes
}

Dean Roddey
05-28-2009, 11:45 AM
It's probably the iTunes startup time.

Mark Stega
05-28-2009, 11:58 AM
It's probably the iTunes startup time.If it is then you somehow have multiple updates going on at once. If you look at the helper log at 12:19:39 the playlist is being completed and then the failure is that it can't write the final ACK.

lymlyt22
05-28-2009, 12:16 PM
Dean,

I did not look horribly closely at the driver status - too busy loking at logs, but when I did look it was always waiting for config. Sorry to give you guys fits. Hoopefully there is nothing simple I am overlooking. I am very new to CQC.

gacevich
05-28-2009, 04:10 PM
the itunes driver has installed and there are no error messages in the helper log. so i tried to see if my templates would work with the new driver. everywhere i referenced the old itunes driver i changed over to the new itunes com driver. however, when i try to open my library in the iv, it gives me an error message that it cannot find the old driver...i assume because some the action field somewhere is programmed with the name of the old driver. i have searched every field in my template 3 times looking for references to the old driver but cannot find a bad reference. using action trace does not tell me where the improper reference is coming from.

is there a way to trace down this error without going thru every field in every template?

Dean Roddey
05-28-2009, 04:18 PM
Does it happen when the template loads, or when you press some button? If it's when the template loads, it has to be used in an OnLoad or something like that, or some media widget is associated with it. On the media widgets, you need to explicitly drop down the list and make a selection. It won't automatically deselect the old one just because it's not loaded. Otherwise, if you opened up a template when a server was down, it could change the whole template. So explicitly select the new one.

lymlyt22
05-28-2009, 05:44 PM
I have reloaded everything and still get the same failure meassage. Hoping for any ideas.

Thanks,

Beau

lymlyt22
05-28-2009, 05:59 PM
Tried again and got a different error message from the CQC log - something about a 3rd pass at 19:52:02:

05/28 19:51:37-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:51:42-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:51:47-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:51:52-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:51:57-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:02-CQC, CQCServer, itunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.571, Status/App Status
Got an unknown reply from tray app (starts with: itunes). Moniker= Status - Pass 3
}
05/28 19:52:02-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:02-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCMedia, iTunesRepo2S_DriverImpl.cpp.350, Status/App Status
The media repository load failed. Driver=itunes
}
05/28 19:52:07-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:07-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCMedia, iTunesRepo2S_DriverImpl.cpp.431, Status/App Status
Starting load of media repository from C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunes\
}
05/28 19:52:07-CQC, CQCServer, CQCDrv_itunes_Thread4
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.227, Status/App Status
Starting database load
}
05/28 19:52:07-CQC, CQCServer, itunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.384, Status/App Status
Attempting to contact tray app at 127.0.0.1:13600
}
05/28 19:52:07-CQC, CQCServer, itunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.417, Status/App Status
Request for file generation sent. Waiting for reply. Moniker=itunes
}
05/28 19:52:13-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:18-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:23-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:28-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:31-CQC, CQCServer, itunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.483, Status/App Status
Got start reply, waiting for end reply. Moniker=itunes
}
05/28 19:52:33-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:38-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:43-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:48-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:53-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:58-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:53:03-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:53:04-CQC, CQCServer, CIDOrbSrvWorkThread_1
{
CQCServer, CQCServer_DriverCtrl.cpp.149, Status/App Status
Remote client forcing unload of driver. Moniker=itunes
}
05/28 19:53:04-CQC, CQCServer, itunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.509, Status/App Status
Timed out while waiting for next message. Moniker=itunes
}
05/28 19:53:04-CQC, CQCServer, CIDOrbSrvWorkThread_1
{
CQCServer, CQCServer_DriverCtrl.cpp.315, Status/App Status
Remote unload of driver 'itunes' was successful
}

lymlyt22
05-28-2009, 06:07 PM
Sorry, more. But te iTunes Helper log is in the middle of my playlists at 7:52:02

(7:52:01 PM - SuccessAudit) Playlist track '491' processing
(7:52:01 PM - SuccessAudit) Playlist track '497' processing
(7:52:02 PM - SuccessAudit) Playlist track '502' processing
(7:52:02 PM - SuccessAudit) Playlist track '536' processing
(7:52:02 PM - SuccessAudit) Playlist track '537' processing
(7:52:02 PM - SuccessAudit) Playlist track '538' processing
(7:52:02 PM - SuccessAudit) Playlist track '539' processing
(7:52:02 PM - SuccessAudit) Playlist track '540' processing
(7:52:02 PM - SuccessAudit) Playlist track '541' processing
(7:52:02 PM - SuccessAudit) Playlist track '542' processing
(7:52:02 PM - SuccessAudit) Playlist track '543' processing
(7:52:02 PM - SuccessAudit) Playlist track '544' processing
(7:52:02 PM - SuccessAudit) Playlist track '545' processing
(7:52:02 PM - SuccessAudit) Playlist track '546' processing
(7:52:02 PM - SuccessAudit) Playlist track '547' processing
(7:52:02 PM - SuccessAudit) Playlist track '554' processing
(7:52:02 PM - SuccessAudit) Playlist track '586' processing
(7:52:02 PM - SuccessAudit) Playlist track '603' processing
(7:52:02 PM - SuccessAudit) Playlist track '604' processing
(7:52:02 PM - SuccessAudit) Playlist track '605' processing
(7:52:02 PM - SuccessAudit) Playlist track '606' processing
(7:52:02 PM - SuccessAudit) Playlist track '607' processing
(7:52:02 PM - SuccessAudit) Playlist track '608' processing
(7:52:02 PM - SuccessAudit) Playlist track '634' processing
(7:52:02 PM - SuccessAudit) Playlist track '651' processing
(7:52:02 PM - SuccessAudit) Playlist track '652' processing
(7:52:02 PM - SuccessAudit) Playlist track '653' processing
(7:52:02 PM - SuccessAudit) Playlist track '654' processing
(7:52:02 PM - SuccessAudit) Playlist track '655' processing
(7:52:02 PM - SuccessAudit) Playlist track '656' processing
(7:52:02 PM - SuccessAudit) Playlist track '657' processing
(7:52:02 PM - SuccessAudit) Playlist track '658' processing
(7:52:02 PM - SuccessAudit) Playlist track '659' processing
(7:52:02 PM - SuccessAudit) Playlist track '660' processing
(7:52:02 PM - SuccessAudit) Playlist track '661' processing
(7:52:02 PM - SuccessAudit) Playlist track '662' processing
(7:52:02 PM - SuccessAudit) Playlist track '663' processing
(7:52:02 PM - SuccessAudit) Playlist track '664' processing
(7:52:02 PM - SuccessAudit) Playlist track '665' processing
(7:52:02 PM - SuccessAudit) Playlist track '666' processing
(7:52:02 PM - SuccessAudit) Playlist track '667' processing
(7:52:02 PM - SuccessAudit) Playlist track '668' processing
(7:52:02 PM - SuccessAudit) Playlist track '669' processing
(7:52:02 PM - SuccessAudit) Playlist track '670' processing
(7:52:02 PM - SuccessAudit) Playlist track '671' processing
(7:52:02 PM - SuccessAudit) Playlist track '672' processing
(7:52:02 PM - SuccessAudit) Playlist track '673' processing
(7:52:02 PM - SuccessAudit) Playlist track '674' processing
(7:52:02 PM - SuccessAudit) Playlist track '675' processing
(7:52:02 PM - SuccessAudit) Playlist track '676' processing
(7:52:02 PM - SuccessAudit) Playlist track '677' processing
(7:52:02 PM - SuccessAudit) Playlist track '678' processing
(7:52:03 PM - SuccessAudit) Playlist track '692' processing
(7:52:03 PM - SuccessAudit) Playlist track '693' processing
(7:52:03 PM - SuccessAudit) Playlist track '694' processing

It does not actually fail until 7:52:31

(7:52:31 PM - SuccessAudit) Playlist track '842' processing
(7:52:31 PM - SuccessAudit) Playlist track '843' processing
(7:52:31 PM - SuccessAudit) Playlist track '844' processing
(7:52:31 PM - SuccessAudit) Playlist track '845' processing
(7:52:31 PM - SuccessAudit) Playlist track '858' processing
(7:52:31 PM - SuccessAudit) Playlist track '860' processing
(7:52:31 PM - SuccessAudit) Library processing complete
(7:52:31 PM - Error) EXCEPTION in ListenSocket: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
(7:52:31 PM - Information) Accepted a connection via the TcpListener
(7:52:31 PM - Information) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunes\"/>

'
(7:52:31 PM - Information) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunes\

(7:52:31 PM - Information) QueryMessageCallback called from the communication thread
(7:52:31 PM - Information) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunes\'
(7:52:31 PM - SuccessAudit) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunes\'
(7:52:31 PM - SuccessAudit) Cleaning destination directory
(7:52:32 PM - SuccessAudit) Creating files
(7:52:32 PM - SuccessAudit) Connecting to iTunes COM object
(7:52:32 PM - SuccessAudit) Beginning library processing
(7:52:32 PM - SuccessAudit) Track 'Scorpions - Scorpions: Gold/94fe1152-5390-4371-9997-3028ab17e351/2-03 Big City Nights (Album Version).m4p'processing

At the same time the CQC log shows driver is just waiting:

CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:23-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:28-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:31-CQC, CQCServer, itunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.483, Status/App Status
Got start reply, waiting for end reply. Moniker=itunes
}
05/28 19:52:33-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:38-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration
}
05/28 19:52:43-CQC, CQCServer, CQCDrv_itunes_Thread4
{
CQCKit, CQCKit_DriverBase.cpp.2619, Status/App Status
Driver 'itunes' is trying to load its configuration

Don't know if this means anything or not...

gacevich
05-28-2009, 06:13 PM
Does it happen when the template loads, or when you press some button? If it's when the template loads, it has to be used in an OnLoad or something like that, or some media widget is associated with it. On the media widgets, you need to explicitly drop down the list and make a selection. It won't automatically deselect the old one just because it's not loaded. Otherwise, if you opened up a template when a server was down, it could change the whole template. So explicitly select the new one.
it happened when the template loaded. in each of the repository locations where it showed the new driver i went in and clicked on the selection and reselected the correct driver. eventually, i was able to get all the templates to load. once again, dean is right. even though the new driver was showing, it had to be reselected.

i got all the way to enqueuing the songs. when i tried to enqueue the songs i got a filtergraph error...access is denied. i know that i have to log in as account with access to network...i didn't change any of this setup since it used to work with prior itunes driver. what's weird is that a quick glance at album artwork shows that ~90% of it is coming thru correctly. its only when i try to enqueue a song that i get the filtergaph error. i selected directshow.

too late tonight for me to go back and reconfirm network access, but i'm stumped as to how i would have lost it.

Dean Roddey
05-28-2009, 10:40 PM
This hasn't been seen before:


05/28 19:52:02-CQC, CQCServer, itunes_DBLoadThread
{
iTunesRepo2S, iTunesRepo2S_DBLoader.cpp.571, Status/App Status
Got an unknown reply from tray app (starts with: itunes). Moniker= Status - Pass 3
}


The replacement parameters are backwards so I need to fix that. The moniker is itunes and the message started with "Status - Pass 3".

Clearly one issue is that the driver thinks something has gone wrong. So it gives up. But the tray app hasn't stopped. It's still running along. Then the driver comes back in and starts asking it to start again, which it doesn't I guess. So the driver just keeps trying until I guess the current pass is done.

I think that the reason the above failed is because of the number of spaces. The driver is looking for things that start with "Status[sp]-[sp]whatever". That one has two spaces before the dash. So the driver doesn't grok what's going on and gives up. The parsing is very simplistic, so it didn't recover from that error.

The the tray app keeps going because it doesn't think anything is wrong. The next time it tries to talk to the driver, it's gone already.

Dean Roddey
05-28-2009, 10:41 PM
it happened when the template loaded. in each of the repository locations where it showed the new driver i went in and clicked on the selection and reselected the correct driver. eventually, i was able to get all the templates to load. once again, dean is right. even though the new driver was showing, it had to be reselected.

That will definitely be improved in the next release. There wasn't time to deal with it in 3.0, but it needs to be addressed.

Mark Stega
05-29-2009, 03:49 AM
I think that the reason the above failed is because of the number of spaces. The driver is looking for things that start with "Status[sp]-[sp]whatever". That one has two spaces before the dash. So the driver doesn't grok what's going on and gives up. The parsing is very simplistic, so it didn't recover from that error.


I built a helper without the extra space in the status message.

It also now has a menu to set the log verbosity level so you don't have to edit the configuration file and restart the helper. Simply pick the log verbosity of 'High' in order to get a detailed log.

Here is the link: V1.10 (http://www.charmedquark.com/Web2/Downloads/Installers/iTunesHelper/iTunesHelper110.zip)

gacevich
05-29-2009, 02:43 PM
so i downloaded and installed helper v1.10. driver loads and helper log has no errors. when i access the cover art browser most of my artwork shows up (we will work on the remaining 2% later). this is a big improvement. i can see the all the categories in the category browser. sorting by name, artist, playlist all work. i can even reload the db. as an aside, if i try to reopen the coverart browser before the db has been reloaded, i get an error that locks up the IV. i have to shut down the IV and restart it to clear the lock up.

so everything seems fine. i chased down my access error that was holding me up last night. now comes the problem. i can't enqueue any songs. i know i have the proper media library path selected because otherwise i would see the coverart right? but when i attempt to enqueue any song (i tried a bunch of different ones) i get this error.
http://i225.photobucket.com/albums/dd95/withmere/itunesfiltergraph.jpg
i went and drilled down the referenced song in the itunes folder and the path is correct. any thoughts why this is occuring?

Dean Roddey
05-29-2009, 06:14 PM
That error is coming from the system, not from CQC, so for some reason it's not happy with the path. It looks ok to me. You'd think that if it were a network rights thing that it would be giving you a permission type error and not a path syntx error.

The path to the media doesn't really have anything to do with the cover art showing up. So the fact that cover are is there doesn't really indicate anything one way or another about the media files themselves.

But, just in case, if you have not set up the CQC Service on the machine where the audio player driver is running to log in under a regular administrative account, do that. It may be that the error is bogus and it's really a network access rights thing.

lymlyt22
05-29-2009, 07:33 PM
I loaded iTunes Helper v1.10 per Mark's post above. It worked! Got xml file written, and the iTunes driver shows connected to device. Thanks so much for your help. Now i just have to learn what to do to make my songs play!

thanks again,

Beau

Dean Roddey
05-30-2009, 09:59 AM
I assume that you have installed an MP3 codec, right? Can you bring up WMP on the machine where the audio driver is running and enter that same path manually and it works?

gacevich
05-31-2009, 04:33 AM
But, just in case, if you have not set up the CQC Service on the machine where the audio player driver is running to log in under a regular administrative account, do that. It may be that the error is bogus and it's really a network access rights thing.
both machines have cqc server installed on them. both run cqc apps fine. i'm going to build a simplied mp3 player template to make sure something didn't get messed up with all the itunes testing. hopefully that will solve the problem.

Dean Roddey
05-31-2009, 10:50 AM
You can get failures though due to network rights issues. The driver is running in a service, not in your logged in account. Sometimes the default system account doesn't have network rights. That can cause failures to build the graph. I was just concerned that it was being manifested as a bogus error about the format of the path, when it's really a network rights problem.

gacevich
05-31-2009, 11:22 AM
ok, i got the rights issue fixed. running v.50 and helper 1.1 i get driver to connect, album art work to show up(mostly, and will now turn to cleaning it up), all sorts on db work and, most importantly, the songs play on my system. thanks dean and mark.

i would like to reiterate one problem (bug?) i found. if i reload the database and try to open the coverart browser before the update is complete, it freezes the iv. i have to completly shut down the iv and reopen it to clear the lock up. the iv didn't lock up like this with prior drivers. maybe its only my system, but i wanted to bring this to your attention. this issue came to light because it seems like this new setup takes much longer to reload the db than the prior itunes driver.

Dean Roddey
05-31-2009, 01:26 PM
i would like to reiterate one problem (bug?) i found. if i reload the database and try to open the coverart browser before the update is complete, it freezes the iv. i have to completly shut down the iv and reopen it to clear the lock up. the iv didn't lock up like this with prior drivers. maybe its only my system, but i wanted to bring this to your attention. this issue came to light because it seems like this new setup takes much longer to reload the db than the prior itunes driver.

This has already been fixed (AFAIK) for the next drop.

potts.mike
05-31-2009, 02:12 PM
I just got this latest helped running and all seems fine in the cab but when I click on the art my pop up with songs for that album displays a different album. E.G. The cover art doesn't match the tracks. Any one else seen this?

Dean Roddey
05-31-2009, 05:05 PM
You don't have multiple repositories do you? If so, you may have the popup pointing to the wrong repository, so it's picking up a song from a different one.

potts.mike
05-31-2009, 05:19 PM
I do have the old iTunes driver as well letme delete that and well see what happens.

Dean Roddey
05-31-2009, 05:23 PM
I do have the old iTunes driver as well letme delete that and well see what happens.

The preview widgets on that template may have still been associated with the old repository.

potts.mike
05-31-2009, 06:10 PM
that did it, thanks.

gacevich
06-01-2009, 12:48 AM
as i fine tune the system, i'd like to associate a piece of coverart with a playlist. is there any way to do this?

Dean Roddey
06-01-2009, 11:36 AM
Not unless you can do it in iTunes.

gacevich
06-04-2009, 03:50 AM
i was working in itunes yesterday cleaning up my database...embedding coverart, correcting spelling on artists and albums. itunes was reacting very slowly so i shut it down and reopened it only to find that my changes were not saved. did some more testing and it turns out that only when i shut down the itunes helper did itunes have proper response time and save changes. should this be the case? one must shutdown the itunes helper in order to change the itunes database?

Mark Stega
06-04-2009, 04:36 AM
i was working in itunes yesterday cleaning up my database...embedding coverart, correcting spelling on artists and albums. itunes was reacting very slowly so i shut it down and reopened it only to find that my changes were not saved. did some more testing and it turns out that only when i shut down the itunes helper did itunes have proper response time and save changes. should this be the case? one must shutdown the itunes helper in order to change the itunes database?I would not have thought so but iTunes and the COM interface is inherently undocumented except for a very small listing of the operations. The helper goes through the steps that should disconnect it from iTunes at the end of an update, perhaps iTunes ignores that. You will just have to experiment to see if this was a one time oddity or something we'll need to document as a known restriction/oddity whatever....

gacevich
06-04-2009, 08:12 AM
my database cleanup efforts spanned multiple attempts over a few days. i encountered the experience above everytime i opened itunes until i shutdown itunes and the helper on the master server.

i'd be curious to know if other experience the delay/lag in itunes performance and lack of saved changes that i did with the helper operating.

gacevich
06-27-2009, 12:26 PM
I was cleaning up my database in iTunes then tried to reload the db in cqc. seemed be going fine until i attempted to open the coverart browser and got this error: "The TRefDeque<TElem> collection is empty". Repository does not load and reload button no longer works. any ideas on where to look for errors?

edit: looked at logs and saw this
http://i225.photobucket.com/albums/dd95/withmere/reloaderror.png

edit: okay, after the passage of time the library will now load but the filter graph cannot be built on songs that previously worked. it is not an access problem because i can get most songs to work. *sigh*

edit: only the "smart playlists" are showing up as playlists; of the user named playlists are being selected by my macro playlist.

Dean Roddey
06-27-2009, 01:13 PM
Can you get a log snap instead of just screen capturing the messages? Post that and it'll be a lot easier to tell what's going on. With the above I can't tell what's coming from what programs.

There's clearly some problem with the 'cqcserver-pc' address not be resolvable to an address. Probably unrelated but something to look into.

gacevich
06-27-2009, 01:21 PM
Can you get a log snap instead of just screen capturing the messages? Post that and it'll be a lot easier to tell what's going on. With the above I can't tell what's coming from what programs.

There's clearly some problem with the 'cqcserver-pc' address not be resolvable to an address. Probably unrelated but something to look into.
log attached.

fyi, cqcserver-pc is my master server. the only time i remember seeing it referred to in this manner is when i install a new beta and the install program checks for connectivity to the master server.

gacevich
06-27-2009, 01:33 PM
edit: okay, after the passage of time the library will now load but the filter graph cannot be built on songs that previously worked. it is not an access problem because i can get most songs to work. *sigh*

well maybe i am zeroing in my on one of my problems. it just dawned on me that i have *.m4a files in my database and these files seem to be the ones that cannot build a filtergraph. are *.m4a files compatible with the cqc audioplayer trying to play files from itunes?

Dean Roddey
06-27-2009, 02:00 PM
You have to load our player with the QuickTime engine if you want to play those. And you have to have iTunes installed and authorized on each machine where the player will run. If you loaded our player with the DirectShow engine (and based on the logged errors you did), it will only play unprotected MP4 files.

gacevich
07-08-2009, 03:03 AM
since i upgraded to v3.0.1 i have not been able to get the itunes driver to connect. i have not changed any itunes settings or network permission settings. putting the itunes driver in verbose logging did not yield anything interesting...just that the driver tries to connect but does not.

here is a what the "About" window on the helper says:
http://i225.photobucket.com/albums/dd95/withmere/helpererror.jpg

looking in the log for the helper (which i set to verbose), this is the only entry that seemed to show an error.
(6:49:06 AM - Info) Track 'The Beat/English Beat - I Just Can't Stop It/c1776aef-4022-4bb4-bf2a-6875dcf6686e/1-04 Twist & Crawl.mp3'processing
(6:49:06 AM - Info) Track 'The Beat/English Beat - I Just Can't Stop It/c1776aef-4022-4bb4-bf2a-6875dcf6686e/1-05 Rough Rider.mp3'processing
(6:49:06 AM - Info) Track 'The Beat/English Beat - I Just Can't Stop It/c1776aef-4022-4bb4-bf2a-6875dcf6686e/1-07 Big Shot.mp3'processing
(6:49:06 AM - Info) Track 'The Beat/English Beat - I Just Can't Stop It/c1776aef-4022-4bb4-bf2a-6875dcf6686e/1-08 Whine & Grine _ Stand Down Marg.mp3'processing
(6:49:06 AM - Info) Track 'The Beat/English Beat - I Just Can't Stop It/c1776aef-4022-4bb4-bf2a-6875dcf6686e/1-10 Can't Get Used To Losing You.mp3'processing
(6:49:06 AM - Info) Track 'The Beat/English Beat - I Just Can't Stop It/c1776aef-4022-4bb4-bf2a-6875dcf6686e/1-11 Best Friend.mp3'processing
(6:49:07 AM - Info) Track 'The Beat/English Beat - Special Beat Service/6ec74b29-9b53-4e38-9091-8a62859bcdbf/1-01 I Confess.mp3'processing
(6:49:07 AM - Info) Track 'The Beat/English Beat - Special Beat Service/6ec74b29-9b53-4e38-9091-8a62859bcdbf/1-03 Sorry.mp3'processing
(6:49:07 AM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at iTunesLib.IITArtwork.get_Format()
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(6:49:07 AM - Info) Sent a message on the Listen Port of 'NAK - System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at iTunesLib.IITArtwork.get_Format()
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
'
(6:49:07 AM - Info) Completed processing
(6:49:16 AM - Info) Accepted a connection via the TcpListener
(6:49:16 AM - Info) Received a message on the Listen Port of '<GenerateXML Path="C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\"/>

'
(6:49:16 AM - Info) DECODED:
TableName: GenerateXML
Path
C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\

(6:49:16 AM - Info) QueryMessageCallback called from the communication thread
(6:49:16 AM - Info) Received a request to process the iTunes library with a directory of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(6:49:16 AM - Info) Starting iTunes library processing with an output path of 'C:\Program Files\CQC\CQCData\Server\Data\iTunesRepo2\TrayDump _itunescom\'
(6:49:16 AM - Info) Cleaning destination directory
(6:49:16 AM - Info) Creating files
(6:49:16 AM - Info) Connecting to iTunes COM object
(6:49:16 AM - Info) Beginning library processing
(6:49:16 AM - Info) Track 'Ziggy Marley - Dragonfly/7bdbecc2-46d8-4e9e-9cf5-f88e7b6b0ba9/05 Drive.mp3'processing
(6:49:16 AM - Info) Track 'Ziggy Marley - Conscious Party (Bonus Tracks)/9d3bc15e-421f-4657-86a6-170ae4c99a22/03 Tomorrow People.mp3'processing
(6:49:16 AM - Info) Track 'Ziggy Marley - Conscious Party (Bonus Tracks)/9d3bc15e-421f-4657-86a6-170ae4c99a22/09 We Propose.mp3'processing
(6:49:16 AM - Info) Track 'Ziggy Marley - Dragonfly/7bdbecc2-46d8-4e9e-9cf5-f88e7b6b0ba9/01 Dragonfly.mp3'processing
(6:49:16 AM - Info) Track 'Ziggy Marley - Dragonfly/7bdbecc2-46d8-4e9e-9cf5-f88e7b6b0ba9/02 True To Myself.mp3'processing
(6:49:16 AM - Info) Track 'Ziggy Marley - Dragonfly/7bdbecc2-46d8-4e9e-9cf5-f88e7b6b0ba9/09 Good Old Days.mp3'processing
(6:49:16 AM - Info) Track 'Ziggy Marley - Family Time/8b617a1f-a2aa-4184-b031-b3d7e7027464/01 Family Time (feat. Judah Marley).mp3'processing
(6:49:17 AM - Info) Track 'Ziggy Marley - Family

is anybody else having problems with the itunes driver and v3.0.1?

edit: i attached a copy of the log file

Mark Stega
07-08-2009, 04:14 AM
iTunes has an issue with artwork for the track "(6:49:07 AM - Info) Track 'The Beat/English Beat - Special Beat Service/1-03 Sorry.mp3" and is throwing the catastrophic error. If it happens on the same track each time you should delete/readd the track otherwise it is just iTunes behaving badly.

gacevich
07-09-2009, 12:56 AM
hmmmm...maybe we are making progress but it doesn't feel that way. i vaporized the file with the problematic artwork but driver still will not connect. here is a sample of the helper log. it keeps repeating this over and over.

(8:37:56 PM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at iTunesLib.IITArtwork.get_Format()
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:38:16 PM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at iTunesLib.IITArtwork.get_Format()
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:38:36 PM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at iTunesLib.IITArtwork.get_Format()
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:38:54 PM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at iTunesLib.IITArtwork.get_Format()
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:39:14 PM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at iTunesLib.IITArtwork.get_Format()
at iTunes.CQSLiTunesTray.ProcessLibrary(String p_Path, SimpleXMLWriter p_XmlWriter, IITPlaylist p_Playlist, Dictionary`2& p_TrackIDs)
at iTunes.CQSLiTunesTray.ProcessTunes(String p_Path)
(8:39:34 PM - Error) Exception in 'ProcessTunes' of System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

the only playlist that has any songs in it right now is "most recently played".

Mark Stega
07-09-2009, 04:08 AM
I can't help = iTunes has an issue with some artwork and is throwing the error. You need to back up in the error log to see which track(s) is (are) causing the error.

ps - iTunes is the worst integrator's nightmare; popular yet horrid in reliability...

eded9698
07-09-2009, 11:51 AM
Does the helper and driver work with the 64bit version of Itunes?

Mark Stega
07-09-2009, 12:21 PM
Does the helper and driver work with the 64bit version of Itunes? Totally untested - The code is all 32 bit. There is so little documentation by Apple on the COM interface it is impossible to tell. The last update was July of last year and the documents only specify support for iTunes 7.7. Out of curiosity, why is there a 64 bit version of iTunes?

Mark Stega
07-09-2009, 12:57 PM
Coincidentally, I tried to run the helper and I had a similar issue with a bad artwork reference. I don't ever use iTunes for anything but syncing my iPhone (contacts and calendar), but I do have 5 CD's ripped so that I can test the helper. Sure enough, album artwork was now missing for one the albums. I refreshed the artwork, the problem went away. Clearly, iTunes has some kind of bug where it loses artwork and ends up with invalid pointers or something causing an exception to ripple up through the COM interface. I tried to see if I could catch that error, but once it occurred all subsequent calls fail also (even if the artwork is good).

So I think we are stuck here with requiring that the library be scrubbed to the point that iTunes can successfully use it's own COM interface without getting into an error state.

eded9698
07-09-2009, 06:42 PM
Totally untested - The code is all 32 bit. There is so little documentation by Apple on the COM interface it is impossible to tell. The last update was July of last year and the documents only specify support for iTunes 7.7. Out of curiosity, why is there a 64 bit version of iTunes?

For Vista 64 bit.

gacevich
07-10-2009, 01:23 AM
So I think we are stuck here with requiring that the library be scrubbed to the point that iTunes can successfully use it's own COM interface without getting into an error state.
mark, can u elaborate on this a bit? thanks.

Mark Stega
07-10-2009, 03:28 AM
mark, can u elaborate on this a bit? thanks.
Basically, iTunes gets into an error state with artwork (after it has in some way corrupted its own data) such that the COM interface throws an error on a query for artwork on an item. Once it gets into that state it throws an error on all subsequent artwork queries. The only practical response is to abort the creation of the XML representation of the library since we can't believe anything that the COM interface has given us as data.

To a large part, this is why iTunes is considered integrator unfriendly. As one of the most popular music libraries you would expect it to be rock solid. On the contrary, it has many quirks from the user interface to the COM automation and it doesn't even do a good job of finding new music.

gacevich
07-10-2009, 04:25 AM
please excuse me for being dense, but i think what you are suggesting is that 1) stop the logger 2) comb through the helperlog.txt file for references to errors caused by artwork 3) for each artwork error i would remove the artwork in itunes and then re-add the artwork 4) restart the helper. is my understanding correct? if so, i have another question for you. how long do i let the helper run before checking the log? i am never sure how long to let this go. my library is only ~4500 titles and i usually let it run for a few hrs to make sure the helper has done its work. is there a way i can check within the first few minutes to see how things are progressing/if any errors have been generated? i'd like to stop the helper to check but have been reluctant to do so because i think i this will mess up the xml file it is generating. any guidance is appreciated.

wuench
07-10-2009, 04:30 AM
Out of curiosity, why is there a 64 bit version of iTunes?

Not only is there a 64-bit version but if I remember right when I tried it, it won't let you install the 32-bit version on a 64-bit OS. ITunes is crap, I went back to the FileTag repo long ago.

Mark Stega
07-10-2009, 06:25 AM
please excuse me for being dense, but i think what you are suggesting is that 1) stop the logger 2) comb through the helperlog.txt file for references to errors caused by artwork 3) for each artwork error i would remove the artwork in itunes and then re-add the artwork 4) restart the helper. is my understanding correct? if so, i have another question for you. how long do i let the helper run before checking the log? i am never sure how long to let this go. my library is only ~4500 titles and i usually let it run for a few hrs to make sure the helper has done its work. is there a way i can check within the first few minutes to see how things are progressing/if any errors have been generated? i'd like to stop the helper to check but have been reluctant to do so because i think i this will mess up the xml file it is generating. any guidance is appreciated.

You can examine the log file while the helper is running. The easiest way to know how long it takes to process is to stop the CQC iTunes driver, delete the log file, and then do a manual invocation of the helper from the context menu. Let it run until the log file stops growing (you can see progress by asking for status also). It shouldn't take very long to do 4500 titles. There is no reason to stop/restart the helper.

Mark Stega
07-10-2009, 06:26 AM
Not only is there a 64-bit version but if I remember right when I tried it, it won't let you install the 32-bit version on a 64-bit OS. ITunes is crap, I went back to the FileTag repo long ago.
I think you are being over generous in your assessment :-)

wuench
07-10-2009, 07:19 AM
I guess one option is to port CQC to OSX. I would hope iTunes works better on a Mac platform. :-)

I get the impression that all these ObjectiveC/Cocoa programmers at apple don't have much .Net experience.

potts.mike
07-10-2009, 07:48 AM
Having used itunes in both environments I can say that it is more stable in os x. All in All the entire user experience is much different.

gacevich
07-14-2009, 03:36 AM
You can examine the log file while the helper is running. The easiest way to know how long it takes to process is to stop the CQC iTunes driver, delete the log file, and then do a manual invocation of the helper from the context menu. Let it run until the log file stops growing (you can see progress by asking for status also). It shouldn't take very long to do 4500 titles. There is no reason to stop/restart the helper.
mark, what i have taken to doing is letting the helper run for a few minutes then open the log and see what track causes the helper to generate an error. then delete that track and let the helper run until it hits another error. delete the offending file then move on. this seems like using a sledge hammer to kill an ant. i'm gonna have to replace these files once the helper can make it through the whole database. any ideas on why the helper is choking on files that it previously was able to process?

as a follow-up to your post, how do i "stop" a driver? i know how to remove a driver, but don't know how to stop it in the admin interface. also, how do i ask the helper for "status"? right clicking on the helper logo gives: About, Invoke, Log Verbosity and Exit. No "Status".

edit: just realized that the last three offenders all had special characters in the the track name; e.g., !, $ and ? might it be special characters that helper doesn't like?

Mark Stega
07-14-2009, 04:33 AM
mark, what i have taken to doing is letting the helper run for a few minutes then open the log and see what track causes the helper to generate an error. then delete that track and let the helper run until it hits another error. delete the offending file then move on. this seems like using a sledge hammer to kill an ant. i'm gonna have to replace these files once the helper can make it through the whole database. any ideas on why the helper is choking on files that it previously was able to process?

as a follow-up to your post, how do i "stop" a driver? i know how to remove a driver, but don't know how to stop it in the admin interface. also, how do i ask the helper for "status"? right clicking on the helper logo gives: About, Invoke, Log Verbosity and Exit. No "Status".

edit: just realized that the last three offenders all had special characters in the the track name; e.g., !, $ and ? might it be special characters that helper doesn't like?

"about" gives status

the 'offenders' are tripping up iTunes and causing the error to be thrown in the com interface

gacevich
07-21-2009, 08:56 AM
mark, after purging all the offending files from my database the itunes driver seems to be stable.

however, my daughter pointed out an issue. if i leave the helper running on the Master Server (which then keeps itunes running on the MS) we are unable to make changes to the database that "stick". we can add files, create playlists, etc., from one of the other networked pc's in the house, but when itunes is closed on the networked pc and subsequently reopened, the changes are not there. i tested on another pc and got the response. should this happen? we then shutdown the helper and tried to make changes to the db...they "stuck" when the helper was shutdown.

as an aside, i noticed on the two networked pc's that i tested that there is an instance of the itunes helper listed as a "Process" in the task manager. does the helper install run on other machines than the one it is installed on?

Mark Stega
07-21-2009, 09:49 AM
mark, after purging all the offending files from my database the itunes driver seems to be stable.
That's good, but we really shouldn't have to play these games with iTunes. I would not hold my breath however.

however, my daughter pointed out an issue. if i leave the helper running on the Master Server (which then keeps itunes running on the MS) we are unable to make changes to the database that "stick". we can add files, create playlists, etc., from one of the other networked pc's in the house, but when itunes is closed on the networked pc and subsequently reopened, the changes are not there. i tested on another pc and got the response. should this happen? we then shutdown the helper and tried to make changes to the db...they "stuck" when the helper was shutdown.
My guess is that this is do different than running iTunes on the Master Server directly (i.e., not using the helper). This is an iTunes issue unfortunately. I even go through the scheme of trying to close iTunes after enumerating the music to no avail.

as an aside, i noticed on the two networked pc's that i tested that there is an instance of the itunes helper listed as a "Process" in the task manager. does the helper install run on other machines than the one it is installed on?No, we don't touch other machines. What you are seeing is s an unfortunate naming choice on my part. At some point, iTunes gained a companion process called "iTunesHelper". When the tray app is running there are actually two processes in the task list called 'iTunesHelper'. If you right click and pick properties, one resolves to the iTunes install directory, the other to the CQSL iTunesHelper install directory.

damian.flynn
07-26-2009, 09:46 AM
For what its worth, I have been an iTunes user for years, as it links into my DJ softtware [Traktor Pro] seamless, and with 85,000 tunes / 4,300 Albums [500Gb] or so, I finally had to give up on Itunes for media Managment.

I have switched to Media Monkey, which lets me still sync IPods, but all its data is stored in a MDB file, and there are litterly 100's of scripts out there for managing, and pruning the MP3 collections.

As of now, I am aborting on the iTunes driver and seriously considering the File Tag Repo, but Im concerned on how it will react to such a library.

thoughts anyone?
Damian

Dean Roddey
07-26-2009, 11:16 AM
That's a huge library to have to scan. It would be way better if you could spit out some sort of XML file, or if the database format was available so that it could be loaded directly.

Actually, I don't think that our repository, as it stands now, could handle that library, because the track identifiers are 16 bits, so 64K tracks max. That is going to get upped to 32 bit, both for this reason and because of playlists, which also eat up track identifers with 'virtual tracks', but right now it would probably choke on your library.

jkish
07-26-2009, 11:50 AM
For what its worth, I have been an iTunes user for years, as it links into my DJ softtware [Traktor Pro] seamless, and with 85,000 tunes / 4,300 Albums [500Gb] or so, I finally had to give up on Itunes for media Managment.

I have switched to Media Monkey, which lets me still sync IPods, but all its data is stored in a MDB file, and there are litterly 100's of scripts out there for managing, and pruning the MP3 collections.

As of now, I am aborting on the iTunes driver and seriously considering the File Tag Repo, but Im concerned on how it will react to such a library.

thoughts anyone?
Damian

You might try SqueezeCenter - you could test it out with a software player and the SC server for no cost other than time.

It works pretty well with iTunes (as best that can be expected) and I know that there are users with library sizes greater than 5000 albums on the SC server.

If that works for you and you are happy with it, you could then invest in a hardware player for ~$140 new.

damian.flynn
07-26-2009, 11:55 AM
You might try SqueezeCenter - you could test it out with a software player and the SC server for no cost other than time.

It works pretty well with iTunes (as best that can be expected) and I know that there are users with library sizes greater than 5000 albums on the SC server.

If that works for you and you are happy with it, you could then invest in a hardware player for ~$140 new.

Blimey
Thanks man - I just realised I have two Roku Soundbridge devices. Time to go hunting.

gacevich
07-26-2009, 11:59 AM
You might try SqueezeCenter - you could test it out with a software player and the SC server for no cost other than time.

It works pretty well with iTunes (as best that can be expected) and I know that there are users with library sizes greater than 5000 albums on the SC server.

If that works for you and you are happy with it, you could then invest in a hardware player for ~$140 new.
jkish, is there a particular model squeezebox you recommend? what features does it need to have in order to intgrate into cqc/itunes library?

jkish
07-26-2009, 12:30 PM
jkish, is there a particular model squeezebox you recommend? what features does it need to have in order to intgrate into cqc/itunes library?

The SqueezeCenter server does the iTunes integration and there is only one of those - it is a free download.

I use the SqueezeBox receiver as my player. The advantages of the hardware players are 1) stability - it talks between the SC server and itself to play music and my experience has been almost perfect in that regards, 2) access to Pandora and other online services via the SqueezeNetwork that is built into the SC server - the software players cannot use these music services, and 3) the ability to output both digital and analog streams at the same time - nice if you have both analog and digital zones that you want to feed.

The SC receiver is a small box that connects to the IP network and your output devices (switch, amplifier, etc). It runs about $140 new. It normally comes as part of the Duet package, but you don't need the controller part. There are some setup HowTos here on the Forum that describe how to configure the receiver.

However, I think any of the hardware Squeeze players should work with iTunes and the CQC driver. The capabilities are just a little better on some of the new players.

One more really nice integration feature is a package called iPeng for the iPhone/iTouch. It provides a really nice interface into the SC system and lets you control all aspects of your music. The CQC SC driver is 2-way so anything you do via iPeng gets reflected on your CQC interface and vice-versa.

gacevich
07-27-2009, 08:06 AM
alright, throwing in the towel. just ordered a squeezebox wi-fi reciever. looking forward to audio happiness.

IVB
07-27-2009, 09:15 AM
alright, throwing in the towel. just ordered a squeezebox wi-fi reciever. looking forward to audio happiness.

You won't regret it. Well, maybe you will, when you start buying subscriptions to online services because you can (ie, i got Sirius for $7-8/month)...

damian.flynn
07-27-2009, 10:11 AM
Right. I am going to do the same. I really the demo of the sqeezecenter on one of the last group meetings; and the integration looked fantastic but complex.

I need to make it even more complex as i expect to have a total of 4 squeezebox/soundbridges to feed some of the 8 inputs on the xantech.

So - some directions on how to get this started captain please :)

jkish
07-27-2009, 10:34 AM
Right. I am going to do the same. I really the demo of the sqeezecenter on one of the last group meetings; and the integration looked fantastic but complex.

I need to make it even more complex as i expect to have a total of 4 squeezebox/soundbridges to feed some of the 8 inputs on the xantech.

So - some directions on how to get this started captain please :)

Here's a HowTo thread that I started: http://www.charmedquark.com/vb_forum/showthread.php?t=8323

A few posts down are my Music templates - that is probably the best way to get started from the CQC side.

You probably want to get the SC Server up and running and get your players connected to start.

Then, point it at your iTunes music and get things looking right in the SC Web interface.

Once you are happy with that, you will be ready to install the CQC SC driver.