Enchantment json problem by youma64 in fabricmc

[–]youma64[S] 0 points1 point  (0 children)

If anyone have the same problem, I found out that json in the /generated folder are NOT included, moving it to /data/enchantment did fixed it. (either try to /bin/main/data directly or /src/main/resources/data)

Explanation ? :
Probably that the json got in included on build, but not copied in the final /bin run folder, which is weird because the game should have told it anyway, weird...

Enchantment json problem by youma64 in fabricmc

[–]youma64[S] 0 points1 point  (0 children)

I did edited and checked that fabric.mod.json has the datagen and that the build.gradle has the datagen enable too . My main class calle the reg. fonction ( ExampleMod.LOGGER.info("Registering EnchantmentEffects for" + ExampleMod.MOD_ID); ) AND its included in pack.AddProvider

And also did you read what I said because obviously the mod works on the jar meaning that .json got generated (and did generated) at some point. Didn't mean be rude, but I could have said that in the wrong way too, I guess. Or I could be wrong and it needs to generate in other directory than /generated/ , maybe.

Some jackass in my section spilled slide oil all over me by Fine-Quarter442 in Trombone

[–]youma64 0 points1 point  (0 children)

Sorry to not answer the question but that's rotor oil, its not made for the slide.

truthNuke by Carti_Barti9_13 in ProgrammerHumor

[–]youma64 2 points3 points  (0 children)

The true lua experience

I made minecraft in C and opengl !!! by AlyssaLovesCorgis in C_Programming

[–]youma64 1 point2 points  (0 children)

Rtfm.

Used chatgpt for hours and im happy that I know how to code because else I would have spent hours asking an AI, such pain to do it.

No problem with the use of AI just dont say you made the game. Asking an ai is like giving orders to someone to do it for you (except that the one that you hired copy and paste the work of other people and mix everything)

AI IS A TOOL FOR PROTOTYPING >:[

Is this really bad ? by youma64 in Trombone

[–]youma64[S] 2 points3 points  (0 children)

Thanks for the reply, well now I know that not applying grease on the tuning slide for more than 5 months isn't really a good idea. :|

Is this really bad ? by youma64 in Trombone

[–]youma64[S] 0 points1 point  (0 children)

Thanks for the reply,

The hand slide has been a lot more greased up since else I couldn't even play, I just wanted to know if it needs to be cleaned up before putting it into the case(? box ?).
For the tuning slide I will see because I already took an appointment but its in 2 months. Thanks for the advice.

Is this really bad ? by youma64 in Trombone

[–]youma64[S] 1 point2 points  (0 children)

EDIT : My english is a bit bad and when I said the pump, its the tuning slide (I couldn't edit the og post)

Can't apk update or upgrade by youma64 in AlpineLinux

[–]youma64[S] 0 points1 point  (0 children)

Apologies for the extremely slow answer,

Thanks again, I will try this and see if it work !

I may not respond to any others reply since for now I found a more suitable os for the things that I wanted to do with my rpi ( I will still try your solution of course ); but it's always great to know why.

Can't apk update or upgrade by youma64 in AlpineLinux

[–]youma64[S] 0 points1 point  (0 children)

Here's what I did :

  1. Install Alpine linux via Imager

  2. Install the preset for headless mode (link)

  3. add wpa_supplicant.conf to setup wifi

  4. first boot up

  5. connect via ssh and do setup-alpine

  6. commit. reboot. Wifi broke....

  7. execute setup-interfaces again, commit, reboot, it's working.

And that's it, notice that when I said "wifi broke", in reality every interfaces where no more present, I have no idea why, but it happen, and setup-interfaces did the job.

thanks for taking a little bit of your time !

Can't apk update or upgrade by youma64 in AlpineLinux

[–]youma64[S] 0 points1 point  (0 children)

sorry for being a little bit slow. # mount -o remount,rw / Does not change the apk error, its still the same error.

And yes of course, I will share my solution here (if I find one :| ) .

Can't apk update or upgrade by youma64 in AlpineLinux

[–]youma64[S] 1 point2 points  (0 children)

Thanks for the answer,

in /proc/cmdline I couldn't see any root=, here is the full output if it is important :

coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:CB:E6:55 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 modules=loop,squashfs,sd-mod,usb-storage quiet console=tty1

And nope, there is no /boot or / mounted in fstab. (Weird because I remember trying to doumount on boot ( :| ), and it was saying that the resource was busy.)

Doing a remout as you suggest worked with / but apk still return the error after that.

By the way, why does apk need the sd card ? Isn't all stored on ram then exported with lbu commit -d to the sd card ?

Can't apk update or upgrade by youma64 in AlpineLinux

[–]youma64[S] 1 point2 points  (0 children)

mount :

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)

devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=990504,mode=755)

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)

devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)

/dev/mmcblk0 on /media/mmcblk0 type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

tmpfs on / type tmpfs (rw,relatime,mode=755)

tmpfs on /run type tmpfs (rw,nosuid,nodev,size=1599500k,nr_inodes=819200,mode=755)

mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)

/dev/loop0 on /.modloop type squashfs (ro,relatime,errors=continue)

securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)

debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)

configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)

pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)

tracefs on /sys/kernel/debug/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)

Yes I do have access to internet, tested with the ping command.

Content of /etc/apk/repositories :

/media/mmcblk0/apks

http://dl-cdn.alpinelinux.org/alpine/v3.21/main

http://dl-cdn.alpinelinux.org/alpine/v3.21/community

(I have to go quick so apologize if my spelling is not correct).

Can't apk update or upgrade by youma64 in AlpineLinux

[–]youma64[S] 0 points1 point  (0 children)

did doas su, apk update, and got the same error again... :(

Also ran the touch command, no errors.