search for: set_path

Displaying 20 results from an estimated 44 matches for "set_path".

Did you mean: get_path
2015 Feb 05
1
[PATCH] perl: tests: reenable set_path tests
guestfs_set_path now does a copy of the passed string, so bindings don't need to take care of the lifetime of strings parameters for it. --- perl/t/060-handle-properties.t | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/perl/t/060-handle-properties.t b/perl/t/060-handle-proper...
2009 Feb 03
1
"uninitialized constant Gem::Etc (NameError)" when starting server
I keep getting this when I try to start the server: [Macintosh:rails/work/demo] jslicari% script/server /Library/Ruby/Site/1.8/rubygems.rb:723:in `set_paths'': uninitialized constant Gem::Etc (NameError) from /Library/Ruby/Site/1.8/rubygems.rb:719:in `each'' from /Library/Ruby/Site/1.8/rubygems.rb:719:in `set_paths'' from /Library/Ruby/Site/1.8/rubygems.rb:526:in `path'' from /Library/Ruby/Site/1.8/rubygems/source_i...
2019 Apr 01
1
Re: guestfish Remote Images IPv6 Support
...cCloud-1901 libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: trace: set_tmpdir "/root/libguestfs/tmp" libguestfs: trace: set_tmpdir = 0 libguestfs: trace: set_cachedir "/root/libguestfs/tmp" libguestfs: trace: set_cachedir = 0 libguestfs: trace: set_path "/root/libguestfs/appliance" libguestfs: trace: set_path = 0 libguestfs: create: flags = 0, handle = 0xf4afb0, program = guestfish libguestfs: trace: set_pgroup true libguestfs: trace: set_pgroup = 0 libguestfs: trace: add_drive "images/CentOS-7-x86_64-GenericCloud-1901" "...
2017 Jul 29
2
Re: cannot find any suitable libguestfs supermin
...mplete output > of ‘libguestfs-test-tool’. > I download the newset package and extract in my path(/share/CACHEDEV1_DATA/appliance/) and set env It doesn't work. and I run the libugestfs-test-tool: libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: trace: set_path "/share/CACHEDEV1_DATA/appliance" libguestfs: trace: set_path = 0 libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 LIBGUESTFS_PATH=/share/CACHEDEV1_DATA/appliance LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/u...
2017 Aug 17
0
Re: libguestfs binaries missing when built from source code
...ualized-3.0.76999.qcow2 10G > Image resized. > [INFO] >>> Executing: virt-resize --expand /dev/sda1 image.tmp AirFrameVirtualized-3.0.76999.qcow2 > [ 0.0] Examining image.tmp > libguestfs: trace: set_verbose true > libguestfs: trace: set_verbose = 0 > libguestfs: trace: set_path "/opt/libguestfs/x86_64/1.30.3/lib/guestfs/appliance:" > libguestfs: trace: set_path = 0 > libguestfs: create: flags = 0, handle = 0xfa6c90 > virt-resize: symbol lookup error: virt-resize: undefined symbol: guestfs_int_safe_malloc No, it looks like the version of libguestfs (the...
2017 Feb 04
8
[PATCH v8 0/4] Import directly from OVA tar archive if possible
v8: - split the big patch into several commits v7: - rebased because patch 1/3 has been pushed - changes to nsplit have been dropped (2/3) - addressed Richard's comments, notably the subfolder function was moved to mllib and renamed to subdirectory v6: - just rebase v5: - rebase, patches 1,3,5 were merged - 1/3: we still need to discuss whether to detect compressed discs - 2/3: -
2017 Jul 28
2
cannot find any suitable libguestfs supermin
I download libguestfs from github and fetch to the *origin master*. I tried to build libguestfs in my own linux distro and I followd the http://libguestfs.org/guestfs-building.1.html#using-a-prebuilt-binary-appliance to replace with supermin I download the appliance-1.30.1.tar.xz and appliance-1.30.1.tar.xz.sig and extract the tarball to /home/user/appliance and export
2012 Dec 13
3
Lua improvements
Here are a few patches I applied to get the Lua bindings to build correctly with different versions of Lua. I am not particularly happy with generating all the test scripts just for the shebang line. Since it has been a while since I had to edit autoconf/automake, this was the best I could come up with. Cheers, -Hilko
2011 Oct 07
1
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...e this loop: > >  #include <stdio.h> > >  int main() >  { >          int A[1024]; >          int j, k=10; >          for (j = 1; j < 1024; j++) >                  A[j] = k; > >        return 0; > } > > run with: > > #!/bin/bash > source ../set_path.source > clang -S -emit-llvm $1.c -o $1.s > opt -S -mem2reg -loop-simplify -indvars $1.s > $1.preopt.ll > opt -load ${PATH_TO_POLLY_LIB}/LLVMPolly.so -polly-detect -analyze $1.preopt.ll > > Using the instructions found on the Polly website. > > > 2011/10/7 Tobias Grosser...
2009 Dec 07
1
problem starting rails (hobo) app with passenger
...employee_status Backtrace: # File Line Location 0 /usr/local/lib/site_ruby/1.8/rubygems.rb 723 in `initialize'' 1 /usr/local/lib/site_ruby/1.8/rubygems.rb 723 in `new'' 2 /usr/local/lib/site_ruby/1.8/rubygems.rb 723 in `set_paths'' 3 /usr/local/lib/site_ruby/1.8/rubygems.rb 719 in `each'' 4 /usr/local/lib/site_ruby/1.8/rubygems.rb 719 in `set_paths'' 5 /usr/local/lib/site_ruby/1.8/rubygems.rb 526 in `path'' 6 /usr/local/lib/site_ruby/1...
2019 Apr 01
2
Re: guestfish Remote Images IPv6 Support
I believe the bug lies in libguestfs. Taking out the commands being sent to QEMU and using qemu-img info I can recreate the error: # qemu-img info "rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none" qemu-img: Could not open 'rbd:images/CentOS-7-x86_64-GenericCloud-1901:mon_host=[fd00::cefc:1]\:6789:auth_supported=none': invalid
2012 Feb 23
1
[PATCH v2] Add a flag to make some functions called only at CONFIG state(RHBZ796520)
...u"], []), -1, [FishAlias "qemu"; ConfigOnly], [], "set the qemu binary", "\ @@ -239,7 +239,7 @@ Return the current qemu binary. This is always non-NULL. If it wasn't set already, then this will return the default qemu binary name."); - ("set_path", (RErr, [OptString "searchpath"], []), -1, [FishAlias "path"], + ("set_path", (RErr, [OptString "searchpath"], []), -1, [FishAlias "path"; ConfigOnly], [], "set the search path", "\ @@ -260,7 +260,7 @@ Return the cu...
2011 Oct 08
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...int main() >> { >> int A[1024]; >> int j, k=10; >> for (j = 1; j< 1024; j++) >> A[j] = k; >> >> return 0; >> } >> >> run with: >> >> #!/bin/bash >> source ../set_path.source >> clang -S -emit-llvm $1.c -o $1.s >> opt -S -mem2reg -loop-simplify -indvars $1.s> $1.preopt.ll >> opt -load ${PATH_TO_POLLY_LIB}/LLVMPolly.so -polly-detect -analyze $1.preopt.ll >> >> Using the instructions found on the Polly website. There are two reaso...
2011 Oct 03
4
[LLVMdev] How to make Polly ignore some non-affine memory accesses
Hi Tobias, thanks for the answer. I'll try to give a look to the code you pointed me to , and I'll try to make the modification myself. I'm new to LLVM and Polly, but the code of both seem clean and understandable, so I hope to be able to do it myself. In case I'll ask here for support :) Marcello 2011/10/1 Tobias Grosser <tobias at grosser.es>: > On 10/01/2011 03:26
2017 Jul 29
2
Re: cannot find any suitable libguestfs supermin
...IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************ libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: trace: set_path "/share/CACHEDEV1_DATA/appliance" libguestfs: trace: set_path = 0 libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 LIBGUESTFS_PATH=/share/CACHEDEV1_DATA/appliance LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/u...
2012 Mar 22
1
[PATCH] make stderr_path/stdout_path support IO objects directly
...lib/unicorn/http_server.rb | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index 89cbf5c..c9b6816 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -559,7 +559,7 @@ private def set_path(var, path) #:nodoc: case path - when NilClass, String + when NilClass, String, IO set[var] = path else raise ArgumentError diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb index 0c2af5d..bd71fbf 100644 --- a/lib/unicorn/http_server.rb +++ b/lib/unic...
2011 Jun 17
0
Error on puppet restarting
...24 clients. I run Debian 5 "Lenny". This is the error: Restarting puppet master/usr/local/lib/site_ruby/1.8/rubygems.rb:419:in `dir'': undefined method `home'' for #<Gem::ConfigFile:0xb72f742c> (NoMethodError) from /usr/local/lib/site_ruby/1.8/rubygems.rb:868:in `set_paths'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:641:in `path'' from /usr/lib/ruby/1.8/rubygems/source_index.rb:64:in `installed_spec_directories'' from /usr/lib/ruby/1.8/rubygems/source_index.rb:54:in `from_installed_gems'' from /usr/local/lib/site_ruby/1.8/rubygem...
2007 May 28
1
upload_column problems on post after validation error
...without a required field I give an exception and the controller show the form again, if I put the required data and post again I receive this exception: invalid format of ''hostel/117/photo_1.jpg;0182-Problemi-gravi.jpg'' |vendor/plugins/uploadcolumn/lib/upload_column.rb:431:in `set_path'' vendor/plugins/uploadcolumn/lib/upload_column.rb:809:in `send'' vendor/plugins/uploadcolumn/lib/upload_column.rb:809:in `photo_1_temp='' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1672:in `send'' /usr/lib/ruby/gems/1.8/gems/activereco...
2012 Jun 20
0
Devtools 0.7
...`with_options`, `with_path`, ... (Fixes #89) * `release` ask more questions and randomises correct answers so you really need to read them (Fixes #79) * `source_gist` now accepts default url such as "https://gist.github.com/nnn" * New system path manipulation functions, `get_path`, `set_path`, `add_path` and `on_path`, contributed by Andrew Redd. * If you're on windows, `devtools` now suppresses the unimportant warning from CYGWIN about the dos style file paths BUG FIXES * `decompress` now uses target directory as defined in the function call when expanding a compressed fi...
2012 Jun 20
0
Devtools 0.7
...`with_options`, `with_path`, ... (Fixes #89) * `release` ask more questions and randomises correct answers so you really need to read them (Fixes #79) * `source_gist` now accepts default url such as "https://gist.github.com/nnn" * New system path manipulation functions, `get_path`, `set_path`, `add_path` and `on_path`, contributed by Andrew Redd. * If you're on windows, `devtools` now suppresses the unimportant warning from CYGWIN about the dos style file paths BUG FIXES * `decompress` now uses target directory as defined in the function call when expanding a compressed fi...