search for: pfile

Displaying 20 results from an estimated 80 matches for "pfile".

Did you mean: file
2004 Feb 11
1
Problem using 'ov_open()'...
...e <stdio.h> typedef struct tagSOUNDDATA { char *Buffer; int Channels, Length, Frequency; } sSOUNDDATA, *pSOUNDDATA; class OGGDATA { public: OGGDATA(); ~OGGDATA(); bool OpenOGG(char*); pSOUNDDATA DecodeOGGLow(); void CloseOGG(pSOUNDDATA); private: FILE *pFile; OggVorbis_File *pOVFile; }; OGGDATA::OGGDATA() { pFile = NULL; pOVFile = NULL; } OGGDATA::~OGGDATA() { if(pOVFile != NULL) ov_clear(pOVFile); if(pFile != NULL) fclose(pFile); } bool OGGDATA::OpenOGG(char *Filename) { int Result; if(pOVFile != NULL) ov_c...
2005 Jun 14
3
lack of detail for exception in ov_open
...Would anybody have a comment or suggestion? I get no responses whenever I post in the codec forums, so I am posting here. Some kind of clue would certainly be much appreciated. "Unhandled exception in Room 101.exe (NTDLL.DLL): 0xC0000005: Access Violation." OggVorbis_File vf; FILE* pFile; pFile = fopen("test.ogg", "rb"); if(!pFile) AfxMessageBox("fopen failed"); // here's where I get the exception int err = ov_open(pFile, &vf, NULL, 0); debugger simply says: NTDLL! 7c918fea() NTDLL! 7c90104b() MSVCRT! 77c413b0() VORBISFILE! 10001d1d(...
2005 Apr 03
3
Direct crash on ov_open
...n access violation to address 0x00000010... This happens on both Release and Debug builds. The test app is simple: #include "vorbis/codec.h" #include "vorbis/vorbisfile.h" #include <stdio.h> #include <memory.h> void main(void) { // Attempt to open the file FILE *pFile = NULL; pFile = fopen("C:\\IronDaimen.ogg","rb"); if (!pFile) return; OggVorbis_File ovFile; memset(&ovFile,0,sizeof(ovFile)); int iRetval = 0; iRetval = ov_open(pFile,&ovFile,NULL,0); if (iRetval != 0) { fclose(pFile); return; } } I link against the o...
2006 Aug 05
2
PATCH: provide replace parameter for sourced files
Following patch for pfile.rb and pfile/source.rb allows the user to set a replace => false parameter on a file sourced by puppet, but not replaced if checksums do not match. This is for cases in which it is desired to distribute initial "bootstrap" files and ensure future existence, yet allow them to be modifie...
2006 Oct 31
0
6386915 pfiles reports IP_NEXTHOP set when it isn''t
Author: priyanka Repository: /hg/zfs-crypto/gate Revision: 05065f75ba7cc5ba000bc58c368e13ab7e079b7a Log message: 6386915 pfiles reports IP_NEXTHOP set when it isn''t Files: update: usr/src/cmd/ptools/pfiles/pfiles.c
2007 Aug 26
2
error message!
...rs, Can some one help me out. I tried installing some packages in R_2.5.1 but I get an error message as shown below. This is unusual since I have been installing and updatings packages in the same version of R. > chooseCRANmirror() > update.packages(ask='graphics') Error in .readRDS(pfile) : unknown input format or > utils:::menuInstallPkgs() Error in .readRDS(pfile) : unknown input format Thanks usman ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood...
2005 Jun 17
1
ov_open fails on Version 1.0.1
...getting results? And/or could you take a look at what I have below and possibly point out my problem? Needless to say, I would greatly appreciate it! Steve Russell // AudioFile.cpp #include "vorbis/codec.h" #include "vorbis/vorbisfile.h" . . . OggVorbis_File vf; FILE* pFile; pFile = fopen("verdes_2.ogg", "rb"); int err = err = ov_open(pFile, &vf, NULL, 0); . . . ov_clear(&vf); In my app's directory, I have ogg.dll vorbis.dll vorbisfile.dll and have added to my project these files: ogg\ogg.h ogg\os_types.h vorbis\codec.h vorbis\vo...
2005 Apr 03
0
Direct crash on ov_open
...n access violation to address 0x00000010... This happens on both Release and Debug builds. The test app is simple: #include "vorbis/codec.h" #include "vorbis/vorbisfile.h" #include <stdio.h> #include <memory.h> void main(void) { // Attempt to open the file FILE *pFile = NULL; pFile = fopen("C:\\IronDaimen.ogg","rb"); if (!pFile) return; OggVorbis_File ovFile; memset(&ovFile,0,sizeof(ovFile)); int iRetval = 0; iRetval = ov_open(pFile,&ovFile,NULL,0); if (iRetval != 0) { fclose(pFile); return; } } Platform Info: Win32...
2009 Feb 20
1
NOT an R problem: cannot install packages from distant repository
I met today a computer crash and our maintenance officer had to reinstall some components of the OS (MS Windows XP Pro) as well as the Internet browser (among other things). Now, I cannot install packages from a distant repository: > utils:::menuInstallPkgs() Error in .readRDS(pfile) : unknown input format > traceback() 5: .readRDS(pfile) 4: .packages(all.available = TRUE) 3: .install.winbinary(pkgs = pkgs, lib = lib, contriburl = contriburl, method = method, available = available, destdir = destdir, installWithVers = installWithVers, dependencies = dependenci...
2009 Mar 03
1
execution time of .packages
...for (lib in lib.loc) { a <- list.files(lib, all.files = FALSE, full.names = FALSE) for (nam in a) { pfile <- file.path(lib, nam, "Meta", "package.rds") if (file.exists(pfile)) info <- .readRDS(pfile)$DESCRIPTION[c("Package", "Version")]...
2004 Sep 17
1
No such file or directory - but it is there.
...t now after installing 3.0.6 I have an issue. Most applications I have work fine, only three are suspect. OfficeXP, will start the install but it stops with the error, installation source has been corrupted. The Samba log show it is looking for the file :applications/windows/officexp/Install/Files/PFiles/MSOffice/Office10/1033/ID_011.DPC returning 0764 Error opening file applications/windows/officexp/Install/Files/PFiles/MSOffice/Office10/1033/ID_011.DPC (No such file or directory) (local_flags=0) (flags=0) I have had a look at this file and it seems to be OK. If I copy the whole install tree for...
2002 Feb 04
1
read zipped files
...I missed your names. a- use pipe to run external unzip to a file and read from there b- use gzfile() to open directly a gzipped file c- use zip.file.extract() solution b works like a charm, unfortunately it open gzipped files and not zipped files, would it be possible in a future release to add a zipfile() function? solution c. There is a problem here a) the help says it can be changed at any moment b) it does not work in some platforms. Well it does not work in a Win98 machine with R1.4.0 The work inside zip.file.extract() is done by: rc <- .Internal(int.unzip(file.path(path,zipname),topic,temp...
2006 Dec 01
1
Packages build for Solaris ? As CSW packages ?
...e_ruby/1.8/puppet/type/host.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/mount.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/notify.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/package.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/parsedtype.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/pfile ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/pfile/checksum.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/pfile/content.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/pfile/ensure.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/pfile/group.rb ./opt/csw/lib/ruby/site_ruby/1.8/puppet/type/pfile/mo...
2011 Dec 23
0
dtrace-discuss Digest, Vol 80, Issue 6
Have you considered the mdb dcmd ::pfiles? mfe at inker:~/Code/dtrace/examples$ *pfexec mdb -k* Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc pcplusmp scsi_vhci zfs ip hook neti sockfs arp usba uhci fctl s1394 stmf stmf_sbd md lofs random idm sd crypto fcp cpc fcip smbsrv nfs ufs logindmux ptm nsmb sppp nsctl sdbc r...
2005 Jun 17
0
ogg vorbis decoding in MFC/C++ app
I am trying to insert a bit of ogg vorbis decoding into my MFC/C++ program and send it to my waveOut functions. // AudioFile.cpp #include "vorbis/codec.h" #include "vorbis/vorbisfile.h" . . . OggVorbis_File vf; FILE* pFile; pFile = fopen("verdes_2.ogg", "rb"); int err = err = ov_open(pFile, &vf, NULL, 0); . . . ov_clear(&vf); In my app's directory, I have ogg.dll vorbis.dll vorbisfile.dll and have added to my project these files: ogg\ogg.h ogg\os_types.h vorbis\codec.h vorbis\vo...
2002 Jan 24
2
grep
Hello, I have a problem with 'grep' I read several lines from a file p <- readLines(pfile,n=8) now I have to check that a key word "JABBERWOCKY" is not in that segment a <- grep("JABBERWOCKY",p) which gives a 1 if the key is in the text or 'numeric(0) how can I test it if(a==1) gives Ok in one case and error:missing value where logical needed in the other. Ho...
2009 Jul 09
0
Hanging ssh sessions with openssh-5.1p1 and Solaris 8 & 10
...one at 0:ptm 12962 9649 sshd W 7313 /devices/pseudo/clone at 0:ptm A ptree of the vi shows all processes involved: # ptree 10879 1083 /usr/local/sbin/sshd 9626 /usr/local/sbin/sshd -R 9649 /usr/local/sbin/sshd -R 9651 -tcsh 10879 vi /tmp/sshd.test_test Running pfiles on pid 9649 we get: # pfiles 9649 9649: /usr/local/sbin/sshd -R Current rlimit: 256 file descriptors 0: S_IFCHR mode:0666 dev:356,0 ino:6815752 uid:0 gid:3 rdev:13,2 O_RDWR|O_LARGEFILE /devices/pseudo/mm at 0:null 1: S_IFCHR mode:0666 dev:356,0 ino:6815752 uid:0 gid:3 rdev:13...
2018 Jan 10
2
Error installing ggplot2 package
...ngle Candle"Copyright (C) 2017 The R Foundation for Statistical ComputingPlatform: x86_64-w64-mingw32/x64 (64-bit) However, when I try to install ggplot2 and few other packages, I am getting following error. > library(ggplot2)Error: package or namespace load failed for ?ggplot2? in readRDS(pfile):?error reading from connectionIn addition: Warning message:package ?ggplot2? was built under R version 3.5.0? I wonder about the R version 3.5.0 as I checked on the CRAN site, the latest R version is R 3.4.3. I have in fact tried installing older versions too, but the error message remains same....
2017 Jul 10
2
using samba with bind dlz
...fig, schema partitions (and any other if any) # Since samdb is open in the current process, copy them in a child process try: tdb_copy(os.path.join(private_dir, "sam.ldb"), os.path.join(dns_dir, "sam.ldb")) for nc in partfile: pfile = partfile[nc] tdb_copy(os.path.join(private_dir, pfile), os.path.join(dns_dir, pfile)) Let me try and figure out what his is doing and I'll write some prints to find out what the culprit is. On Mon, Jul 10, 2017 at 9:17 AM, Jeff Sadowski <jeff.sadowski at...
2007 Aug 21
2
Dovecot should raise the limit of file descriptors at startup...
...unlimited unlimited data(kbytes) unlimited unlimited stack(kbytes) 8192 unlimited coredump(blocks) unlimited unlimited nofiles(descriptors) 256 65536 vmemory(kbytes) unlimited unlimited Output from "pfiles" after we raised the limit manually: # pfiles 26378 | head -10 26378: /ifm/sbin/dovecot -c /etc/dovecot.conf Current rlimit: 16384 file descriptors 0: S_IFCHR mode:0666 dev:327,15 ino:18128 uid:0 gid:3 rdev:13,2 O_RDONLY|O_LARGEFILE /export/zones/dovecot/root/dev/null 1:...