[Pharo-users] bug in debugger?

2016-09-28 Thread Usman Bhatti
Hello, I have a strange error in my image that results in image start taking up system memory and crashes when it attains the max. the VM can provide on my machine (2Gb). I am working on Pharo 4.0 + Spec debugger. After some digging in the image, I know that the error comes from an assignment

[Pharo-users] Spur problem?

2016-09-07 Thread Usman Bhatti
Hi, While working on a Pharo 5 image for 3-4 hours, I got an image crash and I was no more able to start the image from the UI interface. When starting the image from the command line I got the following error: Pharo(50871,0xa02c91a8) malloc: *** error for object 0x1af7a04: incorrect checksum

Re: [Pharo-users] load directive

2015-09-15 Thread Usman Bhatti
record loadDirective > Ok. Thank you for this information. regards. > > > Dale > > > On 09/11/2015 01:44 AM, Usman Bhatti wrote: > > Tx for looking. > > I did: > (ConfigurationOfGlamour project version: #stable) record loadDirective > in Moose 5

Re: [Pharo-users] load directive

2015-09-11 Thread Usman Bhatti
Tx for looking. I did: (ConfigurationOfGlamour project version: #stable) record loadDirective in Moose 5.0 (pharo3) and Moose5.1(pharo4). Here is the difference in the output. And the first (with Pharo3) is much more helpful because with a single command one can understand ALL the packages

[Pharo-users] load directive

2015-09-10 Thread Usman Bhatti
Hi, I'm trying to see packages loaded by Metacello. So, in the past, I used to do: (ConfigurationOfXXX project version: #stable) record loadDirective to see the list of packages resolved and loaded. But in Pharo 4.0, the list of packages is empty. How can I obtain the list of packages with

Re: [Pharo-users] where to report Telescope bugs?

2015-07-20 Thread Usman Bhatti
On Mon, Jul 20, 2015 at 6:40 PM, Peter Uhnák i.uh...@gmail.com wrote: Btw subscriptionsDo: is added by Roassal2Spec package, which is not loaded into the CI build Also load script here http://rmod.inria.fr/web/software/telescope says its LeoPerard/Telescope while the CI loads

[Pharo-users] customizing SystemWindow menu

2015-07-06 Thread Usman Bhatti
Hi, I wanted to customize system window menu and I could not find a relevant method to change the default pragma used for menu generation. So, I thought it will be nice to have this utility method on SystemWindow if possible: SystemWindowmenuPragmaNamed: aPragmaName model: aModel menuBuilder :=

Re: [Pharo-users] customizing SystemWindow menu

2015-07-06 Thread Usman Bhatti
yep, this is what I was looking for. Thanks. Still, it will be nice to have the method I suggested to replace the default menu. regards. On Mon, Jul 6, 2015 at 4:01 PM, Franck Warlouzet franck.warlou...@hotmail.fr wrote: Hi, If I correctly understood, you want to add entries to the system

[Pharo-users] Glamour: opening paths in tree with filters

2015-06-30 Thread Usman Bhatti
Hi, I am having trouble with opening a specific path in tree presentation (using MorphTreeMorph) when filtering nodes. What I am trying to achieve is that if a node is searched in a tree at level 4, all the parent nodes are opened to show the node searched (hence the user the does not need to

[Pharo-users] case-insensitive regexp

2015-06-04 Thread Usman Bhatti
Hi, Some regular expression engines include support for /i flag that makes the regexp case-insensitive. In Pharo, regexp matcher can be setup to be case-insensitive (e.g. 'mypattern' asRegexIgnoringCase). But once a matcher is setup as case-senstive, can we provide a pattern to make its search

Re: [Pharo-users] case-insensitive regexp

2015-06-04 Thread Usman Bhatti
Thanks Peter. On Thu, Jun 4, 2015 at 1:51 PM, Peter Uhnák i.uh...@gmail.com wrote: I do not think this is possible. The problem is that the Regex compiles (parses) the pattern so once it's created you would have to reparse it. Theoretically speaking you could add ignoreCase accessors to

Re: [Pharo-users] mac address on windows

2015-05-12 Thread Usman Bhatti
code; Is cloning your swig repo the way to go ? Phil On Wed, May 6, 2015 at 10:39 AM, Usman Bhatti usman.bha...@gmail.com wrote: Hi Nicolai, Here is my package that defines the nativeboost call and associated C structs. The external C struct is self referencing and hence sometimes I

Re: [Pharo-users] mac address on windows

2015-05-06 Thread Usman Bhatti
On Wed, May 6, 2015 at 9:58 AM, Nicolai Hess nicolaih...@web.de wrote: 2015-05-06 9:53 GMT+02:00 Usman Bhatti usman.bha...@gmail.com: On Tue, May 5, 2015 at 7:34 PM, p...@highoctane.be p...@highoctane.be wrote: On Tue, May 5, 2015 at 6:28 PM, Usman Bhatti usman.bha...@gmail.com wrote

Re: [Pharo-users] mac address on windows

2015-05-06 Thread Usman Bhatti
On Tue, May 5, 2015 at 7:34 PM, p...@highoctane.be p...@highoctane.be wrote: On Tue, May 5, 2015 at 6:28 PM, Usman Bhatti usman.bha...@gmail.com wrote: I succeeded to do it by encapsulating the C routine as a DLL and doing an FFI call from my image (as suggested by Guille). At least

Re: [Pharo-users] mac address on windows

2015-05-05 Thread Usman Bhatti
PM, Ben Coman b...@openinworld.com wrote: As a complete newb to VM building I found this fairly straight forward (on a Mac btw). https://github.com/pharo-project/pharo-vm cheers -ben On Mon, May 4, 2015 at 5:28 PM, Usman Bhatti usman.bha...@gmail.com wrote: On Sun, May 3, 2015 at 4:22 PM

Re: [Pharo-users] mac address on windows

2015-05-04 Thread Usman Bhatti
On Sun, May 3, 2015 at 4:22 PM, Pierce Ng pie...@samadhiweb.com wrote: On Sat, May 02, 2015 at 03:55:47PM +0200, Usman Bhatti wrote: 1/ OSProcess: I tried (PipeableOSProcess command: 'ipconfig /all') output. I have used http://www.smalltalkhub.com/#!/~hernan/ProcessWrapper successfully

[Pharo-users] mac address on windows

2015-05-02 Thread Usman Bhatti
Hello, Has anyone tried to retrieve MAC address(es) of a windows machine using Pharo? I have tried two options thus far without any success: 1/ OSProcess: I tried (PipeableOSProcess command: 'ipconfig /all') output. This opens a command prompt on windows machine without anything happening

Re: [Pharo-users] mac address on windows

2015-05-02 Thread Usman Bhatti
-in-windows-with-c Maybe a good time to put the C code generator to the test. Phil Le 2 mai 2015 15:55, Usman Bhatti usman.bha...@gmail.com a écrit : Hello, Has anyone tried to retrieve MAC address(es) of a windows machine using Pharo? I have tried two options thus far without any success

[Pharo-users] hardware locking an image

2015-03-26 Thread Usman Bhatti
Hi, Has anyone tried to hardware-lock a Pharo image? That means making Pharo image work on known hardware only, hence copying and running it on another machine would not work. I am thinking about locking with Mac address obtained through OSProcess calls. regards.

Re: [Pharo-users] dirty packages

2015-01-29 Thread Usman Bhatti
Thanks Torsten. Indeed, renaming the package solved the problem. On Thu, Jan 29, 2015 at 12:11 AM, Torsten Bergmann asta...@gmx.de wrote: Because MyPackage and MyPackage-Ext fall into the same class categories. The name MyPackage is part of the string MyPackage-Ext. Packages and class

Re: [Pharo-users] dirty packages

2015-01-28 Thread Usman Bhatti
browsers 2) execute RPackageOrganizer default initializeFromMC Esteban On 28 Jan 2015, at 16:50, Usman Bhatti usman.bha...@gmail.com wrote: Hello, I have two packages MyPackage and MyPackage-Ext. When I load MyPackge-Ext, MyPackage becomes dirty and do not have any clue why. When I try

[Pharo-users] dirty packages

2015-01-28 Thread Usman Bhatti
Hello, I have two packages MyPackage and MyPackage-Ext. When I load MyPackge-Ext, MyPackage becomes dirty and do not have any clue why. When I try to see changes in MyPackage in Monticello Browser, the package becomes clean again. There are two possibilities why MyPackage-Ext makes MyPackage

Re: [Pharo-users] Metacello does not load the expected version from ConfigOf

2015-01-08 Thread Usman Bhatti
On 01/07/2015 09:19 AM, Usman Bhatti wrote: On Tue, Jan 6, 2015 at 6:56 PM, Dale Henrichs dale.henri...@gemtalksystems.com wrote: On 1/6/15 7:16 AM, Usman Bhatti wrote: Dale, I couldn't make it work with the upgraded Metacello and the script you provided. Steps I did: 1

Re: [Pharo-users] Metacello does not load the expected version from ConfigOf

2015-01-07 Thread Usman Bhatti
On Tue, Jan 6, 2015 at 6:56 PM, Dale Henrichs dale.henri...@gemtalksystems.com wrote: On 1/6/15 7:16 AM, Usman Bhatti wrote: Dale, I couldn't make it work with the upgraded Metacello and the script you provided. Steps I did: 1. Download moose image: https://ci.inria.fr/moose/job

Re: [Pharo-users] Metacello does not load the expected version from ConfigOf

2015-01-06 Thread Usman Bhatti
is not using the latest version of Metacello. You should be able to upgrade to the latest versions following the install instructions for Pharo3.0[1]. Dale [1] https://github.com/dalehenrich/metacello-work#pharo30 On 1/2/15 6:23 AM, Usman Bhatti wrote: Dale, Thanks for your detailed

Re: [Pharo-users] Metacello does not load the expected version from ConfigOf

2015-01-02 Thread Usman Bhatti
#locking [4] https://github.com/dalehenrich/metacello-work/blob/master/docs/LockCommandReference.md#lock-command-reference On 12/19/2014 07:44 AM, Usman Bhatti wrote: Hi all, I am trying to load a specific version of PetitParser in a Moose image. A Moose image comes with the latest development

[Pharo-users] STON - new release?

2014-12-08 Thread Usman Bhatti
Hi Sven, I have used STON to serialize some of my objects and it is really simple and cool to work with STON. For my project, I loaded the stable version. When I tried to customize the names of my classes for serialization using stonName, I got errors of MetaClass DNU. I saw that you already

Re: [Pharo-users] Kiviat support in Roassal

2014-11-20 Thread Usman Bhatti
Thank you. I'll have a look asap :) On Thu, Nov 20, 2014 at 1:48 PM, Alexandre Bergel alexandre.ber...@me.com wrote: Hi! Pierre just finished a first version of Kiviat in Roassal. Here are some example: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= b := RTKiviatBuilder new. b objects:

[Pharo-users] UI testing

2014-09-30 Thread Usman Bhatti
Hi all, Is there anything in Pharo that supports UI testing? What I would like to achieve is to be able to simulate a click, select a menu item, input some text in text fields, Ok/Cancel button click, and some other basic task for the automation of my tests. With Glamour, I can simulate

Re: [Pharo-users] UI testing

2014-09-30 Thread Usman Bhatti
Tx Marcus. I'll have a look at what this infrastructure already offers to see if I can use it directly or with some enhancements. usman On Tue, Sep 30, 2014 at 11:22 AM, Marcus Denker marcus.den...@inria.fr wrote: On 30 Sep 2014, at 11:00, Usman Bhatti usman.bha...@gmail.com wrote: Hi all

[Pharo-users] Mac VM - developer unidentified

2014-09-24 Thread Usman Bhatti
Hi, Today I downloaded Pharo vm from pharo.org. When I try to open the VM I get this security notification from Mac and it didn't happen with earlier versions of Pharo VM. I'm running: OS X 10.9.4 (13E28). [image: Inline image 1] I should be able to change my security settings to run it but I

Re: [Pharo-users] Mac VM - developer unidentified

2014-09-24 Thread Usman Bhatti
it :) Trimis de pe iPhone-ul meu Pe 24.09.2014, la 12:13, Usman Bhatti usman.bha...@gmail.com a scris: Hi, Today I downloaded Pharo vm from pharo.org. When I try to open the VM I get this security notification from Mac and it didn't happen with earlier versions of Pharo VM. I'm running: OS

Re: [Pharo-users] Gettext with pharo 3 and seaside 3.1.2

2014-09-08 Thread Usman Bhatti
Hi Peter, For my application needs (English - French), I normally use the gettext package from STHub and it works without any problems for me. http://smalltalkhub.com/#!/~PharoExtras/Gettext GetText so far not including in the Configuration Browser but we should include it. There is also a

Re: [Pharo-users] Updatable trees in Moose browsers (It was Re: Rephrasing my question on Stackoverflow ...)

2014-08-13 Thread Usman Bhatti
Hi Offray, As Doru mentioned, without a complete example it is difficult to reproduce and analyze your problem. For the tree to get updated on node addition or removal, you need to use GLMAnnouncingCollection to group your nodes. Hence, when you add a new node in your announcing collection

Re: [Pharo-users] the mystery of dirty package

2014-05-30 Thread Usman Bhatti
, May 28, 2014 at 4:30 PM, Goubier Thierry thierry.goub...@cea.fr wrote: Hi Usman, look if the loaded package has overrides on other packages. If yes, it will dirty them, and looking for changes will clean them. Thierry Le 28/05/2014 15:59, Usman Bhatti a écrit : Hi, It is second time

Re: [Pharo-users] the mystery of dirty package

2014-05-30 Thread Usman Bhatti
, I didn't try it in moose yet. I'll give it a try later in the afternoon and inform you. Doru On Fri, May 30, 2014 at 1:11 PM, Usman Bhatti usman.bha...@gmail.com wrote: Tx for the pointer Thierry. So, I did a small script (because there were 314 methods) to see number of non-class

Re: [Pharo-users] the mystery of dirty package

2014-05-30 Thread Usman Bhatti
latest Grease as suggested by Stephan. Doru On Fri, May 30, 2014 at 1:11 PM, Usman Bhatti usman.bha...@gmail.com wrote: Tx for the pointer Thierry. So, I did a small script (because there were 314 methods) to see number of non-class-extension methods with and without loading the dirty

[Pharo-users] the mystery of dirty package

2014-05-28 Thread Usman Bhatti
Hi, It is second time in a week that I have to analyze a problem related to a package getting dirty because of loading another package. But when looking for changes, the first package becomes clean again. One occurrence of the problem can be seen in the latest moose image: - download the latest

Re: [Pharo-users] A possible problem coming from Zinc?

2014-05-21 Thread Usman Bhatti
On Wed, May 21, 2014 at 1:37 PM, Sven Van Caekenberghe s...@stfx.eu wrote: On 21 May 2014, at 13:30, Usman Bhatti usman.bha...@gmail.com wrote: Hi, When turning on ZincFileLogger on a Zinc server, after some time (1h or so) I get the FileWrite error (see screenshot). I browsed through

Re: [Pharo-users] A possible problem coming from Zinc?

2014-05-21 Thread Usman Bhatti
at 5:15 PM, Sven Van Caekenberghe s...@stfx.eu wrote: On 21 May 2014, at 16:59, Usman Bhatti usman.bha...@gmail.com wrote: On Wed, May 21, 2014 at 1:37 PM, Sven Van Caekenberghe s...@stfx.eu wrote: On 21 May 2014, at 13:30, Usman Bhatti usman.bha...@gmail.com wrote: Hi, When

Re: [Pharo-users] A possible problem coming from Zinc?

2014-05-21 Thread Usman Bhatti
On Wed, May 21, 2014 at 5:15 PM, Sven Van Caekenberghe s...@stfx.eu wrote: On 21 May 2014, at 16:59, Usman Bhatti usman.bha...@gmail.com wrote: On Wed, May 21, 2014 at 1:37 PM, Sven Van Caekenberghe s...@stfx.eu wrote: On 21 May 2014, at 13:30, Usman Bhatti usman.bha...@gmail.com

Re: [Pharo-users] changes and sources file availability

2014-04-06 Thread Usman Bhatti
Hi, Tx for your replies. On Fri, Apr 4, 2014 at 10:09 AM, Marcus Denker marcus.den...@inria.frwrote: On 03 Apr 2014, at 19:05, Hilaire Fernandes hilaire.fernan...@gmail.com wrote: Hi, It is gone. And for me it is a very annoying. Now if you want the system to prevent looking I am

[Pharo-users] changes and sources file availability

2014-04-02 Thread Usman Bhatti
Hello, In Pharo 2.0, we could enforce the image not to look for sources and changes file at the startup with: SmalltalkImage checkChangesFileAvailability: false; checkSourcesFileAvailability: false. I could not found these selectors anymore in my Pharo 3.0 image. Clement

Re: [Pharo-users] The new versionner is cool

2014-02-25 Thread Usman Bhatti
On Sat, Feb 22, 2014 at 7:12 PM, Hernán Morales Durand hernan.mora...@gmail.com wrote: 2014-02-21 8:25 GMT-03:00 Usman Bhatti usman.bha...@gmail.com: Hello, I found Versionner very productive tool. I was able to create a new configuration from scratch within a few minutes

[Pharo-users] The new versionner is cool

2014-02-21 Thread Usman Bhatti
Hello, I found Versionner very productive tool. I was able to create a new configuration from scratch within a few minutes with the packages that I wanted to put into it. Though, I couldn't commit my new config through its interface because Komitter kept asking for a issue number but I didn't

Re: [Pharo-users] [gsoc-mentors] GSoC: call for ideas

2014-02-13 Thread Usman Bhatti
[Anne Etien could not post this msg on the mentors list I m forwarding it on her behalf]. Title: FAST JavaScript model Level: advanced Possible mentor: Anne Etien Possible second mentor: Nicolas Anquetil or Yuriy Tymchuk Description: For in depth source code analysis a support of abstract

Re: [Pharo-users] Current 3.0 download is broken

2013-11-12 Thread Usman Bhatti
I was about to complaint about the issue but good that some people already complained, found the source of the problem and the resolution (sources should be in VM directory and not in image). Good work. The resolution works for me. Now I can revive my pharo settings because I thought the problem

[Pharo-users] fileout or something similar from crashed image

2013-10-14 Thread Usman Bhatti
Hello, I crashed my image and I had some unsaved code. Now, I know I can go to the changes file but I'm lazy. I am told there is a tool that allows repairing/rejuvenating a crashed image to recover .mcz files and I would like to give it a try. Tx Usman

Re: [Pharo-users] MSI packaging for Pharo

2013-08-28 Thread Usman Bhatti
/**NSISInstallerScripthttp://code.google.com/p/biosmalltalk/wiki/NSISInstallerScript Hernán El 26/08/2013 17:29, Usman Bhatti escribió: On Mon, Aug 26, 2013 at 7:10 PM, Stéphane Ducasse stephane.duca...@inria.fr mailto:stephane.ducasse@**inria.frstephane.duca...@inria.fr wrote: Hello

[Pharo-users] MSI packaging for Pharo

2013-08-26 Thread Usman Bhatti
Hello, Does anyone have experience of distributing Pharo-based software as an MSI installer package to be installed by clients? I would particularly like to know the tool that was used to create the MSI. regards, Usman Bhatti

Re: [Pharo-users] MSI packaging for Pharo

2013-08-26 Thread Usman Bhatti
have some relevant exp. Because if you ship an image in essence: you ship one image with an opening image saying installing…. then you save regards, Usman Bhatti

Re: [Pharo-users] image resize event

2013-08-20 Thread Usman Bhatti
is welcome *Antwort an: *Any question about pharo is welcome *Betreff: *Re: [Pharo-users] image resize event On Aug 19, 2013, at 6:07 , Usman Bhatti usman.bha...@gmail.com wrote: Hello, I would like to resize all my windows opened inside my image when resizing the image window. Can anyone point

[Pharo-users] image resize event

2013-08-19 Thread Usman Bhatti
Hello, I would like to resize all my windows opened inside my image when resizing the image window. Can anyone point me to the hook where I can plug my code for window resizing? For example, it would like to do onImageResize World fitAll. tx, usman

Re: [Pharo-users] New win32 VM available (was: More than 500MB for windows)

2013-07-16 Thread Usman Bhatti
On Tue, Jul 16, 2013 at 11:33 AM, Tudor Girba tu...@tudorgirba.com wrote: Actually, I did read, but what I understood is only that I should look for another URL do download PharoS :). In any case, thanks a lot. I tried with the Pharo VM and it works as expected, too. I set it to 1GB and got

[Pharo-users] More than 500MB for windows

2013-07-08 Thread Usman Bhatti
[I know there were some discussions on the topic and the topic of 64-bit VM but I'm not sure where we stand today]. I would like to know if we can allocate more than 500MB for pharo virtual machine in Windows? I am getting an Out Of memory msg and the following VM statistics when trying to parse a

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread Usman Bhatti
On Mon, Jul 8, 2013 at 1:11 PM, Sven Van Caekenberghe s...@stfx.eu wrote: Hi Usman, On 08 Jul 2013, at 13:05, Usman Bhatti usman.bha...@gmail.com wrote: [I know there were some discussions on the topic and the topic of 64-bit VM but I'm not sure where we stand today]. I would like

Re: [Pharo-users] JPEG export producing images with black background

2013-06-16 Thread Usman Bhatti
docs directly (currently it does not) or it can provide a plugin for PNG images. Ben On Jun 15, 2013, at 11:56 PM, Usman Bhatti usman.bha...@gmail.com wrote: I need to export JPEG images in Pharo to later import then in my PDF document. When I export JPEG files with Pharo, the background

[Pharo-users] JPEG export producing images with black background

2013-06-15 Thread Usman Bhatti
I need to export JPEG images in Pharo to later import then in my PDF document. When I export JPEG files with Pharo, the background is black, which makes the exported image meaningless. To reproduce the problem, do the following in the latest moose image (the image can be obtained from

[Pharo-users] Fwd: Gettext package for 2.0 - information not updated

2013-05-27 Thread Usman Bhatti
Hello, I am looking to see how localization works in Pharo. There is a pharo book chapter that explains how to make it work but the chapter explains the working on Pharo 1.4. http://book.pharo-project.org/book/LanguageAndLibraries/Localisation Recent changes in STHub allow to load the package in

Re: [Pharo-users] Gettext package for 2.0 - information not updated

2013-05-27 Thread Usman Bhatti
, Usman Bhatti usman.bha...@gmail.com wrote: Hello, I am looking to see how localization works in Pharo. There is a pharo book chapter that explains how to make it work but the chapter explains the working on Pharo 1.4. http://book.pharo-project.org/book/LanguageAndLibraries/Localisation Recent

[Pharo-users] Fwd: widget to show progress

2013-05-19 Thread Usman Bhatti
Hello all, I am looking for a widget/control in Pharo that shows the progress of a process that takes undeterministic time. usman