Can't get code from github to work..

Borgensgaard2

New Member
Joined
Nov 13, 2020
Messages
14
Reaction score
2
Credits
167
Hi,

My distro is Linux Mint 20 Ulyana..
I have found this setup for my mouse on github, but am having trouble installing it.. https://github.com/kyokenn/rogdrv.git

I have gotten Python3 as it says in the requirements, but when I start the installation part, these messages comes up:

python3: can't open file 'setup.py': [Errno 2] No such file or directory

cp: cannot stat 'udev/50-rogdrv.rules': No such file or directory

bash: ./install_udev.sh: No such file or directory

- What am I doing wrong?

Thank you for your time,

Jonas
 


I got it to work not sure what you did, but I did this.
1. git clone https://github.com/kyokenn/rogdrv.git
2. cd rogdrv
3. sudo apt-get install python3-hidapi python3-evdev gir1.2-appindicator3-0.1 python3-setuptools
4. sudo python3 setup.py install
5. It complained about also needing a hid module: sudo apt-get install python3-hid
Can you try that?
 
I got it to work not sure what you did, but I did this.
1. git clone https://github.com/kyokenn/rogdrv.git
2. cd rogdrv
3. sudo apt-get install python3-hidapi python3-evdev gir1.2-appindicator3-0.1 python3-setuptools
4. sudo python3 setup.py install
5. It complained about also needing a hid module: sudo apt-get install python3-hid
Can you try that?

Okay, I've gone through your steps, and things went good, I think... But now, do I have to run fx the file "main" in Python in order to finish? I still have no icon of the program, but am unsure if I lack to do something before it is complete?
 

Attachments

  • rogdrv picture.jpg
    rogdrv picture.jpg
    3.5 MB · Views: 330
Now you have it installed. Since it
Code:
tux@mint:~$ which rogdrv rogdrv-config
/usr/local/bin/rogdrv
/usr/local/bin/rogdrv-config
Okay, I've gone through your steps, and things went good, I think... But now, do I have to run fx the file "main" in Python in order to finish? I still have no icon of the program, but am unsure if I lack to do something before it is complete?
I actually don't know but I have two guesses from looking at the documentation(Under using). You either:
1. Add rogdrv and rogdrv-config to your session startup login since they are userspace programs and if you have a device like that that graphical configuration tool will autostart.
or
2. Configure it through the command-line: rogdrv-config --help
I don't have a device like that so I can't try out that part, so you will have to do the rest from here yourself.
 
I have now tried configuring through the command-line, but that didn't work either, so I have asked on Github, and hope for some answers there.. - Thank you for helping out! :)
 
Is it my imagination or has every Linux OS instability I've encountered in the last 2 years traced back to Github?

How can there be any OS security if the system's code is developed by any Wacko out there. The last time I checked out an OS glitch that led back to Github the repository was some kook's personal space loaded with Facebook, Twitter, & narcissistic garbage......pix, videos, & tweets.
 
well i don't bother much with github; i quite like the conspiracy stories though now that Microsoft owns it that they own the code that sort of thing. In latest edition of Linux mag somebody wrote that since Microsoft own github ,they have or will slip in some terms to say they also own what ever code it there..As i say conspiracy ..


I used to get emails saying my code had security glitch so somebody or some bot most be scanning. usually i found it was of no consequence.
 
Is it my imagination or has every Linux OS instability I've encountered in the last 2 years traced back to Github?

How can there be any OS security if the system's code is developed by any Wacko out there. The last time I checked out an OS glitch that led back to Github the repository was some kook's personal space loaded with Facebook, Twitter, & narcissistic garbage......pix, videos, & tweets.
I’d say it’s your imagination. Or perhaps your misunderstanding of git.

Git is version control software used by developers to keep track of development of software. GitHub allows developers to collaborate on projects. It’s used by everybody from hobbyists, right up to professionals and huge corporations.

If you indiscriminately download code from ANY old git repo - then yes - you could potentially be getting anything by any old kook.

But if you track down the official git/github repo for a software project - you’re getting the latest version of that software directly from the developers who are working on it and SHOULD be relatively safe.

If you download the head of the source tree - you’re getting the very latest code, which should have the latest bug-fixes, and newest features. But can also contain the latest bugs and performance regressions too!

If you download a tagged release from the tree using gits tags functionality, you can download the code for a particular stable version of the program.

GitHub is not to blame for anything.
Software development is a very tricky process. It’s very easy to end up inadvertently introducing bugs.
But it’s not easy to introduce deliberate ones because you usually have other people looking at the code.

Most of the larger free software/open source projects have a team of people working on things and any pull requests/patches are reviewed by other team members before being accepted into the mainline branch of that project.

Problems can occur when there are only a few people looking at the code. As with what happened with the heartbleed SSL bug.
But the OpenSSL library - an extremely critical library, used by a LOT of other projects only had two people maintaining it.

A simple, innocent, well intentioned change ended up causing a huge security vulnerability that was not detected, or reported for several years.
As soon as the bug was discovered and reported, it was quickly fixed.

A couple of companies have since hired professional programmers to help maintain that critical library to ensure that more eyes are on the code and that it is kept secure.

Software developers are human. And therefore are not infallible. Software development is a highly error prone field. It’s an iterative process. The more complex a piece of software is, the more bugs it’s likely to contain.

There are a few code profilers like coverity that can be used to automatically detect potential flaws/problems in code. I believe coverity allow free software projects to perform coverity scans on their repos for free.

So static code analysis tools can also help developers to make free software safer, with less defects/bugs.

It’s a complex topic, there are a lot of factors that affect code quality.
But on the whole - most free software is pretty damn good!!
 

Members online


Top