<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[sqlite3 fails to load flac files from directory in Collection]]></title><description><![CDATA[<p dir="auto">OS: NetBSD pre-10<br />
Collection: NFS mounted mostly FLAC, some .mp3<br />
Problems:  SQLite3 fails to import some song records from the flac labels, keeps trying, and keeps failing:</p>
<pre><code>01:41:12.342 ERROR Database:502                     Unable to execute SQL query:  QSqlError("19", "Unable to fetch row", "NOT NULL constraint failed: songs.ctime")
01:41:12.342 ERROR Database:503                     Failed query:  "INSERT INTO songs (title, album, artist, albumartist, track, disc, year, originalyear, genre, compilation, composer, performer, grouping, comment, lyrics, artist_id, album_id, song_id, beginning, length, bitrate, samplerate, bitdepth, source, directory_id, url, filetype, filesize, mtime, ctime, unavailable, fingerprint, playcount, skipcount, lastplayed, lastseen, compilation_detected, compilation_on, compilation_off, compilation_effective, art_automatic, art_manual, effective_albumartist, effective_originalyear, cue_path, rating) VALUES (Eat for Two, Blind Man's Zoo, 10,000 Maniacs, Blind Man's Zooartist, 1, 1, 1989, -1, , 0, , , , , , 10,000 Maniacs_id, Blind Man's Zoo_id, , 0, 212133000000, 919, 44100, 24, 2, 1, file:///mnt/music/+ALPHA_ARTIST/10,000_Maniacs/1989.Blind_Mans_Zoo/101.Eat_for_Two.flac, 2, 24388448, 1605390365, , 0, , 0, 0, -1, 1640079642, 0_detected, 0_on, 0_off, 0_effective, , , 10,000 Maniacs, 1989, , -1)"
01:41:12.342 WARN  ScopedTransaction:37             Rolling back transaction

</code></pre>
<p dir="auto">...and I end up with an empty collection, and no songs in my DB after exiting strawberry.<br />
Why would it end up with an occasional null ctime?</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/470/sqlite3-fails-to-load-flac-files-from-directory-in-collection</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 09:18:33 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/topic/470.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Dec 2021 09:50:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to sqlite3 fails to load flac files from directory in Collection on Mon, 27 Dec 2021 19:25:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/817">@greywolf</a><br />
This bug should already be fixed if you use the latest code from git master.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1271</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1271</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Mon, 27 Dec 2021 19:25:46 GMT</pubDate></item><item><title><![CDATA[Reply to sqlite3 fails to load flac files from directory in Collection on Wed, 22 Dec 2021 07:59:32 GMT]]></title><description><![CDATA[<p dir="auto">FOLLOWUP -- this only happens across NFS, which means I have to reproduce my music repo on my local box.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/1261</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/1261</guid><dc:creator><![CDATA[Greywolf]]></dc:creator><pubDate>Wed, 22 Dec 2021 07:59:32 GMT</pubDate></item></channel></rss>