GithubHelp home page GithubHelp logo

Comments (10)

jjemil749 avatar jjemil749 commented on May 27, 2024 4

That's right.
Please upgrade tool for 20.04 Ubuntu distros.

On Kubuntu 20.04,

$ sudo dpkg -i python3.6-automathemely_1.3_all.deb

gives:
Setting up automathemely (1.3) ...
WARNING: Package(s) not found: automathemely

When trying to launch automathemely:

$ automathemely
/usr/bin/python3.6: bad interpreter: No such file or directory

$ python3 --version
Python 3.8.2

from automathemely.

jjemil749 avatar jjemil749 commented on May 27, 2024 4

I believe I'm good now.

I re-read the instructions on the homepage. It's tested in Ubuntu 16.04 and 18.04.

For other distros (I'm on Kubuntu 20.04), there's a try packaging it yourself link:
https://github.com/C2N14/AutomaThemely/wiki/Packaging-it-yourself

After cloning the source code with git clone, then in install-scripts/.package.sh
I changed python_versions=("3.5" "3.6") to python_versions=("3.8")

Then ran the code with sudo ./.package.sh (gave some missing files errors)

I installed the resulting package with:
$ sudo dpkg -i python3.8-automathemely_1.3.0.dev1_all.deb (gave some missing files errors)

I ran the post installation package in install_scripts
$ sudo ./postinst.sh (gave some missing files errors)

Through a computer wide search for the missing files, I discovered that the missing files from the errors are in the compiled source folder in:

build/lib/automathemely/lib/installation_files

So, I copied the folder installation_files to /usr/local/lib/python3.8/dist-packages/automathemely (where it's supposed to be according to the errors)

I ran the post installation script again, this time no missing files errors came up, just a "could not connect to D-Bus" error

I fixed the autostart problem:
automathemely.desktop got installed to /usr/local/share/applications (seems wrong, it's the only .desktop there)
I copied automathemely.desktop to /usr/share/applications (where it seems it should have been)

I then copied automathemely.desktop to the user autostart folder by using the command from user @florianmw in issue# 12

sed 's/\(Exec=automathemely\)\ \-\-manage/\1/' \ /usr/share/applications/automathemely.desktop >| \ $HOME/.config/autostart/automathemely.desktop

I seems to run fine. AutomaThemely autostarts and a notification pop-up informs that it applied the dark or light theme. At night, it applied the dark theme. During the day, it applied the light theme. Seems to be working fine.

I'm on automatic location, but there doesn't seem to be a way to verify what location is detected.

In case the project developer doesn't get around to updating the package, he gave us the ability to do it ourselves to a certain extent. I'm no programmer or developer. I'm just observant, can read carefully, and know my way around google searches.

from automathemely.

theGBguy avatar theGBguy commented on May 27, 2024 3

Sorry! I am also a noob linux user but I have some programming experiences though. I just followed the Packaging it yourself guide and made this. Tried to install, there were a lot of errors. Saw the post_installation script file, moved few things to correct directory. Still, I can open the GUI but it's not functional :(

from automathemely.

YaoLaiGang avatar YaoLaiGang commented on May 27, 2024 1

I believe I'm good now.

I re-read the instructions on the homepage. It's tested in Ubuntu 16.04 and 18.04.

For other distros (I'm on Kubuntu 20.04), there's a try packaging it yourself link:
https://github.com/C2N14/AutomaThemely/wiki/Packaging-it-yourself

After cloning the source code with git clone, then in install-scripts/.package.sh
I changed python_versions=("3.5" "3.6") to python_versions=("3.8")

Then ran the code with sudo ./.package.sh (gave some missing files errors)

I installed the resulting package with:
$ sudo dpkg -i python3.8-automathemely_1.3.0.dev1_all.deb (gave some missing files errors)

I ran the post installation package in install_scripts
$ sudo ./postinst.sh (gave some missing files errors)

Through a computer wide search for the missing files, I discovered that the missing files from the errors are in the compiled source folder in:

build/lib/automathemely/lib/installation_files

So, I copied the folder installation_files to /usr/local/lib/python3.8/dist-packages/automathemely (where it's supposed to be according to the errors)

I ran the post installation script again, this time no missing files errors came up, just a "could not connect to D-Bus" error

I fixed the autostart problem:
automathemely.desktop got installed to /usr/local/share/applications (seems wrong, it's the only .desktop there)
I copied automathemely.desktop to /usr/share/applications (where it seems it should have been)

I then copied automathemely.desktop to the user autostart folder by using the command from user @florianmw in issue# 12

sed 's/\(Exec=automathemely\)\ \-\-manage/\1/' \ /usr/share/applications/automathemely.desktop >| \ $HOME/.config/autostart/automathemely.desktop

I seems to run fine. AutomaThemely autostarts and a notification pop-up informs that it applied the dark or light theme. At night, it applied the dark theme. During the day, it applied the light theme. Seems to be working fine.

I'm on automatic location, but there doesn't seem to be a way to verify what location is detected.

In case the project developer doesn't get around to updating the package, he gave us the ability to do it ourselves to a certain extent. I'm no programmer or developer. I'm just observant, can read carefully, and know my way around google searches.

may you share package for python3.8 ? thanks a lot !

from automathemely.

harpreetsb avatar harpreetsb commented on May 27, 2024

Does not seem to work on UBUNTU CINNAMON
ran this
sudo dpkg -i ~/Downloads/python3.8-automathemely_1.3.0.dev1_all.deb

got this
(Reading database ... 312835 files and directories currently installed.) Preparing to unpack .../python3.8-automathemely_1.3.0.dev1_all.deb ... Warning: The unit file, source configuration file or drop-ins of automathemely.timer changed on disk. Run 'systemctl --user daemon-reload' to reload units. Removed /etc/systemd/user/timers.target.wants/automathemely.timer. Unpacking automathemely (1.3.0.dev1) over (1.3) ... Setting up automathemely (1.3.0.dev1) ... Root privileges not detected, falling back to local only installation... NOTE: AutomaThemely is disabled from autostarting by default on local installation cp: cannot stat '/usr/local/lib/python3.8/dist-packages/automathemely/installation_files/autostart.desktop': No such file or directory sed: can't read /root/.config/autostart/automathemely.desktop: No such file or directory cp: cannot stat '/usr/local/lib/python3.8/dist-packages/automathemely/installation_files/sun-times.timer': No such file or directory cp: cannot stat '/usr/local/lib/python3.8/dist-packages/automathemely/installation_files/sun-times.service': No such file or directory sed: can't read /root/.config/systemd/user/automathemely.service: No such file or directory Failed to connect to bus: No such file or directory Failed to connect to bus: No such file or directory Failed to connect to bus: No such file or directory

from automathemely.

theGBguy avatar theGBguy commented on May 27, 2024

Here is the package for python 3.8 but I need to perform other steps such as copying the file in the correct places because post installation script wouldn't do automatically.
python3.8.zip

from automathemely.

picolens avatar picolens commented on May 27, 2024

Anyone get this working on 3.8 / Ubuntu 20.04 in an easy breezy way? I really love it, but this seems complicated to for a noob like myself to get it working again.

from automathemely.

picolens avatar picolens commented on May 27, 2024

Here is the package for python 3.8 but I need to perform other steps such as copying the file in the correct places because post installation script wouldn't do automatically.
python3.8.zip

Thanks for this. Downloaded and extracted. Then I got a bit weirded out when looking at the .sh file. Any idea why there all those control chars in an .sh? It might be normal, but looks very odd to me as I've never seen that before!

image

from automathemely.

yllekz avatar yllekz commented on May 27, 2024

Can someone put in a pull request with all these fixes? This package doesn't work on the current edition of Linux Mint.

from automathemely.

dclimber avatar dclimber commented on May 27, 2024

@yllekz I've updated the app for Linux Mint 20.2. Seems to work.
Here's the link to my repo — https://github.com/dclimber/AutomaThemely.
Installation instructions are in README.

from automathemely.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.