Slim Application Error / GUI stuck

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
Richard70
Posts: 52
Joined: Sun Dec 23, 2018 9:53 am

Slim Application Error / GUI stuck

Post by Richard70 » Tue Jan 07, 2020 10:21 pm

Hi,
got suddenly this message in GUI (was editing a node): Slim Application Error
Eve version: 2.0.3-101

Type: ErrorException
Code: 8
Message: Undefined offset: 32
File: /opt/unetlab/html/includes/api_topology.php
Line: 108


ErrorException: Undefined offset: 32 in /opt/unetlab/html/includes/api_topology.php:108
Stack trace:
#0 /opt/unetlab/html/includes/api_topology.php(108): Slim\Slim::handleErrors(8, 'Undefined offse...', '/opt/unetlab/ht...', 108, Array)
#1 /opt/unetlab/html/api.php(616): apiGetLabTopology(Object(Lab))
#2 [internal function]: {closure}(Array)
#3 /opt/unetlab/html/includes/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#4 /opt/unetlab/html/includes/Slim/Slim.php(1357): Slim\Route->dispatch()
#5 /opt/unetlab/html/includes/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /opt/unetlab/html/includes/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /opt/unetlab/html/includes/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /opt/unetlab/html/includes/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#9 /opt/unetlab/html/api.php(1339): Slim\Slim->run()
#10 {main}
ErrorException: Undefined offset: 32 in /opt/unetlab/html/includes/api_topology.php:108
Stack trace:
#0 /opt/unetlab/html/includes/api_topology.php(108): Slim\Slim::handleErrors(8, 'Undefined offse...', '/opt/unetlab/ht...', 108, Array)
#1 /opt/unetlab/html/api.php(616): apiGetLabTopology(Object(Lab))
#2 [internal function]: {closure}(Array)
#3 /opt/unetlab/html/includes/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#4 /opt/unetlab/html/includes/Slim/Slim.php(1357): Slim\Route->dispatch()
#5 /opt/unetlab/html/includes/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /opt/unetlab/html/includes/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /opt/unetlab/html/includes/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /opt/unetlab/html/includes/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#9 /opt/unetlab/html/api.php(1339): Slim\Slim->run()

The left menu in gui disapeared, and I can't stop the nodes properly - I would like to avoid hard shutdown of the (baremetal) server
Is there a way to recover in a clean way the GUI?

Thanks

Richard70
Posts: 52
Joined: Sun Dec 23, 2018 9:53 am

Re: Slim Application Error / GUI stuck

Post by Richard70 » Tue Jan 07, 2020 11:34 pm

Actually I couldn't wait and reloaded the server.
Now I can acces to the "File tree" page, but I cannot start the lab I was working on when I got the error message (I get briefly the same SLIM error mesage, then the "file tree" page show up again).
The other labs can be started without any issue.

Any help would be greatly appreciated.
Thanks.

Uldis (UD)
Posts: 5084
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Slim Application Error / GUI stuck

Post by Uldis (UD) » Wed Jan 08, 2020 9:13 am

That single lab is corrupted.
Btw did you use lab lock for it?
If yes, then you can export that lab and send to me, I will look if something can be done.
info@eve-ng.net

Richard70
Posts: 52
Joined: Sun Dec 23, 2018 9:53 am

Re: Slim Application Error / GUI stuck

Post by Richard70 » Wed Jan 08, 2020 10:05 am

Hi,
email sent.
Thanks.

Uldis (UD)
Posts: 5084
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Slim Application Error / GUI stuck

Post by Uldis (UD) » Wed Jan 08, 2020 11:48 am

Lab was locked :)
Locked with no password, I sent you an email

Post Reply