similar to: Stuck in read-only mode

Displaying 20 results from an estimated 600 matches similar to: "Stuck in read-only mode"

2006 Aug 06
4
Can''t run rails
Yesterday, I was having a problem with db:migrate. I was told my version of rails was too old, and I needed to install it from gems instead of the version in my version of Ubuntu. Since then, I''ve done that, and I built ruby 1.8.4 from source and installed it. The installation was to /usr/local/bin. As my distribution had put ruby 1.8.3 in /usr/bin, I renamed that and put a link to
2010 Aug 23
4
Segmentation Fault
Once more, with feeling. I''m trying to implement using xrc_replace so as to use a RichTextCtrl in a form created by FormBuilder. The problem is that I can''t even create a RichTextCtrl. When I try to, I get a segmentation fault. I''ve attached the files that are causing this. I''m running wxRuby on a box running an up-to-date PCLinuxOS distro. I''ve
2006 Aug 13
3
Why isn''t log working (Pragmatic Programming book)
I''m working my way through the Pragmatic Programmer book on RoR. Following their examples, I have the following code in a controller: begin @product = Product.find(params[:id]) rescue flash[:notice] = "Invalid product" logger.error("Attempt to access invalid product #{params[:id]}") redirect_to :action => :index else @cart = find_cart
2006 Aug 05
5
error with db:migrate
I''m new to ROR, and am working my way through the Agile Web Development Book. In the test application, the authors tell me to test my database connection by performing "rake db:migrate". When I do, I get the error "Don''t know how to build task ''db:migrate''" I''ve been looking around at the files, and I see a reference to a
2006 Aug 09
2
Ruby 1.8.5 Warnings in Rails
I have ruby 1.8.5 installed. Everytime I enter a rails command, I get a long stream of warnings telling me that the colon is being obsoleted, that a semicolon should be used instead. Does anyone know how to stop these warnings from coming up? They get in the way of real messages from rails. tia ---Michael -- Posted via http://www.ruby-forum.com/.
2006 Oct 06
3
params 101
This is incredibly basic, but... I have a form that has fields defined for password and password_confirmation. it is passing in the following data Parameters: {"commit"=>"Change Password", "admin"=>{"password_confirmation"=>"beagle", "password"=>"beagle"}, "id"=>"3" I thought that
2009 Apr 11
1
Wx::Timer
I want to process and event at regular time intervals. It appears that Wx::Timer should do the job, but I haven''t been able to figure out how to use in in wxruby. The documentation for this is still for C++. I''ve tried the following: (In my form class''s initialize method): @timer = Wx::Timer.new evt_timer(@timer.id) {|event| onTimer(event)} @timer.start(1000)
2010 Aug 12
2
wxRichTextCtrl not Working through wxFormBuilder
I''ve used wxFormBuilder to put a wxRichTextCtrl on my form. After doing this, I run xrcise and try to use the control. The variable for the rich text control is a FixNum. On examination, I saw that the class name in the xrc file is "unknown". Is there no way to use this control without manually laying out the controls - or writing this routine in C++? Does anyone know a
2005 Apr 21
1
Backward compatibility
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The latest version of rsync apparently can't talk to version 2.5 clients. When I tried connecting, I got an error message that the client needed to be upgraded to use more modern protocol. Was this intentional? As I can't change the version of rsync on the client side, I had to downgrade my version of rsync to connect to them. - ---Michael
2008 Mar 12
1
Ordering across related tables
I have two related tables: groups and categories. In the models, Group has_many "categories" Category belongs_to :group Category does have a column, "group_id" as required. Both the groups and categories tables have a "sortorder" column which dictates the order the items are to be presented. In my controller, I want to retrieve the Categories
2006 Nov 07
2
find_by_tag
What exactly is find_by_tag for? The rails documentation doesn''t really give a description of what it does. I tried doing a search for find_by_tag (and find_all_by_tag), but nothing turned up. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2009 Apr 02
1
Controlling vertical position
First, I want to thank everyone here who''s been helping me learn wxRuby. The biggest problem I''m having is getting the layout of a screen right. Right now, I have a dialog with several controls on it. With one exception, it looks good. I''m using wxFormBuilder and Xrcise to do the generation. I''m using nested box sizers to try to get things into the right
2006 Oct 06
4
HABTM question
While the habtm model for rails is very easy to use, some tables don''t seem to fit easily into that structure. The problem is that the link is (I believe) always done on the id column. One common table in a lot of databases is a state codes table with one column for state code, another for state name, and possibly others for different things about the state. Other tables that have
2005 Dec 06
1
Compilation problem 3.0.21rc2 Solaris 2.5.1 / Sparc + Sun CC
Hi Samba Geeks, I experience problems with unknown uint32_t type while building 3.0.21rc2 on Solaris 2.5.1 / Sparc + Sun CC. (cc: WorkShop Compilers 5.0 98/12/15 C 5.0) ./configure --with-acl-support --with-ldap=no --disable-cups --enable-static=yes --with-included-popt artdev.develo.onconfig.00 ) make Using FLAGS = -O -D_SAMBA_BUILD_ -I./popt -Iinclude
2006 Jan 17
2
chan_sccp crashes Asterisk on startup
Say there! This is a new Asterisk install on Fedora; I downloaded and installed Asterisk 1.2.1 and it runs fine. I downloaded the 20051217 version of chan_sccp, compiled and it installs ok. When I start Asterisk, it dies on startup at the activation/recognition of the chan_sccp module... A snippit from the startup: Asterisk Dynamic Loader Starting: [res_musiconhold.so] => (Music On Hold
2005 Dec 08
1
Build error of rpm for samba-3.0.21rc2 on Centos 4.2
Hi, I'm trying to compile samba 3.0.21rc2 in Centos 4.2 and I get this errors: First, this easy one: [root@mpl SOURCES]# rpmbuild -ta --clean --target=i686 samba-3.0.21rc2.tar.gz Building target platforms: i686 Building for target i686 error: File /usr/src/redhat/SOURCES/samba-3.0.21rc2.tar.bz2: No such file or directory I solved by creating a .bz2 file: tar xzf samba-3.0.21rc2.tar.gz tar
2002 Aug 29
0
fitting nlme model inside a function
I'm not an experienced user of the 'nlme' package but I ran into a curious problem recently that I couldn't find on the mailing list anywhere. I have simple function which calls 'groupedData' and 'nlme': g <- function(dataset) { unig <- groupedData(logfv ~ Vs+v1+v2+v3+PHA| EQ, data=dataset) modelfv <- nlme(logfv~a + c*log(Vs/a1)+ b1*( v1 +
2003 May 20
1
How to use pakcage SEM
Hi. I have tried to use Package "SEM". As a learning, I try to convert a program running well of EQS which is as follows to SEM: ### EQS ### /SPECIFICATION CAS=100; VAR=5 MAT=COR; ANA=COR; /EQUATIONS V1=*F1+E1; V2=*F1+E2; V3=*F1+*F2+E3; V4=**F1+*F2*E4; V5=*F2+E5; /VAR E1 TO E5=*; F1*1.0; F2=1.0; /COV E1,E2=*; F1,F2=*: /PRINT FIT ALL; /MATRIX ...... /END This is the converted SEM
2006 Jan 17
2
Sid S-0-0 is not in a valid format
Hi all, I'm trying to get winbind going on a different PC to the one I've already got working, but I can't figure out why winbind won't work on this other PC. It mostly works (wbinfo works, net ads testjoin reports OK) but "getent passwd" doesn't return anything. The winbind log reports this: [2006/01/17 15:27:15, 1] nsswitch/winbindd.c:main(976) winbindd
2005 Dec 07
1
Problem with Winbind on Solaris for Samba 3.0.21rc2.
Hello again, I have been testing Samba 3.0.21rc2 with Windows ADS support on SPARC/Solaris 8 and 9 and am experiencing problems with winbind for nsswitch. Firstly, can anyone confirm this configuration this works at all? Secondly, how did you get it to work? I am aware of various difficulties with winbind/nsswitch on Solaris and I thought I had done everything necessary to solve that. My