While i was exploring the training documentations and trying out the exercises while running the command venv/bin/zconsole debug instance/etc/zope.conf
I encountered an error stating : -
Traceback (most recent call last):
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/zc/lockfile/init.py", line 59, in _lock_file
fcntl.flock(file.fileno(), _flags)
BlockingIOError: [Errno 11] Resource temporarily unavailable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/Zope2/utilities/zconsole.py", line 26, in debug
make_wsgi_app({}, zopeconf)
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/Zope2/Startup/run.py", line 61, in make_wsgi_app
starter.prepare()
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/Zope2/Startup/starter.py", line 38, in prepare
self.startZope()
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/Zope2/Startup/starter.py", line 94, in startZope
Zope2.startup_wsgi()
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/Zope2/init.py", line 36, in startup_wsgi
_startup()
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/Zope2/App/startup.py", line 100, in startup
DB = dbtab.getDatabase('/', is_root=1)
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/Zope2/Startup/datatypes.py", line 245, in getDatabase
db = factory.open(name, self.databases)
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/Zope2/Startup/datatypes.py", line 141, in open
DB = self.createDB(database_name, databases)
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/Zope2/Startup/datatypes.py", line 138, in createDB
return ZODBDatabase.open(self, databases)
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/ZODB/config.py", line 146, in open
storage = section.storage.open()
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/ZODB/config.py", line 225, in open
return FileStorage(config.path, **options)
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/ZODB/FileStorage/FileStorage.py", line 254, in init
self._lock_file = LockFile(file_name + '.lock')
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/zc/lockfile/init.py", line 117, in init
super(LockFile, self).init(path)
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/zc/lockfile/init.py", line 90, in init
_lock_file(fp)
File "/home/priyanshu/Desktop/Web/gsoc/training/backend/venv/lib/python3.10/site-packages/zc/lockfile/init.py", line 61, in _lock_file
raise LockError("Couldn't lock %r" % file.name)
zc.lockfile.LockError: Couldn't lock '/home/priyanshu/Desktop/Web/gsoc/training/backend/instance/var/filestorage/Data.fs.lock'