New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propose to re-create library when DB changed and refresh_library used #49

Closed
vdesabou opened this Issue Jan 31, 2015 · 1 comment

Comments

1 participant
@vdesabou
Copy link
Owner

vdesabou commented Jan 31, 2015

Example:

PDOException Object
(
    [message:protected] => SQLSTATE[HY000]: General error: 1 table playlists has 7 columns but 12 values were supplied
    [string:Exception:private] => 
    [code:protected] => HY000
    [file:protected] => /Users/iansoper/Dropbox/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.75C71877-5189-4CDF-98C2-6D2A9F1ED8A8/src/functions.php
    [line:protected] => 3561
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /Users/iansoper/Dropbox/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.75C71877-5189-4CDF-98C2-6D2A9F1ED8A8/src/functions.php
                    [line] => 3561
                    [function] => prepare
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => insert into playlists values (:uri,:name,:nb_tracks,:owner,:username,:playlist_artwork_path,:ownedbyuser,:nb_playable_tracks,:duration_playlist,:nb_times_played,:collaborative,:public)
                        )

                )

            [1] => Array
                (
                    [file] => /Users/iansoper/Dropbox/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.75C71877-5189-4CDF-98C2-6D2A9F1ED8A8/src/action.php
                    [line] => 859
                    [function] => refreshLibrary
                    [args] => Array
                        (
                            [0] => Workflows Object
                                (
                                    [cache:Workflows:private] => /Users/iansoper/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.vdesabou.spotify.mini.player
                                    [data:Workflows:private] => /Users/iansoper/Library/Application Support/Alfred 2/Workflow Data/com.vdesabou.spotify.mini.player
                                    [bundle:Workflows:private] => com.vdesabou.spotify.mini.player
                                    [path:Workflows:private] => 
                                    [home:Workflows:private] => /Users/iansoper
                                    [results:Workflows:private] => Array
                                        (
                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => HY000
            [1] => 1
            [2] => table playlists has 7 columns but 12 values were supplied
        )

)
2015-01-30 18:09:08|Error(refreshLibrary): (exception 1)

@vdesabou vdesabou added this to the 6.0.2 milestone Jan 31, 2015

@vdesabou vdesabou self-assigned this Jan 31, 2015

@vdesabou

This comment has been minimized.

Copy link
Owner

vdesabou commented Jan 31, 2015

Result:

tmp

@vdesabou vdesabou closed this Jan 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment