Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5
On 20-11-15 21:44, Juraj Kubelka wrote: Can you give me an example? The file has about 30.000 files (compressed less then 50 MB). I am not sure if it is good idea to manage this inside of Pharo image. AFAIK file systems are much worse with very many small files. Minimum block size. Stephan
Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5
Le 20/11/15 21:16, Juraj Kubelka a écrit : If I remember well, ZIP in Pharo supports only one file (one stream of data). There is no support for directories. At least, when I have intended it some time ago, I failed. mcz is a zip and it contain multifiles. I do not stand on using *.tar.gz, but I have not found better solution for my setup: Directory is compressed on Linux machine and should be extracted on any machine by using local tools. Do I miss some feature in Pharo? Cheers, Juraj On Nov 20, 2015, at 12:35, Tudor Girba wrote: Why not use Zip files? There already exists direct support for that (hopefully it still works). Doru On Nov 20, 2015, at 4:16 PM, Juraj Kubelka wrote: Hi, is there a way to extract *.tar.gz files using plain Pharo 5 image? Without loading extra packages? It could be OS dependent. Maybe calling external linux tar application. I have done it with ExternalUnixOSProcess object, but it is not standard part of Pharo 5. Thanks for any comment. Juraj -- www.tudorgirba.com "Innovation comes in the least expected form. That is, if it is expected, it already happened."
Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5
Monticello MCZ files are zip files. Just rename the extension to ZIP and unzip it and you'll see multiple files and a directory containing a file. So intuitively I'd say ZIP in Pharo must support directories - not that I know how :) cheers -ben On Sat, Nov 21, 2015 at 4:16 AM, Juraj Kubelka wrote: > If I remember well, ZIP in Pharo supports only one file (one stream of data). > There is no support for directories. At least, when I have intended it some > time ago, I failed. > > I do not stand on using *.tar.gz, but I have not found better solution for my > setup: Directory is compressed on Linux machine and should be extracted on > any machine by using local tools. > > Do I miss some feature in Pharo? > > Cheers, > Juraj > > >> On Nov 20, 2015, at 12:35, Tudor Girba wrote: >> >> Why not use Zip files? There already exists direct support for that >> (hopefully it still works). >> >> Doru >> >> >> >> >>> On Nov 20, 2015, at 4:16 PM, Juraj Kubelka wrote: >>> >>> Hi, >>> >>> is there a way to extract *.tar.gz files using plain Pharo 5 image? Without >>> loading extra packages? It could be OS dependent. Maybe calling external >>> linux tar application. I have done it with ExternalUnixOSProcess object, >>> but it is not standard part of Pharo 5. >>> >>> Thanks for any comment. >>> Juraj >> >> -- >> www.tudorgirba.com >> >> "Innovation comes in the least expected form. >> That is, if it is expected, it already happened." >> >> > >
Re: [Pharo-users] Extracting *.tar.gz file in Pharo 5
Indeed. The GTInspector and Spotter shows you how to navigate inside such zip files, too :). Doru > On Nov 21, 2015, at 12:17 PM, stepharo wrote: > > > > Le 20/11/15 21:16, Juraj Kubelka a écrit : >> If I remember well, ZIP in Pharo supports only one file (one stream of >> data). There is no support for directories. At least, when I have intended >> it some time ago, I failed. > > mcz is a zip and it contain multifiles. > >> >> I do not stand on using *.tar.gz, but I have not found better solution for >> my setup: Directory is compressed on Linux machine and should be extracted >> on any machine by using local tools. >> >> Do I miss some feature in Pharo? >> >> Cheers, >> Juraj >> >> >>> On Nov 20, 2015, at 12:35, Tudor Girba wrote: >>> >>> Why not use Zip files? There already exists direct support for that >>> (hopefully it still works). >>> >>> Doru >>> >>> >>> >>> On Nov 20, 2015, at 4:16 PM, Juraj Kubelka wrote: Hi, is there a way to extract *.tar.gz files using plain Pharo 5 image? Without loading extra packages? It could be OS dependent. Maybe calling external linux tar application. I have done it with ExternalUnixOSProcess object, but it is not standard part of Pharo 5. Thanks for any comment. Juraj >>> -- >>> www.tudorgirba.com >>> >>> "Innovation comes in the least expected form. >>> That is, if it is expected, it already happened." >>> >>> >> >> > > -- www.tudorgirba.com "If you can't say why something is relevant, it probably isn't."
[Pharo-users] Spec on Moose 6.0 error: MessageNotUnderstood: ToolDockingBarMorph>>popUpOwner
Hi, I'm getting this error while trying to prototype some interface with Spec on Moose 6.0: MessageNotUnderstood: ToolDockingBarMorph>>popUpOwner it happens anytime that I'm using displaying a MenuModel and I go to the menu items. I imagine that the menu item is complaining about a lacking pop up message. How can I solve this? Thanks, Offray