OpenPonk / openponk

The OpenPonk modeling platform
https://openponk.github.io/
MIT License
42 stars 9 forks source link

Direct download throws up dependencies against Pharo 7 64bit stable #10

Closed Bazmundi closed 4 years ago

Bazmundi commented 5 years ago

What is the starting Pharo image works with the direct download?

I tried the following.

Running windows 10.

Installed Pharo from: https://files.pharo.org/pharo-launcher/windows to get pharo-launcher-1.9.2

Starting with: Pharo 7.0.4 Build information: Pharo-7.0.4+build.169.sha.a2a2b23d681754955d27b7c5a47ed1e9f87ef7b8 (64 Bit)

Then loaded metacello with:

Iceberg enableMetacelloIntegration: false.

Metacello new
    baseline: 'Metacello';
    repository: 'github://metacello/metacello:pharo-6.1_dev/repository';
    onConflict: [ :ex | ex allow ];
    load.

I did that because trying to run Metacello to install openponk from the playground of the virgin pharo install just crashed out of pharo. Not even sure why I tried the lines above, other than I assumed Metacello was not installed in virgin pharo install. It appeared to fix the crash,.

Then tried to direct install openponk with:

Metacello new
     baseline: 'OpenPonk';
     repository: 'github://openponk/openponk/repository';
     load: 'complete'

I get a message:

This package depends on the following classes:
  Nautilus
You must resolve these dependencies before you will be able to load these definitions: 
  Nautilus>>#showMethod:

I hit "Proceed" to ignore the report.

It proceeds up to the following report:

The method Base64MimeConverter class>>#mimeDecodeToBytes: called from TRPharoPlatform>>#mimeDecodeToBytes: has been deprecated.
Please use #base64Decoded now. See issue #21937

Select Proceed to continue, or close this window to cancel the operation.

Hitting "Proceed" just gets it stuck in a loop that keeps then reporting the same warning.

Hitting "Debug" reports:

deprecated: anExplanationString
    "Warn that the sending method has been deprecated"

    Deprecation new
        context: thisContext sender;
        explanation: anExplanationString;
        signal

Hitting "Proceed" from the debug window then abort stops the install.

Is there a fix please?

Bazmundi commented 5 years ago

I tried Pharo 6.0. Came up with one warning during load of OpenPonk. Seemed to load okay. However, the first drawing menu just raised exceptions and when cleared the editor window was only partially drawn. The second and third drawing menus came up with pallets but nothing was drawing on the canvas.

Bazmundi commented 5 years ago

Yep. Tried pharo 6.1 with same outcome as 6.0.

Bazmundi commented 5 years ago

Same problems on my Debian 10 laptop.

peteruhnak commented 4 years ago

Unfortunately Pharo 7/8 is not supported (this should be addressed next year).

As for the complete build (... load: 'complete'), this tries to download all known plugins for OpenPonk, which are at this point in time not compatible.

Trying to install the plugins directly may yield a better result, e.g. installing only https://github.com/OpenPonk/class-editor

However as I've responded in the other thread, the download links should now work once again.

Bazmundi commented 4 years ago

Peter. Thanks for fixing the links, I will start with that.

On Sun, Sep 22, 2019 at 9:04 PM Peter Uhnak notifications@github.com wrote:

Unfortunately Pharo 7/8 is not supported (this should be addressed next year).

As for the complete build (... load: 'complete'), this tries to download all known plugins for OpenPonk, which are at this point in time not compatible.

Trying to install the plugins directly may yield a better result, e.g. installing only https://github.com/OpenPonk/class-editor

However as I've responded in the other thread, the download links should now work once again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenPonk/openponk/issues/10?email_source=notifications&email_token=AANQYK3UFRLFSFTEX7IKNHTQK5J5DA5CNFSM4IV7VYT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7JEKDA#issuecomment-533873932, or mute the thread https://github.com/notifications/unsubscribe-auth/AANQYK7CJA75M3IAUA7JK53QK5J5DANCNFSM4IV7VYTQ .

JanBliznicenko commented 4 years ago

Hello, we started working on updating for Pharo 7 and 8. At this moment, master branches of OpenPonk itself, class-editor, borm-editor, fsm-editor and petrinets can be loaded and opened on Pharo 7 and 8. It means that even load: 'complete' should work. However, making it load does not mean it works yet :) Many essential things do not work properly yet, including canvas refreshing, adding associations (on Pharo 8) as well as our builds on openponk.org. I believe all of that will be fixed soon™ :)