search for: load_config

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

2013 Feb 02
2
rake db:migrate problem
...9;' /home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/base.rb:720:in `<top (required)>'' /home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/railties/databases.rake:25:in `block (2 levels) in <top (required)>'' Tasks: TOP => db:migrate => db:load_config (See full trace by running task with --trace) mini@mini:~/Sites/music_library$ rake db:migrate rake aborted! couldn''t parse YAML at line 28 column 6 /home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in `database_configuration'' /home/mini/my_gems/gem...
2013 Feb 01
0
rake db:migrate failing against oracle
...adapter: jdbc driver: oracle.jdbc.driver.OracleDriver url: jdbc:oracle:thin:@localhost:1521:xe username: brownbag password: brownbag pool: 500 --- When I run: --- rake db:create --trace ** Invoke db:create (first_time) ** Invoke rails_env (first_time) ** Execute rails_env ** Invoke db:load_config (first_time) ** Execute db:load_config ** Execute db:create --- when I run: --- C:\temp\brownbag\my_workout>rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:load_config (first_time) ** Execute db:load_config ** Exec...
2009 Jun 05
2
[PATCHv3 12/13] qemu: virtio save/load bindings
...be16(f, proxy->vdev->config_vector); +} + +static void virtio_pci_save_queue(void * opaque, int n, QEMUFile *f) +{ + VirtIOPCIProxy *proxy = opaque; + if (msix_present(&proxy->pci_dev)) + qemu_put_be16(f, virtio_queue_vector(proxy->vdev, n)); +} + +static int virtio_pci_load_config(void * opaque, QEMUFile *f) +{ + VirtIOPCIProxy *proxy = opaque; + int ret; + ret = pci_device_load(&proxy->pci_dev, f); + if (ret) + return ret; + ret = msix_load(&proxy->pci_dev, f); + if (ret) + return ret; + if (msix_present(&proxy->pci_de...
2009 Jun 05
2
[PATCHv3 12/13] qemu: virtio save/load bindings
...be16(f, proxy->vdev->config_vector); +} + +static void virtio_pci_save_queue(void * opaque, int n, QEMUFile *f) +{ + VirtIOPCIProxy *proxy = opaque; + if (msix_present(&proxy->pci_dev)) + qemu_put_be16(f, virtio_queue_vector(proxy->vdev, n)); +} + +static int virtio_pci_load_config(void * opaque, QEMUFile *f) +{ + VirtIOPCIProxy *proxy = opaque; + int ret; + ret = pci_device_load(&proxy->pci_dev, f); + if (ret) + return ret; + ret = msix_load(&proxy->pci_dev, f); + if (ret) + return ret; + if (msix_present(&proxy->pci_de...
2006 Nov 15
2
ODBC Voicemail Storage
...addons package. With Asterisk compiled without ODBC voicemail, it works flawless. Anyway, Asterisk with ODBC voicemail compile option will not start with the following console message: == Parsing '/etc/asterisk/voicemail.conf': Found [Nov 15 09:18:47] DEBUG[23599]: app_voicemail.c:7056 load_config: VM Temperary Greeting Reminder Option disabled globally [Nov 15 09:18:47] DEBUG[23599]: app_voicemail.c:7082 load_config: ENVELOPE before msg enabled globally [Nov 15 09:18:47] DEBUG[23599]: app_voicemail.c:7110 load_config: found dialout context: fromvm [Nov 15 09:18:47] DEBUG[23599]: app_voicema...
2009 Jun 03
2
[Syslinux-GSoC]Successed in converting the cache code to C
...update it. so how can I do it with git push stuff to my git web while git pull stuff from syslinux git web synchronously and easily? the second is about printf. It doesn't work well in the formart string. I'll debug it now but I don't think I can fix it. After this I will change the load_config part to C, then testing it with extlinux (Just change the load_config first, after that, I will try to merge the EXT fs drive written for user space into core). so, this is the current plan. best wishes! -- regards liu Aleaxander
2009 May 25
1
[PATCH] qemu: virtio save/load bindings
...be16(f, proxy->vdev->config_vector); +} + +static void virtio_pci_save_queue(void * opaque, int n, QEMUFile *f) +{ + VirtIOPCIProxy *proxy = opaque; + if (msix_present(&proxy->pci_dev)) + qemu_put_be16(f, virtio_queue_vector(proxy->vdev, n)); +} + +static int virtio_pci_load_config(void * opaque, QEMUFile *f) +{ + VirtIOPCIProxy *proxy = opaque; + int ret; + ret = pci_device_load(&proxy->pci_dev, f); + if (ret) + return ret; + ret = msix_load(&proxy->pci_dev, f); + if (ret) + return ret; + if (msix_present(&proxy->pci_de...
2009 May 25
1
[PATCH] qemu: virtio save/load bindings
...be16(f, proxy->vdev->config_vector); +} + +static void virtio_pci_save_queue(void * opaque, int n, QEMUFile *f) +{ + VirtIOPCIProxy *proxy = opaque; + if (msix_present(&proxy->pci_dev)) + qemu_put_be16(f, virtio_queue_vector(proxy->vdev, n)); +} + +static int virtio_pci_load_config(void * opaque, QEMUFile *f) +{ + VirtIOPCIProxy *proxy = opaque; + int ret; + ret = pci_device_load(&proxy->pci_dev, f); + if (ret) + return ret; + ret = msix_load(&proxy->pci_dev, f); + if (ret) + return ret; + if (msix_present(&proxy->pci_de...
2009 Sep 24
13
Rails Authentication Tutorial
Does anyone know a good authentication tutorial they can suggest? I''ve tried several restful authentication ones and an authlogic one on RailsCast. But with each one I try, something seems to be missing in the tutorial and I can''t get it to work. I''m new to Rails so it''s possible user error on my part. I''m on Mac OS X 10.5 and I generate all my apps in
2013 May 07
4
Rake db:migrate
...orenz", password: "mypass", admin: true) When I run: rake db:seed RAILS_ENV=development --trace I received: ** Invoke db:seed (first_time) ** Execute db:seed ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:load_config (first_time) ** Execute db:load_config ** Execute db:abort_if_pending_migrations and my database keep empty. The migration is new and it works. Thanks to all. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on...
2012 Sep 18
2
NoMethodError with rake db:migrate
...hael hartl''s tutorial) as usual: rails new demo_app, rails generate scaffold User name:string email:string, and when i do rake db:migrate, this stack appears: rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:load_config (first_time) ** Execute db:load_config ** Execute db:migrate rake aborted! NoMethodError: undefined method `to_a'' for #<SQLite3::Statement:0x9d6a2dc>: SELECT name FROM sqlite_master WHERE type = ''table'' AND NOT name = ''sqlite_...
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
...ock file present, but no process with pid=$pid.\n"; die "Can't delete lock file $lock_file\n" if !unlink $lock_file; print STDERR "Lock file has been removed.\n"; } else { die "Lockfile present, another copy is punning pid=$pid\n"; } } load_config(); my ($name, $passwd, $uid, $gid) = getpwnam($runas_user) or die "$runas_user not in passwd file";; # Become daemon # my $pid; if( !defined($pid = fork()) ) { die "cannot fork: $!"; } elsif ($pid) { # Create lockfile, and finish parent process # open(PID, "> $lock_...
2012 Feb 26
15
ActiveRecord::ConnectionNotEstablished
Hi, I am trying the tutorial in: http://guides.rubyonrails.org/getting_started.html when I try to navigate to http://localhost:3000 after the 4.3 change I get the error : ActiveRecord::ConnectionNotEstablished and I don''t know how to solve it the database.yml file is: adapter => mysql host => 127.0.0.1 database => blog username => root password => ***** my
2011 Apr 20
6
rake db:create fails
...y to run rake db:create or rake db:create:all the process stops and the databases are not created. I change the directives, putting --trace before the rake db:create and the steps are C:\appws\cookbook>rake db:create --trace (in C:/appws/cookbook) ** Invoke db:create (first_time) ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) ** Execute rails_env ** Execute db:load_config ** Execute db:create and, then, nothing happens. I´m using Windows 7 32 bits, MySql 5.5.9 (libmysql.dll 5.5.9), Rails 3.0.6, Ruby 1.9.2p180, GEM 1.7.2 and the gem list is *** LOCAL GEMS *** abstract (1.0...
2010 Jul 28
1
Problem loading YAML files and using pluralize method in Rails3rc
Hi, I just upgraded my rails app from rails3.0.0beta4 to rails3.0.0rc and I''m having problems loading a yaml file. I have a load_config.rb in the initializers folder which loads a yaml file. The basic loading code is: FACEBOOK_CONFIG = YAML.load_file(File.join(Rails.root, ''config'', ''facebooker.yml''))[RAILS_ENV] This stopped working when I moved to rails3rc. FACEBOOK_CONFIG returns nil. Also, I...
2011 Jan 01
1
[LLVMdev] "nmake check" doesn't work for MSVC
...fig.frompath(cfgpath, None, litConfig, mustExist = True) > File "M:\Development\Source\LLVM\utils\lit\lit\TestingConfig.py", line 44, in frompath > exec f in cfg_globals > File "M:\Development\x64-msvc\llvm\test\lit.site.cfg", line 19, in <module> > lit.load_config(config, "M:/Development/Source/LLVM/test/lit.cfg") > File "M:\Development\Source\LLVM\utils\lit\lit\LitConfig.py", line 65, in load_config > config = config) > File "M:\Development\Source\LLVM\utils\lit\lit\TestingConfig.py", line 44, in frompath >...
2008 Nov 10
1
[PATCH 1/1] COMBOOT API: Add get current working directory call to most (revised)
...2a2f6 100644 --- a/core/extlinux.asm +++ b/core/extlinux.asm @@ -43,6 +43,7 @@ SYMLINK_SECTORS equ 2 ; Max number of sectors in a symlink ; (should be >= FILENAME_MAX) ROOT_DIR_WORD equ 0x002F +CUR_DIR_DWORD equ 0x00002F2E ; ; This is what we need to do when idle @@ -845,7 +846,7 @@ load_config: mov si,config_name ; Save config file name mov di,ConfigName call strcpy - mov word[CurrentDirName], ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName + mov dword[CurrentDirName], CUR_DIR_DWORD ; Write './',0,0 to the CurrentDirName call build_curdir_str mov di,Co...
2013 Jun 29
0
rake db:create giving undefined method `' for nil:NilClass
....8.0) windows-api (0.4.2) windows-pr (1.2.2) * Installed at: C:/Ruby187/lib/ruby/gems/1.8* *When* *running* *rake db:create it is giving the following error:* E:\RubyonRails\Fedena\Fedena>rake db:create --trace (in E:/RubyonRails/Fedena/Fedena) ** Invoke db:create (first_time) ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) ** Execute rails_env ** Execute db:load_config ** Execute db:create rake aborted! undefined method `[]'' for nil:NilClass C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/databases.rake:55:in `cr eate_database'' C:/Ruby187/lib/ru...
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
...his issue I have tried multiple things that I have found on google, but yet have i found a solution. If someone could help me and point me in the right direction I would be much appreciated. Thanks. rake aborted! uninitialized constant Mysql::Error ** Invoke db:create (first_time) ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) ** Execute rails_env ** Execute db:load_config ** Execute db:create rake aborted! uninitialized constant Mysql::Error /Library/Ruby/Gems/1.8/gems/activerecord-3.0.0.beta2/lib/active_record/railties/databases.rake:68:in `create_database'' /Librar...
2011 Jun 09
1
Rails 3.1 RC4 has broken migrations
...e app/models/user.rb invoke test_unit create test/unit/user_test.rb create test/fixtures/users.yml jruby -S rake db:migrate $ jruby -S rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) ** Execute rails_env ** Execute db:load_config ** Execute db:migrate == CreateUsers: migrating ==================================================== -- create_table(:users) -> 0.0950s -> 0 rows == CreateUsers: migrated (0.0960s) ===========...