Website builders - an invitation to awe

100%sure it’s that one :wink:

4 Likes

@riddim is correct but in time there will be ways to speed things up.

Until the network is stable and reliable though bells and whistles would make it harder to identify bugs in awe and the API.

4 Likes

okay - finally managed to do something with awe :smiley:

some minor points:

  • browsing works immediately - that’s perfect :slight_smile:
  • one needs a local autonomi wallet to use awe for uploads m_(O.o)_m (that’s kind of strange imho … when doing autonomi wallet balance it crashes and I would think it is of no use anyway)
  • i had an upload error before success oO …
  • REGISTER_SIGNING_KEY doesn’t need to be set - but one needs to have run autonomi register generate-key
  • i fail to create a version register successfully …
  • EVM_NETWORK=arbitrum-sepolia must be set - otherwise uploads fail
awe awm://d4c482958c0c9ac83460efae4d8c2155a4ccbc3364f1d9454c102232205a9328

oh - and somehow I seem to have paid multiple times for the upload during the process :open_mouth: checking for existing chunks and not paying for an upload if they exist seems to be a thing of the past …?

2 Likes

:clap: thanks for persevering and for the feedback.

The duplicate payments should be fed back to the team - will you open an issue for that? I may be blame for needing a local wallet so will look into that.

I’ll update my instructions later :pray:

Unfortunately Registers won’t update any more so I can’t add your site to the list ATM. I’ve filed it another issue for that.

If you keep trying it should work eventually. I found that this worked most of the time but occasionally fail at this point (from VPS). Were you using VPS for your attempts? I can do very little with the network over my mobile b/b.

I don’t think this is correct. I have only an empty ~/.local/share/safe/autonomi/wallets directory on my VPS so maybe you have something lying around that is confusing things, or hadn’t set something in the environment at that point?

5 Likes

it’s needed when using the official autonomi client for upload too … so might not be your fault …

strangely @aatonnomicc is not seeing it on his machine … no idea what’s going on at my end …

1 Like

If it isn’t you it may be worth filing an issue. Did you see my edits here?

1 Like

no sorry I missed that … yeah … I guess I’ll get in touch with rusty … but am a bit confused how this is possible … saw it on my local machine and on a cloud machine …

locally … my internet is not the best but hadn’t have large issues (aside from long delays on operations) yet … you’re right this might be the issue …

1 Like

yeah - repeated upload leads to successful publish

awe awv://432e6c74716ff7c3212bf4af1cbaf88fa77a1cdc48f87b1a6e0242f5a93ab02e921193705aaf4072d06ee7067035e4408dc944f45625028498bdd1a801fa17cd955f5f29d29a12d1ed24d44f5b5cb6f7

but always fetches the last version it seems

2 Likes

Yaay !!!

1 Like

Strangely Mrs Southside has just told me to drag myself away from the keyboard and go to the supermarket and cash in 3 large bags of cans and bottles.
Dinner will effectively be free tonight.

3 Likes

2 posts were merged into an existing topic: Ukraine

Are you saying it ignores your version setting (either as URL param or in the edit box)? That was working for me for autonomi-demo.

I think it’s not working on my site - does it for you? I always get v1 and never v0

If you add ?v=1 to the URL you should get the first version, ?v=2 for the second etc

You can also try inspecting the register… :rofl:

awe inspect-register -rak awv://432e6c74716ff7c3212bf4af1cbaf88fa77a1cdc48f87b1a6e0242f5a93ab02e921193705aaf4072d06ee7067035e4408dc944f45625028498bdd1a801fa17cd955f5f29d29a12d1ed24d44f5b5cb6f7

It is NOT updating. Entry 0 is a type field. Entry 1 is the first version so your update says it worked but has not updated the Register. I filed an issue for that.

register    : 432e6c74716ff7c3212bf4af1cbaf88fa77a1cdc48f87b1a6e0242f5a93ab02e921193705aaf4072d06ee7067035e4408dc944f45625028498bdd1a801fa17cd955f5f29d29a12d1ed24d44f5b5cb6f7
owner       : PublicKey(1211..38c2)
permissions : Writers({PublicKey(1211..38c2)})
num roots   : 1
app reg type: f4a129..
size        : 2
audit       :
   current state is merged, 1 value:
   7415abf4b3eaaa0db2b0dafd4339cb186df689312c9b1d490833a1fc5c867d7b
======================
Root (Latest) Node(s):
[ 0] Node("0"..) Entry(7415abf4b3eaaa0db2b0dafd4339cb186df689312c9b1d490833a1fc5c867d7b)
======================
Register Structure:
(In general, earlier nodes are more indented)
[ 0] Node("0"..) Entry(7415abf4b3eaaa0db2b0dafd4339cb186df689312c9b1d490833a1fc5c867d7b)
  [ 1] Node("1"..) Entry(f4a129cd3e2e130aee8b8fb439bec2f0054fd7109754489e047a2b23b11cd25c)
======================
MerkleReg { roots: {[119, 87, 24, 243, 242, 79, 21, 161, 201, 177, 245, 126, 78, 116, 60, 243, 70, 217, 179, 213, 60, 196, 156, 92, 199, 178, 126, 96, 176, 135, 140, 209]}, dag: {[119, 87, 24, 243, 242, 79, 21, 161, 201, 177, 245, 126, 78, 116, 60, 243, 70, 217, 179, 213, 60, 196, 156, 92, 199, 178, 126, 96, 176, 135, 140, 209]: Node { children: {[135, 228, 14, 57, 113, 12, 30, 73, 226, 166, 120, 148, 232, 156, 26, 188, 201, 54, 40, 130, 148, 25, 251, 101, 220, 26, 176, 197, 88, 13, 253, 51]}, value: [116, 21, 171, 244, 179, 234, 170, 13, 178, 176, 218, 253, 67, 57, 203, 24, 109, 246, 137, 49, 44, 155, 29, 73, 8, 51, 161, 252, 92, 134, 125, 123] }, [135, 228, 14, 57, 113, 12, 30, 73, 226, 166, 120, 148, 232, 156, 26, 188, 201, 54, 40, 130, 148, 25, 251, 101, 220, 26, 176, 197, 88, 13, 253, 51]: Node { children: {}, value: [244, 161, 41, 205, 62, 46, 19, 10, 238, 139, 143, 180, 57, 190, 194, 240, 5, 79, 215, 16, 151, 84, 72, 158, 4, 122, 43, 35, 177, 28, 210, 92] }}, orphans: {} }

Registers still don’t work:

2 Likes

Actually your Register doesn’t have the type field. Both those values are your two site versions so that’s maybe a bug in awe.

It is correct though that awe treats the first Entry as a type and so doesn’t show that!

3 Likes

@happybeing working nicely on ubuntu :slight_smile:

awe awm://837e72bcf8a9106434b8664ba3c745d55ace59fd4b16cc35016211a78c80e90e

4 Likes

awe v0.11.0

Download at https://downloads.happybeing.com

For those on Linux who want to view Autonomi websites or have a go at something more exciting than uploading random files.

We still can’t do a Mac build unf. as the API needs a few tweaks to be merged.

4 Likes

14 posts were split to a new topic: Replacing registers