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: Fri, 21 Apr 2017 21:12:21 +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:LRw9/xf1NF/NhJcvU2M4egG7lGMj4u6mDksu8pMizoh2WeGdxc26YxKN2/xhgRfzUJnB7Loc0qyN4v6mAjBLuMjY+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG3oAnLuMQbjoRuJrswxxfUv3BFZ/lYyWR0KFyJgh3y/N2w/Jlt8yRRv/Iu6ctNWrjkcqo7ULJVEi0oP3g668P3uxbDSxCP5mYHXWUNjhVIGQnF4wrkUZr3ryD3q/By2CiePc3xULA0RTGv5LplRRP0lCsKMSMy/XrJgcJskq1UvBOhpwR+w4HKZoGVKOF+db7Zcd8DWGZNQtpdWylHD4yydYsPC/cKM/heoYfzulACqQKyCRSwCO/qzDJDm3340rAg0+k5EQ/IwhEuH84AvnrXotX6NqYSXvy6w6TT1zrPc+9a1C3h5ITUch0sp+yHU7JqccrWzEkiDw3JgFORqYz4Jz+ey+oDvHad7+pvW+KglWgnqw5sqTSr3skiiYvHipkLx17H6yt1xZs+KtmmRUF9b9KvDZxduDyEOItwTcMiTX9nuCA1yrEcvZ67fTUKxY8hxx7ea/yLaYeI4hX9VOuIJzpzmXFreKqnihqv70StyffwWte63VpXtCZIlsXAumoQ2xDO7sWLUuVx80a91TuN0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c6kAhmjA+HrVnkSUu0QNGipxTOGNcX0ZaUXbq9uxpmXjb/iFKIhmejhq/ITKfqdHbNLngFNJAvPiJfzYYmL3lGCuU0XbjoiQZZbnLj1OlB7WD1IJxkVKpC6L
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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