Re: [Pharo-users] ZipFileMember>>contentStream has leading characters

2014-10-13 Thread stepharo
On 13/10/14 01:31, DiegoSanchez wrote: Hi everybody! This is my first post Welcome :) In which image version are you? and I'm posting this question after going around this forum without finding answer for my question. I couldn't wrap my mind around it. Here is the issue (in fact it is not

Re: [Pharo-users] source code

2014-10-13 Thread stepharo
welcome. Create an account on SmalltalkHub and you will be able to share code with your collaborators. You can create a team to manage your rights for a set of projects. On 13/10/14 11:32, Erik Itter wrote: Hello, being new to Smalltalk I wonder how I exchange source code both with collabo

Re: [Pharo-users] Citizen example for manipulating a bibtex file

2014-10-13 Thread stepharo
Look at - Citezen tests - StefPublicationsDocBuilder - in the Reborn package you have a document hierarchy to build doc containing citations you have there visitor - in the Tools package well you have tools :) You can manipulate CXEntries. Create a class ReKeyer to embed t

Re: [Pharo-users] Trouble opening large files

2014-10-13 Thread Evan Donahue
Hi, thanks for the reply. The response is the same: "MessageNotUnderstood: False>>humanReadableSIByteSize." This happens both to print-it as well as to do-it-and-go. Running the command on the neighboring "wiki.torrent" torrent file yields the correct 54kb. Thanks, Evan On Tue, Oct 14, 2014 at

Re: [Pharo-users] Trouble opening large files

2014-10-13 Thread Tudor Girba
Hi, If I understand correctly, the failure occurs while navigating in the "Items" presentation. I cannot reproduce this problem because I do not have enough disk space for such a large file :). But, could you do the following and let me know what the outcome is: 'path/to/your/large/file.xml' asF

[Pharo-users] Trouble opening large files

2014-10-13 Thread Evan Donahue
Hello, I've run into some odd behavior and wanted to check whether I might be missing something: I have downloaded a copy of the english wikipedia as an xml file and am hoping to (sax) parse it. However, I can't even seem to get pharo to recognize that the file exists. If I open FileSystem disk r

Re: [Pharo-users] ZipFileMember>>contentStream has leading characters

2014-10-13 Thread DiegoSanchez
Thanks Tudor, Yes I'm using Pharo 3. On 13 October 2014 08:33, Tudor Girba-2 [via Smalltalk] < ml-node+s1294792n478429...@n4.nabble.com> wrote: > You are likely referring to the issue reported here: > https://pharo.fogbugz.com/f/cases/12826/Zip-FileSystem-does-not-work > > This should work now i

Re: [Pharo-users] ZipFileMember>>contentStream has leading characters

2014-10-13 Thread Tudor Girba
You are likely referring to the issue reported here: https://pharo.fogbugz.com/f/cases/12826/Zip-FileSystem-does-not-work This should work now in the latest Pharo 4.0. If you are using Pharo 3.0, loading the slice manually from the Pharo40Inbox should fix the issue as well. What version are you u

Re: [Pharo-users] ZipFileMember>>contentStream has leading characters

2014-10-13 Thread Diego Sánchez
| zipper file | zipper := ZipArchive new readFrom: 'tp1.zip'. "file contains test.st" file := zipper members at: 1. "file contentStream returns the stream with file's information uncompressed" On 13 October 2014 08:22, Diego Sánchez wrote: > doitFromSt

Re: [Pharo-users] ZipFileMember>>contentStream has leading characters

2014-10-13 Thread Diego Sánchez
doitFromStream | zipper file | zipper := ZipArchive new readFrom: '/Users/diego/tp1-95195.zip'. file := zipper members at: 2. "file contentStream returns the stream with file's information uncompressed" On 13 October 2014 08:15, Tudor Girba wrote: > Wha

Re: [Pharo-users] ZipFileMember>>contentStream has leading characters

2014-10-13 Thread Tudor Girba
What is the code that you use? Doru On Mon, Oct 13, 2014 at 1:31 AM, DiegoSanchez wrote: > Hi everybody! This is my first post and I'm posting this question after > going around this forum without finding answer for my question. I couldn't > wrap my mind around it. > > Here is the issue (in f

Re: [Pharo-users] source code

2014-10-13 Thread kilon alios
I am not aware of tools that do this inside pharo (I am also using pharo for only a year now) but you can do this via code for example lets say you want to see the source code for TaskbarMorph both instance and class methods you can use this code to output the source code to the transcript Transcr

Re: [Pharo-users] source code

2014-10-13 Thread jtuc...@objektfabrik.de
Erik, for your collaborators, using a scm tool like Monticello is probably the best you can do. To print a class in your papers, you can probably get there fastest by doing a fileOut of your class(es) and import the resulting .st file into your word processor. There will be a lot of exclamatio

[Pharo-users] source code

2014-10-13 Thread Erik Itter
Hello, being new to Smalltalk I wonder how I exchange source code both with collaborators and with my papers. Is there any view on the code basis where I see the complete class I wrote in order to use the source code in my papers without the need to collect pieces from the individual methods?

Re: [Pharo-users] Using a private git repository with Metacello

2014-10-13 Thread Thierry Goubier
Hi Julien, for my part, it would probably mean that GitFileTree isn't loaded. Do you have a package named MonticelloFileTree-Git? I load it with: Gofer new url: ' http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main'; configurationOf: 'GitFileTree';