OS X Binary Failure

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

OS X Binary Failure

Will Oram
An interesting new interface to the binary in .31. When I choose
'Typeset file,' a dialog box appears:

(AttributeError: 'NSCFString' object has no attribute 'showWindow_')

convert-ly works fine.

Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: OS X Binary Failure

Will Oram
Whoops, didn't realise Console was logging events until lilypond told  
me so as I tried to quit. From the Console log:

2005-06-15 19:05:53.413 LilyPond[22964] An exception has occured:
Traceback (most recent call last):
   File  
"/Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/
__boot__.py", line 28, in ?
     _run('LilyPond.py')
   File  
"/Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/
__boot__.py", line 25, in _run
     execfile(os.path.join(base, 'Python', script), globals(), globals())
   File  
"/Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/
Python/LilyPond.py", line 183, in ?
     AppHelper.runEventLoop()
   File "PyObjCTools/AppHelper.pyc", line 174, in runEventLoop
   File  
"/Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/
Python/LilyPond.py", line 111, in compileFile_
     self.compileMe ()
   File  
"/Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/
Python/LilyPond.py", line 161, in compileMe
     self.createProcessLog ()
   File  
"/Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/
Python/LilyPond.py", line 125, in createProcessLog
     self.processLogWindowController.showWindow_ (None)
AttributeError: 'NSCFString' object has no attribute 'showWindow_'
2005-06-15 19:05:53.508 LilyPond[22964] LilyPond Error
2005-06-15 19:05:53.509 LilyPond[22964] An unexpected error has  
occurred during execution of the main script

AttributeError: 'NSCFString' object has no attribute 'showWindow_'

On Jun 15, 2005, at 7:05 PM, Will Oram wrote:

> An interesting new interface to the binary in .31. When I choose  
> 'Typeset file,' a dialog box appears:
>
> (AttributeError: 'NSCFString' object has no attribute 'showWindow_')
>
> convert-ly works fine.
>
> Will Oram // Genius @ Large // AIM spamguy21
> spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu
>
>
Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: OS X Binary Failure

Han-Wen Nienhuys
Will Oram wrote:
> Whoops, didn't realise Console was logging events until lilypond told  
> me so as I tried to quit. From the Console log:

what version is this (see About LilyPond)

> "/Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/
> Python/LilyPond.py", line 125, in createProcessLog
>     self.processLogWindowController.showWindow_ (None)
> AttributeError: 'NSCFString' object has no attribute 'showWindow_'
> 2005-06-15 19:05:53.508 LilyPond[22964] LilyPond Error
> 2005-06-15 19:05:53.509 LilyPond[22964] An unexpected error has  
> occurred during execution of the main script
>
> AttributeError: 'NSCFString' object has no attribute 'showWindow_'

>> An interesting new interface to the binary in .31. When I choose  
>> 'Typeset file,' a dialog box appears:

>> (AttributeError: 'NSCFString' object has no attribute 'showWindow_')

Strange.... what MacOS X version?

>> convert-ly works fine.

That's even stranger, as it also uses createProcessLog()

can you add

   print 'hello', self.processLogWindowController

just before

   self.processLogWindowController.showWindow_ (None)

in
Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/Python/LilyPond.py
and see gets logged?

--
  Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen


_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: OS X Binary Failure

Will Oram

On Jun 16, 2005, at 5:36 AM, Han-Wen Nienhuys wrote:

> Will Oram wrote:
>> Whoops, didn't realise Console was logging events until lilypond told  
>>  me so as I tried to quit. From the Console log:
>
> what version is this (see About LilyPond)

This is 2.5.31-2.





>> "/Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/  
>> Python/LilyPond.py", line 125, in createProcessLog
>>     self.processLogWindowController.showWindow_ (None)
>> AttributeError: 'NSCFString' object has no attribute 'showWindow_'
>> 2005-06-15 19:05:53.508 LilyPond[22964] LilyPond Error
>> 2005-06-15 19:05:53.509 LilyPond[22964] An unexpected error has  
>> occurred during execution of the main script
>> AttributeError: 'NSCFString' object has no attribute 'showWindow_'
>
>>> An interesting new interface to the binary in .31. When I choose  
>>> 'Typeset file,' a dialog box appears:
>
>>> (AttributeError: 'NSCFString' object has no attribute 'showWindow_')
>
> Strange.... what MacOS X version?

OS X Panther 10.3.9.



>>> convert-ly works fine.
>
> That's even stranger, as it also uses createProcessLog()
>
> can you add
>
>   print 'hello', self.processLogWindowController
>
> just before
>
>   self.processLogWindowController.showWindow_ (None)
>
> in  
> Users/spamguy/Desktop/Downloads/LilyPond.app/Contents/Resources/
> Python/LilyPond.py
> and see gets logged?

lilypond didn't like that addition. Upon opening:

---
An unexpected error has occurred during execution of the main script

IndentationError: unindent does not match any outer indentation level  
(LilyPond.py, line 126)

See the Console for a detailed traceback.
---

Line 126 being, of course, the line before what I added.

The code:

---
     def createProcessLog (self):
         if not self.processLogWindowController:
             self.processLogWindowController =  
ProcessLogWindowController()
         else:
          print 'hello', self.processLogWindowController
             self.processLogWindowController.showWindow_ (None)
---

> Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: OS X Binary Failure

Will Oram
In reply to this post by Will Oram
Thank you, this works.

Will

On Jun 18, 2005, at 12:22 PM, Han-Wen Nienhuys wrote:

> Will Oram wrote:
>> An interesting new interface to the binary in .31. When I choose
>> 'Typeset file,' a dialog box appears:
>> (AttributeError: 'NSCFString' object has no attribute 'showWindow_')
>> convert-ly works fine.
>> Will Oram // Genius @ Large // AIM spamguy21
>> spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu
>
> can you try 2.5.31-6 ?
>
> --
>  Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen
>
>
Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond