Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dionaea syntax error, failed to run #331

Open
tahmid-bhuiyan opened this issue Jul 30, 2022 · 2 comments
Open

dionaea syntax error, failed to run #331

tahmid-bhuiyan opened this issue Jul 30, 2022 · 2 comments

Comments

@tahmid-bhuiyan
Copy link

tahmid-bhuiyan commented Jul 30, 2022

ISSUE TYPE
  • Bug Report
DIONAEA VERSION
Dionaea Version 0.11.0-7-g4e459f1                                                                                      
Compiled on Linux/x86_64 at Jul 29 2022 19:57:39 with gcc 5.4.0 20160609                                                
Started on Ubuntu-Dionaea-Honeypot running Linux/x86_64 release 4.15.0-1113-azure   
                                                                                                                                                                                                                                                                                    
CONFIGURATION

not sure where to find config settings

OS / ENVIRONMENT
  • Ubuntu Server 16.04-LTS
SUMMARY

I attempted to run dionaea via "sudo /opt/dionaea/bin/dionaea". I ran into a syntax error

STEPS TO REPRODUCE
  1. Create an Ubuntu Server 16.04 LTS virtual machine on microsoft azure
  2. Go through installation process on https://dionaea.readthedocs.io/en/0.9.2/installation.html
  3. Run sudo "/opt/dionaea/bin/dionaea"
EXPECTED RESULTS

I expected dionaea to run successfully

ACTUAL RESULTS

When executing the dionaea binary, I ran into a syntax error

Screenshot 2022-07-30 112204

Dionaea Version 0.11.0-7-g4e459f1                                                                                       
Compiled on Linux/x86_64 at Jul 29 2022 19:57:39 with gcc 5.4.0 20160609                                                
Started on Ubuntu-Dionaea-Honeypot running Linux/x86_64 release 4.15.0-1113-azure                                                                                                                                                               Traceback (most recent call last):                                                                                        
File "<string>", line 1, in <module>                                                                                    
File "lib/dionaea/python/dionaea/__init__.py", line 114                                                                   
self._timer: Optional[SubTimer] = None                                                                                             
               ^                                                                                                        
SyntaxError: invalid syntax                                                                                             
Traceback (most recent call last):                                                                                        
File "<string>", line 1, in <module>                                                                                  
NameError: name 'init_traceables' is not defined                                                                          
File "lib/dionaea/python/dionaea/__init__.py", line 114                                                                   
self._timer: Optional[SubTimer] = None                                                                                             
               ^                                                                                                        
SyntaxError: invalid syntax                                                                                            
 [30072022 11:21:34] python /home/azureuser/dionaea/modules/python/module.c:382: Import failed dionaea.log               Trace/breakpoint trap (core dumped)

@welcome
Copy link

welcome bot commented Jul 30, 2022

Thanks for opening your first issue here! Be sure to follow the issue template!

@phibos
Copy link
Member

phibos commented Aug 1, 2022

Looks like you are using Ubuntu 16.04 and the shipped Python 3.x version. The current release needs at least Python 3.6+ have a look at https://dionaea.readthedocs.io/en/latest/installation.html#requirements for more information. I would recommend Upgrading your OS or use a newer Python version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants