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

String was not recognized as a valid DateTime exception pop up when syncing games with Genesis Mini #418

Open
azxz opened this issue Nov 5, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@azxz
Copy link

azxz commented Nov 5, 2021

i have a genesis mini console and i'm using Hakchi CE v3.9.2 to sync some games to my plugged console to the computer
so when i hit sync games with mini an exception comes up saying

String was not recognized as a valid DateTime.

-The USB cable i use to transfer games is not the one that came with the genesis mini. (also tried other cables and didn't work )
-The game is a MAME game targeting MAME 2003 Extreme

  • Hakchi version: Hakchi CE v3.9.2
  • My OS: Windows 10 Arabic version with Hijri Date (if this makes a difference)

what drive me nuts is syncing games with console was working the day prior to this issue datea.

datetimeError

FormatException
String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at com.clusterrr.hakchi_gui.ApplicationFileInfo.GetApplicationFileInfoFromConsoleOutput(String output) in D:\a\1\s\ApplicationFileInfo.cs:line 131
at com.clusterrr.hakchi_gui.Tasks.SyncTask.CalculateRemoteDiff(Tasker tasker, Object syncObject) in D:\a\1\s\Tasks\SyncTask.cs:line 306
at com.clusterrr.hakchi_gui.Tasks.Tasker.startThread() in D:\a\1\s\Tasks\Tasker.cs:line 410
--- DEBUGLOG.TXT content ---
Base directory: C:\Users\azozm\OneDrive\Desktop\hakchi2-ce-3.9.2-portable (portable mode)
Loading configuration
Loading spine templates
Starting, version: 3.9.2
Loading libretro core info files
.......Executing task: ModTasks.GetHmods
Tasker completed all tasks, conclusion: Success
Building libretro core cross index
Done, 10 cores loaded
Loading C:\Users\azozm\OneDrive\Desktop\hakchi2-ce-3.9.2-portable\data\nescarts.xml
Loading SNES Cartridge Cache
SNES XML loading done, 786 roms total
NES XML loading done, 2150 roms total
[Upgrade] No upgrade action needed
..Executing task: LoadGamesTask.LoadGames
Executing task: LoadGamesTask.CreateListViewGroups
Executing task: LoadGamesTask.LoadGamesFromFiles
Loading original games data
Executing task: LoadGamesTask.AssignGroupsToGames
Executing task: LoadGamesTask.AssignListViewGroups
Executing task: LoadGamesTask.UpdateListView
Tasker completed all tasks, conclusion: Success
..Executing task: <>c__DisplayClass0_0.b__0
Downloading: https://hakchi.net/hakchi/hakchi.hmod to C:\Users\azozm\AppData\Local\Temp\hakchi2-ce-temp1\hakchi-latest.hmod
Executing task: <>c__DisplayClass1_0.b__0
Executing task: <>c__DisplayClass70_0.b__0
Executing task: <>c__DisplayClass0_0.b__0
Downloading: https://github.com/TeamShinkansen/hash-db/releases/download/data/romfiles.xml.gz to C:\Users\azozm\AppData\Local\Temp\hakchi2-ce-temp1\romfiles.xml
Executing task: <>c__DisplayClass1_0.b__0
Tasker completed all tasks, conclusion: Success
Local hakchi.hmod version info: boot 1.0.3, kernel 3.4.113.29-madmonkey, script v1.0.4-126
DNS Resolution returned IPs: 169.254.13.37
Attempting to connect to 169.254.13.37...
SSH shell connected
IP Address: 169.254.13.37
Encryption: aes256-ctr
hakchi ismdPartitioning # exit code 0
source /hakchi/config; [ "$cf_memboot" = "y" ] # exit code 2
hakchi hwid # exit code 0
Detected device unique ID: 0461872a89089046ab7837b76c118000
[ -f /var/version ] && echo "yes" # exit code 0
source /var/version && echo "$bootVersion $kernelVersion $hakchiVersion" # exit code 0
Detected versions: boot 1.0.3, kernel 3.4.113.29-madmonkey, script v1.0.4-126
hakchi eval 'echo "$sftype-$sfregion"' # exit code 0
hakchi currentFirmware # exit code 0
hakchi findGameSyncStorage # exit code 0
hakchi get gamepath # exit code 0
hakchi get rootfs # exit code 0
hakchi get squashfs # exit code 0
Reading p0000_config file
cat /etc/preinit.d/p0000_config # exit code 0
Service added:
Instance: hakchi
Type: _ssh._tcp
IP: 169.254.13.37
Port: 22
Txt: hwid=0461872a 89089046 ab7837b7 6c118000, type=md, region=eur
df "$(hakchi findGameSyncStorage)" | tail -n 1 | awk '{ print $2 " | " $3 " | " $4 }' # exit code 0
mount | grep /var/lib/clover/profiles # exit code 1
du -s "$(readlink /var/saves)" | awk '{ print $1 }' # exit code 0
du -d 1 "/var/lib/hakchi/games" | head -n -1 | awk '{ print $2 " | " $1 }' # exit code 0
Storage size: 222.8MB, used: 70.0MB, free: 145.9MB
Used by all games: 21.7MB
Used by non multi-boot games: 0.0MB
Used by current games collection: 15.2MB
Used by save-states: 0.3MB
Used by other files (mods, configs, etc.): 47.9MB
Reserved memory: 0.0MB
Available for games: 161.2MB
which bluetoothctl # exit code 1
hakchi get cfg_mdui_region # exit code 0
..Executing task: GameCacheTask.UpdateLocal
Tasker completed all tasks, conclusion: Success
Done refreshing local original games cache.
Success!
Saving selected games
Saving configuration
...Executing task: SyncTask.UploadGames
Executing task: SyncTask.BuildMenu
Executing task: SyncTask.BuildFiles
Processing CLV-Z-IYYOA ('mariojp'), size: 60KB
Executing task: SyncTask.CheckRemoteStorageRequirements
df "$(hakchi findGameSyncStorage)" | tail -n 1 | awk '{ print $2 " | " $3 " | " $4 }' # exit code 0
mount | grep /var/lib/clover/profiles # exit code 1
du -s "$(readlink /var/saves)" | awk '{ print $1 }' # exit code 0
du -d 1 "/var/lib/hakchi/games" | head -n -1 | awk '{ print $2 " | " $1 }' # exit code 0
Storage size: 222.8MB, used: 70.0MB, free: 145.9MB
Used by all games: 21.7MB
Used by non multi-boot games: 0.0MB
Used by current games collection: 15.2MB
Used by save-states: 0.3MB
Used by other files (mods, configs, etc.): 47.9MB
Reserved memory: 0.0MB
Available for games: 161.2MB
Executing task: SyncTask.PrepareRemoteTransfer
uistop # exit code 0
gunzip -c - > /dev/fb0 # exit code 0
hakchi eval 'umount "$gamepath"' # exit code 1
Executing task: SyncTask.CalculateRemoteDiff
find "/var/lib/hakchi/games/" -maxdepth 1 | tail -n +2 | grep -vEe '(/hvcj-jpn?|/snes(-usa|-eur|-jpn)?|/nes(-usa|-jpn)?|/md(-jpn|-usa|-eur|-asia)?|/)$' | while read f; do rm -rf "$f"; done # exit code 0
find "/var/lib/hakchi/games/md-eur" -type l | while read f; do rm "$f"; done # exit code 0
mkdir -p "/var/lib/hakchi/games/md-eur"; cd "/var/lib/hakchi/games/md-eur"; find . -type f -exec sh -c "stat "{}" -c "%n %s %y"" ; # exit code 0
String was not recognized as a valid DateTime. at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at com.clusterrr.hakchi_gui.ApplicationFileInfo.GetApplicationFileInfoFromConsoleOutput(String output) in D:\a\1\s\ApplicationFileInfo.cs:line 131
at com.clusterrr.hakchi_gui.Tasks.SyncTask.CalculateRemoteDiff(Tasker tasker, Object syncObject) in D:\a\1\s\Tasks\SyncTask.cs:line 306
at com.clusterrr.hakchi_gui.Tasks.Tasker.startThread() in D:\a\1\s\Tasks\Tasker.cs:line 410
Executing final task: SyncTask.FinishRemoteTransfer
hakchi overmount_games; uistart # exit code 0
df "$(hakchi findGameSyncStorage)" | tail -n 1 | awk '{ print $2 " | " $3 " | " $4 }' # exit code 0
mount | grep /var/lib/clover/profiles # exit code 1
du -s "$(readlink /var/saves)" | awk '{ print $1 }' # exit code 0
du -d 1 "/var/lib/hakchi/games" | head -n -1 | awk '{ print $2 " | " $1 }' # exit code 0
Storage size: 222.8MB, used: 70.0MB, free: 145.9MB
Used by all games: 21.7MB
Used by non multi-boot games: 0.0MB
Used by current games collection: 15.2MB
Used by save-states: 0.3MB
Used by other files (mods, configs, etc.): 47.9MB
Reserved memory: 0.0MB
Available for games: 161.2MB
Tasker completed all tasks, conclusion: Error
Saving selected games
Saving configuration
..Executing task: SyncTask.UploadGames
Executing task: SyncTask.BuildMenu
Executing task: SyncTask.BuildFiles
Processing CLV-Z-IYYOA ('mariojp'), size: 60KB
Executing task: SyncTask.CheckRemoteStorageRequirements
df "$(hakchi findGameSyncStorage)" | tail -n 1 | awk '{ print $2 " | " $3 " | " $4 }' # exit code 0
mount | grep /var/lib/clover/profiles # exit code 1
du -s "$(readlink /var/saves)" | awk '{ print $1 }' # exit code 0
du -d 1 "/var/lib/hakchi/games" | head -n -1 | awk '{ print $2 " | " $1 }' # exit code 0
Storage size: 222.8MB, used: 70.0MB, free: 145.9MB
Used by all games: 21.7MB
Used by non multi-boot games: 0.0MB
Used by current games collection: 15.2MB
Used by save-states: 0.3MB
Used by other files (mods, configs, etc.): 47.9MB
Reserved memory: 0.0MB
Available for games: 161.2MB
Executing task: SyncTask.PrepareRemoteTransfer
uistop # exit code 0
gunzip -c - > /dev/fb0 # exit code 0
hakchi eval 'umount "$gamepath"' # exit code 1
Executing task: SyncTask.CalculateRemoteDiff
find "/var/lib/hakchi/games/" -maxdepth 1 | tail -n +2 | grep -vEe '(/hvcj-jpn?|/snes(-usa|-eur|-jpn)?|/nes(-usa|-jpn)?|/md(-jpn|-usa|-eur|-asia)?|/)$' | while read f; do rm -rf "$f"; done # exit code 0
find "/var/lib/hakchi/games/md-eur" -type l | while read f; do rm "$f"; done # exit code 0
mkdir -p "/var/lib/hakchi/games/md-eur"; cd "/var/lib/hakchi/games/md-eur"; find . -type f -exec sh -c "stat "{}" -c "%n %s %y"" ; # exit code 0
--- End of DEBUGLOG.TXT content ---

@DanTheMan827 DanTheMan827 added the bug Something isn't working label Nov 10, 2021
@DanTheMan827 DanTheMan827 self-assigned this Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants