Problem with pdfshuffler

Message
Author
pikl cera
Posts: 7
Joined: Wed Jul 24, 2019 3:46 pm

Problem with pdfshuffler

#1 Post by pikl cera »

Hello,l have a problem with pdfshuffler,when i want to save the file changes(rotate one of this pdf file) throw me this error unsupported operand type(s) for +: 'IndirectObject' and 'int' but when there is only one page in the pdf file everything works fine when there are more like them in the picture it throws error.

How to resolve this problem?

https://www.dodaj.rs/images/Screenshot.png


Mod note: Image changed to link. Be mindful of image limits: viewtopic.php?f=133&t=48374

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Problem with pdfshuffler

#2 Post by JayM »

Please run MX Tools/Quick System Info, then right-click paste into a reply. (Quick System Info automatically copies the information to the clipboard and formats it properly for the forum so all you have to do is paste it.) Thanks.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

pikl cera
Posts: 7
Joined: Wed Jul 24, 2019 3:46 pm

Re: Problem with pdfshuffler

#3 Post by pikl cera »

Code: Select all

  System:
  Host: torg 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 May 26  2019 
  base: Debian GNU/Linux 9 (stretch) 
Machine:
  Type: Laptop System: LENOVO product: 20137 v: Lenovo G585 serial: <filter> 
  Mobo: LENOVO model: Lenovo G585 v: INVALID serial: <filter> 
  UEFI [Legacy]: LENOVO v: 6CCN18WW(V1.05) date: 07/18/2012 
Battery:
  ID-1: BAT1 charge: 41.8 Wh condition: 41.8/47.5 Wh (88%) 
  model: SONY PABAS0241231 status: Full 
CPU:
  Topology: Dual Core model: AMD E1-1200 APU with Radeon HD Graphics 
  bits: 64 type: MCP arch: Bobcat L2 cache: 512 KiB 
  flags: lm nx pae sse sse2 sse3 sse4a ssse3 svm bogomips: 5589 
  Speed: 778 MHz min/max: 777/1400 MHz Core speeds (MHz): 1: 778 2: 1205 
Graphics:
  Device-1: AMD Wrestler [Radeon HD 7310] vendor: Lenovo 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: 1366x768~60Hz 
  OpenGL: renderer: AMD PALM (DRM 2.50.0 / 4.19.0-5-amd64 LLVM 7.0.0) 
  v: 3.3 Mesa 18.2.6 direct render: Yes 
Audio:
  Device-1: AMD Wrestler HDMI Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 00:01.1 
  Device-2: AMD FCH Azalia vendor: Lenovo driver: snd_hda_intel v: kernel 
  bus ID: 00:14.2 
  Sound Server: ALSA v: k4.19.0-5-amd64 
Network:
  Device-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 2000 bus ID: 02:00.0 
  IF: eth0 state: down mac: <filter> 
  Device-2: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: Lenovo 
  driver: ath9k v: kernel port: 2000 bus ID: 06:00.0 
  IF: wlan0 state: up mac: <filter> 
  Device-3: Atheros AR3012 Bluetooth 4.0 type: USB driver: btusb 
  bus ID: 5-3:2 
Drives:
  Local Storage: total: 298.09 GiB used: 131.74 GiB (44.2%) 
  ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS545032A7E380 
  size: 298.09 GiB 
Partition:
  ID-1: / size: 290.41 GiB used: 131.74 GiB (45.4%) fs: ext4 dev: /dev/sda1 
  ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 66.5 C mobo: N/A gpu: radeon temp: 67 C 
  Fan Speeds (RPM): N/A 
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://mxrepo.com/mx/repo/ stretch main non-free
  No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:
  Processes: 185 Uptime: 1h 58m Memory: 3.46 GiB used: 1.23 GiB (35.6%) 
  Init: SysVinit runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 
  inxi: 3.0.33 

Report copied to system clipboard

Press any key to close
Last edited by pikl cera on Wed Aug 21, 2019 8:40 pm, edited 1 time in total.

User avatar
Jerry3904
Administrator
Posts: 21939
Joined: Wed Jul 19, 2006 6:13 am

Re: Problem with pdfshuffler

#4 Post by Jerry3904 »

Interesting. I use this app all the time for business--couldn't get along without it--and have never had an error.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

CrackMeUp

Re: Problem with pdfshuffler

#5 Post by CrackMeUp »

No prob here either ... after you make whatever changes needed to the pdf, Save As, give it a name and destination ... see what gives?!

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Problem with pdfshuffler

#6 Post by JayM »

pikl cera wrote: Wed Aug 21, 2019 7:56 pm (Big wall of hard to read text)
Please edit your post using the pencil icon to wrap the information inside of code tags. Example: [code]log file contents, configuration file contents and terminal text go here[/code]

Code: Select all

to make it look like this, which is a lot easier to read for large amounts of text:
1. It really stands out as being separate from the text that you're typing due to the different background and font colors
2. It also puts it inside of its own little frame with its own scrollbars, making it easier to navigate.
You can just select the text by dragging your mouse over it while holding the left button down then click the </> icon in the forum's editor's toolbar. Thanks.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

pikl cera
Posts: 7
Joined: Wed Jul 24, 2019 3:46 pm

Re: Problem with pdfshuffler

#7 Post by pikl cera »

Sorry for that,l edit post.

pikl cera
Posts: 7
Joined: Wed Jul 24, 2019 3:46 pm

Re: Problem with pdfshuffler

#8 Post by pikl cera »

Jerry3904 wrote: Wed Aug 21, 2019 8:10 pm Interesting. I use this app all the time for business--couldn't get along without it--and have never had an error.
That's how I did it, but always give me error.

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Problem with pdfshuffler

#9 Post by JayM »

Thanks for editing it. It's much easier to read now.

I don't see any issues with your repositories or your system, but in your other thread
viewtopic.php?f=108&t=51716&p=517215#p517215
you were asking about removing a bunch of programs. Perhaps when you removed one of those it also removed a shared library that pdfshuffler needs. Try removing then reinstalling pdfshuffler and see if that fixes it.

Another thing it could be is a bad or corrupted pdf file. Try it with a different one and see if it has the same problem. You can open LibreOffice Writer, then go to https://lipsum.com/ and generate 20 paragraphs of Lorem Ipsum text then copy and paste it into your Writer document, then in the File dropdown menu choose Export as... and export it as a .pdf file which will be several pages long, then see if you can select more than one page in pdfshuffler and rotate them.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
Gaer Boy
Posts: 859
Joined: Sat Jun 06, 2009 6:06 am

Re: Problem with pdfshuffler

#10 Post by Gaer Boy »

I haven't had the particular problem but I have had a number of similar problems with pdfshuffler. I use it probably 30 times a week, mainly compiling multiple pdf files into one, with various deletions and shuffles. I have a persistent error with files I receive from one Mac user - a multi-page pdf text file and a single page graphics pdf. pdfshuffler fails to save the output. A few years ago, I purchased MasterpdfEditor, which combines these files with no problem.

I still use pdfshuffler as my main tool because of its simplicity and speed.

Gigabyte B550I Aorus Pro AX, Ryzen 5 5600G, 16GB, 250GB Samsung SSD (GPT), 2x1TB HDD (MBR), MX-21-AHS
Lenovo Thinkpad X220, dual-core i5, 4MB, 120GB Samsung SSD (GPT), MX-21

Post Reply

Return to “Software / Configuration”