node-webkit on linux - Issue opening pdf, video,audio files

8 views
Skip to first unread message

Uma Venkitachalam

unread,
Jan 16, 2014, 12:12:12 AM1/16/14
to node-...@googlegroups.com
Hi
I have packaged my html, js based application with node-webkit , to run on Linux 32  bit system
On the Linux system The node webkit opens properly, but there are issue opening pdf & video & audio files

1) For video, I tried copying the libffmpegsumo.so from the chrome installation into the node package. But when I do this, the node application is crashing immediately on opening. I saw a issue posted in this regard ( https://github.com/rogerwang/node-webkit/issues/1423?source=cc) . I tried with node-webkit versions 0.8.3, 0.8.4 and used the libffmpegsumo.so dll given in that post. But it did not help
Can you please point me to the right version of .so file to be used.

2) The pdf pages are not opening in the html app. ( They are embedded into a div element using PDFObject.embed(id) ) . I have given plugin = true in the package.json. The PDF file opens fine when I drag it into chrome. There is also another PDF viewed installed in the system. How would the node-webkit get the appropriate plugins to open the PDF within the app ?
Can you let me know what additional steps are needed to get this working

( Both the above things are working fine on Windows system )

Thanks in advance
Uma

akademik nedelchev

unread,
Jan 16, 2014, 10:46:16 AM1/16/14
to node-...@googlegroups.com
strace ./nw and paste the result


2014/1/16 Uma Venkitachalam <uven...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Uma Venkitachalam

unread,
Jan 20, 2014, 9:51:09 AM1/20/14
to node-...@googlegroups.com

Hi
I did the strace with the copied dll ( which crashes the nw).. Here are the last few lines from the trace


