EggShell icon indicating copy to clipboard operation
EggShell copied to clipboard

UnboundLocalError: local variable 'result' referenced before assignment

Open nbshenxm opened this issue 7 years ago • 3 comments

When I try to open a connection on a ubuntu 16.04 machine, the connection can't be established with following error messages (I'm using eggshell version 3.1.1):

[*] Establishing Secure Connection... Traceback (most recent call last): File "eggshell.py", line 159, in eggshell.menu() File "eggshell.py", line 143, in menu self.menu() File "eggshell.py", line 142, in menu chooseoption File "eggshell.py", line 59, in start_single_server self.server.start_single_handler() File "/home/parallels/Documents/eggshell_3.1.1/modules/server.py", line 90, in start_single_handler session.interact() File "/home/parallels/Documents/eggshell_3.1.1/modules/session.py", line 33, in interact command_modules = self.server.get_modules(self.type) File "/home/parallels/Documents/eggshell_3.1.1/modules/server.py", line 44, in get_modules result.update(self.modules_universal) UnboundLocalError: local variable 'result' referenced before assignment

nbshenxm avatar Jul 11 '18 08:07 nbshenxm

BTW, this issue wouldn't occur if you use eggshell version 3.0.0. I guess get_modules function need to be modified in version 3.1.1.

nbshenxm avatar Jul 11 '18 08:07 nbshenxm

Will push an update for this asap

lucasjacks0n avatar Jul 11 '18 14:07 lucasjacks0n

please can i get the link for backdating to 3.0.0 because i have the same issue.

Blazejnr avatar Mar 25 '20 14:03 Blazejnr