search for: get_fil

Displaying 17 results from an estimated 17 matches for "get_fil".

Did you mean: get_file
2007 Nov 12
3
Weird error downloading a gzip''ed file
...en able to do it on my own. However, I''m stuck in a weird situation in a script to download my contact list from hotmail. I''ve used Firebug to check all urls, and tested it by hand while logged in via browser. Even in the script everything works well until the last ''agent.get_file'', which gets stuck with a weird error: ------ snip ------ $ ruby msn-scrap.rb #<URI::HTTP:0xfdbc850b8 URL: http://by124w.bay124.mail.live.com/mail/TodayLight.aspx?&n=1573603203&gs=true > "http://by124w.bay124.mail.live.com/mail/GetContacts.aspx" Err: unexpected en...
2011 Oct 30
2
Module Error
...ntel processor (I tried the module in an intel quad, and got the same error). Follow some outputs: The error stack: Oct 28 23:40:35 goku kernel: [ 4472.129718] BUG: unable to handle kernel paging request at 000003d600000004 Oct 28 23:40:35 goku kernel: [ 4472.129933] IP: [<ffffffffa08d118c>] get_files+0x6c/0x220 [pagecache] Oct 28 23:40:35 goku kernel: [ 4472.130098] PGD 0 Oct 28 23:40:35 goku kernel: [ 4472.130250] Oops: 0000 [#4] SMP Oct 28 23:40:35 goku kernel: [ 4472.130452] last sysfs file: /sys/devices/system/cpu/cpu7/online Oct 28 23:40:35 goku kernel: [ 4472.130562] CPU 0 Oct 28 23:40:...
2011 Oct 30
2
Module Error
...ntel processor (I tried the module in an intel quad, and got the same error). Follow some outputs: The error stack: Oct 28 23:40:35 goku kernel: [ 4472.129718] BUG: unable to handle kernel paging request at 000003d600000004 Oct 28 23:40:35 goku kernel: [ 4472.129933] IP: [<ffffffffa08d118c>] get_files+0x6c/0x220 [pagecache] Oct 28 23:40:35 goku kernel: [ 4472.130098] PGD 0 Oct 28 23:40:35 goku kernel: [ 4472.130250] Oops: 0000 [#4] SMP Oct 28 23:40:35 goku kernel: [ 4472.130452] last sysfs file: /sys/devices/system/cpu/cpu7/online Oct 28 23:40:35 goku kernel: [ 4472.130562] CPU 0 Oct 28 23:40:...
2018 May 13
0
Dataverse (reading files with .tab and .7z suffixes)
...n picked up one out of hundreds results. > # The get-dataset() function has to be picked on the dynamic web address= > ) > (dataset_ifpri <- get_dataset("https://doi.org/10.7910/DVN/ZTCWYQ")) > > ## 03. Grabbing the (1st) file we are interested on > AppendixC <- get_file("001_AppendixC.tab", > "https://doi.org/10.7910/DVN/ZTCWYQ") > writeBin(AppendixC, "001_AppendixC.tab") > > read.table("001_AppendixC.tab") I imagine you are using the dataverse package. 7z is more straightforward because...
2012 Apr 24
0
help with GUI interface
..."try-error")) { cat("Error reading file of type,", file.type, "\n") out <- data.frame(nova="") } } else { out <- data.frame(nova="") } return(out) } dlg$model_value_changed <- function(.) { fname <- .$get_file() if(file.exists(fname)) { for(i in c("txt","csv")) { if(grepl(paste("\\.",i,sep=""), fname)) .$set_file.type(c(txt="table",csv="csv")[i]) } } switch(.$get_file.type(), "csv"={.$set_s...
1999 Oct 05
0
smbclient tar restore problem (linkflag) from tape-drive
...efault" case, which is to skip the file. linkflag = ((union hblock *)buffer_p) -> dbuf.linkflag; switch (linkflag) { case '0': /* Should use symbolic names--FIXME */ /* * Skip to the next block first, so we can get the file, FIXME, should * be in get_file ... * The 'finfo.size != 0' fix is from Bob Boehmer <boehmer@worldnet.att.net> * Fixes bug where file size in tarfile is zero. */ if ((finfo.size != 0) && next_block(tarbuf, &buffer_p, tbufsiz) <=0) { DEBUG(0, ("Short file, bailing out...
2006 Apr 12
9
Showing Images from a file store
Hi all. I am wrting a small content management tool for my company and was trying to display some images from our file store shown below. <td> <img src="\\xx.xx.xxx.xx\xx\xx\xxx\abc.gif"/> The app was displaying the image when it is under the \public\images directory. Is there anything special we need to do to get a file from outside the root of the application? Any help
2012 Aug 16
5
[PATCH 0/4] Add customization capabilities to virt-sysprep
In the TODO file there's a discussion of perhaps writing a new 'virt-customize' tool. I think it's probably better (or at any rate, easier) to just add this functionality into virt-sysprep. That is what this small series of patches aims to achieve. Note these are not very well tested at the moment. The first patch adds a generic and useful '--firstboot' flag. The
2011 Sep 24
0
Adding device: EitanVT650 to udev nut-usbups.rules?
...uct}=="010937", MODE="664", GROUP="nut" (I added the "product" filter, since the idVendor/idProduct info seem to have generic values). I'm using the Debian-unstable package: 2.6.1-2 The specs of the product can be found at: http://www.eitan-tut.co.il/get_file.php?id=2669&force=0 Following is some info from lsusb -v: Bus 004 Device 005: ID ffff:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDev...
2020 Feb 10
1
[nbdkit PATCH] split: Add support for .extents
...+ return r; +} + +static int +split_extents (void *handle, uint32_t count, uint64_t offset, + uint32_t flags, struct nbdkit_extents *extents) +{ + struct handle *h = handle; + const bool req_one = flags & NBDKIT_FLAG_REQ_ONE; + + while (count > 0) { + struct file *file = get_file (h, offset); + uint64_t foffs = offset - file->offset; + uint64_t max; + int64_t r; + + max = file->size - foffs; + if (max > count) + max = count; + + if (file->can_extents) { + ACQUIRE_LOCK_FOR_CURRENT_SCOPE (&lseek_lock); + max = r = do_extents (...
2020 Apr 15
0
[PATCH nbdkit 2/9] floppy, iso, split, ssh: Use new vector type to store lists of strings.
...iles[i].fd); } @@ -196,7 +191,7 @@ split_close (void *handle) struct handle *h = handle; size_t i; - for (i = 0; i < nr_files; ++i) + for (i = 0; i < filenames.size; ++i) close (h->files[i].fd); free (h->files); free (h); @@ -243,7 +238,7 @@ static struct file * get_file (struct handle *h, uint64_t offset) { return bsearch (&offset, h->files, - nr_files, sizeof (struct file), + filenames.size, sizeof (struct file), compare_offset); } diff --git a/plugins/ssh/ssh.c b/plugins/ssh/ssh.c index 1fd5f223...
1999 Oct 05
0
SAMBA digest 2259
...; linkflag = ((union hblock *)buffer_p) -> dbuf.linkflag; > > switch (linkflag) { > > case '0': /* Should use symbolic names--FIXME */ > > /* > * Skip to the next block first, so we can get the > file, FIXME, should > * be in get_file ... > * The 'finfo.size != 0' fix is from Bob Boehmer > <boehmer@worldnet.att.net> > * Fixes bug where file size in tarfile is zero. > */ > > if ((finfo.size != 0) && next_block(tarbuf, &buffer_p, > tbufsiz) <=0) { &gt...
2014 Jan 17
0
Wine release 1.7.11
...s MSVCP110.dll.?setw at std@@YA?AU?$_Smanip at _J@1 at _J@Z 35247 Teleglitch: Die More Edition needs msvcr110.dll._libm_sse2_sqrt_precise 35261 Ys 1 crashes on startup 35303 Multiple Realarcade installers fail on startup, complaining with COM/LUA scripting errors (need support for IFolder::get_Files) 35318 build fail on FreeBSD 35328 Multiple Realarcade installers fail on startup, complaining with COM/LUA scripting errors (need support for file collection '_NewEnum' property) 35346 sscanf clears first unmatched string arg 35354 PSO2 Tweaker needs Win32_OperatingSystem WMI...
2019 Apr 04
1
Proof of concept for GPU forwarding for Linux guest on Linux host.
Hi, This is a proof of concept of GPU forwarding for Linux guest on Linux host. I'd like to get comments and suggestions from community before I put more time on it. To summarize what it is: 1. It's a solution to bring GPU acceleration for Linux vm guest on Linux host. It could works with different GPU although the current proof of concept only works with Intel GPU. 2. The basic idea
2019 May 10
11
[nbdkit PATCH 0/9] RFC: implement NBD_CMD_CACHE
I'm still working my way through the filters before this series will be complete, but this is enough of a start to at least get some feedback on the idea of implementing another NBD protocol extension. Eric Blake (9): server: Internal hooks for implementing NBD_CMD_CACHE plugins: Add .cache callback file, split: Implement .cache with posix_fadvise nbd: Implement NBD_CMD_CACHE
2020 Apr 15
18
[PATCH nbdkit 0/9] Generic vector, and pass $nbdkit_stdio_safe to shell scripts.
This was a rather longer trip around the houses than I anticipated! The basic purpose of the patch series is to set $nbdkit_stdio_safe to "0" or "1" in sh and eval plugin scripts. To do that, I ended up adding a nicer way to manipulate environ lists, and to do that, I ended up adding a whole generic vector implementation which is applicable in a lot of different places.
2019 May 16
27
[nbdkit PATCH v2 00/24] implement NBD_CMD_CACHE
Since v1: - rework .can_cache to be tri-state, with default of no advertisement (ripple effect through other patches) - add a lot more patches in order to round out filter support And in the meantime, Rich pushed NBD_CMD_CACHE support into libnbd, so in theory we now have a way to test cache commands through the entire stack. Eric Blake (24): server: Internal hooks for implementing