You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to run a Flask App in which tendo was used, I have installed tendo successfully but when I try to run the app I get the error below:
Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Restarting with stat
Another instance is already running, quitting.
Traceback (most recent call last):
File "/Users/macbook/Desktop/securityPI/pi/lib/python3.7/site-packages/tendo/singleton.py", line 66, in init
fcntl.lockf(self.fp, fcntl.LOCK_EX | fcntl.LOCK_NB)
BlockingIOError: [Errno 35] Resource temporarily unavailable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/macbook/Desktop/securityPI/prgms/webPrgm.py", line 155, in
me = singleton.SingleInstance()
File "/Users/macbook/Desktop/securityPI/pi/lib/python3.7/site-packages/tendo/singleton.py", line 70, in init
raise SingleInstanceException()
tendo.singleton.SingleInstanceException
I am using a Mac running macOS Catalina 10.15 and python3.7
The text was updated successfully, but these errors were encountered:
#!/usr/bin/python3
from tendo import singleton
def main(argv=None):
# ensure single instance
me = singleton.SingleInstance()
if __name__ == "__main__":
sys.exit(main())
Hello,
I am trying to run a Flask App in which tendo was used, I have installed tendo successfully but when I try to run the app I get the error below:
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Another instance is already running, quitting.
Traceback (most recent call last):
File "/Users/macbook/Desktop/securityPI/pi/lib/python3.7/site-packages/tendo/singleton.py", line 66, in init
fcntl.lockf(self.fp, fcntl.LOCK_EX | fcntl.LOCK_NB)
BlockingIOError: [Errno 35] Resource temporarily unavailable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/macbook/Desktop/securityPI/prgms/webPrgm.py", line 155, in
me = singleton.SingleInstance()
File "/Users/macbook/Desktop/securityPI/pi/lib/python3.7/site-packages/tendo/singleton.py", line 70, in init
raise SingleInstanceException()
tendo.singleton.SingleInstanceException
I am using a Mac running macOS Catalina 10.15 and python3.7
The text was updated successfully, but these errors were encountered: