hak4 / subterfuge

Automatically exported from code.google.com/p/subterfuge
GNU General Public License v3.0
0 stars 0 forks source link

DatabaseError at /settings/, as well as export fail #163

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

When attempting to export credentials from Settings or sometimes just going to 
Settings, the error occurs, Even when it doesn't, the credentials.txt remains 
empty no matter that the system returns that they have been exported. Here is 
the output:

DatabaseError at /settings/

database is locked

Error during template rendering

In template /usr/share/subterfuge/templates/includes/header.inc, error at line 
36
database is locked
26  <script type="text/javascript">
27  function initiating()
28  {
29  $(".window").show("slow")
30  $(".window").delay(3000).hide("slow");
31  }
32  </script>
33  
34  <script type="text/javascript">
35  //Auto Refresh Loads
36  var pLoadRate = {% for settings in setup %}{{ settings.ploadrate }}{% 
endfor %} + "000";
37  var auto_refresh = setInterval(
38  function ()
39  {
40  $('#creds').load('/').fadeIn("slow");
41  $('#notifications').load('/notifications/').fadeIn("slow");
42  $('#hostcheck').load('/hostcheck/').fadeIn("slow");
43  
44  }, pLoadRate);
45  </script>
46  

What version of the product are you using? On what operating system?

Kali and Subterfuge both current as of 6/20/14  

Please provide any additional information below.

Kali and Subterfuge both current as of 6/20/14 Subterfuge via Firefox, but same 
errors occurred on Iceweasel.

Original issue reported on code.google.com by jackiebo...@gmail.com on 20 Jun 2014 at 7:36