-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snap version #703
Comments
Hello |
Hi @alireza-amirsamimi , I can try to make the Persepolis package available from both Snap and Flatpak. |
@MahdiBaghbani |
Thanks a million, Im waiting for that😉 |
Hi @MahdiBaghbani I think I've a snapcraft.yaml with resolved dependencies but failed to find the entry point to run for the snap (see the bottom of the step 3 HERE).
the ************************* after "command" in the apps/persepolis section is the missing path (in other python program it is under the bin/ directory |
That’s exactly where I stuck too, seems some scripts in those paths are
executed different than what I think, I’m trying to read the sources before
giving up on this :)
On Mon, Mar 16, 2020 at 8:50 PM Aurelio C. ***@***.***> wrote:
Hi @MahdiBaghbani <https://github.com/MahdiBaghbani> I think I've a
snapcraft.yaml with resolved dependencies but failed to find the entry
point to run for the snap (see the bottom of the step 3 HERE
<https://snapcraft.io/first-snap/python/linux/package>).
here my snapcraft.yaml:
name: persepolis
version: git
summary: Persepolis
description: |
Persepolis is a download manager & a GUI for Aria2.
base: core18
confinement: devmode
parts:
persepolis:
stage-snaps:
- youtube-dl/latest/stable
plugin: python
python-version: python3
source: .
stage-packages:
- python-six
- python3
- python3-pyqt5
- python3-requests
- python3-setproctitle
- python3-psutil
apps:
persepolis:
command: *************************
plugs:
- opengl
- network
- network-bind
- x11
- desktop
- home
the ************************* after "command" in the apps/persepolis
section is the missing path (in other python program it is under the bin/
directory
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#703 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIMIGEAEXSV2HJJEGCKRBTRHZNVLANCNFSM4IZPGBBA>
.
--
<https://about.me/mahdibaghbani?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
Mahdi Baghbani
about.me/mahdibaghbani
<https://about.me/mahdibaghbani?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
|
Hi @MahdiBaghbani , see also HERE |
as said in the snapcraft forum there were no new progress so if someone want to help me or point me to other projects that solved similar situations or take the project I would be very grateful. |
hi @MahdiBaghbani |
Hi,
Congrats! It worked for me :) took 25 minutes.
Thank you 😊
On Wed, Apr 15, 2020 at 7:42 PM Aurelio C. ***@***.***> wrote:
hi @MahdiBaghbani <https://github.com/MahdiBaghbani>
I was contacted by Daniel Llewellyn that made a PR on my persepolis
repository <https://github.com/Aury88/persepolis/pull/1>.
He says that the PR is enough to make a working snap but I'm having
problems with snapcraft.
Can you please test it? 🙏
You need to extract the appending zip in the root directory (it will
substitute the setup.py file and add a .snapcraft.yaml file) and from there
launch snapcraft clean and snapcraft comands.
The process takes some time (in my case 30 minutes).
persepolis.zip
<https://github.com/persepolisdm/persepolis/files/4482019/persepolis.zip>
tell me please if it works also for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#703 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIMIGBF2ZGMNOAPU5LHRHLRMXFFNANCNFSM4IZPGBBA>
.
--
<https://about.me/mahdibaghbani?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
Mahdi Baghbani
about.me/mahdibaghbani
<https://about.me/mahdibaghbani?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>
|
it's all thanks to Daniel Llewellyn. now I will try to find what is the problem with my snapcraft behavior and then upload the snap in the snapstore... |
@Aury88 watch this video https://www.youtube.com/watch?v=yA1nFvFFFkk ( start from 7:15 minutes of video) there is no need to build and upload manually. just a yaml file is needed in software's GitHub repository and you should hook the GitHub repository to their build system. this is what i understood from video. maybe I'm wrong. just watch it yourself. |
@dddeveloperrr thank you! I already know that method; I usually prefer to test myself the builds locally before upload or make them auto-build on the store...that is to avoid bad user experience on the snap and avoid hurting the application reputation...but you are right... I can test directly the snap in the edge channel. |
Congradulations! you did it ;) |
it's all thanks to Daniel Llewellyn that developed the yaml and Mahdi Baghbani that tested the building process...at the end I only host the source repository 🤣 |
That seems a confinement problem....you should be able to use the snap in devmode (warning this disable your security confinement for this snap): |
in the meantime I will try to find a solution, but, as you can see, I'm a novice... |
hi @dddeveloperrr I did not find a solution but that message seems to be common to other snap...but we are lucky: Now I'm on ubuntu 20.04 and that message is also on my installation 🤣 Are you able to launch persepolis or is it stucked on that error? In the meantime I've uploaded a new version in the stable channel; |
Hi log: |
Hi @dddeveloperrr, thank you for the bug report. I was able to reproduce the issue. In my case persepolis crash "only" when I try to launch "Report an issue" and "Help" in "Help" menu, but the rest seems to work...Is this the same for you? |
@Aury88 you are welcome. yes, same for me. Help and report an issue causes the crash. see this error message: persepolis tries to open https://github.com/persepolisdm/persepolis/wiki link but it gets crashed |
@dddeveloperrr I think I have solved the issue with the crashing menus. |
Hello there, then i tried the snap version (both stable and edge). opens correctly. after adding url it shows that it is downloading the file and shows download finished notification as well. but doesn't actually download anything. the normal installation created a "persepolis" folder in Downloads. snap version does not do that. out of disappointment, i installed persepolis on my friend's windows machine to test. it worked so great that my friend stopped using the cracked version of IDM. :D Best of luck, guys! |
Hi! What about the flatpak version? |
@nianik5098 Hi, I have same problem now, it was working last month but now you are right, it doesn't downloading despite showing, I'm investigating the issue. @Zzombiee2361 Hi, yes flatpak version is in my todo list, I'm currently so busy to do it so I'm not sure if I'm ever going to do this in coming 2 months, @Aury88 did a great job with snap package so I guess by using his script anyone with free time can port it to flatpak build system. |
Hi @nianik5098. thankyou for your bugreport. I was partially able to reproduce the issue:
do you find them? PS: I don't know if i will keep to maintain the snapped version. I'm not a programmer/developer and so i'm out of my comfort zone with all this stuff...I'm not even able to use properly git so every change in the main repository i don't know how to move them in my personal/building repository keeping my changes so probably i will stop update the snap |
@Aury88 Edit: |
@nianik5098 sorry to disturb you, I have only a doubt: do you tested the snap version in Ubuntu 20.04 and PopOs 20.04 or do you tested the original version (from repository/compiled from source)? I will try investigate the downloading issue with big file. |
Hello @Aury88 , nice to hear from you again. It was installed from the ppa. |
it is almost 2 years. is there a progess for this? |
@dtantono no, sorry and won't be any time soon. |
Hello guys
I wanted to know if you have any plan to release PDM in snap packages?
that would make the life much easier for you and users.
you make it once and users install and use in in any distro :)
The text was updated successfully, but these errors were encountered: