f



Syntax error: Unterminated quoted string

Hi,

I have a strange problem which I can't solve myself - I have an 
sh-shell script to unpack a longer list of zip-files on CygWin/Win2k:

afarber@D6000182 /cygdrive/k
$ uname -a
CYGWIN_NT-5.0 D6000182 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown
unknown Cygwin

afarber@D6000182 /cygdrive/k
$ unzip -v | head -1
UnZip 5.50 of 17 February 2002, by Info-ZIP.  Maintained by C.
Spieler.

And my problem is that when I use #!/bin/sh -x 
as the shebang line, everything unpacks just fine:

......
+ unzip /cygdrive/s/thunder_04w37//tcf_sat.zip
Archive:  /cygdrive/s/thunder_04w37//tcf_sat.zip
  inflating: tcf_sat/cmmphonetreceiver.h
  inflating: tcf_sat/cmmphonetsender.h
  inflating: tcf_sat/cmmsmsgsmaddress.h
  inflating: tcf_sat/cmmsmsgsmutility.h
+ unzip -d s60pkgs /cygdrive/s/thunder_04w37//s60.zip *.[Zz][Ii][Pp]
Archive:  /cygdrive/s/thunder_04w37//s60.zip
 extracting: s60pkgs/3D_OpenGL_ES.zip
 extracting: s60pkgs/About.zip
 extracting: s60pkgs/ActiveIdle.zip
 extracting: s60pkgs/activitymanager.zip
......

But when I remove the -x from the shebang line,
I get the following error at the place listed above:

+ unzip /cygdrive/s/thunder_04w37//tcf_sat.zip
Archive:  /cygdrive/s/thunder_04w37//tcf_sat.zip
  inflating: tcf_sat/cmmphonetreceiver.h
  inflating: tcf_sat/cmmphonetsender.h
  inflating: tcf_sat/cmmsmsgsmaddress.h
  inflating: tcf_sat/cmmsmsgsmutility.h
/cygdrive/h/bin/thunder_getenv.sh: 98: Syntax error: Unterminated
quoted string

Does anybody please have an idea, what could that be?
The referenced part of the script is listed here:

SOURCEDIR=$1
S60PKGS=s60.zip
......
# extract all files from $ZIPFILES
for zipfile in $ZIPFILES; do
	unzip $UNZIPFLAGS "$SOURCEDIR/$zipfile"
done

