Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- 3 participants
- 50348 messages
Troubles using Pharo 2.0 one-click package on a secured WinXP
by Mun Mun
Hi !
I'm quite new to Smalltalk and and so far, I've used Pharo on a regular XP
system and everything went well. I'll add that my image occupy ~40 Mo in
memory.
I've recently tried to deploy my small app on the target system which is a
very seccured package of WinXP. I can't help much on describing the
specificities of the system as I'm just the user. But the system is cleared
of unused services, there is a lot of account auditing, temporary files are
explicitly written off the disk at logoff and so on.
When launching the VM, I'm offered to choose an image to open and the
following happen (I monitor the launching using the task manager) :
¤ The first ~40 Mo are quickly allocated in memory
¤ More memory is slowly allocated to the Pharo.exe process
¤ After ~5 min, 100Mo allocated and counting, I stop the process and never
get to see the Pharo GUI
Is there a way for me to trace/dump what the VM is doing and maybe get help
here to make my app work ?
Complementary information :
¤ I made a very crappy deployement: due to recent restrictions, I could not
download a fresh and clean Pharo image. I picked the cleanest I had used,
removed the various tutorial packages I had made (LOCell and stuff ;) and
loaded the Monticello package of my little app.
¤ The target system run on a VM (with something like VSphere). My
understanding is that we have a cheap virtualization setup which is not
adapted at all for XP.
Aug. 6, 2013
Re: [Pharo-users] Pharo 2.0 on Fedora 18
by Stéphane Ducasse
hi edwin
we are sad not to be able to help more. But we are really busy (even more than that).
Stef
On Aug 5, 2013, at 10:19 PM, edwin ancaer <eancaer(a)gmail.com> wrote:
> Esteban, Mariano,
>
> thanks for helping out. It's probably a lack of knowledge on my side, but until now, everything I tried failed.
>
> There seems to ben no package openssl098e.i686in the sources of Fedora 18, so I downmoaded it, and opened it with yumex. The answer was that there was nothing to do for libssl.
>
> I tried to create a symbolic link to /opt/Adobe/Reader9/Reader/intellinux/lib/libssl.so.0.9.8, after installing a package that contained the library in question, but to no avail. With ldd I found:
>
> [edwin@ottopedi bin]$ ldd libSqueakSSL.so
> ./libSqueakSSL.so: /lib/libssl.so.0.9.8: no version information available (required by ./libSqueakSSL.so)
> linux-gate.so.1 => (0x00795000)
> libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x001e3000)
> libc.so.6 => /lib/libc.so.6 (0x0085c000)
> libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x0035d000)
> libdl.so.2 => /lib/libdl.so.2 (0x00b13000)
> /lib/ld-linux.so.2 (0x4ed07000)
> libz.so.1 => /lib/libz.so.1 (0x00c9c000)
>
> I even tried to install from source, but I only managed to create libssl.a, a static library.
> For now, I'll postpone the tests for the sending of emails with Pharo to a later date.
>
> Thanks a lot,
>
> E. Ancaer
>
>
> 2013/8/5 Mariano Martinez Peck <marianopeck(a)gmail.com>
> Hi Edwin.
>
> I wrote some details on how to install Pharo in CentOS for a client. I paste them here in case it may help you:
>
> ---------------------------
>
>
> Installing Pharo in CentOS is not difficult. However, it does require some packages and dependencies. Pharo will only work with 32 bits libraries, therefore, we need to download them.
> [edit]Get Pharo
>
> You can get the Pharo from http://www.pharo-project.org/pharo-download. To install it you just need to uncompress it.
> [edit]Installing 32 bits needed libraries
>
> To install the minimal needed libraries, we can execute:
> sudo yum install libX11.i686 libX11-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686
> To test if the VM works, just execute the following with a demo.image:
> ./pharo xxx.image
> And there shouldn't be any error in the console.
> [edit]Installing OpenSSL
>
> If we plan to use Zodiac or SSL we have to install openSSL 32 bits libraries. To do that:
> sudo yum install openssl098e.i686 openssl.i686
> sudo cp /usr/lib/libssl.so.0.9.8e /usr/lib/libssl.so.0.9.8
> Notice the second line is because otherwise Pharo fails to link to /usr/lib/libssl.so.0.9.8. To test if the link is correct, do:
> ldd /opt/pharo/pharoVM/libSqueakSSL.so
> And you should see something like:
> libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00291000)
> Otherwise, there is a problem in the link.
> Now, all Zodiac and Zinc-Zodiac tests should be green.
>
>
> On Mon, Aug 5, 2013 at 7:25 AM, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
> Hi,
>
> That's a hard reference, sadly.
> You need to install 0.9.8 (32bits) in your distribution. I don't know how to do it in fedora, but on ubiuntu is usually plain simple... probably in fedora is also available with the apt-get equivalent tool :)
>
> cheers,
> Esteban
>
>
> On Aug 5, 2013, at 6:43 AM, edwin ancaer <eancaer(a)gmail.com> wrote:
>
>> Hello,
>>
>> I'm running Pharo 2.0 on Fedora 18. I seem to have an issue with libssl.so which on my system is 1.0.1e, while libSquekSSL.so looks for version 0.9.8, as described here:Zodiac mail sending in Pharo smalltalk .
>>
>> Does anyone know how to solve this? Creating a symbolic link from 0.9.8 to 1.0.1e does not solve the problem
>>
>> [edwin@ottopedi bin]# ldd libSqueakSSL.so
>> ./libSqueakSSL.so: /lib/libssl.so.0.9.8: version `OPENSSL_0.9.8' not found (required by ./libSqueakSSL.so)
>> linux-gate.so.1 => (0x001d2000)
>> libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00161000)
>> libc.so.6 => /lib/libc.so.6 (0x003a5000)
>> libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x00342000)
>> libkrb5.so.3 => /lib/libkrb5.so.3 (0x001d3000)
>> libcom_err.so.2 => /lib/libcom_err.so.2 (0x009ec000)
>> libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x00b76000)
>> libresolv.so.2 => /lib/libresolv.so.2 (0x002b3000)
>> libcrypto.so.10 => /lib/libcrypto.so.10 (0x0068a000)
>> libdl.so.2 => /lib/libdl.so.2 (0x0087a000)
>> libz.so.1 => /lib/libz.so.1 (0x00300000)
>> /lib/ld-linux.so.2 (0x4ed07000)
>> libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x00bcd000)
>> libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00c36000)
>> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0091d000)
>> libpthread.so.0 => /lib/libpthread.so.0 (0x002cc000)
>> libselinux.so.1 => /lib/libselinux.so.1 (0x0097f000)
>> libpcre.so.1 => /lib/libpcre.so.1 (0x0055b000)
>> :
>>
>> Is there anyone who managed to install the version 0.9.8 and 1.0.1e of the openssl rpm on the same machine? Or is nobidy on Fedora 18 using Pharo?
>>
>> Thanks in advance,
>>
>> Edwin Ancaer
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
Aug. 5, 2013
Re: [Pharo-users] Pharo 2.0 on Fedora 18
by edwin ancaer
Esteban, Mariano,
thanks for helping out. It's probably a lack of knowledge on my side, but
until now, everything I tried failed.
There seems to ben no package openssl098e.i686in the sources of Fedora 18,
so I downmoaded it, and opened it with yumex. The answer was that there was
nothing to do for libssl.
I tried to create a symbolic link to
/opt/Adobe/Reader9/Reader/intellinux/lib/libssl.so.0.9.8, after installing
a package that contained the library in question, but to no avail. With ldd
I found:
[edwin@ottopedi bin]$ ldd libSqueakSSL.so
*./libSqueakSSL.so: /lib/libssl.so.0.9.8: no version information available
(required by ./libSqueakSSL.so)*
linux-gate.so.1 => (0x00795000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x001e3000)
libc.so.6 => /lib/libc.so.6 (0x0085c000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x0035d000)
libdl.so.2 => /lib/libdl.so.2 (0x00b13000)
/lib/ld-linux.so.2 (0x4ed07000)
libz.so.1 => /lib/libz.so.1 (0x00c9c000)
I even tried to install from source, but I only managed to create libssl.a,
a static library.
For now, I'll postpone the tests for the sending of emails with Pharo to a
later date.
Thanks a lot,
E. Ancaer
2013/8/5 Mariano Martinez Peck <marianopeck(a)gmail.com>
> Hi Edwin.
>
> I wrote some details on how to install Pharo in CentOS for a client. I
> paste them here in case it may help you:
>
> ---------------------------
>
>
> Installing Pharo in CentOS is not difficult. However, it does require some
> packages and dependencies. Pharo will only work with 32 bits libraries,
> therefore, we need to download them.
> [edit<http://debrispublishing.com/wiki/index.php?title=Infrastructure:Installing_…>
> ]Get Pharo
>
> You can get the Pharo from http://www.pharo-project.org/pharo-download.
> To install it you just need to uncompress it.
> [edit<http://debrispublishing.com/wiki/index.php?title=Infrastructure:Installing_…>
> ]Installing 32 bits needed libraries
>
> To install the minimal needed libraries, we can execute:
> sudo yum install libX11.i686 libX11-devel.i686 mesa-libGL.i686
> mesa-libGL-devel.i686
>
> To test if the VM works, just execute the following with a demo.image:
> ./pharo xxx.image
>
> And there shouldn't be any error in the console.
> [edit<http://debrispublishing.com/wiki/index.php?title=Infrastructure:Installing_…>
> ]Installing OpenSSL
>
> If we plan to use Zodiac or SSL we have to install openSSL 32 bits
> libraries. To do that:
> sudo yum install openssl098e.i686 openssl.i686
> sudo cp /usr/lib/libssl.so.0.9.8e /usr/lib/libssl.so.0.9.8
>
> Notice the second line is because otherwise Pharo fails to link to
> /usr/lib/libssl.so.0.9.8. To test if the link is correct, do:
> ldd /opt/pharo/pharoVM/libSqueakSSL.so
>
> And you should see something like:
> libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00291000)
>
> Otherwise, there is a problem in the link.
>
> Now, all Zodiac and Zinc-Zodiac tests should be green.
>
>
> On Mon, Aug 5, 2013 at 7:25 AM, Esteban Lorenzano <estebanlm(a)gmail.com>wrote:
>
>> Hi,
>>
>> That's a hard reference, sadly.
>> You need to install 0.9.8 (32bits) in your distribution. I don't know how
>> to do it in fedora, but on ubiuntu is usually plain simple... probably in
>> fedora is also available with the apt-get equivalent tool :)
>>
>> cheers,
>> Esteban
>>
>>
>> On Aug 5, 2013, at 6:43 AM, edwin ancaer <eancaer(a)gmail.com> wrote:
>>
>> Hello,
>>
>> I'm running Pharo 2.0 on Fedora 18. I seem to have an issue with
>> libssl.so which on my system is 1.0.1e, while libSquekSSL.so looks for
>> version 0.9.8, as described here:Zodiac mail sending in Pharo smalltalk<http://stackoverflow.com/questions/12293670/zodiac-mail-sending-in-pharo-sm…>.
>>
>> Does anyone know how to solve this? Creating a symbolic link from 0.9.8
>> to 1.0.1e does not solve the problem
>>
>> [edwin@ottopedi bin]# ldd libSqueakSSL.so
>> *./libSqueakSSL.so: /lib/libssl.so.0.9.8: version `OPENSSL_0.9.8' not
>> found (required by ./libSqueakSSL.so)*
>> linux-gate.so.1 => (0x001d2000)
>> libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00161000)
>> libc.so.6 => /lib/libc.so.6 (0x003a5000)
>> libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x00342000)
>> libkrb5.so.3 => /lib/libkrb5.so.3 (0x001d3000)
>> libcom_err.so.2 => /lib/libcom_err.so.2 (0x009ec000)
>> libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x00b76000)
>> libresolv.so.2 => /lib/libresolv.so.2 (0x002b3000)
>> libcrypto.so.10 => /lib/libcrypto.so.10 (0x0068a000)
>> libdl.so.2 => /lib/libdl.so.2 (0x0087a000)
>> libz.so.1 => /lib/libz.so.1 (0x00300000)
>> /lib/ld-linux.so.2 (0x4ed07000)
>> libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x00bcd000)
>> libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00c36000)
>> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0091d000)
>> libpthread.so.0 => /lib/libpthread.so.0 (0x002cc000)
>> libselinux.so.1 => /lib/libselinux.so.1 (0x0097f000)
>> libpcre.so.1 => /lib/libpcre.so.1 (0x0055b000)
>> :
>>
>> Is there anyone who managed to install the version 0.9.8 and 1.0.1e of
>> the openssl rpm on the same machine? Or is nobidy on Fedora 18 using Pharo?
>>
>> Thanks in advance,
>>
>> Edwin Ancaer
>>
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
Aug. 5, 2013
Re: [Pharo-users] OSProcess execution from specific directory
by Juraj Kubelka
Cool, thank you.
Jura
El 05-08-2013, a las 12:46, "David T. Lewis" <lewis(a)mail.msen.com> escribió:
> On Mon, Aug 05, 2013 at 08:42:12AM -0400, Juraj Kubelka wrote:
>> Hi!
>>
>> On execution of
>>
>> (PipeableOSProcess command: 'pwd') output
>>
>> , it always says root directory ("/"). Is it possible to execute command from specific directory? Or the only correct solution is like this?:
>>
>> (PipeableOSProcess command: 'cd /Users/jura/ ; pwd') output
>>
>> Thanks a lot.
>> Cheers,
>> Jura
>
> By default, PipeableOSProcess class>command: uses whatever current working
> directory is being used by the VM (which may vary depending on how your
> VM and image are being run). You can specify a different working directory
> like this:
>
> (PipeableOSProcess command: 'pwd'
> environment: nil
> workingDir: '/usr/bin'
> input: nil
> output: nil
> error: nil
> errorPipelineStream: nil) output
>
> HTH,
> Dave
>
>
Aug. 5, 2013
Re: [Pharo-users] OSProcess execution from specific directory
by David T. Lewis
On Mon, Aug 05, 2013 at 08:42:12AM -0400, Juraj Kubelka wrote:
> Hi!
>
> On execution of
>
> (PipeableOSProcess command: 'pwd') output
>
> , it always says root directory ("/"). Is it possible to execute command from specific directory? Or the only correct solution is like this?:
>
> (PipeableOSProcess command: 'cd /Users/jura/ ; pwd') output
>
> Thanks a lot.
> Cheers,
> Jura
By default, PipeableOSProcess class>command: uses whatever current working
directory is being used by the VM (which may vary depending on how your
VM and image are being run). You can specify a different working directory
like this:
(PipeableOSProcess command: 'pwd'
environment: nil
workingDir: '/usr/bin'
input: nil
output: nil
error: nil
errorPipelineStream: nil) output
HTH,
Dave
Aug. 5, 2013
Re: [Pharo-users] Voyage: Circular references
by Esteban Lorenzano
Hi Sabine,
I'm trying to understand your problem.
As far as I see, you have:
- A set of Countries
- A set of Trips
Why Country is transient?
When you declare an attribute as *transient*, that means its value will not be persisted, then when you retrieve it again, you will have country = nil in your trip (which I imagine is an error).
How I would solve this problem?
Well... both Trip and Country has to be persistent (both #isVoyageRoot should answer true).
That should be enough...
Now... you probably want your list of countries to be constant inside your app (since they are basically the same 150+others new each year-some no-more-there each year).
This is like an enumeration (Country = #(Argentine France Germany ...)
if this is your case, what you can do is to declare a different kind of accessor (in the same way you do it for magritte + seaside):
something like this:
Trip class>>#mongoCountry
<mongoDescription>
^ VOMongoToOneDescription new
attributeName: 'country';
accessor: (MAPluggableAccessor
read: [ :trip | trip country name ]
write: [ :trip :value | Country countryWithName: value ]);
yourself
this way you can keep in the database whatever value you want (an ISO, an internet extension, etc.)
I hope this solve your problem :)
Esteban
On Jul 29, 2013, at 7:01 PM, Sabine Knöfel <sabine.knoefel(a)gmail.com> wrote:
> Hi esteban, Thank you for answering. The Problem persists i was waiting for your answer and it would be great if you could answer my Last Post in the Forum (how to tell voyage the "boundary"). I am also in vacation now and back mid of next week. Sorry for the spelling i write from Mobile phone. Sabine
>
> Am 29.07.2013 15:13 schrieb "EstebanLM [via Smalltalk]" <[hidden email]>:
> Hi Sabine,
>
> I'm really sorry, I just went on vacations when you sent this mail :(
>
> Is this problem persisting?
> Did you reach a solution?
> Can I help you with something?
>
> Esteban
>
>
> On Jul 19, 2013, at 12:56 PM, Sabine Knöfel <[hidden email]> wrote:
>
>> Hi Esteban,
>>
>> thanks!
>>
>> I think the solution of Bernat will not be enough for me.
>> I added the class methods isVoyageRoot to the root objects (like trip,
>> country and so on).
>>
>> But I have instances which should never be persistent, e.g. the
>> country I mentioned. The Country has currencies and expense rates and
>> this is a lot of stuff...this should be only transient in the image.
>>
>> The transient country is referenced by persistent instances of trip.
>> (countrie does naturally not point to trips)
>>
>> Trip (persistant) -> Country (transient)
>>
>> If I try to save a trip, voyage at some point enters
>> >>rawReference: description:
>> and there, it looks whether anObject (a country) isNew:
>> isNew means the other object, the country has an _id (mongo id).
>>
>> The country does not have an id and for this reason, voyage tries to
>> make it persistent although its class has isVogageRoot false.
>> And than the system enters a point where it tries to make so many
>> objects persistent that the image does not respond anymore.
>>
>> So, my question is: is it possible to define
>> "In class trip, there is an inst var country -> voyage please save
>> only a symbol here"
>> and
>> "voyage, if loading a trip, for inst var country, do shting"
>>
>> Sure, I could save symbols within the trips country inst var all the time
>> and get the country it if needed, but it would be nicer if voyage coud
>> do that for me .-)
>>
>> Sabine
>>
>>
>>
>>
>>
>> On Fri, Jul 19, 2013 at 11:52 AM, EstebanLM [via Smalltalk]
>> <<a href="x-msg://4592/user/SendEmail.jtp?type=node&node=4699517&i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:
>>
>> > Hi Sabine,
>> >
>> > If Bernat help is not enough, I would like to have some more insight on your
>> > problem, so If you can put here a better description of your model and the
>> > problem you are having, I will have a look :)
>> >
>> > Esteban
>> >
>> > On Jul 19, 2013, at 10:42 AM, Bernat Romagosa <[hidden email]> wrote:
>> >
>> > Hi Sabine!
>> >
>> > If you want an object to be referenced by another, and not embedded in it,
>> > you need to give that object root entity. As a root, the object will have a
>> > collection of its own, and will be referenced by other objects by id. If the
>> > object is not root, it will be embedded inside the referring object as a
>> > property.
>> >
>> > So, to be safe, always set #isVoyageRoot to return true at class side of all
>> > objects you don't want to have embedded. In general, "big enough" objects
>> > who are referenced by different objects should be root.
>> >
>> > In my case, I had a centre which had users which had centres. Users also had
>> > projects, and projects also had users. Big mess, I know. Besides that, all
>> > users, centres and projects had profiles. My solution was to make centres,
>> > projects and users be roots, and let only the profiles be embedded.
>> >
>> > I hope this helped!
>> >
>> > Bernat.
>> >
>> >
>> > 2013/7/19 Sabine Knöfel <[hidden email]>
>> >>
>> >> Hi Esteban,
>> >>
>> >> yes, now the Rectangle Example works after doing the reset.
>> >>
>> >> But saving my model still leads to a non responding image because
>> >> Voyage is trying to write json for all model stuf deep deep deep and
>> >> circular. Perhaps same like:
>> >> http://forum.world.st/Voyage-Circular-references-td4691940.html#a4699436
>> >>
>>
>> >> I dont know anything about Magritte (yet) and I need a hint what to
>> >> define in my model so that it stops creating json at certain points
>> >> and creates only e.g. a Symbol.
>> >>
>> >> Example: My model instance of trip has a connection to an instance of
>> >> country. The country should not be written in json with all its
>> >> definitions. Voyage should only write e.g. #germany in the json and
>> >> later, when getting the instance back from the database, I want to
>> >> reassign the trip to the country.
>> >>
>> >> I already implemented this stuff when working witk Mongotalk the last
>> >> months and it worked fine. But my question yesterday:
>> >>
>> >> http://forum.world.st/MongoDB-open-close-in-production-singleton-or-not-td4…
>> >> lead to my impression that I should use voyage.
>>
>> >>
>> >> So, how can I define the "borders"?
>> >>
>> >> Sabine
>> >>
>> >> On Thu, Jul 18, 2013 at 7:45 PM, EstebanLM [via Smalltalk]
>> >> <[hidden email]> wrote:
>> >>
>> >> > Hi Sabine,
>> >> >
>> >> > Probably you do not missed anything.
>> >> > Probably I missed to update the voyage configuration :)
>> >> >
>> >> > can you try doing
>> >> >
>> >> > VOMongoRepository allInstancesDo: #reset.
>> >> >
>> >> > before trying again?
>> >> >
>> >> > Cheers,
>> >> > Esteban
>> >> >
>> >> > On Jul 18, 2013, at 6:31 PM, Sabine Knöfel <[hidden email]> wrote:
>> >>
>> >> >
>> >> >> I found this:
>> >> >> http://smallworks.eu/web/blog/2013-06-14-voyage-the-adventure
>> >> >>
>> >> >> Chapter "Enhancing storage"
>> >> >> But if I add the 3+1 methods to Rectangle, and save it again, the json
>> >> >> did
>> >> >> not change.
>> >> >>
>> >> >> Did I miss something?
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >> http://forum.world.st/Voyage-Circular-references-tp4691940p4699436.html
>> >> >> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ________________________________
>> >> > If you reply to this email, your message will be added to the discussion
>> >> > below:
>> >> > http://forum.world.st/Voyage-Circular-references-tp4691940p4699443.html
>> >> > To unsubscribe from Voyage: Circular references, click here.
>>
>> >> > NAML
>> >>
>> >> ________________________________
>> >> View this message in context: Re: Voyage: Circular references
>> >>
>> >> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>> >
>> >
>> >
>> >
>> > --
>> > Bernat Romagosa.
>> >
>> >
>> >
>> >
>> > ________________________________
>> > If you reply to this email, your message will be added to the discussion
>> > below:
>> > http://forum.world.st/Voyage-Circular-references-tp4691940p4699516.html
>> > To unsubscribe from Voyage: Circular references, click here.
>> > NAML
>> View this message in context: Re: Voyage: Circular references
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://forum.world.st/Voyage-Circular-references-tp4691940p4701282.html
> To unsubscribe from Voyage: Circular references, click here.
> NAML
>
> View this message in context: Re: Voyage: Circular references
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Aug. 5, 2013
Re: [Pharo-users] New version of PharoSound
by Stéphane Ducasse
Thanks xavier!
On Aug 5, 2013, at 2:53 PM, Xavier MESSNER <xmessner(a)gmail.com> wrote:
> Hi,
>
> I have wrote a post to have sound on Pharo 1.4 and 2.0 (20576).
> Maybe you could have a look and try to use it to play sounds on Pharo !
>
> My blog is here (sorry it's in french !) :
> http://mylittlesmalltalkworld.wordpress.com/2013/02/28/donner-de-la-voix-a-…
> <http://mylittlesmalltalkworld.wordpress.com/2013/02/28/donner-de-la-voix-a-…>
>
> I don't know if it's the best way to have sound but it works :)
>
> I will try to use summer edition to see if it still work.
>
> Xavier.
>
>
>
> --
> View this message in context: http://forum.world.st/New-version-of-PharoSound-tp4702032p4702168.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
Aug. 5, 2013
Re: [Pharo-users] XMLWriter Class
by Mohammad Al Houssami (Alumni)
That works perfectly....
I have no idea what went wrong but its working now. Thank you Juraj, Guille and Stef
From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Juraj Kubelka
Sent: Monday, August 05, 2013 1:49 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class
It look like you have a different pharo image. I use the actual stable 2. If you install what is offered, it does not work? If it is not, I think the best way is to migrate your project into new image.
Just try a new image in order to be sure it works for you. Then you can investigate the bug in your image.
Cheers,
Jura
El 05-08-2013, a las 8:35, "Mohammad Al Houssami (Alumni)" <mha53(a)mail.aub.edu<mailto:mha53@mail.aub.edu>> escribió:
I just downloaded all the require mcz files and dropped them into pharo.
I cant find the same versions you told me about Jura.
<image001.png>
I tried to install XMLWriter but since I had one already I had some errors so I removed the whole package... I installed it and I got no errors... but I cant find it in my system browser anymore... What did I do wrong ?
From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org<mailto:users-bounces@lists.pharo.org>] On Behalf Of Guillermo Polito
Sent: Monday, August 05, 2013 1:27 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class
I was about to say the same thing :).
How did you install them? I'd recommend not to install the packages manually unless you are the package developer, since their dependencies are not explicit.
Usually, since both packages have their own version and evolve independently for our CVS (monticello), we use metacello to manage the projects configurations. So, I'd follow Juraj advice and have a look at the configuration browser.
Guille
On Mon, Aug 5, 2013 at 2:19 PM, Juraj Kubelka <juraj.kubelka(a)gmail.com<mailto:juraj.kubelka@gmail.com>> wrote:
I use both of them these days and I do not have problem. I have installed them from world menu -> Tools -> Configuration Browser (XMLParser-DamienCassou.143, XMLWriter-CamilloBruni.2). It looks like you have something different in your image (or corrupted). See attachment. Image of Pharo 2 downloaded from project page.
Cheers,
Jura
<image002.jpg>
El 05-08-2013, a las 8:10, "Mohammad Al Houssami (Alumni)" <mha53(a)mail.aub.edu<mailto:mha53@mail.aub.edu>> escribió:
Yes I have them both and both packages don't have an XMLWriter class :)
Check the screen shots...
<image001.png>
<image002.png>
From: Pharo-users [mailto:pharo-<mailto:pharo->users-bounces(a)lists.pharo.org<mailto:users-bounces@lists.pharo.org>] On Behalf Of Stéphane Ducasse
Sent: Monday, August 05, 2013 12:54 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class
there are two packages
XMLParser
and
XMLWriter
in PharoExtras
Stef
I have asked about this earlier. I am using the XML library and in XML-Parser-Nodes there is a method printOn
printOn: aStream
(XMLWriter on: aStream) writeWith: [:writer | self writeXMLOn: writer].
Since I didn't have XMLWriter I thought it would be inside the XML-Writer package but apparently it is not. Can I know what package has this class? Or if there is anyway to solve this problem?
Thanks again :)
Aug. 5, 2013
Re: [Pharo-users] New version of PharoSound
by Xavier MESSNER
Hi,
I have wrote a post to have sound on Pharo 1.4 and 2.0 (20576).
Maybe you could have a look and try to use it to play sounds on Pharo !
My blog is here (sorry it's in french !) :
http://mylittlesmalltalkworld.wordpress.com/2013/02/28/donner-de-la-voix-a-…
<http://mylittlesmalltalkworld.wordpress.com/2013/02/28/donner-de-la-voix-a-…>
I don't know if it's the best way to have sound but it works :)
I will try to use summer edition to see if it still work.
Xavier.
--
View this message in context: http://forum.world.st/New-version-of-PharoSound-tp4702032p4702168.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Aug. 5, 2013
Re: [Pharo-users] XMLWriter Class
by Juraj Kubelka
It look like you have a different pharo image. I use the actual stable 2. If you install what is offered, it does not work? If it is not, I think the best way is to migrate your project into new image.
Just try a new image in order to be sure it works for you. Then you can investigate the bug in your image.
Cheers,
Jura
El 05-08-2013, a las 8:35, "Mohammad Al Houssami (Alumni)" <mha53(a)mail.aub.edu> escribió:
> I just downloaded all the require mcz files and dropped them into pharo.
> I cant find the same versions you told me about Jura.
> <image001.png>
> I tried to install XMLWriter but since I had one already I had some errors so I removed the whole package⦠I installed it and I got no errors⦠but I cant find it in my system browser anymore⦠What did I do wrong ?
>
> From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Guillermo Polito
> Sent: Monday, August 05, 2013 1:27 PM
> To: Any question about pharo is welcome
> Subject: Re: [Pharo-users] XMLWriter Class
>
> I was about to say the same thing :).
>
> How did you install them? I'd recommend not to install the packages manually unless you are the package developer, since their dependencies are not explicit.
>
> Usually, since both packages have their own version and evolve independently for our CVS (monticello), we use metacello to manage the projects configurations. So, I'd follow Juraj advice and have a look at the configuration browser.
>
> Guille
>
>
> On Mon, Aug 5, 2013 at 2:19 PM, Juraj Kubelka <juraj.kubelka(a)gmail.com> wrote:
> I use both of them these days and I do not have problem. I have installed them from world menu -> Tools -> Configuration Browser (XMLParser-DamienCassou.143, XMLWriter-CamilloBruni.2). It looks like you have something different in your image (or corrupted). See attachment. Image of Pharo 2 downloaded from project page.
>
> Cheers,
> Jura
>
> <image002.jpg>
>
> El 05-08-2013, a las 8:10, "Mohammad Al Houssami (Alumni)" <mha53(a)mail.aub.edu> escribió:
>
>
> Yes I have them both and both packages donât have an XMLWriter class J
> Check the screen shotsâ¦
> <image001.png>
> <image002.png>
>
> From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Stéphane Ducasse
> Sent: Monday, August 05, 2013 12:54 PM
> To: Any question about pharo is welcome
> Subject: Re: [Pharo-users] XMLWriter Class
>
> there are two packages
>
> XMLParser
> and
> XMLWriter
>
> in PharoExtras
>
> Stef
>
>
> I have asked about this earlier. I am using the XML library and in XML-Parser-Nodes there is a method printOn
> printOn: aStream
> (XMLWriter on: aStream) writeWith: [:writer | self writeXMLOn: writer].
>
> Since I didnât have XMLWriter I thought it would be inside the XML-Writer package but apparently it is not. Can I know what package has this class? Or if there is anyway to solve this problem?
>
> Thanks again J
>
Aug. 5, 2013