[ Tautulli ] [ 2.11.1.0 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Tautulli ] [ 2.1.18 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
ImportError: No module named requests
seems requests module missing in python
try /opt/Tautulli/bin/pip install requests
seems requests module missing in python
try /opt/Tautulli/bin/pip install requests
---------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
- nickiman
- Know my way around
- Posts: 217
- Joined: Thu Nov 13, 2014 11:15 pm
- Location: Madrid, Spain
Re: [ Tautulli ] [ 2.1.18 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
Sure!,QNAP_Stephane wrote: ↑Sat May 11, 2019 2:30 am ImportError: No module named requests
seems requests module missing in python
try /opt/Tautulli/bin/pip install requests
But let me clarify something important that I forget to mention in my previous post:
To improve this situation I´ve changed this in the arguments of the script:
Code: Select all
nopythonpath /share/CACHEDEV1_DATA/.qpkg/QPython2/bin/python2 --jbop stream --username {username} --sessionId {session_id} --killMessage 'Transcoding streams are not allowed.'
This change is intended to call a different python script instead of the python embeded in Tautulli. At least this is what I understood reading the Wiki here.
So, I thought that calling the QPython2 script... I should install requests from there, so:
Code: Select all
[/share/CACHEDEV1_DATA/.qpkg/QPython2/bin] # ./pip install requests
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: requests in /share/CACHEDEV1_DATA/.qpkg/QPython2/lib/python2.7/site-packages (2.18.4)
Requirement already satisfied: idna<2.7,>=2.5 in /share/CACHEDEV1_DATA/.qpkg/QPython2/lib/python2.7/site-packages (from requests) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /share/CACHEDEV1_DATA/.qpkg/QPython2/lib/python2.7/site-packages (from requests) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in /share/CACHEDEV1_DATA/.qpkg/QPython2/lib/python2.7/site-packages (from requests) (2017.11.5)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /share/CACHEDEV1_DATA/.qpkg/QPython2/lib/python2.7/site-packages (from requests) (3.0.4)
[/share/CACHEDEV1_DATA/.qpkg/QPython2/bin] #
Before install requests we have this:
Code: Select all
[/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7] # find . -name requests
./site-packages/pip/_vendor/requests
Code: Select all
[/share/CACHEDEV1_DATA/.qpkg/Tautulli/bin] # ./pip install requests
Collecting requests
Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB)
100% |████████████████████████████████| 61kB 3.6MB/s
Collecting urllib3<1.25,>=1.21.1 (from requests)
Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)
100% |████████████████████████████████| 122kB 4.0MB/s
Collecting certifi>=2017.4.17 (from requests)
Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
100% |████████████████████████████████| 163kB 3.1MB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests)
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
100% |████████████████████████████████| 143kB 3.6MB/s
Requirement already satisfied: idna<2.9,>=2.5 in /share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/site-packages (from requests)
Installing collected packages: urllib3, certifi, chardet, requests
Successfully installed certifi-2019.3.9 chardet-3.0.4 requests-2.21.0 urllib3-1.24.3
Code: Select all
[/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7] # find . -name requests
./site-packages/pip/_vendor/requests
./site-packages/requests
[/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7] #
Code: Select all
2019-05-10 20:43:06 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Session 30 started by user 409166 (nickiman) with ratingKey 106962 (Velvet Buzzsaw).
2019-05-10 20:43:06 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 1.
2019-05-10 20:43:06 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True, True].
2019-05-10 20:43:06 - INFO :: Thread-2 : Tautulli NotificationHandler :: Preparing notification for notifier_id 1.
2019-05-10 20:43:06 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 5.
2019-05-10 20:43:06 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True].
2019-05-10 20:43:06 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 3.
2019-05-10 20:43:07 - INFO :: Thread-1 : Tautulli Notifiers :: Sending Telegram notification...
2019-05-10 20:43:07 - INFO :: Thread-1 : Tautulli Notifiers :: Telegram notification sent.
2019-05-10 20:43:07 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 5.
2019-05-10 20:43:07 - DEBUG :: Thread-1 : Tautulli Notifiers :: Trying to run notify script, action: play, arguments: [u'nopythonpath', u'/share/CACHEDEV1_DATA/.qpkg/QPython2/bin/python2', u'--jbop', u'stream', u'--username', u'nickiman', u'--sessionId', u'rthuarjwkqommve8z0z5cxr3', u'--killMessage', u'Transcoding streams are not allowed.']
2019-05-10 20:43:07 - DEBUG :: Thread-1 : Tautulli Notifiers :: Full script is: ['python', u'/share/CACHEDEV1_DATA/.qpkg/JBOPS/killstream/kill_stream.py', '/share/CACHEDEV1_DATA/.qpkg/QPython2/bin/python2', '--jbop', 'stream', '--username', 'nickiman', '--sessionId', 'rthuarjwkqommve8z0z5cxr3', '--killMessage', 'Transcoding streams are not allowed.']
2019-05-10 20:43:07 - DEBUG :: Thread-1 : Tautulli Notifiers :: Executing script in a new thread.
2019-05-10 20:43:08 - DEBUG :: Thread-15 : Tautulli Notifiers :: Subprocess returned with status code 1.
2019-05-10 20:43:08 - ERROR :: Thread-15 : Tautulli Notifiers :: Script error:
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/JBOPS/killstream/kill_stream.py", line 53, in <module>
from requests import Session
ImportError: No module named requests
2019-05-10 20:43:08 - INFO :: Thread-15 : Tautulli Notifiers :: Script notification sent.
2019-05-10 20:43:08 - INFO :: Thread-2 : Tautulli Notifiers :: Email notification sent.
If I remove the first arguments in the script and leave it as it is...
Code: Select all
--jbop stream --username {username} --sessionId {session_id} --killMessage 'Transcoding streams are not allowed.'
Code: Select all
2019-05-10 20:50:25 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Session 31 started by user 409166 (nickiman) with ratingKey 106962 (Velvet Buzzsaw).
2019-05-10 20:50:25 - DEBUG :: Thread-2 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 1.
2019-05-10 20:50:25 - DEBUG :: Thread-2 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True, True].
2019-05-10 20:50:25 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 1.
2019-05-10 20:50:25 - DEBUG :: Thread-2 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 5.
2019-05-10 20:50:25 - DEBUG :: Thread-2 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True].
2019-05-10 20:50:25 - INFO :: Thread-2 : Tautulli NotificationHandler :: Preparing notification for notifier_id 3.
2019-05-10 20:50:25 - INFO :: Thread-2 : Tautulli Notifiers :: Sending Telegram notification...
2019-05-10 20:50:26 - INFO :: Thread-2 : Tautulli Notifiers :: Telegram notification sent.
2019-05-10 20:50:26 - INFO :: Thread-2 : Tautulli NotificationHandler :: Preparing notification for notifier_id 5.
2019-05-10 20:50:26 - DEBUG :: Thread-2 : Tautulli Notifiers :: Trying to run notify script, action: play, arguments: [u'--jbop', u'stream', u'--username', u'nickiman', u'--sessionId', u'rthuarjwkqommve7z9z4cxr2', u'--killMessage', u'Transcoding streams are not allowed.']
2019-05-10 20:50:26 - DEBUG :: Thread-2 : Tautulli Notifiers :: Full script is: ['python', u'/share/CACHEDEV1_DATA/.qpkg/JBOPS/killstream/kill_stream.py', '--jbop', 'stream', '--username', 'nickiman', '--sessionId', 'rthuarjwkqommve8z0z5cxr3', '--killMessage', 'Transcoding streams are not allowed.']
2019-05-10 20:50:26 - DEBUG :: Thread-2 : Tautulli Notifiers :: Executing script in a new thread.
2019-05-10 20:50:27 - DEBUG :: Thread-24 : Tautulli Notifiers :: Subprocess returned with status code 1.
2019-05-10 20:50:27 - ERROR :: Thread-24 : Tautulli Notifiers :: Script error:
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/site.py", line 67, in <module>
import ssl
File "/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/ssl.py", line 95, in <module>
from collections import namedtuple
File "/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/collections.py", line 21, in <module>
from operator import itemgetter as _itemgetter, eq as _eq
ImportError: /share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString
2019-05-10 20:50:27 - INFO :: Thread-24 : Tautulli Notifiers :: Script notification sent.
2019-05-10 20:50:27 - INFO :: Thread-1 : Tautulli Notifiers :: Email notification sent.
Just to check if with the new package could solve the problem... because I don´t know how to do more
I hope you understand me. Thank you very much for your help.
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
6Tb WD Red WD6002FFWX (x4) with RAID 5
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Tautulli ] [ 2.1.18 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
Building a 2.1.29.1 ... with this missing modules..
but not sure it will fix it...
you may be have to rewritte the path to python binary inside the script itself (on 1st line)
but not sure it will fix it...
you may be have to rewritte the path to python binary inside the script itself (on 1st line)
---------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
- nickiman
- Know my way around
- Posts: 217
- Joined: Thu Nov 13, 2014 11:15 pm
- Location: Madrid, Spain
Re: [ Tautulli ] [ 2.1.18 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
Thanks a lot!QNAP_Stephane wrote:Building a 2.1.29.1 ... with this missing modules..
but not sure it will fix it...
you may be have to rewritte the path to python binary inside the script itself (on 1st line)
I'll try it and I'll let you know...
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
6Tb WD Red WD6002FFWX (x4) with RAID 5
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
it is online (just x86_64 for moment)
added all requirement for JBOPS inside
added all requirement for JBOPS inside
---------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
- nickiman
- Know my way around
- Posts: 217
- Joined: Thu Nov 13, 2014 11:15 pm
- Location: Madrid, Spain
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
Getting the same errors...QNAP_Stephane wrote: ↑Sat May 11, 2019 4:15 pm it is online (just x86_64 for moment)
added all requirement for JBOPS inside
I´ve updated from the repo and restarted Tautulli from the internal restart option. Below the logs with the tests made:
- Without nopythonpath argument (No calling the Qpython2 script:
Code: Select all
--jbop stream --username {username} --sessionId {session_id} --killMessage 'Transcoding streams are not allowed.'
Code: Select all
2019-05-11 09:33:42 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Session 50 started by user 409166 (nickiman) with ratingKey 106962 (Velvet Buzzsaw).
2019-05-11 09:33:42 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 1.
2019-05-11 09:33:42 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True, True].
2019-05-11 09:33:42 - INFO :: Thread-2 : Tautulli NotificationHandler :: Preparing notification for notifier_id 1.
2019-05-11 09:33:43 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 5.
2019-05-11 09:33:43 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True].
2019-05-11 09:33:43 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 3.
2019-05-11 09:33:43 - INFO :: Thread-1 : Tautulli Notifiers :: Sending Telegram notification...
2019-05-11 09:33:44 - INFO :: Thread-1 : Tautulli Notifiers :: Telegram notification sent.
2019-05-11 09:33:44 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 5.
2019-05-11 09:33:44 - DEBUG :: Thread-1 : Tautulli Notifiers :: Trying to run notify script, action: play, arguments: [u'--jbop', u'stream', u'--username', u'nickiman', u'--sessionId', u'lieicxzcijiw9j20jyusdcxr', u'--killMessage', u'Transcoding streams are not allowed.']
2019-05-11 09:33:44 - DEBUG :: Thread-1 : Tautulli Notifiers :: Full script is: ['python', u'/share/CACHEDEV1_DATA/.qpkg/JBOPS/killstream/kill_stream.py', '--jbop', 'stream', '--username', 'nickiman', '--sessionId', 'lieicxzcijiw9j20jyusdcxr', '--killMessage', 'Transcoding streams are not allowed.']
2019-05-11 09:33:44 - DEBUG :: Thread-1 : Tautulli Notifiers :: Executing script in a new thread.
2019-05-11 09:33:44 - DEBUG :: Thread-16 : Tautulli Notifiers :: Subprocess returned with status code 1.
2019-05-11 09:33:44 - ERROR :: Thread-16 : Tautulli Notifiers :: Script error:
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/site.py", line 67, in <module>
import ssl
File "/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/ssl.py", line 95, in <module>
from collections import namedtuple
File "/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/collections.py", line 21, in <module>
from operator import itemgetter as _itemgetter, eq as _eq
ImportError: /share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString
2019-05-11 09:33:44 - INFO :: Thread-16 : Tautulli Notifiers :: Script notification sent.
2019-05-11 09:33:44 - INFO :: Thread-2 : Tautulli Notifiers :: Email notification sent.
2019-05-11 09:34:23 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Session 50 stopped.
2019-05-11 09:34:23 - DEBUG :: Thread-3 : Tautulli ActivityProcessor :: Play duration for session 50 ratingKey 106962 is 41 secs which is less than 120 seconds, so we're not logging it.
2019-05-11 09:34:23 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Removing sessionKey 50 ratingKey 106962 from session queue
- If I try the option with nopythonpath argument (Calling the Qpython2 script:
Code: Select all
nopythonpath /share/CACHEDEV1_DATA/.qpkg/QPython2/bin/python2 --jbop stream --username {username} --sessionId {session_id} --killMessage 'Transcoding streams are not allowed.'
Code: Select all
2019-05-11 09:47:27 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Session 51 started by user 409166 (nickiman) with ratingKey 106962 (Velvet Buzzsaw).
2019-05-11 09:47:28 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 1.
2019-05-11 09:47:28 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True, True].
2019-05-11 09:47:28 - INFO :: Thread-2 : Tautulli NotificationHandler :: Preparing notification for notifier_id 1.
2019-05-11 09:47:28 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 5.
2019-05-11 09:47:28 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True].
2019-05-11 09:47:28 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 3.
2019-05-11 09:47:28 - INFO :: Thread-1 : Tautulli Notifiers :: Sending Telegram notification...
2019-05-11 09:47:29 - INFO :: Thread-1 : Tautulli Notifiers :: Telegram notification sent.
2019-05-11 09:47:29 - INFO :: Thread-2 : Tautulli Notifiers :: Email notification sent.
2019-05-11 09:47:31 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 5.
2019-05-11 09:47:31 - DEBUG :: Thread-1 : Tautulli Notifiers :: Trying to run notify script, action: play, arguments: [u'nopythonpath', u'/share/CACHEDEV1_DATA/.qpkg/QPython2/bin/python2', u'--jbop', u'stream', u'--username', u'nickiman', u'--sessionId', u'lieicxzcijiw9j20jyusdcxr', u'--killMessage', u'Transcoding streams are not allowed.']
2019-05-11 09:47:31 - DEBUG :: Thread-1 : Tautulli Notifiers :: Full script is: ['python', u'/share/CACHEDEV1_DATA/.qpkg/JBOPS/killstream/kill_stream.py', '/share/CACHEDEV1_DATA/.qpkg/QPython2/bin/python2', '--jbop', 'stream', '--username', 'nickiman', '--sessionId', 'lieicxzcijiw9j20jyusdcxr', '--killMessage', 'Transcoding streams are not allowed.']
2019-05-11 09:47:31 - DEBUG :: Thread-1 : Tautulli Notifiers :: Executing script in a new thread.
2019-05-11 09:47:31 - DEBUG :: Thread-15 : Tautulli Notifiers :: Subprocess returned with status code 1.
2019-05-11 09:47:31 - ERROR :: Thread-15 : Tautulli Notifiers :: Script error:
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/JBOPS/killstream/kill_stream.py", line 53, in <module>
from requests import Session
ImportError: No module named requests
2019-05-11 09:47:31 - INFO :: Thread-15 : Tautulli Notifiers :: Script notification sent.
2019-05-11 09:47:48 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Session 51 stopped.
2019-05-11 09:47:48 - DEBUG :: Thread-3 : Tautulli ActivityProcessor :: Play duration for session 51 ratingKey 106962 is 21 secs which is less than 120 seconds, so we're not logging it.
2019-05-11 09:47:48 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Removing sessionKey 51 ratingKey 106962 from session queue
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
6Tb WD Red WD6002FFWX (x4) with RAID 5
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
try not using QPython2, python is embedded in Tautulli package
---------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
- nickiman
- Know my way around
- Posts: 217
- Joined: Thu Nov 13, 2014 11:15 pm
- Location: Madrid, Spain
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
The first log of my previous post is without using it.QNAP_Stephane wrote:try not using QPython2, python is embedded in Tautulli package
Should call the Tautulli's package.
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
6Tb WD Red WD6002FFWX (x4) with RAID 5
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
mmm strange..
undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString is mainly causing the error.. seems this error is due python not been compiled with ucs4 support
but this flag is existing in my autoconf script compilation ...
undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString is mainly causing the error.. seems this error is due python not been compiled with ucs4 support
but this flag is existing in my autoconf script compilation ...
---------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
recompiling Python 2.7.16 with ucs2 instead ucs4 ...
a chance it fix the issue
a chance it fix the issue
---------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
- nickiman
- Know my way around
- Posts: 217
- Joined: Thu Nov 13, 2014 11:15 pm
- Location: Madrid, Spain
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
Perfect! Thanks.QNAP_Stephane wrote: ↑Sat May 11, 2019 9:33 pm recompiling Python 2.7.16 with ucs2 instead ucs4 ...
a chance it fix the issue
Tell me when it´s available in the repo and I´ll try it ASAP.
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
6Tb WD Red WD6002FFWX (x4) with RAID 5
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
it is on the repo
---------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
- nickiman
- Know my way around
- Posts: 217
- Joined: Thu Nov 13, 2014 11:15 pm
- Location: Madrid, Spain
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
Ok.QNAP_Stephane wrote:it is on the repo
I'm out of home right now.
I'll let you know tonight.
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
6Tb WD Red WD6002FFWX (x4) with RAID 5
- nickiman
- Know my way around
- Posts: 217
- Joined: Thu Nov 13, 2014 11:15 pm
- Location: Madrid, Spain
Re: [ Tautulli ] [ 2.1.29.1 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
This is the log what I get after update to version 2.1.29.2:
Code: Select all
2019-05-11 23:00:16 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Session 59 started by user 409166 (nickiman) with ratingKey 106962 (Velvet Buzzsaw).
2019-05-11 23:00:16 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 1.
2019-05-11 23:00:16 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True, True].
2019-05-11 23:00:16 - INFO :: Thread-2 : Tautulli NotificationHandler :: Preparing notification for notifier_id 1.
2019-05-11 23:00:16 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 5.
2019-05-11 23:00:16 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True].
2019-05-11 23:00:16 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 3.
2019-05-11 23:00:16 - INFO :: Thread-1 : Tautulli Notifiers :: Sending Telegram notification...
2019-05-11 23:00:17 - INFO :: Thread-1 : Tautulli Notifiers :: Telegram notification sent.
2019-05-11 23:00:17 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 5.
2019-05-11 23:00:17 - DEBUG :: Thread-1 : Tautulli Notifiers :: Trying to run notify script, action: play, arguments: [u'--jbop', u'stream', u'--username', u'nickiman', u'--sessionId', u'ytoq8hwj1aodqcikal6e2zbm', u'--killMessage', u'Transcoding streams are not allowed.']
2019-05-11 23:00:17 - DEBUG :: Thread-1 : Tautulli Notifiers :: Full script is: ['python', u'/share/CACHEDEV1_DATA/.qpkg/JBOPS/killstream/kill_stream.py', '--jbop', 'stream', '--username', 'nickiman', '--sessionId', 'ytoq8hwj1aodqcikal6e2zbm', '--killMessage', 'Transcoding streams are not allowed.']
2019-05-11 23:00:17 - DEBUG :: Thread-1 : Tautulli Notifiers :: Executing script in a new thread.
2019-05-11 23:00:17 - DEBUG :: Thread-16 : Tautulli Notifiers :: Subprocess returned with status code 1.
2019-05-11 23:00:17 - ERROR :: Thread-16 : Tautulli Notifiers :: Script error:
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/JBOPS/killstream/kill_stream.py", line 49, in <module>
import json
File "/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/json/__init__.py", line 108, in <module>
from .decoder import JSONDecoder
File "/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/json/decoder.py", line 5, in <module>
import struct
File "/share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/struct.py", line 1, in <module>
from _struct import *
ImportError: /share/CACHEDEV1_DATA/.qpkg/Tautulli/lib/python2.7/lib-dynload/_struct.so: undefined symbol: PyUnicodeUCS2_AsEncodedString
2019-05-11 23:00:17 - INFO :: Thread-16 : Tautulli Notifiers :: Script notification sent.
2019-05-11 23:00:17 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 1.
2019-05-11 23:00:17 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Custom condition evaluated to 'True'. Conditions: [True, True].
2019-05-11 23:00:17 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notification for notifier_id 1.
2019-05-11 23:00:18 - INFO :: Thread-2 : Tautulli Notifiers :: Email notification sent.
2019-05-11 23:00:19 - INFO :: Thread-1 : Tautulli Notifiers :: Email notification sent.
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
6Tb WD Red WD6002FFWX (x4) with RAID 5
- QNAP_Stephane
- Experience counts
- Posts: 4802
- Joined: Wed Mar 27, 2013 1:00 am
Re: [ Tautulli ] [ 2.1.29.2 ] Monitoring and tracking tool for Plex Media Server (ex PlexPy )
very strange...
I have no idea ... may be ask to develloper on GitHub, may be he has any clue
I have no idea ... may be ask to develloper on GitHub, may be he has any clue
---------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------
Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW
----------------------------------------------------------------------------------------------------------------------------