# extract all zip-archives contained in the $S60PKGS
unzip -d s60pkgs $UNZIPFLAGS "$SOURCEDIR/$S60PKGS" '*.[Zz][Ii][Pp]'
for zipfile in s60pkgs/*.[Zz][Ii][Pp]; do
	unzip $UNZIPFLAGS $zipfile
done
rm -rf s60pkgs


The s60pkgs/ dir is not created (when the -x is omitted and the 
script fails), so something is fishy with unzip call at line 98 above:
unzip -d s60pkgs $UNZIPFLAGS "$SOURCEDIR/$S60PKGS" '*.[Zz][Ii][Pp]'

Regards
Alex
0
10/7/2004 9:58:12 AM
comp.unix.shell 15484 articles. 3 followers. Post Follow

5 Replies
3306 Views

Similar Articles

[PageSpeed] 23

2004-10-7, 02:58(-07), A. Farber:
[...]
> I have a strange problem which I can't solve myself - I have an 
> sh-shell script to unpack a longer list of zip-files on CygWin/Win2k:
[...]

Maybe an invisible character in the script? Try a cat -vte
the-script.sh.

Do you get the same with "bash" instead of "sh"?

-- 
Stephane
0
Stephane
10/7/2004 10:05:36 AM
Sorry! Please ignore my question:

All 3 times when I had this problem, I have been editing
the script during its execution by the CygWin's bash (as it 
runs over 45 min.) I think that's what caused the problem

Thank you Stephane for your help!

A. Farber wrote:
> But when I remove the -x from the shebang line,
> I get the following error at the place listed above:
> 
> + unzip /cygdrive/s/thunder_04w37//tcf_sat.zip
> Archive:  /cygdrive/s/thunder_04w37//tcf_sat.zip
>   inflating: tcf_sat/cmmphonetreceiver.h
>   inflating: tcf_sat/cmmphonetsender.h
>   inflating: tcf_sat/cmmsmsgsmaddress.h
>   inflating: tcf_sat/cmmsmsgsmutility.h
> /cygdrive/h/bin/thunder_getenv.sh: 98: Syntax error: Unterminated
> quoted string
> 
0
A
10/7/2004 2:44:10 PM
In article <slrncma57g.27k.stephane.chazelas@spam.is.invalid>, Stephane
CHAZELAS wrote:
> 2004-10-7, 02:58(-07), A. Farber:
> [...]
>> I have a strange problem which I can't solve myself - I have an 
>> sh-shell script to unpack a longer list of zip-files on CygWin/Win2k:
> [...]
> 
> Maybe an invisible character in the script? Try a cat -vte
> the-script.sh.

One of my favorite "bizarre problem" solver tips, although I usually call it as:

$ cat -vet file

I have the mnemonic of taking my cat to the vet to see what is wrong :)

> Do you get the same with "bash" instead of "sh"?

Kevin
0
spamtotrash
10/7/2004 6:35:52 PM
In article <_Cc9d.27194$k4.527042@news1.nokia.com>, A. Farber wrote:
> Sorry! Please ignore my question:
> 
> All 3 times when I had this problem, I have been editing
> the script during its execution by the CygWin's bash (as it 
> runs over 45 min.) I think that's what caused the problem
> 
> Thank you Stephane for your help!
> 
> A. Farber wrote:
>> But when I remove the -x from the shebang line,
>> I get the following error at the place listed above:
>> 
>> + unzip /cygdrive/s/thunder_04w37//tcf_sat.zip
>> Archive:  /cygdrive/s/thunder_04w37//tcf_sat.zip
>>   inflating: tcf_sat/cmmphonetreceiver.h
>>   inflating: tcf_sat/cmmphonetsender.h
>>   inflating: tcf_sat/cmmsmsgsmaddress.h
>>   inflating: tcf_sat/cmmsmsgsmutility.h
>> /cygdrive/h/bin/thunder_getenv.sh: 98: Syntax error: Unterminated
>> quoted string

That will do it every time! :)

Kevin
0
spamtotrash
10/7/2004 6:36:14 PM
Kevin Collins wrote:
 >>A. Farber wrote:
 >>
 >>>But when I remove the -x from the shebang line,
 >>>I get the following error at the place listed above:

 >>>/cygdrive/h/bin/thunder_getenv.sh: 98: Syntax error: Unterminated
 >>>quoted string

>>All 3 times when I had this problem, I have been editing
>>the script during its execution by the CygWin's bash (as it 
>>runs over 45 min.) I think that's what caused the problem

> That will do it every time! :)

....but only in sh, bash and old ksh's. Newer ksh's, perl, python etc. 
all read the source file once and run from memory. It doesn't matter if 
you edit the file while they are running.

of course that doesn't make it really "good practice"�, just the same :-)

Steve
0
Stephen
10/7/2004 9:57:15 PM
Reply:

Similar Artilces:

Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: token '=': syntax error"
I'm in /sys/src/9/pc and I type `mk CONF=9pcdisk` and rc gives me the error "rc: #d/0: token '=': syntax error". Why is this? Just doing mk works fine (I think). Thanks! Plan9 looks very cool... just finished reading through intro (all of it). you're using backquotes, why? that would be `{mk CONF=3D9pcdisk} in rc's syntax. now to compile that kernel the syntax is: % mk 'CONF=3Dpcdisk' now are you sure you want a pcdisk?=20 On Jul 19, 2012, at 6:07 AM, kalaracey@gmail.com wrote: > I'm in /sys/src/9/pc and I type >=20 > `mk CONF=3D9pcdisk` >=20 > and rc gives me the error "rc: #d/0: token '=3D': syntax error". >=20 > Why is this? Just doing mk works fine (I think). >=20 > Thanks! Plan9 looks very cool... just finished reading through intro = (all of it). >=20 --- Federico G. Benavento benavento@gmail.com --0015174757f6baa65404c52b40a6 Content-Type: text/plain; charset=UTF-8 9pcdisk is the output file, not the configuration file. Also you need to quote the = because it is special to rc (assignment). Try mk 'CONF=pcdisk' On 19 July 2012 10:07, <kalaracey@gmail.com> wrote: > > `mk CONF=9pcdisk` --0015174757f6baa65404c52b40a6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 9pcdisk is the output file, not the configuration file. Also you need to qu= ote the =3D becaus...

syntax error: operand expected (error token is " ")
How can I resolve this error: ../cpu_percentage: line 16: ((: ROW_0 = : syntax error: operand expected (error token is " ") ../cpu_percentage: line 16: ((: ROW_0 = : syntax error: operand expected (error token is " ") ../cpu_percentage: line 16: ((: ROW_0 = : syntax error: operand expected (error token is " ") ../cpu_percentage: line 16: ((: ROW_0 = : syntax error: operand expected (error token is " ") ../cpu_percentage: line 16: ((: ROW_0 = : syntax error: operand expected (error token is " ") ../cpu_percentage: line 16: ((: ROW_0 = : syntax error: operand expected (error token is " ") ../cpu_percentage: line 16: ((: ROW_0 = : syntax error: operand expected (error token is " ") ../cpu_percentage: line 16: ((: ROW_0 = : syntax error: operand expected (error token is " ") ../cpu_percentage: line 16: ((: ROW_0 = : syntax error: operand expected (error token is " ") 10176147 (notice it does infact have the desired value too) ....from this code: #!/bin/bash COMMANDS="awk" for i in $COMMANDS do X=`echo $i|tr [a-z] [A-Z]` export $X=`which $i` done FILE="/proc/stat" while read ARRAY_0 do ROW_0=`echo "$ARRAY_0" | $AWK '/cpu0 / {print $2}'` (( ROW_0 = $ROW_0 )) done < $FILE echo ${ROW_0} exit 0 "Perry Whelan" <meba@wi.rr.comnojunk> writes: > How can I resolve this error: > ./cpu_percentag...

Error: "syntax error: got (, expecting Newline"
Hi friends i tried to compile following programs and link it, i got an error like // hellofunc.h /* example include file */ extern void myPrintHelloMake(void); // hellomake.cpp #include "hellofunc.h" int main() { // call a function in another file myPrintHelloMake(); return 0; } // hellofunc.cpp #include "hellofunc.h" #include <iostream.h> void myPrintHelloMake(void) { cout<<"Hello make files \n"; return; } i compiled the file with following commands on MKS KORN SHELL cc hellofunc.cpp cc hellomake.cpp cc -hello hellofu...

