Re: ZnClient issue: ZdcPlugin Missing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

CyrilFerlicot
Le 12/01/2018 à 19:48, Photon a écrit :
> Hello,
>
> I was just following along this book:
> and it told me to get some data via ZnClient like this, I tried them both
> with a dot inbetween and independantly like in the picture below. Does
> someone got an idea what`s wrong?
>

Hi,

Are you on Windows?

Sometimes the Windows's anti-virus delete this plugin... We need to sign
the VM for windows to avoid this problem.

Try to browse the zip without extracting it to see if it contains the
plugin.

> <http://forum.world.st/file/t371759/ZnClient_issue.png>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
>


--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France


signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

Photon
This post was updated on .
Hey Cyril,

thanks for your reply. I do not quite understand your instructions tho. I
mean I get the anti virus part. I checked both folders, the zipped and
unzipped one. They both do not hold any Zclient or Zdc plugin only a
zlib1.dll

The weird part is that the unzipped ffolder contains more items besides of
my images. There were two particular wich I found in the unzipped folder but
not in the zipped folder:
stderr and stdout wich are just "files"...

I do not understand what it means to sign the vm to windows tho. How do i do
that? I want to give it a shot.

Cheers

p.s. Sorry that my posts are allways a mess but the forum here seems to troll me.
 It allways deletes my raw text and some links. And for some reason even tho I moved the thread to the user list it`s in the dev list again. Now the topic is in each list. It`s a bit confusing :/



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

Sven Van Caekenberghe-2
Hi,

You need a VM directory that looks like this:

$ ls -la ~/Downloads/pharo-win-stable/
total 37608
drwx------@  20 sven  staff      640 Jan 13 10:56 .
drwx------+ 802 sven  staff    25664 Jan 13 10:56 ..
-rwxrwxr-x@   1 sven  staff   173178 May 31  2017 FT2Plugin.dll
-rwxrwxr-x@   1 sven  staff  2863994 May 31  2017 Pharo.exe
-rwxrwxr-x@   1 sven  staff  2863994 May 31  2017 PharoConsole.exe
-rwxr-x---@   1 sven  staff  1752312 May 31  2017 SDL2.dll
-rwxrwxr-x@   1 sven  staff   161880 May 31  2017 SqueakSSL.dll
-rwxrwxr-x@   1 sven  staff   107648 May 31  2017 SurfacePlugin.dll
-rwxr-xr-x@   1 sven  staff    27136 May 31  2017 iconv.dll
-rwxr-x---@   1 sven  staff  1369559 May 31  2017 libcairo-2.dll
-rwxr-x---@   1 sven  staff  2275722 May 31  2017 libeay32.dll
-rwxr-x---@   1 sven  staff   831910 May 31  2017 libfreetype.dll
-rwxr-xr-x@   1 sven  staff    92672 May 31  2017 libgcc_s_sjlj-1.dll
-rwxr-x---@   1 sven  staff  1493721 May 31  2017 libgit2.dll
-rwxr-x---@   1 sven  staff  3676680 May 31  2017 libpixman-1-0.dll
-rwxr-x---@   1 sven  staff   461894 May 31  2017 libpng16-16.dll
-rwxr-x---@   1 sven  staff   328519 May 31  2017 libssh2-1.dll
-rwxr-xr-x@   1 sven  staff    48147 May 31  2017 libwinpthread-1.dll
-rwxr-x---@   1 sven  staff   589372 May 31  2017 ssleay32.dll
-rwxr-x---@   1 sven  staff   101888 May 31  2017 zlib1.dll

You probably miss SqueakSSL.dll or a dependent DLL.

HTH,

Sven

> On 13 Jan 2018, at 10:11, Photon <[hidden email]> wrote:
>
> Hey Cyril,
>
> thanks for your reply. I do not quite understand your instructions tho. I
> mean I get the anti virus part. I checked both folders, the zipped and
> unzipped one. They both do not hold any Zclient or Zdc plugin only a
> zlib1.dll
>
> The weird part is that the unzipped ffolder contains more items besides of
> my images. There were two particular wich I found in the unzipped folder but
> not in the zipped folder:
> stderr and stdout wich are just "files"...
>
> I do not understand what it means to sign the vm to windows tho. How do i do
> that? I want to give it a shot.
>
> Cheers
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
>


Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

Photon
Ok i deleted the whole folder and downloaded it again. unzipped it an run a
fresh image.
It is allmost funny because now i get a different error: Instance of byte
array did not understand #lines
i tried again both expressions and together. With and without lines. I even
put a # in front of the array.
Nothing works. See picture below.



<http://forum.world.st/file/t371759/bytearray.png>



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

Sven Van Caekenberghe-2
can you paste that expression/URL in text so that I can try myself ?

> On 13 Jan 2018, at 14:31, Photon <[hidden email]> wrote:
>
> Ok i deleted the whole folder and downloaded it again. unzipped it an run a
> fresh image.
> It is allmost funny because now i get a different error: Instance of byte
> array did not understand #lines
> i tried again both expressions and together. With and without lines. I even
> put a # in front of the array.
> Nothing works. See picture below.
>
>
>
> <http://forum.world.st/file/t371759/bytearray.png>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
>


Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

Photon
This post was updated on .
Oh yes of course... that`s what im saying. I did post it actually allready
twice but the forum seems to delete raw text.  So I have to post and then
edit to put then text back in every time.  But yes here is the code:

