Package Requests CCExtractor

For developer discussion on package requests
Message
Author
User avatar
timkb4cq
Developer
Posts: 3203
Joined: Wed Jul 12, 2006 4:05 pm

Re: Package Requests CCExtractor

#11 Post by timkb4cq »

After doing some more investigation, it's clear that the ccextractor-gui is not ready for prime time and that's why debian didn't build it.
The immediate problem is that it is hard coded to write out some files wherever the binary is placed. There is no configuration option for that. Since that's in /usr/share/ccextractor-gui/app it doesn't have that permission. It also expects to find the ccextractor binary in the same folder and it's in /usr/bin.

If you build ccextractor somewhere in your home folder according to their directions the GUI will work. It's going to take some patching to get the GUI to work with files in a standard debian install configuration.

As a (non-recommended) workaround, you can get the GUI working with:

Code: Select all

sudo cp /usr/bin/ccextractor /usr/share/ccextractor-gui/app/
sudo chown -R yourusername:yourusername /usr/share/ccextractor-gui/
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
mmikeinsantarosa
Developer
Posts: 2200
Joined: Thu May 01, 2014 10:12 am

Re: Package Requests CCExtractor

#12 Post by mmikeinsantarosa »

The old ccextractor drug in the newer libav & tesseract.
We need to get rid of them.
from a terminal run

Code: Select all

apt-cache policy libavcodec58 libtesseract4
If either of these are installed, let's try to remove them but let's do a test remove first using

Code: Select all

sudo apt-get remove libavcodec58 libtesseract4 -s
If it appears not much other than these packages or any similar packages are going to be removed, go ahead and remove them using

Code: Select all

sudo apt-get remove libavcodec58 libtesseract4


Now that these are gone, let's see what ccextractor if any is installed using

Code: Select all

apt-cache policy ccextractor
if ccextractor is installed, remove it using

Code: Select all

sudo apt-get remove ccextractor
let me know when you've gotten this far.
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64

User avatar
towwire
Posts: 648
Joined: Fri Oct 15, 2010 12:15 pm

Re: Package Requests CCExtractor

#13 Post by towwire »

timkb4cq wrote: Tue Feb 26, 2019 4:29 pm After doing some more investigation, it's clear that the ccextractor-gui is not ready for prime time and that's why debian didn't build it.
The immediate problem is that it is hard coded to write out some files wherever the binary is placed. There is no configuration option for that. Since that's in /usr/share/ccextractor-gui/app it doesn't have that permission. It also expects to find the ccextractor binary in the same folder and it's in /usr/bin.

If you build ccextractor somewhere in your home folder according to their directions the GUI will work. It's going to take some patching to get the GUI to work with files in a standard debian install configuration.

As a (non-recommended) workaround, you can get the GUI working with:

Code: Select all

sudo cp /usr/bin/ccextractor /usr/share/ccextractor-gui/app/
sudo chown -R yourusername:yourusername /usr/share/ccextractor-gui/
I'll try your work around later. it's not a big deal if we cannot get the GUI to work for me. I just thought that someone new may find it easier to use. Using the terminal the file names cannot have any spaces or they must be between "" marks. I have a TV series (1 season) in a folder and use 'ls' to list the files, Copy to a text file, put in the quote mark and then use ccextractor to do them all at one time. The actual hard part is editing the files that take so much time.

User avatar
mmikeinsantarosa
Developer
Posts: 2200
Joined: Thu May 01, 2014 10:12 am

Re: Package Requests CCExtractor

#14 Post by mmikeinsantarosa »

timkb4cq wrote: Tue Feb 26, 2019 4:29 pm After doing some more investigation, it's clear that the ccextractor-gui is not ready for prime time and that's why debian didn't build it.
The immediate problem is that it is hard coded to write out some files wherever the binary is placed. There is no configuration option for that. Since that's in /usr/share/ccextractor-gui/app it doesn't have that permission. It also expects to find the ccextractor binary in the same folder and it's in /usr/bin.

If you build ccextractor somewhere in your home folder according to their directions the GUI will work. It's going to take some patching to get the GUI to work with files in a standard debian install configuration.

As a (non-recommended) workaround, you can get the GUI working with:

Code: Select all

sudo cp /usr/bin/ccextractor /usr/share/ccextractor-gui/app/
sudo chown -R yourusername:yourusername /usr/share/ccextractor-gui/
Thanks for finding that Tim.

So, should we pull it or rebuild it without the GUI and send it back up as cli only on the older tesseract?

towire - Thanks for testing.

Mike
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64

User avatar
timkb4cq
Developer
Posts: 3203
Joined: Wed Jul 12, 2006 4:05 pm

Re: Package Requests CCExtractor

#15 Post by timkb4cq »

No need to pull the working ccextractor - put I can pull just the ccextractor-gui if you'd like.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
mmikeinsantarosa
Developer
Posts: 2200
Joined: Thu May 01, 2014 10:12 am

Re: Package Requests CCExtractor

#16 Post by mmikeinsantarosa »

Please do.
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64

User avatar
towwire
Posts: 648
Joined: Fri Oct 15, 2010 12:15 pm

Re: Package Requests CCExtractor

#17 Post by towwire »

timkb4cq wrote: Tue Feb 26, 2019 5:16 pm No need to pull the working ccextractor - put I can pull just the ccextractor-gui if you'd like.
I tried your work around and it did work on the two files I tried, one no spaces and one with spaces in the file name. I did not try many files at one time.

