[DONE] BUG:Autoimport:Win 7:FTP\PartyPoker: Autoimport for FTP\Party poker doesn`t work on Windows 7

    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      If you install Elephant 0.92 you`ll detect that autoimport works only on startup. Elephant doesn`t import new hands when you play on the table.
      After restart Elephant import 1 hand & .... silence. There is infromation from log file:
      code:
      2010-10-09 23:14:14,431 - 70   (UTC:2010-10-09 19:14:14,431) [1] INFO  Welcome Message: 
      ---------------------------------------- Launching 'Elephant.exe' (Version: 0.92.31005.6) ----------------------------------------------------------------------
      2010-10-09 23:14:15,715 - 1354 (UTC:2010-10-09 19:14:15,715) [3] INFO  Welcome Message: 
      -------------------- System Info --------------------
      CPU: Intel(R) Core(TM) i5 CPU       M 430  @ 2.27GHz at 2267 Mhz with 4 cores (Intel64 Family 6 Model 37 Stepping 2)
      OS : Microsoft Windows 7 Домашняя расширенная  (Microsoft Windows NT 6.1.7600.0)
      RAM: 5.99GB
      Culture info: ru-RU
      
      2010-10-09 23:14:20,980 - 6619 (UTC:2010-10-09 19:14:20,980) [1] INFO  Welcome Message: Installed PostgreSQL version: PostgreSQL 8.3.0, compiled by Visual C++ build 1400
      2010-10-09 23:14:22,458 - 8097 (UTC:2010-10-09 19:14:22,458) [17] FATAL PokerStrategy.Elephant.Parser: An HandParser with unknown PokerRoom has been initialized.
      2010-10-09 23:14:22,485 - 8124 (UTC:2010-10-09 19:14:22,485) [1] INFO  VersionUpdate: Starting background version check...
      2010-10-09 23:14:22,893 - 8532 (UTC:2010-10-09 19:14:22,893) [22] INFO  VersionUpdate: Background version check finished.
      Latest Version: 0.87.1381.2210
      NewVersionAvail: False
      IgnoreUpdateVersion: 
      
      2010-10-09 23:37:06,822 - 1372460 (UTC:2010-10-09 19:37:06,822) [1] ERROR PBNLogger: Exception caught in Void PokerStrategyElephant.StatisticOverView.gridViewOverviewSessions_CustomDrawFooterCell(System.Object, DevExpress.XtraGrid.Views.Grid.FooterCellCustomDrawEventArgs)
      -------------------- System.InvalidCastException --------------------
      - Message: Unable to cast object of type 'System.Windows.Forms.BindingSource' to type 'System.Collections.Generic.List`1[PokerStrategyElephant.OverviewLine]'.
      - Data: System.Collections.ListDictionaryInternal
      - TargetSite: Void gridViewOverviewSessions_CustomDrawFooterCell(System.Object, DevExpress.XtraGrid.Views.Grid.FooterCellCustomDrawEventArgs)
      - HelpLink: <null>
      - Source: Elephant.Base
      - InnerException: <null><none>
      - StackTrace:
         at PokerStrategyElephant.StatisticOverView.gridViewOverviewSessions_CustomDrawFooterCell(Object sender, FooterCellCustomDrawEventArgs e)

      User plays on FTP. I also have another log file(before restart) with next errors:

      code:
      2010-10-09 22:18:58,315 - 99   (UTC:2010-10-09 18:18:58,315) [1] INFO  Welcome Message: 
      ---------------------------------------- Launching 'Elephant.exe' (Version: 0.92.31005.6) ----------------------------------------------------------------------
      2010-10-09 22:18:59,619 - 1403 (UTC:2010-10-09 18:18:59,619) [3] INFO  Welcome Message: 
      -------------------- System Info --------------------
      CPU: Intel(R) Core(TM) i5 CPU       M 430  @ 2.27GHz at 2267 Mhz with 4 cores (Intel64 Family 6 Model 37 Stepping 2)
      OS : Microsoft Windows 7 Домашняя расширенная  (Microsoft Windows NT 6.1.7600.0)
      RAM: 5.99GB
      Culture info: ru-RU
      
      2010-10-09 22:19:05,644 - 7427 (UTC:2010-10-09 18:19:05,644) [1] INFO  Welcome Message: Installed PostgreSQL version: PostgreSQL 8.3.0, compiled by Visual C++ build 1400
      2010-10-09 22:19:07,173 - 8956 (UTC:2010-10-09 18:19:07,173) [17] FATAL PokerStrategy.Elephant.Parser: An HandParser with unknown PokerRoom has been initialized.
      2010-10-09 22:19:07,294 - 9077 (UTC:2010-10-09 18:19:07,294) [1] INFO  VersionUpdate: Starting background version check...
      2010-10-09 22:19:07,614 - 9397 (UTC:2010-10-09 18:19:07,614) [22] INFO  VersionUpdate: Background version check finished.
      Latest Version: 0.87.1381.2210
      NewVersionAvail: False
      IgnoreUpdateVersion: 
      
      2010-10-09 22:19:46,977 - 48760 (UTC:2010-10-09 18:19:46,977) [7] ERROR PokerStrategy.Elephant.Import.PipeNode.Parser: Unable to read file C:\Program Files (x86)\Full Tilt Poker\HandHistory\Aleman_AA\FT20101009 Via Central (shallow) - $0.10-$0.25 - No Limit Hold'em.txt: The process cannot access the file 'C:\Program Files (x86)\Full Tilt Poker\HandHistory\Aleman_AA\FT20101009 Via Central (shallow) - $0.10-$0.25 - No Limit Hold'em.txt' because it is being used by another process.
      -------------------- System.IO.IOException --------------------
      - Message: The process cannot access the file 'C:\Program Files (x86)\Full Tilt Poker\HandHistory\Aleman_AA\FT20101009 Via Central (shallow) - $0.10-$0.25 - No Limit Hold'em.txt' because it is being used by another process.
      - Data: System.Collections.ListDictionaryInternal
      - TargetSite: Void WinIOError(Int32, System.String)
      - HelpLink: <null>
      - Source: mscorlib
      - InnerException: <null><none>
      - StackTrace:
         at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
         at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
         at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
         at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
         at System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
         at PokerStrategy.Elephant.Import.PipeNode.Parser.ReadHandHistoryFileNode.ReadFileCore(String fileName)
         at PokerStrategy.Elephant.Import.PipeNode.Parser.ReadHandHistoryFileNode.ReadFile(String fileName, Boolean isAutoImport)
      2010-10-09 22:19:47,071 - 48854 begin_of_the_skype_highlighting              071 - 48854      end_of_the_skype_highlighting begin_of_the_skype_highlighting              071 - 48854      end_of_the_skype_highlighting begin_of_the_skype_highlighting              071 - 48854      end_of_the_skype_highlighting begin_of_the_skype_highlighting              071 - 48854      end_of_the_skype_highlighting (UTC:2010-10-09 18:19:47,071) [1] ERROR PBNLogger: Exception caught in Void PokerStrategyElephant.ImportHandHistories.ReportAnalyzedFile(System.String, Int32, Int32, Int32)
      -------------------- System.IO.IOException --------------------
      - Message: The process cannot access the file because it is being used by another process.
      - Data: System.Collections.ListDictionaryInternal
      - TargetSite: Void WinIOError(Int32, System.String)
      - HelpLink: <null>
      - Source: mscorlib
      - InnerException: <null><none>
      - StackTrace:
         at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
         at System.IO.__Error.WinIOError()
         at System.IO.File.Move(String sourceFileName, String destFileName)
         at PokerStrategyElephant.ImportHandHistories.ReportAnalyzedFile(String filename, Int32 hands, Int32 errors, Int32 duplicates)
      2010-10-09 22:20:15,333 - 77116 (UTC:2010-10-09 18:20:15,333) [1] ERROR PBNLogger: Exception caught in Void PokerStrategyElephant.StatisticOverView.gridViewOverviewSessions_CustomDrawFooterCell(System.Object, DevExpress.XtraGrid.Views.Grid.FooterCellCustomDrawEventArgs)
      -------------------- System.InvalidCastException --------------------
      - Message: Unable to cast object of type 'System.Windows.Forms.BindingSource' to type 'System.Collections.Generic.List`1[PokerStrategyElephant.OverviewLine]'.
      - Data: System.Collections.ListDictionaryInternal
      - TargetSite: Void gridViewOverviewSessions_CustomDrawFooterCell(System.Object, DevExpress.XtraGrid.Views.Grid.FooterCellCustomDrawEventArgs)
      - HelpLink: <null>
      - Source: Elephant.Base
      - InnerException: <null><none>
      - StackTrace:
         at PokerStrategyElephant.StatisticOverView.gridViewOverviewSessions_CustomDrawFooterCell(Object sender, FooterCellCustomDrawEventArgs e)
      2010-10-09 22:35:54,785 - 1016569 (UTC:2010-10-09 18:35:54,785) [31] ERROR PokerStrategy.Elephant.Import.PipeNode.Parser: Unable to read file C:\Program Files (x86)\Full Tilt Poker\HandHistory\Aleman_AA\FT20101009 Remember (shallow) - $0.10-$0.25 - No Limit Hold'em.txt: The process cannot access the file 'C:\Program Files (x86)\Full Tilt Poker\HandHistory\Aleman_AA\FT20101009 Remember (shallow) - $0.10-$0.25 - No Limit Hold'em.txt' because it is being used by another process.
      -------------------- System.IO.IOException --------------------
      - Message: The process cannot access the file 'C:\Program Files (x86)\Full Tilt Poker\HandHistory\Aleman_AA\FT20101009 Remember (shallow) - $0.10-$0.25 - No Limit Hold'em.txt' because it is being used by another process.
      - Data: System.Collections.ListDictionaryInternal
      - TargetSite: Void WinIOError(Int32, System.String)
      - HelpLink: <null>
      - Source: mscorlib
      - InnerException: <null><none>
      - StackTrace:
         at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
         at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
         at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
         at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
         at System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
         at PokerStrategy.Elephant.Import.PipeNode.Parser.ReadHandHistoryFileNode.ReadFileCore(String fileName)
         at PokerStrategy.Elephant.Import.PipeNode.Parser.ReadHandHistoryFileNode.ReadFile(String fileName, Boolean isAutoImport)
      2010-10-09 22:35:54,899 - 1016683 (UTC:2010-10-09 18:35:54,899) [1] ERROR PBNLogger: Exception caught in Void PokerStrategyElephant.ImportHandHistories.ReportAnalyzedFile(System.String, Int32, Int32, Int32)
      -------------------- System.IO.IOException --------------------
      - Message: The process cannot access the file because it is being used by another process.
      - Data: System.Collections.ListDictionaryInternal
      - TargetSite: Void WinIOError(Int32, System.String)
      - HelpLink: <null>
      - Source: mscorlib
      - InnerException: <null><none>
      - StackTrace:
         at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
         at System.IO.__Error.WinIOError()
         at System.IO.File.Move(String sourceFileName, String destFileName)
         at PokerStrategyElephant.ImportHandHistories.ReportAnalyzedFile(String filename, Int32 hands, Int32 errors, Int32 duplicates)


      After all user return to v0.90 & this fix the problem. So now(in v0.90) autoimport work properly.
  • 34 replies
    • Larres
      Larres
      Bronze
      Joined: 07.09.2009 Posts: 2,402
      Hi stanisluv,

      we'll have a look at it.

      Thx,
      L
    • MichaelWagner42
      MichaelWagner42
      Bronze
      Joined: 12.09.2009 Posts: 1,552
      Hi,

      Can you tell the user to turn off the 'Move hand histories' in the general options? This should help...

      Ciao
      Michael
    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      Hi,
      As I said now user use v 0.90 & all works fine. Should user install v0.92 again?
    • MichaelWagner42
      MichaelWagner42
      Bronze
      Joined: 12.09.2009 Posts: 1,552
      Sorry, I haven't seen that :(

      The user can stay on the 0.90 when everything runs fine for him.

      Ciao
      Michael
    • Larres
      Larres
      Bronze
      Joined: 07.09.2009 Posts: 2,402
      Hi there,

      we just had a look into this and discovered that this issue will only occur very rarely and we won't fix this at the moment.

      To cause this issue the user has to setup his manual import to move the imported files (in the general settings) and while playing online (with a autoimport running) the user has to select and manually import the already automatically imported folders...

      In order to avoid this incident simply don't import autoimport folders manually while the autoimport is running.

      Cheers,
      L
    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      Hi all,
      I`m not sure that manual importis the cause of the issue because:
      1) I use this option too & I don`t have such problems. Of course I don`t try to start manual import if autoimport already started.
      2) User may get the message " The process cannot access the file 'C:\Program Files (x86)\Full Tilt Poker\HandHistory\Aleman_AA\FT20101009 Via Central (shallow) - $0.10-$0.25 - No Limit Hold'em.txt' because it is being used by another process." because autoimport doesn`t work & user import new hands manually.
      3) My first post in the thread contain infromation from 2 log files. In first of them(without messages The process cannot access the file ) you can see what happen if user start Elephant but doesn`t start manual import. Of course autoimport doesn`t work too. :(

      Can you reproduce this bug on your side?

      Best regards
      Stanislav.
    • Larres
      Larres
      Bronze
      Joined: 07.09.2009 Posts: 2,402
      We'll have a look at this.

      L
    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      hi Larres,
      I have an important comment: One user has Win 7 x64 too but they play on PokerStars. The user doesn`t have any problems with elephant v0.92. So I think the cause of the problem is the path for FTP HH. As you see the path contains:"Program Files (x86)". May be new autoimport engine can`t read this element?
    • Larres
      Larres
      Bronze
      Joined: 07.09.2009 Posts: 2,402
      Hi stanisluv,

      we still have no luck here in reproducing this issue.
      All autoimports working fine (no matter of the OS and bit size).

      It's correct the FTP saves it's HHs into the "Program Files" or "Program Files (x86)" folder, but both possibilities are not a problem for our autoimport.

      Nevertheless we've changes a bit on the import queue and import priorities and maybe the upcoming devbuild v0.93 will solve this issue as well?
      Please give it a try and come back with (hopefully good) feedback.

      Thx,
      L
    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      Hi Larres,

      I think I "catch" this bug. ;) One user has the same problem on Win 7 x32.
      I request user.config & detect that user profile path is C:\Users\РўР’Р’. Original usermane is ТВВ on Russian language.
      So it`s mean that autoimport doesn`t work if username contain cirilic symbols.
      I think you can reproduce this bug If you install Elephant under user with "Ö" in username.

      Upd: We (I & user) create new user with correct name & install Elephant under this user. Unfortunally this is doesn`t fix the problem. :( So may be username in not reason of this bug. :(
    • Larres
      Larres
      Bronze
      Joined: 07.09.2009 Posts: 2,402
      ok, in this case is it possible to have PokerStars hero names containing cirilic symbols?
    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      Originally posted by Larres
      ok, in this case is it possible to have PokerStars hero names containing cirilic symbols?
      1. I say about Windows User.
      2. This is only FTP problem.
      ;)
    • Larres
      Larres
      Bronze
      Joined: 07.09.2009 Posts: 2,402
      gosh! Nevermind you are right.
    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      Does it mean that now you can reproduce this bug?
    • Larres
      Larres
      Bronze
      Joined: 07.09.2009 Posts: 2,402
      we had not yet any luck here but we're still investigating
    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      Originally posted by Larres
      we had not yet any luck here but we're still investigating
      Me too :f_frown: :f_frown:
    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      I have some news:
      1) Elephant (& may be PostgreSQL) was installed on drive "D"
      2) Elephant can import current hands if you open HH folder. After that Elephant stop importing new hands. If you close & open the folder again Elephant import new saved hands again.
    • stanisluv
      stanisluv
      Moderator
      Moderator
      Joined: 18.06.2008 Posts: 45,070
      I check how Elephant works with FTP if Elephant istalled on drive D. It`s work fine. :s_cry: :s_cry: :s_cry:
    • Larres
      Larres
      Bronze
      Joined: 07.09.2009 Posts: 2,402
      And it isn't possible to have a FTP user with cyrillic symbols in it's name, right?
    • 1
    • 2