This site uses cookies to improve your browsing experience. By continuing to browse the website, you accept such cookies. For more details and to change your settings, see our Cookie Policy and Privacy Policy. Close

Elephant doesn't see a database

    • SPeedFANat1c
      SPeedFANat1c
      Bronze
      Joined: 04.01.2009 Posts: 5,150
      Today I start elephant and it shows message that I must create a database. But I have created database ad it worked well for a long time. I guess it must be somewhere but what I should do so the elephant could see it? Btw it gone after i restarted computer but didn't close the elephant before restarting.

      Edit: solved, I just tried to create database with the same name and then elephant found that it exists.

      Edit2: and after I closed elephant, I get the bug report:

      OS: Microsoft Windows NT 6.0.6001 Service Pack 1
      .NET Runtime: 2.0.50727.3053
      RAM: 2GB
      Processors: 2
      CPU: x64 Family 6 Model 15 Stepping 13: 9/64/185, 1330

      Software version: 0.67

      (10) Log: 18:07:36.01 -- Logfile set: C:\Users\Darius\AppData\Local\PokerStrategy\Elephant\log.txt
      (10) Log: 18:07:36.02 -- Logfile cleared: C:\Users\Darius\AppData\Local\PokerStrategy\Elephant\log.txt
      (10) Log: 18:08:25.05 -- , line 0: System.NullReferenceException: Object reference not set to an instance of an object.
      at PokerStrategyElephant.DatabaseManagement.SetNewActiveDatabase(String newDatabase)
      (10) , line 0: System.NullReferenceException: Object reference not set to an instance of an object.
      at PokerStrategyElephant.DatabaseManagement.SetNewActiveDatabase(String newDatabase)
  • 3 replies
    • cLue
      cLue
      Bronze
      Joined: 04.06.2005 Posts: 2,186
      This error code should re-occure again, after you start the software again (and the database is working fine).

      rgs,
      felix
    • SPeedFANat1c
      SPeedFANat1c
      Bronze
      Joined: 04.01.2009 Posts: 5,150
      Now I get this when I close the epelhant:

      OS: Microsoft Windows NT 6.0.6001 Service Pack 1
      .NET Runtime: 2.0.50727.3053
      RAM: 2GB
      Processors: 2
      CPU: x64 Family 6 Model 15 Stepping 13: 9/64/185, 798

      Software version: 0.67

      (10) Log: 10:35:55.39 -- Logfile set: C:\Users\Darius\AppData\Local\PokerStrategy\Elephant\log.txt
      (10) Log: 10:35:55.41 -- Logfile cleared: C:\Users\Darius\AppData\Local\PokerStrategy\Elephant\log.txt
      (10) Log: 14:41:05.70 -- , line 0: Npgsql.NpgsqlException:
      duplicate key value violates unique constraint "gametype_pkey"
      Severity: ERROR
      Code: 23505
      at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext()
      at Npgsql.NpgsqlState.IterateThroughAllResponses(IEnumerable`1 ienum)
      at Npgsql.NpgsqlCopyInState.SendCopyDone(NpgsqlConnector context)
      at Npgsql.NpgsqlCopyIn.End()
      at PBN.Database.PostgreSQL.ExecuteQueryCopy(CacheItemCollection cacheItemCollection, String commandQuery)
      (10) , line 0: Npgsql.NpgsqlException:
      duplicate key value violates unique constraint "gametype_pkey"
      Severity: ERROR
      Code: 23505
      at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext()
      at Npgsql.NpgsqlState.IterateThroughAllResponses(IEnumerable`1 ienum)
      at Npgsql.NpgsqlCopyInState.SendCopyDone(NpgsqlConnector context)
      at Npgsql.NpgsqlCopyIn.End()
      at PBN.Database.PostgreSQL.ExecuteQueryCopy(CacheItemCollection cacheItemCollection, String commandQuery)
      (10) Log: 14:41:05.87 -- , line 0: Npgsql.NpgsqlException:
      duplicate key value violates unique constraint "player_pkey"
      Severity: ERROR
      Code: 23505
      at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext()
      at Npgsql.NpgsqlState.IterateThroughAllResponses(IEnumerable`1 ienum)
      at Npgsql.NpgsqlCopyInState.SendCopyDone(NpgsqlConnector context)
      at Npgsql.NpgsqlCopyIn.End()
      at PBN.Database.PostgreSQL.ExecuteQueryCopy(CacheItemCollection cacheItemCollection, String commandQuery)
      (10) , line 0: Npgsql.NpgsqlException:
      duplicate key value violates unique constraint "player_pkey"
      Severity: ERROR
      Code: 23505
      at Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext()
      at Npgsql.NpgsqlState.IterateThroughAllResponses(IEnumerable`1 ienum)
      at Npgsql.NpgsqlCopyInState.SendCopyDone(NpgsqlConnector context)
      at Npgsql.NpgsqlCopyIn.End()
      at PBN.Database.PostgreSQL.ExecuteQueryCopy(CacheItemCollection cacheItemCollection, String commandQuery)

      And also when the elephant is started I get the message that I need to create a database. But the database works fine, so now I ignore this message.
    • 6Wishmaster6
      6Wishmaster6
      Black
      Joined: 16.01.2005 Posts: 3,807
      You could try to use pre release version:

      http://elephant.pokerstrategy.com/Pre-release_for_new_FTP_Update

      It also fixes some bugs for other plattforms. Runs pretty good as far as users reported. Please stick to manual about backing up your hands and deinstalling first.