error message- help!

33 views
Skip to first unread message

Michael...@potashcorp.com

unread,
May 26, 2011, 2:18:33 PM5/26/11
to terminat...@googlegroups.com
---------------------------
Uncaught exception
---------------------------
An error occurred in Terminator:

Exception Errno::EEXIST: File exists - //hqfile3/users
        at /usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir'
        at /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
        at /usr/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p'
        at /usr/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
        at /usr/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p'
        at /usr/lib/ruby/1.8/fileutils.rb:201:in `each'
        at /usr/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p'
        at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin/terminator:185:in `install_terminfo_in'
        at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin/terminator:78:in `launch0'
        at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin/terminator:21:in `launch'
        at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:133:in `call'
        at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:133:in `initialize'
        at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:145:in `new'
        at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:145:in `report_exceptions'
        at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin/terminator:21:in `launch'
        at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin/terminator:218

Please mail this error message to terminat...@googlegroups.com.
You can copy it to the clipboard with Ctrl-C.
Windows won't let you select the text but Ctrl-C works anyway.
---------------------------
OK  
---------------------------


Michael Hrycay,
Programmer Analyst,
Potash Corporation of Saskatchewan.
Phone: +1.306.933.8581

Suite 500, 122 – 1st Avenue South
Saskatoon, SK Canada
S7K 7G3
(306) 933-8500
(800) 667-0403 (within Canada)
(800) 667-3930 (from the USA)

Martin Dorey

unread,
May 26, 2011, 10:31:21 PM5/26/11
to Michael...@potashcorp.com, terminat...@googlegroups.com

Looking at the fileutils.rb code that's fingered by the stack:

 

        begin

          fu_mkdir path, options[:mode]

        rescue SystemCallError => err

          raise unless File.directory?(path)

        end

 

That suggests that \\hqfile3\users doesn't appear to be a directory.  Similar shares appear like directories for me:

 

$ ruby -e 'puts(File.directory?("//us-mercury/users"))'

true

$ ruby -e 'puts(File.directory?("//10.2.1.1/SYSVOL"))'

true

$

 

What sort of OS is hqfile3 running?

 


--
You received this message because you are subscribed to the Google Groups "terminator-users" group.
To post to this group, send email to terminat...@googlegroups.com.
To unsubscribe from this group, send email to terminator-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/terminator-users?hl=en.

Martin Dorey

unread,
May 27, 2011, 1:09:10 AM5/27/11
to terminat...@googlegroups.com, Michael...@potashcorp.com
Looking at the parts of the stack in our code, I see that Terminator is probably trying to install its terminfo under your home directory. This isn't usually much use on Windows, so you could disable it. You could try to circumvent it without touching the code by setting an environment variable, TERMINFO, to /usr/share/terminfo/ in the context from which you run Terminator. It should then get further, though I fear it may not get much further.

Martin Dorey

unread,
Jun 13, 2011, 1:42:52 PM6/13/11
to Michael...@potashcorp.com, terminat...@googlegroups.com

+list

 

> Thank you very much.  This worked like a charm!

 

(Grand, thanks for letting us know.)

 

It is, of course, fine if you don't want to tell us but, if it was just an oversight, then I'd still be interested in what OS hqfile3 is running.  Whatever rough idea you have to hand would be great, eg "XP, I think", "some version of Samba", "I don't have a scooby" (as opposed to Service Pack 782 with hotfixes yadda, yadda).

 


From: Michael...@potashcorp.com [mailto:Michael...@potashcorp.com]
Sent: Monday, June 13, 2011 10:32
To: Martin Dorey
Subject: Re: [terminator-users] error message- help!

 

Thank you very much.  This worked like a charm!



Michael Hrycay,
Programmer Analyst,
Potash Corporation of Saskatchewan.
Phone: +1.306.933.8581

Suite 500, 122 – 1st Avenue South
Saskatoon, SK Canada
S7K 7G3
(306) 933-8500
(800) 667-0403 (within Canada)
(800) 667-3930 (from the USA)





From:        Martin Dorey <mdo...@bluearc.com>
To:        "'terminat...@googlegroups.com'" <terminat...@googlegroups.com>, "'Michael...@potashcorp.com'" <Michael...@potashcorp.com>
Date:        05/26/2011 11:09 PM
Subject:        Re: [terminator-users] error message- help!





Looking at the parts of the stack in our code, I see that Terminator is probably trying to install its terminfo under your home directory. This isn't usually much use on Windows, so you could disable it. You could try to circumvent it without touching the code by setting an environment variable, TERMINFO, to /usr/share/terminfo/ in the context from which you run Terminator. It should then get further, though I fear it may not get much further.

From: Martin Dorey [mailto:mdo...@bluearc.com]
Sent
: Thursday, May 26, 2011 07:31 PM
To
: Michael...@potashcorp.com <Michael...@potashcorp.com>
Cc
: terminat...@googlegroups.com <terminat...@googlegroups.com>
Subject
: RE: [terminator-users] error message- help!


Looking at the fileutils.rb code that's fingered by the stack:
 
        begin
          fu_mkdir path, options[:mode]
        rescue SystemCallError => err
          raise unless File.directory?(path)
        end
 

That suggests that \\xxxx\xxxx doesn't appear to be a directory.  Similar shares appear like directories for me:

 
$ ruby -e 'puts(File.directory?("//us-mercury/users"))'
true
$ ruby -e 'puts(File.directory?("//10.2.1.1/SYSVOL"))'
true
$
 

What sort of OS is xxxx running?
 

 


--
You received this message because you are subscribed to the Google Groups "terminator-users" group.
To post to this group, send email to terminat...@googlegroups.com.
To unsubscribe from this group, send email to terminator-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/terminator-users?hl=en.

Martin Dorey

unread,
Jun 13, 2011, 9:31:57 PM6/13/11
to Michael...@potashcorp.com, terminat...@googlegroups.com

+list

 

> It is a Widows 2008 Server R2

 

Hot diggity, completely mainstream.  I was hoping it was some minority-interest Nas box.  So this says "false" for you?

 

ruby -e 'puts(File.directory?("//hqfile3/users"))'

 

(I'd been hoping to find such a system to try it, but it's got to the end of the day and I'm nowhere near starting, so I may as well hit Send.)

 


From: Michael...@potashcorp.com [mailto:Michael...@potashcorp.com]
Sent: Monday, June 13, 2011 11:02
To: Martin Dorey
Subject: RE: [terminator-users] error message- help!

 

Hi:

It is a Widows 2008 Server R2.  The thing is, I realized it wasn't probably a good thing to install from a network drive anyway (at first it didn't occur to me that that is what I was doing.)  I installed from a local drive (Windows Server 2003 R2 64 bit.)  Still didn't work.  Added the environment variable- worked without error or warning.

Thanks,



Michael Hrycay,
Programmer Analyst,
Potash Corporation of Saskatchewan.
Phone: +1.306.933.8581

Suite 500, 122 – 1st Avenue South
Saskatoon, SK Canada
S7K 7G3
(306) 933-8500
(800) 667-0403 (within Canada)
(800) 667-3930 (from the USA)




From:        Martin Dorey <mdo...@bluearc.com>
To:        "Michael...@potashcorp.com" <Michael...@potashcorp.com>
Cc:        "terminat...@googlegroups.com" <terminat...@googlegroups.com>
Date:        06/13/2011 11:43 AM
Subject:        RE: [terminator-users] error message- help!

Reply all
Reply to author
Forward
0 new messages