Voyage

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

Re: Voyage

EstebanLM
Hi, 

I’m sorry I didn’t see this before. 
This happens because there are many projects that are still using filetree format which stores one file per method. And the problem here is that windows has a path limit that you are exceeding. 
To workaround this problem: 

- Open iceberg settings (toolbar button in repositories window).
- Check "Share repositories between images”.
- In "Location for shared repositories” put something like “C:\repo” (you will need to create that dir too).

And retry :)

Esteban

On 4 Dec 2018, at 17:24, Sanjay Minni <[hidden email]> wrote:

Hi Esteban,

I get a Debug Popup as per below - how do I debug from here

<http://forum.world.st/file/t368721/VoyageIcebergLoadErr01.jpg> 

<http://forum.world.st/file/t368721/VoyageLoadError01.jpg> 


EstebanLM wrote
There is indeed a problem because cryptography package is still using an
old API: #ifNotNilDo: that does not exists anymore in Pharo. 
You are probably seen something like this: 




(And this is a bug)
Anyway, while we fix this, you can replace #ifNotNilDo: for #ifNotNil:,
then save and select “proceed”.

That will allow voyage to load properly.

Cheers, 
Esteban



On 2 Dec 2018, at 12:39, Sanjay Minni &lt;

sm@

&gt; wrote:

I am unable to load Voyage-Mongo and Voyage-Memory in  Pharo 7.0.0rC1

tried using the scipt below and also thru the Catalog Browser entries for
Voyage
any pointers


CyrilFerlicot wrote
Le 16/11/2018 à 02:02, horrido a écrit :
I'm trying to load Voyage for MongoDB and I'm having great difficulty.
The
docs seem to be out of date.

What are the current instructions for doing this?

The docs also refer to "Configurations Browser" in World Menu/Tools,
but
there is no longer any such thing.



Hi,

Voyage-Mongo

Metacello new
  repository: '<a href="github://pharo-nosql/voyage/mc" class="">github://pharo-nosql/voyage/mc';
  baseline: 'Voyage';
  onConflictUseIncoming;
  load: 'mongo tests'.

Voyage-UnQLite

Metacello new
  repository: '<a href="github://pharo-nosql/voyage/mc" class="">github://pharo-nosql/voyage/mc';
  baseline: 'Voyage';
  onConflictUseIncoming;
  load: 'unqlite tests'.

Voyage-Memory

Metacello new
  repository: '<a href="github://pharo-nosql/voyage/mc" class="">github://pharo-nosql/voyage/mc';
  baseline: 'Voyage';
  onConflictUseIncoming;
  load: 'memory tests'.

Should work.


--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



-- 
Cyril Ferlicot
https://ferlicot.fr



signature.asc (836 bytes)
&lt;http://forum.world.st/attachment/5088985/0/signature.asc&gt;





-----
cheers, 
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html




Screenshot 2018-12-02 at 15.02.19.png (165K)
&lt;http://forum.world.st/attachment/5090021/0/Screenshot%202018-12-02%20at%2015.02.19.png&gt;





-----
cheers, 
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: Voyage

Sanjay Minni
This seems to work - at least loading seems to have gone thru

but is it possible to shorten the following filename in the github
repository itself

cryptUIDlgSelectCertificateFromStore.winHandle.pwszTitle.pwszDisplayString.dwDontUseColumn.flags.reserved..st

it is in
https://github.com/pharo-contributions/Cryptography/tree/master/source/Cryptography-MSCerts.package/Win32FFICertificateStore.class/instance

i do not know if there any any other filenames that long


EstebanLM wrote

> Hi,
>
> I’m sorry I didn’t see this before.
> This happens because there are many projects that are still using filetree
> format which stores one file per method. And the problem here is that
> windows has a path limit that you are exceeding.
> To workaround this problem:
>
> - Open iceberg settings (toolbar button in repositories window).
> - Check "Share repositories between images”.
> - In "Location for shared repositories” put something like “C:\repo” (you
> will need to create that dir too).
>
> And retry :)
>
> Esteban
>
>> On 4 Dec 2018, at 17:24, Sanjay Minni &lt;

> sm@

> &gt; wrote:
>>
>> Hi Esteban,
>>
>> I get a Debug Popup as per below - how do I debug from here
>>
>> &lt;http://forum.world.st/file/t368721/VoyageIcebergLoadErr01.jpg
>> &lt;http://forum.world.st/file/t368721/VoyageIcebergLoadErr01.jpg&gt;>
>>
>> &lt;http://forum.world.st/file/t368721/VoyageLoadError01.jpg
>> &lt;http://forum.world.st/file/t368721/VoyageLoadError01.jpg&gt;>
>>
>>
>> EstebanLM wrote
>>> There is indeed a problem because cryptography package is still using an
>>> old API: #ifNotNilDo: that does not exists anymore in Pharo.
>>> You are probably seen something like this:
>>>
>>>
>>>
>>>
>>> (And this is a bug)
>>> Anyway, while we fix this, you can replace #ifNotNilDo: for #ifNotNil:,
>>> then save and select “proceed”.
>>>
>>> That will allow voyage to load properly.
>>>
>>> Cheers,
>>> Esteban
>>>
>>>
>>>
>>>> On 2 Dec 2018, at 12:39, Sanjay Minni &lt;
>>
>>> sm@
>>
>>> &gt; wrote:
>>>>
>>>> I am unable to load Voyage-Mongo and Voyage-Memory in  Pharo 7.0.0rC1
>>>>
>>>> tried using the scipt below and also thru the Catalog Browser entries
>>>> for
>>>> Voyage
>>>> any pointers
>>>>
>>>>
>>>> CyrilFerlicot wrote
>>>>> Le 16/11/2018 à 02:02, horrido a écrit :
>>>>>> I'm trying to load Voyage for MongoDB and I'm having great
>>>>>> difficulty.
>>>>>> The
>>>>>> docs seem to be out of date.
>>>>>>
>>>>>> What are the current instructions for doing this?
>>>>>>
>>>>>> The docs also refer to "Configurations Browser" in World Menu/Tools,
>>>>>> but
>>>>>> there is no longer any such thing.
>>>>>>
>>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> Voyage-Mongo
>>>>>
>>>>> Metacello new
>>>>>   repository: 'github://pharo-nosql/voyage/mc';
>>>>>   baseline: 'Voyage';
>>>>>   onConflictUseIncoming;
>>>>>   load: 'mongo tests'.
>>>>>
>>>>> Voyage-UnQLite
>>>>>
>>>>> Metacello new
>>>>>   repository: 'github://pharo-nosql/voyage/mc';
>>>>>   baseline: 'Voyage';
>>>>>   onConflictUseIncoming;
>>>>>   load: 'unqlite tests'.
>>>>>
>>>>> Voyage-Memory
>>>>>
>>>>> Metacello new
>>>>>   repository: 'github://pharo-nosql/voyage/mc';
>>>>>   baseline: 'Voyage';
>>>>>   onConflictUseIncoming;
>>>>>   load: 'memory tests'.
>>>>>
>>>>> Should work.
>>>>>
>>>>>>
>>>>>> --
>>>>>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Cyril Ferlicot
>>>>> https://ferlicot.fr
>>>>>
>>>>>
>>>>>
>>>>> signature.asc (836 bytes)
>>>>> &lt;http://forum.world.st/attachment/5088985/0/signature.asc&gt;
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -----
>>>> cheers,
>>>> Sanjay
>>>> --
>>>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>>>
>>>
>>>
>>>
>>> Screenshot 2018-12-02 at 15.02.19.png (165K)
>>> &lt;http://forum.world.st/attachment/5090021/0/Screenshot%202018-12-02%20at%2015.02.19.png&gt
>>> &lt;http://forum.world.st/attachment/5090021/0/Screenshot%202018-12-02%20at%2015.02.19.png&amp;gt&gt;;
>>
>>
>>
>>
>>
>> -----
>> cheers,
>> Sanjay
>> --
>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>> &lt;http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html&gt;





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

cheers,
Sanjay
Reply | Threaded
Open this post in threaded view
|

