frequently questioned answers

hi, I tried to install Napkin and got the following error while configure:
configure: error: not all dependencies could be satisfied

I double checked the dependencies and they were ok.

Thanks.
sas171

On the debian-based machines (and we know, the machine in question is ubuntu), you'd need libgtkmm-2.4-dev and libsqlite3-dev packages to satisfy these dependencies.

afer compiling and installing napkin on my Ubuntu box using ./configure, make, sudo make install, I get the following error when trying to launch napkin:
napkin: error while loading shared libraries: libnapkin.so.0: cannot open shared object file: No such file or directory

does this meen I didn't manage to compile/install it properly?
Sigve Holmen

This isn't really specific to napkin, but either ./configure-ing with --disable-shared, or running ldconfig after installing should do the trick.

Napkin doesn't find my watch. I put it in data mode and made sure it was plugged in. I see in the code you default to looking in /dev/sleeptracker (which doesn't exist for me) or look in getenv("SLEEPTRACKER_PORT"). How do I find where that device is to set that environment variable?
Bryan
the answer is questionable, yet.
Hi Michael,

I like your software!
Can you tell me what are the difference between the red, green and blue lines in the Sleep timeline?

thanks,
Alexander Kolli
the answer is questionable, yet.
I have the gcc version 4.3.3

there lost any include files after the others which there
for napkin 0.0

#include <string.h>
in file napkin-0.0/lib/st-decode.cc
napkin-0.0/lib/hypnodata.cc

#include <stdlib.h>
in file napkin-0.0/lib/hypnodata.cc
napkin-0.0/lib/db.cc
Alexander Kolli
the answer is questionable, yet.
simple R script (http://cran.r-project.org/)


library(RSQLite)

drv <- dbDriver("SQLite")

con <- dbConnect(drv, dbname = "napkin.db")

dbListTables(con)

dbListFields(con, "sleeps")

sleeptracer.frame <-dbReadTable(con, "sleeps")

plot(sleeptracer.frame$s_data_a, type="b")

my.convert <- function (x) rbind(as.double(diff(strptime(unlist(strsplit(sleeptracer.frame$s_almost_awakes[x],",")), format= "%Y-%m-%dT%H:%M:%S"))), rep(x, length(as.double(diff(strptime(unlist(strsplit(sleeptracer.frame$s_almost_awakes[x],",")), format= "%Y-%m-%dT%H:%M:%S"))))) )

data.convert<-my.convert(1)
for (i in 2:length(sleeptracer.frame$s_almost_awakes)) data.convert<-cbind(data.convert,my.convert(i))

boxplot(V1~V2,t(data.convert))

plot(density(t(data.convert)[,1], bw=bw.SJ(t(data.convert)[,1] )))
rug(t(data.convert)[,1])
Petrov Sergei
the answer is questionable, yet.
I mew to linux I have a Asus Eee PC would you be ab to email me the program so I can install it tou run my sleeptracker
the answer is questionable, yet.
I'm very interested in this watch but I'm on a Mac. I see that with your software you can download the watch's data; but I don't have a clue about code, or how to build. I can't do anything with the source files without taking a course, (and if I had more time I might not need the watch's help managing my sleep in the first place!)

Is there any chance you can provide a package users like me can simply download and run? I'm talking drag-into-my-applications-folder simple, that's about my level!

Thank you hugely!
Teresa

It is planned, but I do not yet have ETA.

Huh! I haven't found my answerable question here!

My question is:

And, by the way, my name is
and I don't mind if you make it public.
My email is
and I don't mind if you make it public.
Type in these letters here: