TK Browser fails to start on Ubuntu Dapper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

TK Browser fails to start on Ubuntu Dapper

Brad Watson
whitebearded1@ubuntu:~/image$ gst -I ./myimage.im -qK
browser/Run.st
Starting window environment...
Object: 'helvetica 10' error: did not understand
#value
MessageNotUnderstood(Exception)>>#signal
String(Object)>>#doesNotUnderstand:
False>>#ifTrue:ifFalse:
BLOX.BMenuBar class(BLOX.Blox class)>>#defaultFont
BLOX.BMenuBar>>#initialize:
BLOX.BMenuBar class(BLOX.Blox class)>>#new:
BLOX.BLOXBrowser.BrowserShell(BLOX.BLOXBrowser.TopLevelShell)>>#menuBar
BLOX.BLOXBrowser.Menu class>>#new:label:
BLOX.BLOXBrowser.BrowserShellMenuTemplate>>#defineIn:
optimized [] in
BLOX.BLOXBrowser.BrowserShell>>#initialize:
OrderedCollection(SequenceableCollection)>>#do:
BLOX.BLOXBrowser.BrowserShell>>#initialize:
BLOX.BLOXBrowser.BrowserShell
class(BLOX.BLOXBrowser.TopLevelShell class)>>#new:
BLOX.BLOXBrowser.BrowserShell
class>>#openWorksheet:withText:
BLOX.BLOXBrowser.BrowserMain>>#initialize
UndefinedObject>>#executeStatements
whitebearded1@ubuntu:~/image$

Apparently the Helvitca font isn't in the
distribution....


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 


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

RE : TK Browser fails to start on Ubuntu Dapper

Paolo Bonzini
> Apparently the Helvitca font isn't in the
> distribution....

No, it's probably a bug that doesn't show up on Mac OS.  That is, what release candidates are for.  Keep reporting bugs!
 
Paolo


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

Re: RE : TK Browser fails to start on Ubuntu Dapper

Luca Bruno aka Lethalman

Paolo Bonzini wrote
> Apparently the Helvitca font isn't in the
> distribution....

No, it's probably a bug that doesn't show up on Mac OS.  That is, what release candidates are for.  Keep reporting bugs!
 
Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Same here... for GTK i have another problem too when loading the package:

Loading package GTK
"Scavenging... 83% reclaimed, done"
"Scavenging... 73% reclaimed, done"
"Scavenging... 64% reclaimed, done"
"Scavenging... 77% reclaimed, done"
Recompiling classes...
Recompiling class: GTK.GtkRequisition class
Recompiling selector: #sizeof
a Smalltalk string:1: parse error, expected identifier or binary operator or keyword
Recompiling classes...
Recompiling classes...
Recompiling class: GTK.GdkEventButton class
Recompiling selector: #sizeof
a Smalltalk string:1: parse error, expected identifier or binary operator or keyword
Recompiling classes...
Recompiling class: GTK.GdkEventMotion class
Recompiling selector: #sizeof
a Smalltalk string:1: parse error, expected identifier or binary operator or keyword
Recompiling classes...
Recompiling class: GTK.GdkEventConfigure class
Recompiling selector: #sizeof
a Smalltalk string:1: parse error, expected identifier or binary operator or keyword
"Scavenging... 43% reclaimed, done"
"Global garbage collection... done, heap grown"
"Scavenging... 76% reclaimed, done"
"Scavenging... 54% reclaimed, done"
"Scavenging... 54% reclaimed, done"
"Scavenging... 55% reclaimed, done"
"Global garbage collection... done, heap grown"
"Scavenging... 78% reclaimed, done"
"Scavenging... 56% reclaimed, done"
"Scavenging... 54% reclaimed, done"
"Scavenging... 55% reclaimed, done"
"Scavenging... 55% reclaimed, done"
"Scavenging... 55% reclaimed, done"
"Scavenging... 54% reclaimed, done"
"Scavenging... 55% reclaimed, done"
"Scavenging... 56% reclaimed, done"
"Global garbage collection... done, heap grown"
"Scavenging... 78% reclaimed, done"
"Scavenging... 55% reclaimed, done"
Object: nil error: did not understand #type
Smalltalk.MessageNotUnderstood(Smalltalk.Exception)>>#signal
Smalltalk.UndefinedObject(Smalltalk.Object)>>#doesNotUnderstand:
Smalltalk.UndefinedObject>>#executeStatements
Object: CFunctionDescriptor error: primitive operation failed
SystemExceptions.PrimitiveFailed(Smalltalk.Exception)>>#signal
SystemExceptions.PrimitiveFailed class(Smalltalk.Exception class)>>#signal
Smalltalk.CFunctionDescriptor class(Smalltalk.Object)>>#primitiveFailed
Smalltalk.CFunctionDescriptor class>>#for:returning:withArgs:
Smalltalk.CompiledMethod>>#rewriteAsCCall:returning:args:
optimized [] in Smalltalk.Class>>#initializeAsRootClass
Object: nil error: did not understand #type
Smalltalk.MessageNotUnderstood(Smalltalk.Exception)>>#signal
Smalltalk.UndefinedObject(Smalltalk.Object)>>#doesNotUnderstand:
Smalltalk.UndefinedObject>>#executeStatements
Object: CFunctionDescriptor error: primitive operation failed
SystemExceptions.PrimitiveFailed(Smalltalk.Exception)>>#signal
SystemExceptions.PrimitiveFailed class(Smalltalk.Exception class)>>#signal
Smalltalk.CFunctionDescriptor class(Smalltalk.Object)>>#primitiveFailed
Smalltalk.CFunctionDescriptor class>>#for:returning:withArgs:
Smalltalk.CompiledMethod>>#rewriteAsCCall:returning:args:
optimized [] in Smalltalk.Class>>#initializeAsRootClass
"Scavenging... 57% reclaimed, done"

It seems running better than stable 2.2 which didn't find C functions, this seems a lighter bug... what about? Maybe a traceback with a full report of where the error has been encountered should be implemented in GST, don't you think so?
Reply | Threaded
Open this post in threaded view
|

Re: RE : TK Browser fails to start on Ubuntu Dapper

Luca Bruno aka Lethalman
In reply to this post by Paolo Bonzini

<quote author='Paolo Bonzini'>
> Apparently the Helvitca font isn't in the
> distribution....

No, it's probably a bug that doesn't show up on Mac OS.  That is, what release candidates are for.  Keep reporting bugs!
 
Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk

</quote

Simply a typo in #ifTrue:ifFalse in Blox class>>defaultFont, you should use blocks instead of strings
Reply | Threaded
Open this post in threaded view
|

Re: TK_Browser_fails_to_start_on_Ubuntu_Dapper

Paolo Bonzini
In reply to this post by Luca Bruno aka Lethalman
> Same here... for GTK i have another problem too when loading the package:

> Loading package GTK
> "Scavenging... 83% reclaimed, done"
> "Scavenging... 73% reclaimed, done"
> "Scavenging... 64% reclaimed, done"
> "Scavenging... 77% reclaimed, done"
> Recompiling classes...
> Recompiling class: GTK.GtkRequisition class
> Recompiling selector: #sizeof
> a Smalltalk string:1: parse error, expected identifier or binary operator or
> keyword
>
> It seems running better than stable 2.2 which didn't find C functions, this
> seems a lighter bug... what about?

Yes, can you send the sizeof.c and/or the Structs.st file to me?  Both
can be found in the build directory, the latter is also installed.

> Object: nil error: did not understand #type
> Smalltalk.MessageNotUnderstood(Smalltalk.Exception)>>#signal
> Smalltalk.UndefinedObject(Smalltalk.Object)>>#doesNotUnderstand:
> Smalltalk.UndefinedObject>>#executeStatements
> Object: CFunctionDescriptor error: primitive operation failed
> SystemExceptions.PrimitiveFailed(Smalltalk.Exception)>>#signal
> SystemExceptions.PrimitiveFailed class(Smalltalk.Exception class)>>#signal
> Smalltalk.CFunctionDescriptor class(Smalltalk.Object)>>#primitiveFailed
> Smalltalk.CFunctionDescriptor class>>#for:returning:withArgs:
> Smalltalk.CompiledMethod>>#rewriteAsCCall:returning:args:
> optimized [] in Smalltalk.Class>>#initializeAsRootClass

For these, can you try evaluating this?  It will produce quite a huge
output -- I'm interesteed in the lines just around the "Object: nil
error: did not understand #type"

     Object registerHandler: [ :method :ann |
         method printNl
             rewriteAsCCall: (ann arguments at: 1)
             returning: (ann arguments at: 2)
             args: (ann arguments at: 3) ]
         forPragma: #cCall:returning:args:.
     PackageLoader fileInPackage: 'GTK'!

 > Maybe a traceback with a full report of
 > where the error has been encountered should be implemented in GST,
 > don't you think so?

You mean the filename/line?

Paolo


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

Re: TK_Browser_fails_to_start_on_Ubuntu_Dapper

Luca Bruno aka Lethalman
In data 29 settembre 2006 alle ore 09:46:04, Paolo Bonzini  
<[hidden email]> ha scritto:

>
> You mean the filename/line?
>
> Paolo

No in the environment, there's not debug inside the method, halt and pass  
etc. as Squeak does. Is it difficult to implement?

--
http://lethalman.blogspot.com - Thoughts about computer technologies


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

Re: TK_Browser_fails_to_start_on_Ubuntu_Dapper

Paolo Bonzini

> No in the environment, there's not debug inside the method, halt and
> pass etc. as Squeak does. Is it difficult to implement?
There's a debugger in the browser -- and there's also a "Mini debugger"
example using the console, though I've not used it for a long time.

Paolo


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