ERROR MESSAGE "syntax error near unexpected token `do "
I'm a newbie to this, so I'm just trying to run a simple program and I'm gettting the followig error, syntax error near unexpected token `do , the below program is what I'm running. I'm running it on a Linux box if makes a difference. for i in 1 2 3 4 5 do echo "Welcome $i times" done vtcad wrote: > I'm a newbie to this, so I'm just trying to run a simple program and > I'm gettting the followig error, syntax error near unexpected token > `do , the below program is what I'm running. I'm running it on a Linux > box if makes a difference. > > > for i in 1 2 3 4 5 > do > echo "Welcome $i times" > done > Most likely it's a file generated on a WinDOS system or at least with some superfluous CR's; remove those CR's (^M's) at the line ends using dos2unix. Janis On 13 Apr 2007 11:08:13 -0700, vtcad <Roland.Fontaine@gmail.com> wrote: > > > I'm a newbie to this, so I'm just trying to run a simple program and > I'm gettting the followig error, syntax error near unexpected token > `do , the below program is what I'm running. I'm running it on a Linux > box if makes a difference. > > > for i in 1 2 3 4 5 > do > echo "Welcome $i times" > done > What shell are you using? Did you edit the script on the Linux machine or in Windows? -- Boy! Eucalyptus! On Apr 13, 2:39 pm, Bill Marcum <marcum...

GD.c: 533: error: syntax error before "void"
Trying to build the GD module. Any clues appreciated. I've rebuilt prerequisite libs. I've added local -I -R params to Makefile.PL and to gcc command line. I've removed random params from gcc command line. :-) The error messages remain exactly the same. I have not tried Sun C, I'd have to recompile a lot of stuff. I have not tried a more recent version of Perl, the owner of the box would nix installing that, though maybe I can pirate cycles on someone else's box. Build step and output: gcc \ -c \ -I/usr/ucc/src/working/gd-2.0.33/Dist/include \ -I/usr/local/include \ -I/usr/ucc/src/working/GD-2.32 \ -fno-strict-aliasing \ -I/usr/local/include \ -D_LARGEFILE_SOURCE \ -D_FILE_OFFSET_BITS=64 \ -O \ -DVERSION=\"2.32\" \ -DXS_VERSION=\"2.32\" \ -fPIC \ -I/usr/ucc/lib/perl5/5.6.1/sun4-solaris/CORE \ -DHAVE_JPEG \ -DHAVE_FT \ -DHAVE_XPM \ -DHAVE_GIF \ -DHAVE_PNG \ -DHAVE_ANIMGIF \ -DVERSION_33 \ -DHAVE_UNCLOSEDPOLY \ -DHAVE_FTCIRCLE \ GD.c GD.c:533: error: syntax error before "void" GD.xs: In function `XS_GD__Image_trueColor': GD.xs:545: error: `dMY_CXT' undeclared (first use in this function) GD.xs:545: error: (Each undeclared identifier is reported only once GD.xs:545: error: for each function it appears in.) GD.xs:549: error: `MY_CXT' undeclared (first use in this function) GD.xs: In function `XS_GD__Image__new': GD.xs...

"a string".xor("another string")
I want to do an XOR of two strings: "a string".xor("another string") It's not that hard to implement, but it's not fast either, since it walks through the data string, byte-by-byte. Any ideas? For example: "It's memory-hungry!". Any solutions? gegroet, Erik V. - http://www.erikveen.dds.nl/ ---------------------------------------------------------------- class String def xor(other) if other.empty? self else a1 = self.unpack("c*") a2 = other.unpack("c*") a2 *= 2 while a...

Writing a "String#jindex" method to do the same for "index" as "String#jlength" does for "length"
So I've been using the 'jcode' library to get UTF-8 support and wanted to add a convenience method called "jindex" that would work with multi- byte characters in much the same way that "jlength" does. The basic idea is to call the real "index" method to do the work, and then convert the returned byte-count index into a character-count index before returning it to the user. This works fine, but the problem is that I can't find a way to propagate $~ back to the user. That is, after calling this: 'foo'.index /foo/ $~ is set and $~[0] is &q...

Error message "String or Binary data would be trunicated", " The statement has been terminated"
Dear All, I have written an update trigger that should write a message to an audit table When I try to update any field in the table I recieve the following error message - [ODBC Sql Server Driver] [Sql Server] Stirng or Binary data would be trunicated [ODBC Sql Server Driver] [Sql Server] The statement has been termined. I have looked and what has been suggested is to use the response.write len() to check the length of field that I am updating. Being fairly new to SQL-Server, I do not know how to do this. Any help will be most welcome. Thanks, Jeff Jeff Magouirk wrote: > I have looked and what has been suggested is to use the > response.write len() to check the length of field that I am updating. > Being fairly new to SQL-Server, I do not know how to do this. Any > help will be most welcome. Response.Write is an ASP thing, not a SQL thing. You can't reference Response.Write within a trigger. Post your trigger and let's see what you have. The error indicates that you are trying to put a string into a field and the string is longer than the field is declared to be. You can suppress the error with SET ANSI_WARNINGS OFF, but the data itself will still be truncated to fit the field. -- Steve Troxell [posted and mailed. please reply in news] Jeff Magouirk (magouirkj@njc.org) writes: > I have written an update trigger that should write a message to an audit > table When I try to update any field in the table I recieve the fo...

