{"action":"created","issue":{"url":"https://api.github.com/repos/Woutrrr/Omnik-Data-Logger/issues/21","labels_url":"https://api.github.com/repos/Woutrrr/Omnik-Data-Logger/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Woutrrr/Omnik-Data-Logger/issues/21/comments","events_url":"https://api.github.com/repos/Woutrrr/Omnik-Data-Logger/issues/21/events","html_url":"https://github.com/Woutrrr/Omnik-Data-Logger/issues/21","id":123663048,"number":21,"title":"No output to PVout.org","user":{"login":"Bswanny","id":13312805,"avatar_url":"https://avatars.githubusercontent.com/u/13312805?v=3","gravatar_id":"","url":"https://api.github.com/users/Bswanny","html_url":"https://github.com/Bswanny","followers_url":"https://api.github.com/users/Bswanny/followers","following_url":"https://api.github.com/users/Bswanny/following{/other_user}","gists_url":"https://api.github.com/users/Bswanny/gists{/gist_id}","starred_url":"https://api.github.com/users/Bswanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bswanny/subscriptions","organizations_url":"https://api.github.com/users/Bswanny/orgs","repos_url":"https://api.github.com/users/Bswanny/repos","events_url":"https://api.github.com/users/Bswanny/events{/privacy}","received_events_url":"https://api.github.com/users/Bswanny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-12-23T13:49:25Z","updated_at":"2016-01-03T13:01:27Z","closed_at":null,"body":"Started today with a fresh install. Got LiveStats working with the comments of Molekuul. \r\nWhen running OmniExport the following error occured:\r\n\r\nTraceback (most recent call last):\r\n  File \"OmnikExport.py\", line 132, in <module>\r\n    OmnikExport.run()\r\n  File \"OmnikExport.py\", line 49, in run\r\n    'filename': mydir + '/' + config.get('log', 'filename'),\r\n  File \"/usr/lib/python2.7/ConfigParser.py\", line 340, in get\r\n    raise NoOptionError(option, section)\r\nConfigParser.NoOptionError: No option 'filename' in section: 'log'\r\n\r\nI changed filename also to log_filename like in LiveStats and the error changed:\r\n\r\n2015-12-23 14:25:20,976 DEBUG Importing output plugin \r\nTraceback (most recent call last):\r\n  File \"OmnikExport.py\", line 132, in <module>\r\n    OmnikExport.run()\r\n  File \"OmnikExport.py\", line 72, in run\r\n    __import__(plugin_name)\r\nValueError: Empty module name\r\n\r\nAny help in solving this is appreciated.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Woutrrr/Omnik-Data-Logger/issues/comments/168496452","html_url":"https://github.com/Woutrrr/Omnik-Data-Logger/issues/21#issuecomment-168496452","issue_url":"https://api.github.com/repos/Woutrrr/Omnik-Data-Logger/issues/21","id":168496452,"user":{"login":"Bswanny","id":13312805,"avatar_url":"https://avatars.githubusercontent.com/u/13312805?v=3","gravatar_id":"","url":"https://api.github.com/users/Bswanny","html_url":"https://github.com/Bswanny","followers_url":"https://api.github.com/users/Bswanny/followers","following_url":"https://api.github.com/users/Bswanny/following{/other_user}","gists_url":"https://api.github.com/users/Bswanny/gists{/gist_id}","starred_url":"https://api.github.com/users/Bswanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bswanny/subscriptions","organizations_url":"https://api.github.com/users/Bswanny/orgs","repos_url":"https://api.github.com/users/Bswanny/repos","events_url":"https://api.github.com/users/Bswanny/events{/privacy}","received_events_url":"https://api.github.com/users/Bswanny/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T13:01:27Z","updated_at":"2016-01-03T13:01:27Z","body":"Pieter,\n\nWaar het bij mij om ging was dat als je via cron de actie start,  hij dan niet het pad kon vinden naar de onderliggende bestandjes (zoals de PVoutputOutput.py). De actie start netjes en werd ook zonder foutmelding afgesloten, aangezien omnikexport gewoon zijn werk deed. Als je in de system logfiles (var/log/syslog) gaat kijken, dan zie je vaak wat meer commentaar. Hieruit heb ik destijds kunnen vinden waarom het misging. Door de output bestanden in dezelfde map te zetten als omnikexport.py, werd dit probleem bij mij verholpen. \n\nBij mij draait alles op een raspberry, maar volgens mij maakt dat niet het verschil. \n\n\n\nMet vriendelijke groet,\n\nBart\n\n> Op 3 jan. 2016 om 12:06 heeft Pieter <notifications@github.com> het volgende geschreven:\n> \n> Zojuist getest met uploaden naar PVoutput:\n> \n> Als ik op Syno handmatig vanuit Terminal het commando \" python OmnikExport.py\" geef op een vijfvoud van de minuut dan lees ik in logfile:\n> \n> 2016-01-03 11:49:58,579 DEBUG Importing output plugin PVoutputOutput\n> 2016-01-03 11:49:58,676 INFO connecting to 192.168.1.22 port 8899\n> 2016-01-03 11:49:59,761 INFO ID: NLDN1020138B1009\n> 2016-01-03 11:49:59,762 DEBUG Run pluginPVoutputOutput\n> \n> 2016-01-03 11:50:21,125 DEBUG Importing output plugin PVoutputOutput\n> 2016-01-03 11:50:21,217 INFO connecting to 192.168.1.22 port 8899\n> 2016-01-03 11:50:22,362 INFO ID: NLDN1020138B1009\n> 2016-01-03 11:50:22,363 DEBUG Run pluginPVoutputOutput\n> 2016-01-03 11:50:22,363 INFO Uploading to PVoutput\n> 2016-01-03 11:50:22,613 INFO OK 200: Added Status\n> \n> 2016-01-03 11:55:07,031 DEBUG Importing output plugin PVoutputOutput\n> 2016-01-03 11:55:07,122 INFO connecting to 192.168.1.22 port 8899\n> 2016-01-03 11:55:08,279 INFO ID: NLDN1020138B1009\n> 2016-01-03 11:55:08,279 DEBUG Run pluginPVoutputOutput\n> 2016-01-03 11:55:08,280 INFO Uploading to PVoutput\n> 2016-01-03 11:55:08,527 INFO OK 200: Added Status\n> \n> 2016-01-03 12:00:03,012 DEBUG Importing output plugin PVoutputOutput\n> 2016-01-03 12:00:03,099 INFO connecting to 192.168.1.22 port 8899\n> 2016-01-03 12:00:04,196 INFO ID: NLDN1020138B1009\n> 2016-01-03 12:00:04,197 DEBUG Run pluginPVoutputOutput\n> 2016-01-03 12:00:04,197 INFO Uploading to PVoutput\n> \n> 2016-01-03 12:00:06,299 INFO OK 200: Added Status\n> \n> Heb daarbij het uitvoeren van het script via de taakplanner uitgezet omdat de taakplanner geen succesvolle uploads kon genereren.\n> \n> Zou dat te maken kunnen hebben met wat Bswanny hierboven schreef:\n> \n> I know it has something to do with the location where the module is stored, but i don't know how to get this working.\n> \n> For now i got it working by copying the PVoutputOutput.py into the Omnik-Data-Logger directory.\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}