Cant create new projects anymore

Hi,

I have already made 12 projects in v2 of cryosparc but since yesterday I cant make new projects anymore. Everytime I try to make a new project I get: “create_empty_project() got an unexpected keyword argument 'project_container_dir”

I also updated yesterday to cryosparc 2.1. could this be the issue?

Best,

David

It’s working fine for me (I can create new projects with no errors).

However, I had the pre-release beta, which had the current project creation logic (selection of a container directory for projects).

I wonder if the error you are seeing only appears if the first version of cryosparc v2 you installed was the release version (2.0.27), which didn’t have this logic… @sdawood?

(also it would be great if we could set a default project container directory for each user - this is really something that should just be kept in the user’s profile and otherwise not messed with I should think, and it would save time when creating new projects)

Cheers
Oli

Hi Oli,

I was indeed on 2.0.27 before but even with downgrading back I get the same issue. Is there any idea what I could do?

Best,

David

Hi David,

Sorry about this. We’re looking into it and will keep you updated.

Thanks,
Suhail

Hi David,

We weren’t able to reproduce this error on v2.1.0. Are there any errors when you run cryosparcm log webapp or cryosparcm log command_core?

- Suhail

Hi for the commandcore I get:
Traceback (most recent call last):
File “”, line 1, in
File “cryosparc2_command/command_core/init.py”, line 139, in start
app.run(host=“0.0.0.0”, port=port, threaded=True, passthrough_errors=False)
File “/home/david.haselbach/bin/cryosparc2/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/flask/app.py”, line 841, in run
run_simple(host, port, self, **options)
File “/home/david.haselbach/bin/cryosparc2/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/werkzeug/serving.py”, line 814, in run_simple
inner()
File “/home/david.haselbach/bin/cryosparc2/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/werkzeug/serving.py”, line 774, in inner
fd=fd)
File “/home/david.haselbach/bin/cryosparc2/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/werkzeug/serving.py”, line 660, in make_server
passthrough_errors, ssl_context, fd=fd)
File “/home/david.haselbach/bin/cryosparc2/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/werkzeug/serving.py”, line 577, in init
self.address_family), handler)
File “/home/david.haselbach/bin/cryosparc2/cryosparc2_master/deps/anaconda/lib/python2.7/SocketServer.py”, line 417, in init
self.server_bind()
File “/home/david.haselbach/bin/cryosparc2/cryosparc2_master/deps/anaconda/lib/python2.7/BaseHTTPServer.py”, line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File “/home/david.haselbach/bin/cryosparc2/cryosparc2_master/deps/anaconda/lib/python2.7/SocketServer.py”, line 431, in server_bind
self.socket.bind(self.server_address)
File “/home/david.haselbach/bin/cryosparc2/cryosparc2_master/deps/anaconda/lib/python2.7/socket.py”, line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use

for webapp I get:
cryoSPARC v2
Ready to serve GridFS
events.js:183
throw er; // Unhandled ‘error’ event
^

Error: listen EADDRINUSE 0.0.0.0:39000
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1351:14)
at listenInCluster (net.js:1392:12)
at doListen (net.js:1501:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickDomainCallback (i

Hey,

Did you try restarting cryoSPARC?

cryosparcm restart

yes several times without any success.

I now installed recryosparc again and got it working again