unexpected exception at tvb_start

114 views
Skip to first unread message

Katharina Glomb

unread,
Dec 7, 2021, 1:30:20 PM12/7/21
to TVB Users
Hi TVB peeps,

I've been trying to get into TVB, but I'm failing at the very first steps. I've seen posts about similar issues in the group, but the suggestions there haven't solved my problem. I have checked that my computer fulfills the requirements, and it seems that it does. I'm on Chrome Version 96.0.4664.45 (Official Build) (64-bit) and on Ubuntu 20.04.3 LTS. Just in case the graphics card is relevant, the output of

lspci | grep VGA

is

2b:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)

So here's what happens. I download TVB, run ./tvb_start.sh, and the browser window opens to the initial setup. My Matlab path and my DB connection URL validate just fine. I've tried different things with the username and email, as well as removing the Matlab path as was suggested in another post, but I invariably get the message 

"An unexpected exception appeared. Please check the log files." 

However, the log files don't exist - although the home/TVB folder was created, there is no logs subfolder, only a file named tvb-database.db.

Don't know if it's relevant, but in the terminal, I get a bunch of messages like this one:

2021-12-07 19:07:59,903 - WARNING - tvb.config.init.introspector_registry - Skipped Adapter(probably because MATLAB not found):<class 'tvb.adapters.analyzers.bct_degree_adapters.StrengthWeights'>

(and many more where StrengthWeights is replaced by other things). This is before I validate the Matlab path.

Any ideas why this is happening?

Best,

Katharina 

Lia Domide

unread,
Dec 7, 2021, 4:43:07 PM12/7/21
to TVB Users
Hi Katharina,

I suggest you try to run tvb_clean.sh once, and then tvb_start.sh again.
On the settings page:
- The user&password do not need to match anything on your machine or on TVB side. I suggest something simple to remember, if it will be only a local installation on your laptop.
- Matlab field empty will be good for start, to avoid running into trouble there. You can always fill its path from tvb settings page at a later point.
- Try with an sqlite DB first.
- Press Apply button on the right
In case the problem persist, please share logs from under ~/TVB/logs, or from ~/.tvb-temp/ 

The Warning with Skipped Adapter can be ignored at this point.
And please make sure you have the latest TVB_Distribution version 2.4.1

Best,
Lia


Katharina Glomb

unread,
Dec 13, 2021, 7:38:35 AM12/13/21
to TVB Users
Dear Lia, 

Thanks! Unfortunately the exception is still happening. I'm sharing the logs I found them in the .tvb-temp folder. There seems to be an error in web_application.log, maybe that's it? 

Best, 
Katharina 

library.log
cherrypy.log
web_application.log

Lia Domide

unread,
Jan 6, 2022, 5:01:53 AM1/6/22
to TVB Users
Hi Katharina,

The log files you post mention a TEMP folder that should be present when you first run the TVB and save the settings.  
Can you try again the clean command, and additionally delete manuall (some are hidden files/folders, please use the command to delete or a tool that shows them even when hidden, like terminal):
~/.tvb.configuration 
~/TVB 
~/.tvb-temp 

and then try to start TVB again?

Best,
Lia

Katharina Glomb

unread,
Jan 13, 2022, 11:04:34 AM1/13/22
to tvb-...@googlegroups.com
Hi Lia, 

In case someone else runs into this issue: The problem was the ~/TVB folder. I deleted it, followed your instructions from the previous message, and was then able to login. 

Thank you so much for your help! 

Best, 
Katharina 

--
You received this message because you are subscribed to the Google Groups "TVB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tvb-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tvb-users/f49dc432-c1aa-4be5-8b25-5895709237c8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages