similar to: newbie--how do i load a parsed file?

Displaying 20 results from an estimated 200 matches similar to: "newbie--how do i load a parsed file?"

2006 Jul 24
2
Newbie error message!
hello you all, I''m new with Ruby on Rails. I''m developing an application. I got the follwoign erro, can anybody give a hand? ArgumentError in AdminController#import_strings wrong number of arguments (0 for 1) RAILS_ROOT: ./script/../config/.. Request Parameters: {"commit"=>"Import",
2006 Jul 27
7
Newbie question---
I wrote a ruby script that parses a file into key-values like so: class Parser table = { } IO.foreach(''Localizable.strings'') { |line| if line =~ /^ \s* " (.*?) " \s* = \s* " (.*?) "/x table[ $1 ] = $2 end } end I want to store the key-values in different colums on my database so that when I enter a key, it gives me the corresponding value...how
2006 Jul 31
10
nothing uploads.....why? (newbie question)
Hi everybody, I know this is an easy question but I don''t seem to see the solution. I''m trying to have a user select a file so that my code can parse it and populate the database with corresponding values. So far it seems like uploads but nothing shows in my db. Can anybody give me a hand? thanks view: h1>Importing Strings<h1>
2006 Jul 28
0
newbie----what''s wrong with my code
I know i''m new with ruby and i''ve been kind of confused with how rails manages all the details. I want to store the key-values in different columns on my database so that when I enter a eky, it gies me the corresponding value. this is what i have: my view: <h1>Importing Strings<h1> <%=error_messages_for("string_record")%> <%=
2006 Jul 21
1
Newbie Question about Ruby on rails---cant upload data
Hi everybody, Ruby on Rails is my first programming lenguage...it looks to me like i''m missing the big picture. I''m trying to upload a file into a database. In my app. my user needs to select a file and upload it...however I only want him to upload certain information from that file. I have written code to parse only string tables from that file. For example, the table
2006 Aug 02
4
is it possible to duplicate a key? --new
Im not very familiar with RoR so this question might be kind of silly. I want to store strings from different lenguages in a database. I want to have the key for the string in english be the ''key'' for all the corresponding traslations of that string. For example: (database columns) lenguage-------------key-----------------value----- english hello
2006 Jul 20
3
Newbie question-----Downloading a file and sending it to DB
Hi everyone, I''m new with RoR and I''m working on a project that uploads information (keys-values) from a file into a database. Here is the situation: Somewhere in this file there is a strin-table such as the following: "hello" = "hello world" "sayHIgh" = "Saying hello to the world" I have parsed the files with a ruby script in such a
2006 Nov 16
7
Negating or removing classes
I have a situation where I''d like to perform some actions when a node is removed from a class. I have a few (homegrown) services that install ssh keys in authorized_keys and it''s possible that a node may have the service enabled and disabled during it''s lifetime. When disabled I''d like to clean up the ssh keys for security reasons. This brings up the broader
2010 Aug 13
2
samba-3.5.4 + OpenLDAP
Hi folks, I having a problem compiling Samba (Last Stable Version) from source on a Debian fresh install. Escenario: OS: Debian Lenny 5 64 bits Kernel: 2.6.26-2-amd64 Samba Version: 3.5.4 OpenLDAP Version: slapd_2.4.11-1 I tried this before and after the OpenLDAP installation and always have the same error: ./configure --with-ldap --with-ldapsam . . . . . checking for LDAP support...
2000 Nov 21
1
Exist the S 'dates' function in R?
Good afternoon, I am a new user of the R application, and I don't know to much about the lenguage. I am trying a to run some of the S programs I have, and some of them are crashing with the "dates" function. This function translate a character string into a 'dates representation object'. Do you know if there is a similar function in R? Thank you very much for your help
2007 Feb 14
2
Solaris 10 and "store dos attributes"
I'm having trouble with files being marked read-only in Windows because the Solaris file owner does not have write-permissions on the file; group-write is allowed: -r--rw---- 1 user group 32 Feb 13 14:19 testfile.txt I thought that setting "store dos attributes = yes" for this share would allow the "read only" setting to be stored in extended attributes, but it
2013 Mar 14
4
exec resource not refreshed when subscribed resource changes
Hello, I''ve created a little class which should unpack a 7z archive on Windows. The class has a parameter for passing in the archive version, so that I can trigger an update when a new version of the archive is available. A simplyfied version looks like this (requires 7z): class my_archive ($version = undef) { file { ''version'': path =>
2010 Apr 01
0
OpenSSH Coredump and "Bad packet length" errors seen on 5.10 sparc sun4v (Generic_125100-10)
Hi, OpenSSH coredump was seen on our customer's side causing ssh login slow and manual command not workable. We need help to identify the root cause. Thanks!! >> Background: 1) server info: # uname -a SunOS owtnmncccm0cnmo 5.10 Generic_125100-10 sun4v sparc SUNW,Netra-CP3060 bash-3.00# /usr/local/bin/ssh -v OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 bash-3.00# cat
2006 Jul 21
2
is there a debugger for Ruby?
Hi there, I''m trying out Ruby on Rails for the first time. I want to know if there is a good debugger for it. Does anybody know of one? Thanks -- Posted via http://www.ruby-forum.com/.
2005 May 04
2
exop vs md5
WHat is the significance to Samba of pam_password exop vs pam_password md5 in ldap.conf? The reason I ask is that, wherever possible, I prefer to use the vendor supplied tools for manipulating config files. With Fedora 3 it's system-config-authentication and it doesn't give you the option of exop. You either enable MD5, which puts pam_password md5 in ldap.conf, or disable it, which puts
2004 Oct 07
0
NT4 Domain Member Server Access Denied v3.07
I want to set up a Samba Server (Cactus_3) as member server in our NT4 domain (PDC is Cactus_1, BDC is Cactus_2). We have about 50 client workstations most of which are WinXP but we have a few Win2K and Win98 machines. Shortly we will migrate off the NT4 servers but in the meantime we wish to test some real time scenarios. It is for this reason that I want SSO so the tests are transparant
2024 Dec 23
1
rsync: [sender] read errors mapping "file" : Input/output error (5)
Happened again : root at Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# sudo rsync -azvvP FreeBSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD sending incremental file list delta-transmission disabled for local transfer or --whole-file FreeBSD-141-UFS-sdc-DarkMatter.img 320,072,933,376 *100%* 80.31MB/s 1:03:20 (xfr#1, to-chk=0/1) rsync: [sender] read errors mapping
2024 Dec 23
1
rsync: [sender] read errors mapping "file" : Input/output error (5)
>Almost certainly your drive is going bad. On Linux I'd tell you to check dmesg for drive errors, I don't know what the FreeBSD equivalent is. But I strongly recommend that you treat that drive as "going to fail any second". I'm not sure that this is the reason. I see the error regardless of the USB disks that I use. And I have a lot of USB disks,10 disks. No,I
2024 Dec 23
2
rsync: [sender] read errors mapping "file" : Input/output error (5)
What would you think if I told you that using Windows I no longer had that problem ? Would you still think that there are hardware problems ? And if so, why would they only manifest themselves using Linux and FreeBSD and not using Windows? On Mon, Dec 23, 2024 at 9:38?PM Robin Lee Powell < rlpowell at digitalkingdom.org> wrote: > Then you get to look at other hardware; CPU, RAM,
2024 Dec 23
1
Re: rsync: [sender] read errors mapping "file" : Input/output error (5)
Mario, Are you running windows on the same hardware as Linux/BSD ? Is it a dual-boot system? If you have different systems for windows vslinux, it's possible there is a HW issue with one of them. Tom On 24 December 2024 7:44:16?am GMT+12:00, Mario Marietto via rsync <rsync at lists.samba.org> wrote: > What would you think if I told you that using Windows I no longer had that