|
|||||||
| OOTP 9 - Logged Issues All issues that have been logged and given a BZ # are stored here until fixed |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) | |
|
Hall Of Famer
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 4,682
Thanked 12x in 8 posts
|
BZ 1995: Can't Find Historical Database (Linux)
I just set up a historical league, and I'm getting this popup whenever I open it. OOTP shows that the database is at /home/eriq/ootp-linux/ootp9/data/stats/, and the database is there.
I'm hoping this is a false positive, as I have yet to progress past the first season. Any other Linux users seen this?
__________________
Quote:
|
|
|
|
|
|
|
#2 (permalink) |
|
Minors (Double A)
Join Date: May 2007
Location: Dallas, TX
Posts: 170
Thanked 2x in 1 post
|
I ran into this problem as well. Linux is case-sensitive. The solution was to rename all files extracted from the lahman database to lower-case.
Wrote a quick bash script to do it. Presto-Chango! Perfection. I can provide you the contents of the script if you need it. Ray |
|
|
|
|
|
#3 (permalink) | ||
|
Hall Of Famer
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 4,682
Thanked 12x in 8 posts
|
Quote:
__________________
Quote:
|
||
|
|
|
|
|
#5 (permalink) |
|
Minors (Double A)
Join Date: May 2007
Location: Dallas, TX
Posts: 170
Thanked 2x in 1 post
|
Bash Script as Requested
#!/bin/bash
for filename in * do n=`echo $filename | tr '[:upper:]' '[:lower:]'` mv $filename $n done ****************************** just execute the script above in the directory containing the files from the database -- it will convert them all to lower-case. Ray |
|
|
|
|
|
#6 (permalink) | |
|
Hall Of Famer
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 4,682
Thanked 12x in 8 posts
|
Thanks, that worked a treat!
__________________
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|