LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2021, 01:03 AM   #16
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308

Quote:
Originally Posted by ondoho View Post
Which is why I suggested earlier you might want to look into packing up your software into some sort of appimage/flatpak/snap that _includes_ compatible versions - instead of converting it.

Have you considered that even if you succeed with the converting 100%, you will evtl. face the very same problem(s) some time in the future?

Also you are becoming the de-facto sole maintainer of the project and should consider sharing your effort with the community.
Yes, I was thinking about something similar too (= to use the original software in docker/appimage/whatever), because - I guess - we will never know if the result (conversion to python3) was perfect (= good enough?) and works as expected.
 
Old 06-20-2021, 07:54 PM   #17
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

Thanks for replies.

I guess it may be a good time to change my mind. I will use python2 version for a while. To keep data, I will code from scratch in C or ruby.

Quote:
Originally Posted by NevemTeve View Post
Anyways, let's hope there will be a Python4 that will be also incompatible with Python and Python3.
Quote form this thread.

Yes, functionality of 2/3 product can be a big issue. Unexpected (implicit) auto-conversion is extremely difficult to take care. (also urllib, urllib2 back to urllib with different parameters!) Lexically correct (implies semantically not) code is the enemy.

I greatly appreciate all suggestions and comments.

cheers

Last edited by kaz2100; 06-20-2021 at 07:55 PM.
 
Old 11-21-2021, 06:58 PM   #18
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

With a lot of help from community, bibus transition to python3 may work. Libreoffice and LyX connection works for me. Pubmed download works. eTBlast is dead, so removed. MySQL, automatic file detection and MicrosoftWord connection are not checked. Not even beta version! It is nothing more than it works on my Debian testing(amd64).

Is anybody interested under GPLv2 or v3?

If I follow the sourceforge rule, I should take over the inactive project, but I do not think I am capable to be a maintainer.

cheers
 
Old 11-22-2021, 07:12 AM   #19
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,599

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Quote:
Originally Posted by kaz2100 View Post
I do not think I am capable to be a maintainer.
Why not?

 
Old 11-25-2021, 06:41 PM   #20
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by boughtonp View Post
Why not?

Thank you for your comment. But, I do not have any knowledge/experience except for Debian, no resource.. I even have some trouble with Debian. What I have is nothing more than "it works on my Debian"

cheers
 
Old 11-26-2021, 04:42 PM   #21
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
I have to concur with ondoho. Stick with Python2. The best case for this kind of scenario is to make up/build a completely self-contained package, one which contains absolutely everything required to run it.....i.e., it does NOT need to go scampering off into the system to search for dependencies. If done properly, the ONLY system 'dependencies' would be the glibc & libstdc++.so.6, and these are usually backwards-compatible.

It can take some figuring-out, but it's immensely satisfying to see the results of your own labours burst into life at the click of your mouse.

A 'portable' format of some kind would be absolutely ideal for something like this. AppImages are perfect; they unpack themselves into, and run from /tmp for the duration. They also don't require a pre-existing framework in order to function, in the way that Snaps & Flatpaks do. I create a lot of portable packages in this manner for the Puppy Linux community, and one of our members has developed his own AppImage packaging scripts, which work beautifully.

Just a suggestion. Feel free to ignore it if not applicable.

Quote:
Originally Posted by kaz2100 View Post
If I follow the sourceforge rule, I should take over the inactive project, but I do not think I am capable to be a maintainer.
Why would you think that other package maintainers are any better at it than you? You don't have to be a coding genius, competent in multiple disciplines.....all you need is the enthusiasm, and patience, to make sure that the package, as available for download, keeps working. An AppImage, particularly, if built correctly, will work & run anywhere....because it doesn't rely on any system dependencies.

Mike.

Last edited by Mike_Walsh; 11-27-2021 at 05:39 PM.
 
Old 11-27-2021, 07:57 AM   #22
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by Mike_Walsh View Post
If done properly, the ONLY system 'dependencies' would be the glibc & libstdc++.so.6, and these are usually backwards-compatible.
Thank you for your comment. My experience and knowledge about system are not as good as yours. I will check how to make a package which includes whole dependencies.
 
Old 11-27-2021, 08:39 AM   #23
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,599

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546

As Mike says, enthusiasm and patience/determination is enough to get started - the experience and knowledge come as you do it.

Also, maintaining a project does not mean you need to do everything the previous version did, nor that you need to do everything people might ask for - it's absolutely fine to say that you're only working on fixing the parts that interest you, and the rest is either out of scope or up to other people to work on.

