Hi, I’m new to Pharo, and generally, in programming. I decided that my first programming language is going to be Pharo. However I have encountered some issues when I was exploring some examples. I don’t want them to bother
me later, so I’d like them to be resolved as soon as possible. Some info: OS: Windows 8.1, language Polish, Pharo version: 7 stable 64, Pharo Launcher installed in C:\PharoLauncher, images and VMs located in C:\users\<user>\Documents\... My Windows account (admin user) username contains non-ASCII character (“Ł”). I tested all cases below on account with only ASCII characters (“Administrator”) and they all work just fine. Therefore
I strongly suspect the main source of issues is character encoding but I have no idea how to solve it or if it’s actual problem. Noticed that #1 and #2 fails when attempting to perfom FFI call Here’s the list of things with issues I encountered:
In second example it goes straight to downloading from git repo, while first throws error
Instead of “Ł” there are displayed some “rubbish” characters I opened debugger in case #1 and #2 (On personal account) and noticed that variable “ec” (error code I guess) has value 29 (See “invokeWithArgs”) in method “invokeWithArguments”, and variable “errCode” has value 6 (See
“externalCallFailed”) in method “externalCallFailed”. I guess those values are related to Windows error codes so I looked them up on Microsoft site. For 6 I found it’s error “ERROR_INVALID_HANDLE”,
while for 29 it’s “ERROR_WRITE_FAULT”.
As I mentioned above, this might be character encoding problem, but this is just my guessing. Hope you can help me resolve it. Second thing I’d like to ask is, what are best up to date learning resources for Pharo? I’m mainly concerned about tools. I know a bit about idea of
“real” OOP (from Alan Kay’s talks). Is Mooc (http://mooc.pharo.org/) and Pharo by Example 5 enough for start? For Mooc, do I need to use Mooc image (It uses a bit outdated Pharo version) or can I use simply Pharo 7?
invokeWithArgs.jpeg (55K) Download Attachment externalCallFailed.jpeg (49K) Download Attachment Error.jpeg (62K) Download Attachment Git-1.PNG (115K) Download Attachment Git-2.PNG (63K) Download Attachment Args-1.jpg (133K) Download Attachment Args-2.jpg (104K) Download Attachment Mooc.jpg (81K) Download Attachment |
Hello, On Sat, 19 Oct 2019 at 09:45, M O <[hidden email]> wrote:
I think you found two things that will make it harder to use the Pharo environment:
Do you know of exercism.io? There is a Pharo track there, and you can always ask for help with those challenges using the #exercism channel of the Pharo Discord server
https://discordapp.com/invite/QewZMZa |
Free forum by Nabble | Edit this page |