Error in page when checking http_get_vars("myvar") and "myvar" was not passed in URL string
I am new to PHP, coming from ASP coding if (HTTP_GET_VARS['b']==1){ print "Yes"; }else{ print "No"; } when "b" is not passed via (http://www.mydomain.com?b=1 an error occurs and the "NO" is printed but an error is printed too. How can I check for the value of "b" so that no error occurs if b is not passed?? example http=www.mydomain.com $myvar=HTTP_GET_VARS['b'] causes an error because "b" does not exist (ie. its not passed in the URL string. $myvar maybe evaluated as NULL or Empty but the error is printed in the page, anyway. thanks John Pastrovick wrote: > I am new to PHP, coming from ASP coding > > if (HTTP_GET_VARS['b']==1){ > print "Yes"; > }else{ > print "No"; > } > > when "b" is not passed via > (http://www.mydomain.com?b=1 > > an error occurs and the "NO" is printed but an error is printed too. > > How can I check for the value of "b" so that no error occurs if b is > not passed?? > > example > > http=www.mydomain.com > > $myvar=HTTP_GET_VARS['b'] > > causes an error because > "b" does not exist (ie. its not passed in the URL string. > > $myvar maybe evaluated as NULL or Empty but the error is printed in > the page, anyway. > > > thanks First of all $HTTP_GET_VARS is old you should use $_GET['b'] n...

I NEED HELP!!!
This is a multi-part message in MIME format. ------=_NextPart_000_0035_01C495FC.4C2AFF40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I'm using PostgreSQL 7.3.4 on phpPgAdmin 2.4.2 and I'm getting the following error when I try and run a SQL query on a script: Error - /usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin/db_readdump.php -- Line: 33 PostgreSQL said: ERROR: parser: unterminated quoted string at or near "'Black Tea\015\012Fresh range of leaf tea for drinking black or with milk,\015\012includ...

Lib X11 compile problem /Xlib.h:3573: error: syntax error before "_X_SENTINEL"
Hello all, i try to compile the X11R7.1 packages. For it i have to compile the lib x11 which fails with the following error/log: -bash-2.05b# ./configure --enable-loadable-i18n checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU checking ...

when i use "vxload bootrom" in the dos shell,i get the error message "not enough memory to load".
when i use "vxload bootrom" in the dos shell,i get the error message "not enough memory to load".why???????? in my config.sys I already set the "DOS=HIGH,UMB"and "FILE=30". my tornado's version is 2.2,and vxworks is 5.5 ...

"if: Expression syntax" error
hi i believe there was a post on a similar problem in 2005. cud not post there since it had already been closed by the moderator. neways, i have been getting this error for the past few days: if: Expression syntax whenever i open cadence. it doesnot open library manager either. when i try to open it separately, it just hangs up and gives the same error along with a statement that it gave up after 60 tries or something. everything had been running fine for the last few months. suddenly, one fine day it starts giving this error. i am running cadence on fedora 64-bit version. i have tried what was suggested earlier: sh -xv 'icfb' could not find any broken 'if...fi' expressions. any ideas on how to rectify this error? thanx in advance. SP you have a .cdsinit file in your home directory or in the directory you are starting the framework from? If so, move it aside and try again. does that help? -jim Pleasedontreplytoemailaddress wrote: > hi > > i believe there was a post on a similar problem in 2005. cud not post > there since it had already been closed by the moderator. > > neways, i have been getting this error for the past few days: > > if: Expression syntax > > whenever i open cadence. it doesnot open library manager either. when i > try to open it separately, it just hangs up and gives the same error > along with a statement that it gave up after 60 tries or something. > > everything had been running fin...

Suggestion for "syntax error": ++i, --i
Hi, Summary: In my opinion, the C-like prefix increment and decrement operators (++i and --i) should be marked as "syntax error". Current situation: try... (Python 2.4 (#60, ...)) >>> i =3D 1 >>> i 1 >>> i++ File "<stdin>", line 1 i++ ^ SyntaxError: invalid syntax >>> ++i 1 >>> --i 1 >>> Reason for how ++i and --i behaves in Python is=20 that it is probably treated as (-(-i)) and (+(+i)) respectively. Rationale: My guess is that many Python users do use other languages at the same time.=20 The C-fa...

using std::string; string("hello") vs std::string("hello") in header file.
In Accellerated C++, the author recommends that in a header file one should not declare using std::string, using std::vector etc instead one should directly specify the namespace specifier in code. for example, this is bad practice: header.h #include <string> using std::string; class a{ string x; }; instead, one should write: #include <string> class a{ std::string x; }; The reason given by the author is that 'using std::string' actually pollutes the scope where 'using std::string' is declared. I find this style is rather inconvenient when I want to experiment with different implementation of certain classes in large projects. For example, I may want to try myns::string or john::string, it's actually much easier to replace 'using std::string' to 'using myns::string' and instantly switch to another string implementation. This is much better than going through all the instances of 'std::string variable' and replace them to 'myns::string variable'. What are your thoughts on this coding style? Fei Liu wrote: > In Accellerated C++, the author recommends that in a header file one > should > not declare > using std::string, using std::vector etc instead one should directly > specify > the namespace specifier in code. Doesn't it say "at top level"? > The reason given by the author is that 'using std::string' actually > pollutes > the scope where 'using...

Why is the difference between "Error Out.ctl" and "Error Out 3D.ctl"?
&nbsp; What is 'Error Out 3D.ctl' in LabVIEW 7.0? [It's found in 'Controls > Array & Cluster'.] Does it differ functionally from the old 'Error Out.ctl' found in 'Controls > Classic Controls > Classic Array & Cluster'? Or are the differences simply cosmetic? Neither of these controls seems to have an entry in LabVIEW Help. &nbsp; Oops - 'Why is' == 'What is' > Does it differ functionally from the old 'Error Out.ctl' found in > 'Controls > Classic Controls > Classic Array & Cluster'...

(string-bytes "\x80") = (string-bytes "\200") ?
Emacs 21.2.1 correctly says (string-bytes "\x80") = 1 (string-bytes "\200") = 1 But Emacs 22.0.91.1 says (string-bytes "\x80") = 2 (string-bytes "\200") = 1 Since \x80 = \200 = 128, I think it should be 1 in all cases. Is this a bug in 22.0.91.1? On Dec 20, 6:10 pm, "Daniel Engeler" <enge...@gmail.com> wrote: > Emacs 21.2.1 correctly says > > (string-bytes "\x80") = 1 > (string-bytes "\200") = 1 > > But Emacs 22.0.91.1 says > > (string-bytes "\x80") = 2 > (string-bytes "\...

Copy String structure "A" to string structure "B"
Hello! I need copy from structure "A" to "B" that contains "strings" in a one line code. Me problem like this : typedef struct tHeader{ char field1[4]; char field2[3]; char field3[2]; char field4[1]; }; struct tHeader Header,*pHeader; char buffer[100]; pHeader=&Header; strcpy(buffer,"ABCDEFGHIJKLMNOPQRSTUVWXYZ"); memcpy(pHeader,&buffer,sizeof (struct tHeader)); printf("field1 : %s : ",pHeader->field1); printf("field2 : %s : ",pHeader->field2); printf("field3 : %s : ",pHeader->field3); printf("field4 : %s : ",pHeader->field4); What i need ? pHeader->field1 ==>"ABCD" pHeader->field2 ==>"ABC" pHeader->field3 ==>"AB" pHeader->field4 ==>"A" Someone helpme ? Cheers! In article <dd884995.0502081252.6c8c6b99@posting.google.com>, Leo Nunez <leo.nunez@gmail.com> wrote: :I need copy from structure "A" to "B" that contains "strings" in a one line code. In the code you show, you are not copying structure to structure: you are copying from a character array to a structure. :typedef struct tHeader{ : char field1[4]; : char field2[3]; : char field3[2]; : char field4[1]; :}; :strcpy(buffer,"ABCDEFGHIJKLMNOPQRSTUVWXYZ"); :memcpy(pHeader,&buffer,sizeof (struct tHeader)); What about internal padding and alignments? :printf(&quo...

MAC SE: "Bomb" "Sys Error" / Address error" at start
Stephen Buggie (505) 863-2390 Psychology Department Univ. of New Mexico, Gallup February 15, 2006 200 College Road Gallup NM 87301 buggie@unm.edu NEED RESCUE DISK! MAC SE -- BOMB System Error / Address Error ------------------------------------------------------------------------------------------------ Dear Macintosh experts, My Mac SE crashes at power-up. I gives the bell-chime, then it proceeds though the launch sequence. After showing two extension-icons, it crashes. Then a dialogue-box shows the BOMB icon with the message, SORRY, A SYSTEM ERROR HAS OCCURRED --- ADDRESS ERROR It never reaches the desktop; this crash occurs every time. The Mac SE has a 330 meg internal hard drive, System 6.x.x, and a 1.4 meg internal 3.5 floppy drive. There is a SCSI port but no internal CD reader. The b/w screen is extremely sharp in its focus. The computer worked fine until about a year ago, when I stupidly put a file in the wrong folder. It has crashed consistently ever since! It has an assortment of software on the hard drive, but I have backups of everything and am willing to reformat the entire hard drive if necessary to get the computer working again! If I can resurrect the computer, I hope to upgrade the system to System 7.0 or 7.1 . DONE SO FAR: Yes, I have launched it with shift-key down, to turn off the extensions, but it always crashes Ive also tried vari...

compile error re: Open Office 1.1.2 -> com_sun_star_lib_connections_pipe_PipeConnection.c: 558 syntax error before "void"
Anyone solved this ? Thank you, Courtney ...

syntax error "missing ; before statement"
I am getting the syntax error message "missing ; before statement" on the line with the asterisks. I thought maybe it was because the wave is a number 0-9 beginning the select object? I really don't know. The data type for wave is text. This is a search form with 5 fields and 4 related value lists. The first 2 are wave and bu. This is a work around script for IE 7 and AJAX cascading drop down lists using a hidden hard wired option list of wave and bu.. IE can only handle 2 at a time. . The 2nd bu list will display according to the selected wave. There are 2 bu lists. One is hidden. I have it visible right now for testing. The selectObj forms the bu list for the selected wave. The RegEx object searches through the hidden list comprising both bu and wave to find the right bu's for the wave selected and displays in the select object.. The bu's are 5 digits that is why the substring is 5, as I mentioned the first number is the wave and the rest is the bu in the hidden option list. I just have to find out where this error message is coming from. thanks, function fillBu(){ var functionlist=new Array(); var wv=document.forms[0].search_wave.value; var selectObj=document.forms[0].search_bu; var maxNumToShow=20; for (i=0;i< document.forms[0].hiddenWVBU.options.length;i++){ functionlist[i]=document.forms[0].hiddenWVBU.options[i].text; } functionListLength=functionlist.length; ...

syntax error? "cannot find symbol"
Hi! An beginner question: Pleas help me with this (-: Error (the arrow points on the s in sqrt) ===== tal.java:6: cannot find symbol symbol : method sqrt(int) location: class tal System.out.println(i + ": " + sqrt(4)); ^ 1 error Source ===== class tal { public static void main(String[] arguments) { for (int i=0; i<11; i++) { System.out.println(i + ": " + sqrt(4)); } } } /Bjorn "Bjorn Jensen" <b.d.jensenremvoe@gmx.net> wrote in message news:44c361de$0$3482$ba624c82@nntp02.dk.telia.net... > Hi! > An beginner question: > Pleas help me with this (-: > > Error (the arrow points on the s in sqrt) > ===== > tal.java:6: cannot find symbol > symbol : method sqrt(int) > location: class tal > System.out.println(i + ": " + sqrt(4)); > ^ > 1 error > > Is you sqrt function even made? If not then you should make it. If you have made the function sqrt, you probably have made it static since you want to reference from inside the main function. Unfortunately Java doesnt allow that. Just going to elaborate on what I said: You can't use the arithmetic operators you would normally use on primitives (i.e. double) on objects (i.e. Double). eg 1 + sqrt(4). If you have made the function sqrt then you can make the function return an int or ...

Newbie: "error in your SQL syntax"
Can anyone help me, going nuts with this error which defies logic (the stuff I thought computing was based on'. My full sql statement is $sql = "UPDATE tblNames SET (lastname='$lastname',firstname='$firstname',title='$title',country='$country', isfemale=$tf,nationality='$nationality',tels='$tels',email='$email',DNI='$DNI',usernotes='$usernotes', employment='$employment',address='$address',zip='$zip',DOB='$DOB',username='$username',adminnotes='$adminnotes', modified=NOW(),ULX=$UULX) WHERE ID=".$selid; and I get a "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near..." BUT -. having narrowed it down to one field, a variable I am using to update the record with, ie, the term 'ULX=$UULX' I find that just using - $sql = "UPDATE tblNames SET ULX=$UULX WHERE ID=".$selid; causes the error to occur, ULX is a smallint unsigned, ID is a mediumint unsigned. When the error occurs, ID (and selid) is numeric 1 (the first record) and the value of the $UULX var being assigned to ULX is 3. I cannot see any RESERVED word, syntax or other conflict, can anyone tell me why this might be happening? If its relevant, my platform is Windows Pro XP/IIS, pHP, MySQL using Localhost, but I don't understand why that should ...

What is "error 8"
I set up an external serial modem using the Red Hat GUI networking tool as a generic modem device. However, when I hit the "Activate" button, I get the message, "Failed to activate device with error 8." Where can I find what "error 8" means? Thanks. No one responded, but for the benefit of any other newbies who encounter this problem, here is the solution: I looked in the System Log and saw that the modem did not find a dial tone. I plugged in a phone line, and the "Activate" command worked fine. (I had not realized that "Activate" meant "Connect.") Crooked River wrote: > I set up an external serial modem using the Red Hat GUI networking tool > as a generic modem device. However, when I hit the "Activate" button, > I get the message, "Failed to activate device with error 8." Where can > I find what "error 8" means? > System error numbers can be found in /usr/include/asm/errno.h The only problem is that there is no assurance that that is what the program is displaying. #define ENOEXEC 8 /* Exec format error */ does not sound like what you are really getting. The best bet would be to look at the source of the program that is producing that error message. Unfortunately, the scattered shell scripts, programs, and whatnot concerned with networking, especially dial-up networking is a spaghetti mess, and if your ...

Web resources about - Syntax error: Unterminated quoted string - comp.unix.shell

International Emergency Economic Powers Act - Wikipedia, the free encyclopedia
The International Emergency Economic Powers Act ( IEEPA ), Title II of Pub.L. 95–223 , 91 Stat. 1626 , enacted October 28, 1977, is a United ...

About the security content of Safari 5.0 and Safari 4.1
This document describes the security content of Safari 5.0 and Safari 4.1.

$340 audiophile Ethernet cable only rates “marginal” on the test bench
... an interesting mix of high craftsmanship (a thick polyethylene sheath, genuine S/FTP construction) and corner cutting (masking tape, unterminated ...

Microphones: Lavalier
Microphones: Lavalier BP896 Subminiature Omnidirectional Condenser Lavalier Microphone, less power module; 1.4 m (55-inch) cable, unterminated. ...

Victoria Strauss New Publishers: To Query or Not to Query
Like brand-new agents building a client list, brand-new publishers looking for manuscripts can seem like a very attractive prospect, especially ...

Site Map
Site Map Our Online Store (Home) Shop by Cable Application: Component Video Cables Component Video Price List VGA to Component Video Cables VGA ...

Who needs expensive audio cables?
Unless you're a hard-core audiophile, don't even think of buying expensive speaker wires or interconnect cables. Read this article by Steve Guttenberg ...

B- Computer, Telephony and Electronics Glossary and Dictionary
Computer, Telephony and Electronics Glossary and Dictionary - B - CSGNetwork.Com's award winning online glossary of computer, telephony and electronics ...

Comments by great uncle clive - The Economist
... and the connections between them. Chinese calligraphy is exquisite, but the spoken Chinese languages are hideous... just a succession of unterminated ...

What is the ringing period on an unterminated line?: Rule of Thumb #26
... period and line length is derived. The most common source of signal integrity problems, and the easiest to fix, is ringing at the RX from unterminated ...

Resources last updated: 3/29/2016 2:27:20 AM