{"action":"created","issue":{"url":"https://api.github.com/repos/GustavePate/lycheesync/issues/36","labels_url":"https://api.github.com/repos/GustavePate/lycheesync/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/GustavePate/lycheesync/issues/36/comments","events_url":"https://api.github.com/repos/GustavePate/lycheesync/issues/36/events","html_url":"https://github.com/GustavePate/lycheesync/issues/36","id":115252924,"number":36,"title":"INFO album list in db: {}","user":{"login":"vanhoopstallion","id":15658313,"avatar_url":"https://avatars.githubusercontent.com/u/15658313?v=3","gravatar_id":"","url":"https://api.github.com/users/vanhoopstallion","html_url":"https://github.com/vanhoopstallion","followers_url":"https://api.github.com/users/vanhoopstallion/followers","following_url":"https://api.github.com/users/vanhoopstallion/following{/other_user}","gists_url":"https://api.github.com/users/vanhoopstallion/gists{/gist_id}","starred_url":"https://api.github.com/users/vanhoopstallion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanhoopstallion/subscriptions","organizations_url":"https://api.github.com/users/vanhoopstallion/orgs","repos_url":"https://api.github.com/users/vanhoopstallion/repos","events_url":"https://api.github.com/users/vanhoopstallion/events{/privacy}","received_events_url":"https://api.github.com/users/vanhoopstallion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T10:23:33Z","updated_at":"2015-11-05T21:09:02Z","closed_at":null,"body":"Hello - I'm having some issues. Can you hel?\r\n\r\nI want to link to my owncloud photos directtoy and create linked albums in lychee. Below is the error when I run with args - vdl\r\n\r\nI'm so close to getting my setup how I want it!\r\n\r\nProgram Launched with args:\r\n* dropDB:True\r\n* replace:False\r\n* verbose:True\r\n* srcdir:/var/www/owncloud/data/user/files/Photos/\r\n* lycheepath:/var/www/html/Lychee\r\n* conf:/var/www/html/Lychee/plugins/lycheesync/conf.json\r\n* sort_by_name:True\r\n* link:True\r\nProgram Launched with conf:\r\n* dbHost:localhost\r\n* db:lychee\r\n* dbUser:user\r\n* dbPassword:password\r\n* thumbQuality:80\r\n* publicAlbum:0\r\nOther conf elements:\r\n* user:www-data\r\n* group:www-data\r\n* uid:33\r\n* gid:33\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nINFO album list in db: {}\r\nTraceback (most recent call last):\r\n  File \"main.py\", line 132, in <module>\r\n    main(conf_data)\r\n  File \"main.py\", line 19, in main\r\n    s.sync()\r\n  File \"/var/www/html/Lychee/plugins/lycheesync/lycheesyncer.py\", line 334, in sync\r\n    album['id'] = self.createAlbum(album)\r\n  File \"/var/www/html/Lychee/plugins/lycheesync/lycheesyncer.py\", line 76, in createAlbum\r\n    album['id'] = self.dao.createAlbum(album)\r\n  File \"/var/www/html/Lychee/plugins/lycheesync/lycheedao.py\", line 206, in createAlbum\r\n    \"'\" + str(self.conf[\"publicAlbum\"]) + \"',\"\r\n  File \"/var/www/html/Lychee/plugins/lycheesync/lycheedao.py\", line 42, in _p\r\n    return MySQLdb.escape_string(str(data))\r\nTypeError: must be impossible<bad format char>, not str"},"comment":{"url":"https://api.github.com/repos/GustavePate/lycheesync/issues/comments/154193251","html_url":"https://github.com/GustavePate/lycheesync/issues/36#issuecomment-154193251","issue_url":"https://api.github.com/repos/GustavePate/lycheesync/issues/36","id":154193251,"user":{"login":"GustavePate","id":3317775,"avatar_url":"https://avatars.githubusercontent.com/u/3317775?v=3","gravatar_id":"","url":"https://api.github.com/users/GustavePate","html_url":"https://github.com/GustavePate","followers_url":"https://api.github.com/users/GustavePate/followers","following_url":"https://api.github.com/users/GustavePate/following{/other_user}","gists_url":"https://api.github.com/users/GustavePate/gists{/gist_id}","starred_url":"https://api.github.com/users/GustavePate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GustavePate/subscriptions","organizations_url":"https://api.github.com/users/GustavePate/orgs","repos_url":"https://api.github.com/users/GustavePate/repos","events_url":"https://api.github.com/users/GustavePate/events{/privacy}","received_events_url":"https://api.github.com/users/GustavePate/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T21:09:02Z","updated_at":"2015-11-05T21:09:02Z","body":"Hello,\n\nThanks for asking help.\nI think the problem is with your configuration file.\nThe entry publicAlbum seems buggy , look at the output you send me:\n\nthumbQuality:80\npublicAlbum:0 Other conf elements:\nuser:www-data\n\nThere should have a carriage return after publicAlbum: 0\nI suspect a bad invisible character in your conf file.\ndelete the corresponding line and retype it.\nOr maybe a lack of carriage return somewhere in your conffile...\n\nIf these elements don't help you, send me your confile, otherwise let me\nknow if it's ok.\n\nRegards,\n\nGustave\nLe 5 nov. 2015 11:23, \"vanhoopstallion\" <notifications@github.com> a écrit :\n\n> Hello - I'm having some issues. Can you hel?\n>\n> I want to link to my owncloud photos directtoy and create linked albums in\n> lychee. Below is the error when I run with args - vdl\n>\n> I'm so close to getting my setup how I want it!\n>\n> Program Launched with args:\n>\n>    - dropDB:True\n>    - replace:False\n>    - verbose:True\n>    - srcdir:/var/www/owncloud/data/user/files/Photos/\n>    - lycheepath:/var/www/html/Lychee\n>    - conf:/var/www/html/Lychee/plugins/lycheesync/conf.json\n>    - sort_by_name:True\n>    - link:True Program Launched with conf:\n>    - dbHost:localhost\n>    - db:lychee\n>    - dbUser:user\n>    - dbPassword:password\n>    - thumbQuality:80\n>    - publicAlbum:0 Other conf elements:\n>    - user:www-data\n>    - group:www-data\n>    - uid:33\n>    - gid:33\n>\n> INFO album list in db: {}\n> Traceback (most recent call last):\n>   File \"main.py\", line 132, in <module>\n>     main(conf_data)\n>   File \"main.py\", line 19, in main\n>     s.sync()\n>   File \"/var/www/html/Lychee/plugins/lycheesync/lycheesyncer.py\", line 334, in sync\n>     album['id'] = self.createAlbum(album)\n>   File \"/var/www/html/Lychee/plugins/lycheesync/lycheesyncer.py\", line 76, in createAlbum\n>     album['id'] = self.dao.createAlbum(album)\n>   File \"/var/www/html/Lychee/plugins/lycheesync/lycheedao.py\", line 206, in createAlbum\n>     \"'\" + str(self.conf[\"publicAlbum\"]) + \"',\"\n>   File \"/var/www/html/Lychee/plugins/lycheesync/lycheedao.py\", line 42, in _p\n>     return MySQLdb.escape_string(str(data))\n> TypeError: must be impossible<bad format char>, not str\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/GustavePate/lycheesync/issues/36>.\n>\n"}}