futex(0xddddeb8, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0xb0dd1000, 8392704)             = 0
clock_gettime(CLOCK_MONOTONIC, {1075, 958547569}) = 0
futex(0xb49059dc, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0xb49059c0, 2) = 1
futex(0xb49059c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xddd8004, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xddddf08, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0xb15d2000, 8392704)             = 0
clock_gettime(CLOCK_MONOTONIC, {1075, 960343745}) = 0
futex(0xb0dcfbcc, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0xb0dcfbb0, 2) = 1
futex(0xb0dcfbb0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xddf6ea4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xddddb48, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0xb1dd3000, 8392704)             = 0
futex(0xdd98c80, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xdd98c7c, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0xdd98c64, FUTEX_WAKE_PRIVATE, 1) = 1
gettid()                                = 4348
lstat64("/tmp/.org.chromium.Chromium.6UrWVs", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.6UrWVs", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 4 entries */, 32768)  = 128
lstat64("/tmp/.org.chromium.Chromium.6UrWVs/SingletonCookie", {st_mode=S_IFLNK|0777, st_size=19, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.6UrWVs/SingletonSocket", {st_mode=S_IFSOCK|0755, st_size=0, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.6UrWVs/..", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=12288, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.6UrWVs/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.6UrWVs/SingletonCookie") = 0
unlink("/tmp/.org.chromium.Chromium.6UrWVs/SingletonSocket") = 0
rmdir("/tmp/.org.chromium.Chromium.6UrWVs") = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 7 entries */, 32768)  = 208
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/package.json", {st_mode=S_IFREG|0600, st_size=183, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/..", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=12288, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/main.js", {st_mode=S_IFREG|0600, st_size=1219, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/logo144.png", {st_mode=S_IFREG|0600, st_size=9367, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/welcome.html", {st_mode=S_IFREG|0600, st_size=217, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/package.json") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/main.js") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/logo144.png") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/welcome.html") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 4 entries */, 32768)  = 112
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 11 entries */, 32768) = 320
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/.npmignore", {st_mode=S_IFREG|0600, st_size=66, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/package.json", {st_mode=S_IFREG|0600, st_size=9212, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/LICENSE", {st_mode=S_IFREG|0600, st_size=1058, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/lib", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/test", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/.travis.yml", {st_mode=S_IFREG|0600, st_size=68, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/README.md", {st_mode=S_IFREG|0600, st_size=7875, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/examples", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/.npmignore") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/package.json") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/LICENSE") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/.travis.yml") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/README.md") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/examples", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 4 entries */, 32768)  = 120
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/examples/pdfcreator.js", {st_mode=S_IFREG|0600, st_size=653, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/examples/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/examples/grepcount.js", {st_mode=S_IFREG|0600, st_size=472, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/examples/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/examples/pdfcreator.js") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/examples/grepcount.js") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/test", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 3 entries */, 32768)  = 80
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/test/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/test/temp-test.js", {st_mode=S_IFREG|0600, st_size=2620, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/test/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/test/temp-test.js") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/lib", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 3 entries */, 32768)  = 80
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/lib/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/lib/temp.js", {st_mode=S_IFREG|0600, st_size=4685, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/lib/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/lib/temp.js") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 4 entries */, 32768)  = 112
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 9 entries */, 32768)  = 264
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/rimraf.js", {st_mode=S_IFREG|0600, st_size=3304, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/package.json", {st_mode=S_IFREG|0600, st_size=1981, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/LICENSE", {st_mode=S_IFREG|0600, st_size=1092, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/README.md", {st_mode=S_IFREG|0600, st_size=540, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/AUTHORS", {st_mode=S_IFREG|0600, st_size=235, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/rimraf.js") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/package.json") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/LICENSE") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/README.md") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/AUTHORS") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 6 entries */, 32768)  = 184
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/test-sync.js", {st_mode=S_IFREG|0600, st_size=105, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/setup.sh", {st_mode=S_IFREG|0600, st_size=602, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/run.sh", {st_mode=S_IFREG|0600, st_size=136, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/test-async.js", {st_mode=S_IFREG|0600, st_size=138, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/test-sync.js") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/setup.sh") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/run.sh") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test/test-async.js") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 3 entries */, 32768)  = 80
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 8 entries */, 32768)  = 240
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/.npmignore", {st_mode=S_IFREG|0600, st_size=14, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/package.json", {st_mode=S_IFREG|0600, st_size=2397, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/LICENSE", {st_mode=S_IFREG|0600, st_size=1310, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/test", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/README.md", {st_mode=S_IFREG|0600, st_size=1228, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js", {st_mode=S_IFREG|0600, st_size=10864, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/.npmignore") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/package.json") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/LICENSE") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/README.md") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/test", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 4 entries */, 32768)  = 112
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/test/ulimit.js", {st_mode=S_IFREG|0600, st_size=3699, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/test/open.js", {st_mode=S_IFREG|0600, st_size=1110, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/test/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/test/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/test/ulimit.js") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/test/open.js") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 7 entries */, 32768)  = 200
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/osenv.js", {st_mode=S_IFREG|0600, st_size=2164, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/package.json", {st_mode=S_IFREG|0600, st_size=2541, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/LICENSE", {st_mode=S_IFREG|0600, st_size=1318, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/test", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/README.md", {st_mode=S_IFREG|0600, st_size=1468, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/osenv.js") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/package.json") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/LICENSE") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/README.md") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/test", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 4 entries */, 32768)  = 112
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/test/unix.js", {st_mode=S_IFREG|0600, st_size=2388, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/test/windows.js", {st_mode=S_IFREG|0600, st_size=2689, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/test/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/test/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/test/unix.js") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/test/windows.js") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 7 entries */, 32768)  = 192
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/.npmignore", {st_mode=S_IFREG|0600, st_size=84, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/package.json", {st_mode=S_IFREG|0600, st_size=2231, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/lib", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/test", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/README.md", {st_mode=S_IFREG|0600, st_size=1469, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/.npmignore") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/package.json") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/README.md") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/test", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 4 entries */, 32768)  = 112
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/test/example.txt", {st_mode=S_IFREG|0600, st_size=55, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/test/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/test/basic.js", {st_mode=S_IFREG|0600, st_size=687, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/test/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/test/example.txt") = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/test/basic.js") = 0
openat(AT_FDCWD, "/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/lib", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 23
getdents64(23, /* 3 entries */, 32768)  = 88
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/lib/file-encryptor.js", {st_mode=S_IFREG|0600, st_size=1981, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/lib/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat64("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/lib/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(23, /* 0 entries */, 32768)  = 0
madvise(0xdffa000, 499712, MADV_DONTNEED) = 0
close(23)                               = 0
unlink("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/lib/file-encryptor.js") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/test") = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor/lib") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv/test") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs/test") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules/graceful-fs") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/test") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf/node_modules") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/rimraf") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules/osenv") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/examples") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/test") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/lib") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp/node_modules") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/temp") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules/file-encryptor") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW/node_modules") = 0
rmdir("/tmp/.org.chromium.Chromium.xMCDiW") = 0
gettid()                                = 4348
gettid()                                = 4348
clock_gettime(CLOCK_MONOTONIC, {1076, 80090040}) = 0
futex(0xb3dd5bcc, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0xb3dd5bb0, 2) = 1
futex(0xb3dd5bb0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xddd89c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xddddf58, FUTEX_WAKE_PRIVATE, 1) = 1
clock_gettime(CLOCK_MONOTONIC, {1076, 80889015}) = 0
futex(0xb3dd5bcc, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0xb3dd5bb0, 2) = 1
futex(0xb3dd5bb0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xddd89c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xddddf58, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0xb25d4000, 8392704)             = 0
clock_gettime(CLOCK_MONOTONIC, {1076, 83406172}) = 0
write(18, "\0", 1)                      = 1
futex(0xdd691e8, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0xb2dd5000, 8392704)             = 0
close(19)                               = 0
write(11, "\1\0\0\0\0\0\0\0", 8)        = 8
close(12)                               = 0
close(13)                               = 0
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLIN|POLLOUT}])
recv(10, "\17\0004\3\36\0\340\1\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096, 0) = 128
writev(10, [{"+\0\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
recv(10, "\1\0025\3\0\0\0\0\5\0\200\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0) = 32
recv(10, 0xddb4058, 4096, 0)            = -1 EAGAIN (Resource temporarily unavailable)
close(52)                               = 0
close(53)                               = 0
gettid()                                = 4348
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
futex(0xdd6abf8, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0xdd6abdc, 22) = 2
close(9)                                = 0
close(5)                                = 0
close(8)                                = 0
madvise(0xdfd2000, 8192, MADV_DONTNEED) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(0)                           = ?



Message has been deleted

Uma Venkitachalam

unread,
Jan 22, 2014, 5:15:15 AM1/22/14
to node-...@googlegroups.com

I downloaded the libffmpegsumo.so file for Chromium 30.0.1599.66 32-bit Linux , from below URL

http://rpm.pbone.net/index.php3/stat/4/idpl/25338992/dir/opensuse_12.x/com/chromium-ffmpegsumo-30.0.1599.66-1.46.1.i586.rpm.html

After that audio, video is working fine in node-webkit 0.8.4 on Linux 32-bit system

However I still can't get the PDF open properly in node-webkit ( It opens fine externally, when I open using gui.Shell.openItem("pdf path") ). But I want it as part of the same window

Appreciate any help here

Thanks

aremi...@gmail.com

unread,
Jan 22, 2014, 10:24:03 PM1/22/14
to node-...@googlegroups.com

Uma Venkitachalam

unread,
Jan 23, 2014, 6:51:05 AM1/23/14
to node-...@googlegroups.com, aremi...@gmail.com
Yes, I can try that. But I guess we should be able to get the PDF opened with the default PDF plugin itself , right ? ( with plugin : true in package.json ). That works on windows, but not on linux
( If I drag the PDF to chrome browser, it opens using the plugin , on the Linux system )
Reply all
Reply to author
Forward
0 new messages