(ZnClient new
get: 'https://raw.githubusercontent.com/SquareBracketAssociates/
LearningOOPWithPharo/
master/resources/listeDeMotsAFrancaisUTF8.txt') lines

(ZnClient new
get: 'https://raw.githubusercontent.com/SquareBracketAssociates/
LearningOOPWithPharo/
master/resources/listeDeMotsFrancaisFrGutUTF8.txt') lines

I `m following this book :http://books.pharo.org/learning-oop/
it`s page 61
Thanks for your help

--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

Sven Van Caekenberghe-2
Both of the following work for me:

(ZnClient new
get: 'https://raw.githubusercontent.com/SquareBracketAssociates/LearningOOPWithPharo/master/resources/listeDeMotsAFrancaisUTF8.txt') lines.

(ZnClient new
get: 'https://raw.githubusercontent.com/SquareBracketAssociates/LearningOOPWithPharo/master/resources/listeDeMotsFrancaisFrGutUTF8.txt') lines

Of course, the URL has to be on 1 line without newlines or other breaks that could result from copy/pasting.

> On 13 Jan 2018, at 15:44, Photon <[hidden email]> wrote:
>
> Oh yes of course... that`s what im saying. I did post it actually allready
> twice but the forum seems to delete raw text.  So i have to post and then
> edit to put then tet back in every time.  But yes here is the code:
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
>


Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

Photon
This post was updated on .
Impossibru! Now it is working for me aswell. I don`t know if you changed
something syntax wise but thank you very much for you time and effort.

Edit: ok interestingly enough; I compared the two expressions. The new one and the one from the screensot.
I reconized that in the first one, wich I copied from the book, were some breaks in the string to start a new line. To format the layout of the pdf I quess. So it tuns out if I format the working expression like in the book it does not work anymore:
(ZnClient new
get: 'https://raw.githubusercontent.com/SquareBracketAssociates/
LearningOOPWithPharo/
master/resources/listeDeMotsAFrancaisUTF8.txt') lines

and this works without using enter to start a new line:
(ZnClient new 
get: 'https://raw.githubusercontent.com/SquareBracketAssociates/LearningOOPWithPharo/master/resources/listeDeMotsAFrancaisUTF8.txt') lines

--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

Sven Van Caekenberghe-2


> On 13 Jan 2018, at 16:58, Photon <[hidden email]> wrote:
>
> Impossibru! Now it is working for me aswell. I don`t know if you changed
> something syntax wise but thank you very much for you time and effort.

No, no, I did not change anything, you just broke the URL by inserting newlines (inadvertently).
Reply | Threaded
Open this post in threaded view
|

Re: ZnClient issue: ZdcPlugin Missing

Photon
Yes thank you I figured. See my previous post edit.

Nice I go study now. Have a nice evening :)



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html