pdfinvert.rb does not work if Inkscape can not access /tmp
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Ruby
- Estrellas
- 19
- Forks
- 9
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de reitzig/scripts
Todos los issues de reitzig/scripts
Issues similares
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
bridgetownrb/bridgetown#1130 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
stripe/stripe-ruby#1994 ·
Los mantenedores suelen responder en 1 día
-
[Fehler]: /abdeckstift wirft 500 — part_type aus der Phonemreduction-Umbenennung nicht mitgezogenAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
wort-schule/wort.schule#787 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
lugassawan/swe-workbench#799 ·
Los mantenedores suelen responder en 1 día
-
2.8.6: NoMethodError "undefined method 'first'" in profdata_coverage_dir whenever --scheme is usedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
SlatherOrg/slather#586 · 2 comentarios ·