Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Wsgi pscheduler module and logger modules

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Wsgi pscheduler module and logger modules


Chronological Thread 
  • From: "Liu, Dengfeng (NIH/CIT) [C]" <>
  • To: Mark Feit <>, "" <>
  • Cc: Andrew Lake <>
  • Subject: Re: [perfsonar-user] Wsgi pscheduler module and logger modules
  • Date: Mon, 24 Apr 2017 13:49:25 +0000
  • Accept-language: en-US
  • Authentication-results: es.net; dkim=none (message not signed) header.d=none;es.net; dmarc=none action=none header.from=nih.gov;
  • Ironport-phdr: 9a23:UMokCBJqcg9k6h2d9NmcpTZWNBhigK39O0sv0rFitYgXKvv6rarrMEGX3/hxlliBBdydsKMazbaO+P69EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT68bL9oIxi6sQrdu8gWjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVQTlgzkbOTEn7G7Xi9RwjKNFrxKnuxx/2JPfbIWMOPZjYq/RYdYWSGxPUcZLUyxKH52yYY0BAeEcOepUtpTxq0cLoRa4GAKiBv7gyiVQi3H2w6M0zvghHw/F0gwuHd0OsWjbo9ruOagITey50LPFwSnfY/5W3zr29YjGcgomofGJRb98f8zfyUgyFw/dk16ep5LqPzWa1uQDrWeb6eVgXv+rh2A/qA9/oCOjy9kvhIfXg44e11TL+Dt/z4o7ONa1T1N0bsCiEJtfuSGVKY12Qsw4T2FsuSY616YLuZi6fCgK0pgnyBnfa+KefoWO/xntV/6RLC9liH57e7+znQi+/Ea9xuHmUsS4zExGojdbntTCrnwByR3e5tSFR/Z48EetxyiD2xzW5+xLP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XECIgP6oNL26E7EQPfuL5UHdSBg9Y/KGYB/IJW9gVhAS/nuPtuYZ2Oss2GxBVCHwa3aP9miQHkUwCiIUBtMqAsU53vTcFFnXio=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

also which version of python this wsgi is using? Seems for centos 6, python has multiple version come with perfsonar.


Dengfeng Liu

NIH/CIT/NSS
3014967328(o)
3018302642(c)




From: <> on behalf of Liu, Dengfeng (NIH/CIT) [C] <>
Sent: Friday, April 21, 2017 5:12 PM
To: Mark Feit;
Cc: Andrew Lake
Subject: Re: [perfsonar-user] Wsgi pscheduler module and logger modules
 

seems ok, rpm -V python-libs gives no output.


if comment out the import logging, error will show in log:

Traceback (most recent call last):
  File "/var/www/pscheduler-server/pscheduler-api-server.wsgi", line 10, in <module>
    from pschedulerapiserver import application
  File "./pschedulerapiserver/__init__.py", line 5, in <module>
ImportError: No module named pscheduler
Traceback (most recent call last):
  File "/var/www/pscheduler-server/pscheduler-api-server.wsgi", line 10, in <module>
    from pschedulerapiserver import application
  File "./pschedulerapiserver/__init__.py", line 5, in <module>
ImportError: No module named pscheduler

Dengfeng Liu

NIH/CIT/NSS
3014967328(o)
3018302642(c)




From: Mark Feit <>
Sent: Friday, April 21, 2017 4:59 PM
To: Liu, Dengfeng (NIH/CIT) [C];
Cc: Andrew Lake
Subject: Re: [perfsonar-user] Wsgi pscheduler module and logger modules
 

Liu, Dengfeng (NIH/CIT) [C] writes:

 

My upgrade shows error:

  File "/var/www/pscheduler-server/pscheduler-api-server.wsgi", line 5, in <module>
    import logging
ImportError: No module named logging


that gives http access problem.

Anyone saw this issue?

 

That sounds like something is missing from your system. 

 

The logging module is part of the standard Python library, and it might be that pScheduler is the first part of perfSONAR to use it.  If you’re on a CentOS system, this module would be in the python-libs RPM; you can run “rpm -V python-libs” to verify that everything in that module is in place.

 

--Mark

 




Archive powered by MHonArc 2.6.19.

Top of Page