Table not found
-
reborg
- Assigned user set to reborg
- Tag set to database, initialization, startup
- State changed from new to open
I was not able to reproduce this. I was using ENV['HOME'] that I removed since maybe that variable is not set in your environment. But still, it looks like the DB got created correctly somewhere. Can you check "~/Library/Application Support/Pomodori" or "/Library/Application Support/Pomodori" and see if you find any files there? Anyway, please try download the fixed version and let me know: http://reborg.github.com/pomodor...
-
niclasnilsson
Still the same thing, (and my HOME-env looks correct).
Here's the content of my ~/Library/Application Support/Pomodori folder:
mb:Library$ ls Application\ Support/Pomodori/ pomodoro.tbl
mb:Library$ cat Application\ Support/Pomodori/pomodoro.tbl 000000|000000|Struct|recno:Integer|text:String|timestamp:Time
mb:Library$
I also tried deleting the pomodoro.tbl to see if that helped, but it was recreated in the exact same way.
-
niclasnilsson
(Hmm... Maybe I should format this differently... :-)
mb:Library$ ls Application\ Support/Pomodori/ pomodoro.tblmb:Library$ cat Application\ Support/Pomodori/pomodoro.tbl 000000|000000|Struct|recno:Integer|text:String|timestamp:Time
mb:Library$
-
niclasnilsson
Ok, Lighthouse seems to ignore my line breaks. But there is one file in ~/Library/Application Support/Pomodori and that is the file pomodoro.tbl, and you see the content above.
Kind regards Niclas
-
reborg
I saw I was not downcasing the name of the table for the lookup. If you formatted the mac with a case sensitive file system, this could be the fix (and the reason I couldn't reproduce it). Let me know. Thanks.
-
niclasnilsson
I certainly do use the case sensitive version of the file system. Doesn't all programmers do that? :-)
That's very likely the problem then. Good catch.
Kind regards Niclas
-
reborg
I'm using the pre-installed formatted partition. It looks case unsensitive by default:
reborg:tmp reborg$ mkdir Temp reborg:tmp reborg$ mkdir temp mkdir: temp: File exists
And sure next time I'll format Unix like. Let me know if that did the trick. Thanks.
-
niclasnilsson
Worked just fine. Thanks!
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.