pdfinvert.rb does not work if Inkscape can not access /tmp
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reproducing ruby pdfinvert.rb sheet01.pdf sheet01_inv.pdf with the supplied archive, then inspect pdfinvert.rb around line 222 and the Inkscape-related temporary-file handling. Done means the command completes successfully and produces the inverted PDF when Inkscape cannot access /tmp.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I really appreciate the work you put in the pdfinvert script. I searched long on the internet to find sth useful to invert pdf 😀
But I get an exception when executing. Here is the debug output:
▶ ruby pdfinvert.rb sheet01.pdf sheet01_inv.pdf
Exception `Gem::LoadError' at /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319 - Could not find 'parallel' (>= 0) among 15 total gem(s)
Checked in 'GEM_PATH=/Users/renekud/.gem/ruby/2.3.0:/Library/Ruby/Gems/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/gems/2.3.0', execute `gem env` for more information
Exception `Errno::ENOENT' at pdfinvert.rb:222 - No such file or directory @ rb_sysopen - input_0001.svg
pdfinvert.rb:222:in `initialize': No such file or directory @ rb_sysopen - input_0001.svg (Errno::ENOENT)
from pdfinvert.rb:222:in `open'
from pdfinvert.rb:222:in `invert'
from pdfinvert.rb:354:in `block in <main>'
from pdfinvert.rb:353:in `each'
from pdfinvert.rb:353:in `rescue in <main>'
from pdfinvert.rb:343:in `<main>'
I have the script in the same directory like the pdf that I want to invert. It would be wonderfull if we could fix this. Sadly I never did sth in ruby :D
Here are the files of the /tmp/pdfinvert folder:
pdfinvert_sheet01.zip
- Lingua principale
- Ruby
- Stelle
- 19
- Fork
- 9
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di reitzig/scripts
Tutte le issue di reitzig/scripts
Issue simili
-
area/web interface
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
mastodon/mastodon#41009 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
yegor256/ellipsized#131 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100