Aller au contenu

User Us Utilisant Spksrc Dans Le Besoin

Featured Replies

Posté(e)

J'ai reçu un pti mp d'un mec voulant compiler mylar :

https://github.com/evilhero/mylar

Il a bien créer les packages, mais qq soucis apparaissent sur les droits

Je vous transmet ses questions :

Just to clarify I didn't create that repo, just wanting to install it on my NAS, largely an intellectual exercise in learning more about my NAS / *nix / python. Stayed up really late mucking about in python last night. BAD IDEA - dreamed about python all night long lol!

Anyway, I downloaded Oracle VM, installed Debian as was recommended somewhere in the spksrc notes. Cloned spksrc to the VM, cloned mylar to a folder within spksrc/spk/. Copied over the Makefile from the headphones directory, made the appropriate name changes. Had to comment out some of the folder references in the extra_install area as the folders didn't exist in mylar. Created a mylar/src/ folder and copied over the dsm-control and installer from the same directory in headphones.

ran just "make" (headphones appears not to need cross compatibility compilation). Creates a package, installs and runs fine. Problem is, it doesn't create the mylar.db or write to the log file in mylar. Oddly enough though it seems that it can update just fine.

Appears to be some type of permission error, but I've chmod 777 / chown every folder / file in mylar, no change. If I run the code in the debian VM, works fine. If I install the git files on the NAS, they work fine as well. All appear to use the same permissions (but I easily could have missed something).

Best guess is that it has something to do with the mylar user that spksrc created. My next thought would be to remove the package, create a mylar user in DSM, then install the package and see what happens.

Modifié par bud77

Posté(e)

Mylar is an automated Comic Book (cbr/cbz) downloader program heavily-based on the Headphones template and logic (which is also based on Sick-Beard). Please note, before you laugh hysterically at my code, I have only started learning python (<2 months ago) and this is my first 'pet project.

Vas-y molo Diaoul. ^_^

Posté(e)

T'as qu'a lui répondre ça :

Noob.

Pourquoi qu'il fait pas une demande de SPK plutôt ? Enfin bon, c'est bien d'essayer. A tout les coups il ne spécifie pas le bon folder quelque part, sans code source je peux pas aider anyway.

Posté(e)
  • Auteur

Il a voulu tenter de se débrouiller par lui même (ce que je salue, comparé au 150 mecs qui demandent tout et n'importe quoi)

Le code source est là : https://github.com/evilhero/mylar

Posté(e)

Je parlais du code source de son fork avec ses changements ;)

Posté(e)
  • Auteur

Celui qui fait la compil a pas fait de fork apparemment, il a just clone le main

(ou alors tu parles de ce repo, et le fork par rapport à headphone ?)

Posté(e)

Oui justement, il faudrait qu'il en fasse un commit ce qu'il a fait comme ajouts dans spksrc afin que je puisse voir ce qui ne va pas.

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.