/srv/irclogs.ubuntu.com/2018/01/09/#ubuntu-google.txt

omairqazihi09:53
pranavgade20hi09:53
pranavgade20Hi elopio, kyrofa, sergiusens!09:54
konrad11901popey: you there?10:09
Acceleratoromairqazi: give this a try10:12
Acceleratoromairqazi: https://www.cyberciti.biz/faq/how-to-use-chmod-and-chown-command/10:12
omairqaziAccelerator: i will try the snapcraft-preload plugin from sergiusens10:13
Acceleratoromairqazi: Alright np..if the plugin does not work then change user permissions :)10:14
omairqaziok10:15
coolpolygonstsimonq2: there?10:23
AcceleratorNo..he is offline10:24
coolpolygonskk10:25
RAIhi to elopio, kyrofa and sergiusens10:29
RAIAnswer a snapcraft question in askubuntu10:30
daniellimws[m]Hey RAI, just want to let you know, they will only be online in around 3 hours10:30
daniellimws[m]Please ask a specific question10:30
daniellimws[m]We can help but you need to be specific and patient10:31
Acceleratordaniellimws[m]: That task has a step to say hi to those mentors...i don't think he needs any help for now10:32
daniellimws[m]Ok then10:32
omairqazihi popey11:16
popeyhi11:16
konrad11901oh, popey, hi!11:17
omairqazipopey: regarding the backslide snap. it works with sudo without classic confinement. but still many commands does not work they say EACCES: permission denied, scandir '/home/omair/backslide'11:17
omairqaziand for changing the port it says Cannot start server: EACCES: permission denied, rmdir '.tmp'11:19
omairqazi popey please help11:19
popeyI'm not sure this is trivially fixable.11:20
omairqazipopey: but it works with classic confinement11:21
popeyYes, but it's not something that would get approval in the store for classic.11:21
popeyI don't know who suggested classic to you, but it's frankly not an option11:21
omairqaziok11:22
omairqazipopey: also devmode works with strict confinement11:22
popeyright, and devmode can't go in the stable channel11:22
popeywe could put it in devmode in the edge channel11:22
omairqazihmm11:22
popeythat would be fine11:22
popeyand then work on getting it confined strictly later, that's certainly an option11:22
omairqaziok11:22
popeyand would give you a solution to this snap11:23
omairqazihmm11:23
coolpolygonsballoons: there?11:23
omairqazipopey: snappy-debug seccomp says syscall chown. as suggested i install snapcraft preload11:23
omairqazibut no luck11:24
popeyyeah, i never had luck with snapcraft preload11:24
konrad11901popey: I'm sorry for bothering you, but I'm still having issues with snapping an electron app. I tried with another project - firebase-admin, but it's quite similar to messenger-demo-viewer - works perfectly fine in devmode, but there are some issues in strict. Snappy-debug again shows some issues with chown (while trying to change app's settings or delete/add connections): https://paste.ubuntu.com/26352633/11:24
popeyugh11:25
omairqazipopey for the alias https://forum.snapcraft.io/t/alias-for-backslide/343011:28
daniellimws[m]popey, sorry I was the one that suggested to use classic as I saw that in an article regarding asciinema11:39
daniellimws[m]I'm very curious, if we confine the snap to only one directory, wouldn't it lose the packaged app's intended functionality?11:39
daniellimws[m]When that happens won't people prefer installing via npm or pip which already works instead11:39
omairqazidaniellimws[m]: popey told me to use devmode and release to the edge channel11:40
popeyNo worries :)11:40
popeydaniellimws[m]: it's not confined to only one directory, the snap has write access to multiple places.11:41
daniellimws[m]popey: but what about when apparmor denies open/read/write access?11:45
popeyMost snaps can be convinced to write to specific places11:46
popeythey have their $HOME set to /home/$USER/snap/$SNAPNAME/current11:46
popeywhich is writable11:46
konrad11901popey: do you have any idea what to do with this chown error? :/11:48
daniellimws[m]what about in the case of backslide which wants to write to the current working directory?11:49
popeyit can, if you add the home interface/plug11:50
daniellimws[m]oh so that will expose the snap to the entire home directory?11:52
omairqaziwell home plug didn't work for backslide11:53
omairqazibut you can try11:53
omairqazibut home plug is mandatory if your snap reads and writes data to the home directory11:54
popeyyes, add the home plug to most snaps11:57
omairqazipopey i released it to edge https://forum.snapcraft.io/t/call-for-testing-backslide/3408/1412:07
tsimonq2coolpolygons: Empty pings solve nothing. ;)12:27
daniellimws[m]popey, what about /tmp12:31
popeyeach snap has access to their own tmp12:31
popeyhttps://docs.snapcraft.io/snaps/structure12:32
daniellimws[m]ahh ok thanks12:33
omairqazipopey: sorry to disturb you. please take a look at my submission https://codein.withgoogle.com/dashboard/task-instances/6091379543375872/12:33
popeywill do!12:34
omairqazithanks12:35
omairqazipopey: if you dont mind from next time onwards please call me Omair instead of Qazi :)12:40
popeyoh, apologies.12:40
omairqazipopey: it is ok. did test my snap? it works in devmode. sudo snap install backslide --edge --devmode12:47
omairqazis/did/did you12:47
omairqazihi guys again. sorry network problem12:49
Acceleratornp12:50
coolpolygonstsimonq2: wondering if u could check my work here: https://codein.withgoogle.com/dashboard/task-instances/4613563035418624/13:04
tsimonq2coolpolygons: Sure, I'll get to it by the end of the day US time13:12
coolpolygonsthank you :D13:14
omairqazielopio hi!13:21
konrad11901Guys, does anyone have some time to test my snap? I have some issues with it, and I want to confirm it's not an issue with my environment.13:35
konrad11901If so, please follow these instructions: https://paste.ubuntu.com/26353137/. I'd be very thankful for your help!13:36
daniellimws[m]I'm feeling a bit lazy but sure ;)13:40
daniellimws[m]looks like a little too much work.. i'll come back later13:41
konrad11901ok :)13:43
omairqazielopio there?14:16
omairqazielopio hi14:38
konrad11901popey: you there?14:43
omairqazielopio: please take a look https://codein.withgoogle.com/dashboard/task-instances/6091379543375872/?sp-page=214:44
balloonscoolpolygons, ?14:52
=== yash is now known as Guest11093
JacobKINGHello evilnick, degville, pmatulis and davidcalle I'm Jacob this is my task Google Code-In15:06
Dominic1234Hi Elopio kyrofa sergiusens!15:30
elopiohello Dominic123415:31
Dan_elopio15:33
=== Dan_ is now known as Guest98771
Guest98771anyone there15:33
elopiohello Guest9877115:34
konrad11901elopio: can I ask you something about the electron snaps?15:35
ChinmayKulkarniHi15:36
ChinmayKulkarniWhere can I get how to tutorial15:37
konrad11901nevermind15:37
davidcalleHi ChinmayKulkarni it's in the task description :)15:38
davidcallehttps://tutorials.ubuntu.com/tutorial/tutorial-guidelines15:38
ChinmayKulkarniYa I found15:38
ChinmayKulkarniActually I don't have a pc15:38
elopiokonrad11901: sure.15:38
ChinmayKulkarniSo now what should I do15:38
davidcalleChinmayKulkarni: ah, then you can't do the task, you should pick another one15:39
DANIELLIVINGSTONelopio15:40
elopiohello15:40
ChinmayKulkarniOk15:40
DANIELLIVINGSTONelopio: Yesterday popey tested the orbitdb snap and concluded that the softwares not working he also told you to accept my task.... and i asked you what should i do u said to subit reviews15:41
elopioyes, I reviewed and found a solution after all :)15:42
DANIELLIVINGSTONWill that work you tried it?15:42
elopioI tried it, yes. I hope it will work for you too15:43
DANIELLIVINGSTONok then i will try and see now15:43
DANIELLIVINGSTONand what is g++ in the build packages15:44
elopiogreat15:44
elopiog++ is the c++ compiler.15:44
DANIELLIVINGSTONwhat is make?15:45
elopiomake is a program to build other programs.15:45
DANIELLIVINGSTONcan you find soln for my other snap also it is dev-time15:46
DANIELLIVINGSTONhttps://pastebin.ubuntu.com/26346578/15:46
elopiomaybe, I haven't tried that one yet15:46
DANIELLIVINGSTONcan you help me plz15:47
DANIELLIVINGSTONi really like that app cause it shows the local time of github users15:48
elopiosure, I have it in my list of things to do.15:48
DANIELLIVINGSTONok no prob15:49
Acceleratorkyrofa: One of the errors i got is that the fix you suggested is too long-(91 > 79 characters)...is there a way to bypass the limit?15:59
kyrofaAccelerator, no, but line breaks are totally okay15:59
Acceleratorkyrofa: But then won't it be a deformed?16:01
Accelerators/a/-16:01
kyrofaHaha, a little I suppose, but no way around that16:01
AcceleratorOk totally cool with that :)16:02
konrad11901elopio: nevermind, I managed to solve my problem, but thanks anyway :)16:06
elopiohappy to have helped :D16:06
DANIELLIVINGSTONelopio i got an error not working-orbitdb16:07
elopioDANIELLIVINGSTON: please put your error on paste.ubuntu.com and send us the link. Also add the commands you ran, and the snapcraft.yaml16:08
DANIELLIVINGSTONelopio:https://pastebin.ubuntu.com/26353801/16:12
konrad11901sergiusens: if you have some spare time, could you check my submission please? :)16:13
elopioDANIELLIVINGSTON: ah, I think I now what happened. You copied my source: ., but probably you should use source: https://github.com/orbitdb/orbit-db.git16:13
DANIELLIVINGSTONok i will see16:14
omairqaziwxl: hi! please take a look at my submission: https://codein.withgoogle.com/dashboard/task-instances/6047433035350016/ Thanks!16:37
DANIELLIVINGSTONelopio16:44
AcceleratorKyrofa: Do i need to define all these? https://pastebin.ubuntu.com/26353957/16:45
DANIELLIVINGSTONelopio: i again got an error will running orbitdb after installing16:47
omairqazibye guys16:49
omairqazimeet you tomorrow IST16:49
* omairqazi is going to sleep16:49
kyrofaAccelerator, yep17:02
daniellimwspopey: hi, regarding my snap uber, is it ready to be forked into snapcrafters repo?17:02
kyrofaAccelerator, or remove them, if necessary17:02
kyrofa(as I mentioned in my most recent review)17:02
Acceleratorkyrofa: If i do remove them...then what will i put let's say here-->raise errors.MissingDesktopFileError(?)17:15
Acceleratorkyrofa: nvm...can i make another PR though because it would be quite difficult to edit online 😅😅17:25
konrad11901Hi all, one question. I see that snapcraft is available on macOS through homebrew. What about the snap support itself? Are snaps supported on macOS, is it planned or it won't probably happen?17:48
Acceleratorkonrad11901: https://forum.snapcraft.io/t/support-for-macos/129017:54
konrad11901Accelerator: ok, thanks!18:01
Acceleratornp18:01
m4sk1nelopio: what should I do? how can I make travis use lxd or docker?18:10
elopiom4sk1n: did you try installing the snapcraft snap? That might work on  trusty18:11
m4sk1nit runs snapcraft with `npm run dist`, so there’s no way other than running the whole build in container18:11
m4sk1nyes, but command not found18:12
elopiothat's because /snap/bin is not in $PATH18:12
elopioyou can add "export PATH=$PATH:/snap/bin"18:13
m4sk1nENOENT18:13
elopiosorry, what?18:14
m4sk1nerror18:15
m4sk1nfrom npm18:15
Nissaarsergiussens: hi. https://codein.withgoogle.com/dashboard/task-instances/6583702333161472/. for this task. for the new branch. should i upload a new file ?18:16
elopiom4sk1n: after exporting th path?18:16
m4sk1nbefore18:16
m4sk1nlet me try it now18:17
* m4sk1n uploaded an image: Screenshot_20180109-191647.png (197KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/TnxryUgjcqcCTpWfdXgLYJOP>18:17
m4sk1n:D18:17
Acceleratorkyrofa: Can i make a new PR and a new branch or do you need the old commits?18:42
kyrofaAccelerator, for the same task? Use the same PR18:42
m4sk1n55.9kB/s on travis ci…18:53
Nissaar_elopio: hi19:20
Nissaar_https://codein.withgoogle.com/dashboard/task-instances/5373896733753344/19:20
Nissaar_i need help for this task19:20
Nissaar_after cd in the repository which i have cloned. when i do git checkout -b add-snap-support: it says :'fatal: Not a git repository (or any of the parent directories): .git'19:22
AcceleratorNissaar_, If you are having problems then check this out: https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github19:23
m4sk1nError downloading stage packages for part 'desktop-gtk2': The package 'adwaita-icon-theme' was not found.19:24
Nissaar_im following this tutorial<: https://gist.github.com/popey/7803cfbda9b337fab792c403e50e470919:25
AcceleratorNissaar_, the one i gave you is more simple to follow and understand19:30
m4sk1nelopio: trusty has no adwaita-icon-theme, so there’s no way to build it XD19:32
Nissaar_elopio ?20:10
Nissaar_popey ?20:10
m4sk1n-_-21:41
m4sk1nelopio: it fails because of travis ci, they have problems witch connection XD21:41
elopiom4sk1n: oh well, that was worth a try21:44
elopiom4sk1n: changing the job to use lxd or docker will be very invasive, I'm not sure they would like it21:46
elopiobut also, worth to suggest.21:46
elopiom4sk1n: here is how you set up lxd in travis: https://github.com/snapcore/snapcraft/blob/master/tools/travis/setup_lxd.sh21:47
elopiohere is an example of calling snapcraft from docker: https://github.com/elopio/blockchain-snaps/blob/master/.travis.yml#L2721:48

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!