I agree it should be pulled. I find the terminal easier to used and do many files at once. If you do another, I'll be willing to test it even before it would be put in Test repo, just send me a link to it if you do. I'm happy with just the terminal.

User avatar
towwire
Posts: 648
Joined: Fri Oct 15, 2010 12:15 pm

Re: Package Requests CCExtractor

#18 Post by towwire »

ccextractor version 0.87+ds1-1-mx17+2 is in the test repo. Could we get it update to version 0.89 as there have been some bug fixes. Please for MX-18 & MX-19. No hurry.

https://github.com/CCExtractor/ccextractor
It is easier to fight for one's principles then to live up to them.

User avatar
mmikeinsantarosa
Developer
Posts: 2200
Joined: Thu May 01, 2014 10:12 am

Re: Package Requests CCExtractor

#19 Post by mmikeinsantarosa »

towwire wrote: Sun Dec 22, 2019 9:58 pm ccextractor version 0.87+ds1-1-mx17+2 is in the test repo. Could we get it update to version 0.89 as there have been some bug fixes. Please for MX-18 & MX-19. No hurry.

https://github.com/CCExtractor/ccextractor
towwire, they're still contributing to the 0.89 and their github site shows the 0.88 as the latest release.

The patches we've been using don't all line up with the 0.89 so I think it would be wise to wait until this one is really released and give it a shot then.

Here's the 0.88 debs if you want to give this release a try as it makes it's way into the repos.

- mike
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64

User avatar
towwire
Posts: 648
Joined: Fri Oct 15, 2010 12:15 pm

Re: Package Requests CCExtractor

#20 Post by towwire »

I get this.

Code: Select all

[sudo] password for towwire: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'ccextractor' instead of '/home/towwire/Downloads/Deb's/ccextractor-0.88_debs/ccextractor_0.88-0mx19+1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ccextractor : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is to be installed
               Depends: libtesseract4 but it is not installable
E: Unable to correct problems, you have held broken packages.

press any key to close

Code: Select all

System:
  Host: mx18.2 Kernel: 4.19.0-5-amd64 x86_64 bits: 64 
  compiler: gcc v: 6.3.0 Desktop: Xfce 4.12.3 
  Distro: MX-18.3_x64 Continuum Apr 7  2019 
  base: Debian GNU/Linux 9 (stretch) 
Machine:
  Type: Desktop System: Gigabyte product: N/A v: N/A 
  serial: <filter> 
  Mobo: Gigabyte model: F2A88X-UP4 v: x.x serial: <filter> 
  UEFI: American Megatrends v: F8a date: 12/14/2015 
CPU:
  Topology: Quad Core 
  model: AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G bits: 64 
  type: MCP arch: Steamroller rev: 1 L2 cache: 2048 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 29545 
  Speed: 2769 MHz min/max: 1700/3700 MHz Core speeds (MHz): 
  1: 2769 2: 2867 3: 2994 4: 2994 
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: Gigabyte 
  driver: radeon v: kernel bus ID: 00:01.0 
  Display: x11 server: X.Org 1.19.2 driver: ati,radeon 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1200~60Hz 
  OpenGL: 
  renderer: AMD KAVERI (DRM 2.50.0 4.19.0-5-amd64 LLVM 7.0.0) 
  v: 4.5 Mesa 18.2.6 direct render: Yes 
Audio:
  Device-1: AMD Kaveri HDMI/DP Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 00:01.1 
  Device-2: AMD FCH Azalia vendor: Gigabyte driver: snd_hda_intel 
  v: kernel bus ID: 00:14.2 
  Sound Server: ALSA v: k4.19.0-5-amd64 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: e000 
  bus ID: 01:00.0 
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full 
  mac: N/A 
Drives:
  Local Storage: total: 2.29 TiB used: 253.10 GiB (10.8%) 
  ID-1: /dev/sda vendor: Silicon Power 
  model: SPCC Solid State Disk size: 476.94 GiB temp: 41 C 
  ID-2: /dev/sdb vendor: Seagate model: ST2000DM001-1CH164 
  size: 1.82 TiB temp: 33 C 
Partition:
  ID-1: / size: 29.40 GiB used: 8.79 GiB (29.9%) fs: ext4 
  dev: /dev/sda2 
  ID-2: /home size: 29.40 GiB used: 16.18 GiB (55.0%) fs: ext4 
  dev: /dev/sda3 
  ID-3: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/sdb1 
Sensors:
  System Temperatures: cpu: 34.0 C mobo: N/A gpu: radeon 
  temp: 32 C 
  Fan Speeds (RPM): cpu: 2743 fan-2: 594 fan-3: 0 fan-4: 0 
  fan-5: 0 
  Voltages: 12v: N/A 5v: N/A 3.3v: N/A vbat: 3.17 
Repos:
  Active apt repos in: /etc/apt/sources.list.d/antix.list 
  1: deb http://la.mxrepo.com/antix/stretch/ stretch main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
  1: deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/debian.list 
  1: deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
  2: deb http://security.debian.org/ stretch/updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/mx.list 
  1: deb http://la.mxrepo.com/mx/repo/ stretch main non-free
  No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:
  Processes: 221 Uptime: 11d 6h 50m Memory: 30.44 GiB 
  used: 4.26 GiB (14.0%) Init: SysVinit runlevel: 5 Compilers: 
  gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.36 
It is easier to fight for one's principles then to live up to them.

Post Reply

Return to “Package Requests / Status”