Cryptography long filename in github repo causes error in Win 10 loading

Sanjay Minni
This post was updated on .
Hi,

can the following filename in Cryptography package in github repository be
shortened.
its causing a crash when loading in Win 10 (so a workaround has to be done
just for this much)
as this package is used by Voyage it may be fairly in use.

filename:
cryptUIDlgSelectCertificateFromStore.winHandle.pwszTitle.pwszDisplayString.dwDontUseColumn.flags.reserved..st

location:
https://github.com/pharo-contributions/Cryptography/tree/master/source/Cryptography-MSCerts.package/Win32FFICertificateStore.class/instance

Probably this filename is autogenerated so a tweak could be attempted



For the time being I am working thru the solution suggested below

EstebanLM wrote
> Hi,
>
> I’m sorry I didn’t see this before.
> This happens because there are many projects that are still using filetree
> format which stores one file per method. And the problem here is that
> windows has a path limit that you are exceeding.
> To workaround this problem:
>
> - Open iceberg settings (toolbar button in repositories window).
> - Check "Share repositories between images”.
> - In "Location for shared repositories” put something like “C:\repo” (you
> will need to create that dir too).
>
> And retry :)
>
> Esteban
>
>> On 4 Dec 2018, at 17:24, Sanjay Minni <

> sm@




-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

cheers,
Sanjay
Reply | Threaded
Open this post in threaded view
|

Re: Cryptography long filename in github repo causes error in Win 10 loading

Sven Van Caekenberghe-2
Switching to the Tonel file format in git solves this.

There is an option to convert a repo in Iceberg (under extra).

> On 27 Jan 2019, at 05:01, Sanjay Minni <[hidden email]> wrote:
>
> Hi,
>
> can the following filename in Cryptography package in github repository be
> shortened.
> its causing a crash when loading in Win 10 (so a workaround has to be done
> just for this much)
> as this package is used by Voyage it may be fairly in use.
>
> filename:
> cryptUIDlgSelectCertificateFromStore.winHandle.pwszTitle.pwszDisplayString.dwDontUseColumn.flags.reserved..st
>
> location:
> https://github.com/pharo-contributions/Cryptography/tree/master/source/Cryptography-MSCerts.package/Win32FFICertificateStore.class/instance
>
> Probably this filename is autogenerated so a tweak could be attempted
>
>
>
> This seems to work - at least loading seems to have gone thru
>
> but is it possible to shorten the following filename in the github
> repository itself
>
> cryptUIDlgSelectCertificateFromStore.winHandle.pwszTitle.pwszDisplayString.dwDontUseColumn.flags.reserved..st
>
> it is in
> https://github.com/pharo-contributions/Cryptography/tree/master/source/Cryptography-MSCerts.package/Win32FFICertificateStore.class/instance
>
> i do not know if there any any other filenames that long
>
>
> EstebanLM wrote
>> Hi,
>>
>> I’m sorry I didn’t see this before.
>> This happens because there are many projects that are still using filetree
>> format which stores one file per method. And the problem here is that
>> windows has a path limit that you are exceeding.
>> To workaround this problem:
>>
>> - Open iceberg settings (toolbar button in repositories window).
>> - Check "Share repositories between images”.
>> - In "Location for shared repositories” put something like “C:\repo” (you
>> will need to create that dir too).
>>
>> And retry :)
>>
>> Esteban
>>
>>> On 4 Dec 2018, at 17:24, Sanjay Minni &lt;
>
>> sm@
>
>
>
>
> -----
> cheers,
> Sanjay
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>


Reply | Threaded
Open this post in threaded view
|

Re: Cryptography long filename in github repo causes error in Win 10 loading

Sabine Manaa
I am trying to convert the cryptography package to tonel. Take new pharo 7
image, load cryptograpy from github and then in iceberg I select
"Extras->convert sources to tonel".
I get this error ""'Method protocol ''crypto3.9compatibility'' for the
method ''new'' in class ''ThirtyTwoBitRegister'' is inconsistent with the
package name ''crypto3.9compatibility'''"

don't know how to proceed here



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

12