As for only working on your machine, high-level languages like Python provide a lot of compatibility built-in - it's not perfect (and it's annoying when to realize you've been using something added to Python 3.8 but want to support Python 3.6), but the fewer dependencies you have (i.e. the more you use the standard library, or other zero/low-dependency modules), the less you need to worry about platform-specific issues.

 
Old 11-27-2021, 12:51 PM   #24
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by kaz2100 View Post
Thank you for your comment. My experience and knowledge about system are not as good as yours. I will check how to make a package which includes whole dependencies.
Heh. I don't know as I'd agree with you there on that one. I'm the "eternal noob"; I see myself as something of a 'bodger'.....an enthusiastic 'tinkerer', at best. Some of the hacks I employ in getting stuff to do what I want it to would in all likelihood make your hair curl. They're not tidy, and certainly not elegant.....but they work.

I do, however, constantly review what I publish, and am always trying to find better ways of making things run. I'm not any kind of an 'expert', but I do at least have the enthusiasm to try and improve things. Coding does not come easily to me - I've never been good with languages, and coding languages are no different! - but when I look back at my early attempts, as compared to what I put out nowadays, even I'm quite impressed at the improvement over the last 8 years or so.

And I'm NOT easily impressed..!

Enthusiasm counts for a hell of a lot.....and this, coupled with positive feedback from your 'target' audience, along with constructive criticism (which I've never minded), will carry you a long way. You may even find you enjoy the process.


Mike.

Last edited by Mike_Walsh; 11-27-2021 at 05:37 PM.
 
Old 11-27-2021, 06:23 PM   #25
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Taking on a task that is challenging will do just that. Challenge you to learn and do better. I cannot think of a better way to learn something new (and how to do it the best way possible) than to do something you know others rely on.
 
Old 11-28-2021, 06:50 AM   #26
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by computersavvy View Post
Taking on a task that is challenging will do just that. Challenge you to learn and do better. I cannot think of a better way to learn something new (and how to do it the best way possible) than to do something you know others rely on.
My policy has always been that initially I develop/build packages for my own use. When I'm completely happy with them, only then am I content to "share". Once the package is in the public domain, as it were, I then often keep thinking up ways to improve them.....

It's an on-going process, but a satisfying one.

Mike.
 
Old 11-28-2021, 11:14 AM   #27
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Thamk you for your comments.

About a package with python2: Dependency tree itself may not be complicated. Several suggesgted packages may not. I need to figure out which one is used. One problem is that current LibreOffice does not work (connect.)

About a maintainer: Now, I know that maintainer need not to be perfect. As GPL says, program is supplied "as is ... without warranty"

cheers
 
Old 11-28-2021, 05:58 PM   #28
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by kaz2100 View Post
About a package with python2: Dependency tree itself may not be complicated. Several suggesgted packages may not. I need to figure out which one is used. One problem is that current LibreOffice does not work (connect.)
Just as a refresher so I don't need to review 27+ posts and try and identify the issue.
What distro and version are you using.?
Why are you still using python 2?

LibreOffice has been kept up to date and works on all versions of Linux I have used, to it seems you might be trying to use a current version of LO on a machine that will not support the up-to-date dependencies involved.
 
Old 11-28-2021, 08:45 PM   #29
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

My setup is Debian AMD64 testing.

Currently, I do not need to use python2, because 2to3 transition of bibus looks good for me. To use original bibus (or to be correct: to keep using its data) I used python2.

I tried several other reference managing programs. My conclusion is that bibus is more flexible interface, simple data structure, security and speed compared to other ones. So, I decided to 2to3 transition.

LibreOffice used to communicate with bibus, at OpenOffice.Org era. I have not investigated this, because it works with converted bibus.

To appreciate to a lot of help from community, I am thinking to share converted bibus under GPL.

Thank you for your comment.

cheers
 
  


Reply

Tags
2to3, pickle, python, str/byte



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert a Python2 file in Python3 to work on Ubuntu 20.04 eli67 Linux - Software 2 02-04-2021 06:04 PM
[SOLVED] How can I make Python2.7 my default Python without deleting/removing python2.6. steves504 Linux - Server 2 03-21-2014 11:57 AM
[SOLVED] Trying to install 'Gmail Backup' but it requires python2.5 - I have python2.8... Robert.Thompson Slackware 6 05-10-2011 08:23 AM
Python2.5-devel is unable to find installed Python2.5 Setya SUSE / openSUSE 1 06-08-2007 01:35 AM
installed dropline, root loads kde3.2, user loads drop pgrimes Linux - Software 7 06-28-2004 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration