{"action":"created","issue":{"url":"https://api.github.com/repos/pyload/pyload/issues/1971","labels_url":"https://api.github.com/repos/pyload/pyload/issues/1971/labels{/name}","comments_url":"https://api.github.com/repos/pyload/pyload/issues/1971/comments","events_url":"https://api.github.com/repos/pyload/pyload/issues/1971/events","html_url":"https://github.com/pyload/pyload/issues/1971","id":110354497,"number":1971,"title":"Error importing GoogledriveCom: invalid syntax (Plugin.py, line 273)","user":{"login":"marviobezerra","id":4443764,"avatar_url":"https://avatars.githubusercontent.com/u/4443764?v=3","gravatar_id":"","url":"https://api.github.com/users/marviobezerra","html_url":"https://github.com/marviobezerra","followers_url":"https://api.github.com/users/marviobezerra/followers","following_url":"https://api.github.com/users/marviobezerra/following{/other_user}","gists_url":"https://api.github.com/users/marviobezerra/gists{/gist_id}","starred_url":"https://api.github.com/users/marviobezerra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marviobezerra/subscriptions","organizations_url":"https://api.github.com/users/marviobezerra/orgs","repos_url":"https://api.github.com/users/marviobezerra/repos","events_url":"https://api.github.com/users/marviobezerra/events{/privacy}","received_events_url":"https://api.github.com/users/marviobezerra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyload/pyload/labels/issue%20not%20reproduced","name":"issue not reproduced","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-08T01:31:43Z","updated_at":"2015-10-08T07:57:03Z","closed_at":"2015-10-08T02:02:28Z","body":"\r\n768\t07.10.2015 22:26:48\tCRITICAL\t'NoneType' object has no attribute 'GoogledriveCom'\r\n767\t07.10.2015 22:26:48\tERROR\tError importing GoogledriveCom: invalid syntax (Plugin.py, line 273)\r\n766\t07.10.2015 22:26:34\tINFO\tpyLoad is up and running\r\n765\t07.10.2015 22:26:34\tINFO\tActivating Plugins...\r\n764\t07.10.2015 22:26:34\tINFO\tActivating Accounts...\r\n763\t07.10.2015 22:26:34\tINFO\tStarting builtin webserver: 0.0.0.0:8100\r\n762\t07.10.2015 22:26:34\tINFO\tFree space: 6.20 TiB\r\n761\t07.10.2015 22:26:34\tINFO\tStarting ThriftBackend: 0.0.0.0:7227\r\n760\t07.10.2015 22:26:34\tINFO\tDownloadtime: True\r\n759\t07.10.2015 22:26:34\tINFO\tDeactivate plugins: AlldebridComHook, AndroidPhoneNotify, AntiVirus, BypassCaptcha, Captcha9Kw, CaptchaBrotherhood, Checksum, DeathByCaptcha, DebridItaliaComHook, DeleteFinished, DownloadScheduler, EasybytezComHook, ExpertDecoders, FastixRuHook, FreeWayMeHook, HighWayMeHook, HotFolder, IRCInterface, ImageTyperz, JustPremium, LinksnappyComHook, LogMarker, MegaDebridEuHook, MegaRapidoNetHook, MergeFiles, MultiHome, MultihostersComHook, MultishareCzHook, MyfastfileComHook, NoPremiumPlHook, OverLoadMeHook, PremiumToHook, PremiumizeMeHook, PutdriveComHook, RPNetBizHook, RapideoPlHook, RealdebridComHook, RehostToHook, RestartFailed, SimplyPremiumComHook, SimplydebridComHook, SkipRev, SmoozedComHook, TransmissionRPC, WindowsPhoneNotify, XMPPInterface, ZeveraComHook\r\n758\t07.10.2015 22:26:34\tINFO\tActivated plugins:\r\n757\t07.10.2015 22:26:34\tERROR\tError importing UserAgentSwitcher: invalid syntax (Plugin.py, line 273)\r\n756\t07.10.2015 22:26:34\tERROR\tError importing XFileSharingPro: invalid syntax (Plugin.py, line 273)\r\n755\t07.10.2015 22:26:34\tERROR\tError importing UnSkipOnFail: invalid syntax (Plugin.py, line 273)\r\n754\t07.10.2015 22:26:34\tERROR\tError importing ClickAndLoad: invalid syntax (Plugin.py, line 273)\r\n753\t07.10.2015 22:26:34\tERROR\tError importing ClickNLoad: invalid syntax (Plugin.py, line 273)\r\n752\t07.10.2015 22:26:34\tERROR\tError importing UpdateManager: invalid syntax (Plugin.py, line 273)\r\n751\t07.10.2015 22:26:34\tERROR\tError importing ExtractArchive: invalid syntax (Plugin.py, line 273)\r\n750\t07.10.2015 22:26:34\tERROR\tError importing AntiStandby: invalid syntax (Plugin.py, line 273)\r\n749\t07.10.2015 22:26:34\tERROR\tError importing ExternalScripts: invalid syntax (Plugin.py, line 273)\r\n748\t07.10.2015 22:26:34\tERROR\tError importing LinkdecrypterComHook: invalid syntax (Plugin.py, line 273)\r\n747\t07.10.2015 22:26:33\tINFO\tUsing home directory: /share/CACHEDEV1_DATA/.qpkg/pyload/data\r\n746\t07.10.2015 22:26:33\tINFO\tStarting pyLoad 0.4.9\r\n745\t07.10.2015 22:26:33\tINFO\tshutting down...\r\n744\t07.10.2015 22:26:33\tINFO\trestarting pyLoad"},"comment":{"url":"https://api.github.com/repos/pyload/pyload/issues/comments/146449023","html_url":"https://github.com/pyload/pyload/issues/1971#issuecomment-146449023","issue_url":"https://api.github.com/repos/pyload/pyload/issues/1971","id":146449023,"user":{"login":"GammaC0de","id":11036551,"avatar_url":"https://avatars.githubusercontent.com/u/11036551?v=3","gravatar_id":"","url":"https://api.github.com/users/GammaC0de","html_url":"https://github.com/GammaC0de","followers_url":"https://api.github.com/users/GammaC0de/followers","following_url":"https://api.github.com/users/GammaC0de/following{/other_user}","gists_url":"https://api.github.com/users/GammaC0de/gists{/gist_id}","starred_url":"https://api.github.com/users/GammaC0de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GammaC0de/subscriptions","organizations_url":"https://api.github.com/users/GammaC0de/orgs","repos_url":"https://api.github.com/users/GammaC0de/repos","events_url":"https://api.github.com/users/GammaC0de/events{/privacy}","received_events_url":"https://api.github.com/users/GammaC0de/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T07:57:03Z","updated_at":"2015-10-08T07:57:03Z","body":":+1: OK, i see.\r\ndue to the excessive use of the log_xxx() functions, isn't wise the delete the `currentframe` ?\r\nfrom https://docs.python.org/2/library/inspect.html:\r\n```\r\n\r\n\r\nNote\r\n\r\nKeeping references to frame objects, as found in the first element of the frame records these functions return, can cause your program to create reference cycles. Once a reference cycle has been created, the lifespan of all objects which can be accessed from the objects which form the cycle can become much longer even if Python’s optional cycle detector is enabled. If such cycles must be created, it is important to ensure they are explicitly broken to avoid the delayed destruction of objects and increased memory consumption which occurs.\r\n\r\nThough the cycle detector will catch these, destruction of the frames (and local variables) can be made deterministic by removing the cycle in a finally clause. This is also important if the cycle detector was disabled when Python was compiled or using gc.disable(). For example:\r\n\r\ndef handle_stackframe_without_leak():\r\n    frame = inspect.currentframe()\r\n    try:\r\n        # do something with the frame\r\n    finally:\r\n        del frame\r\n\r\n```"}}