Git Product home page Git Product logo

jasper-rails's People

Contributors

caron10 avatar elamt avatar gregoriokusowski avatar msaraiva avatar rodrigomaia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jasper-rails's Issues

Salvar relatório

Ola, pessoal. É possível salvar o relatório em PDF em um diretório especifico ao invés de exibi-lo?

[]'s

Stclara.

xpath2 not registered

New to JasperReports, but I do know how it works in theory. I'm also well versed in Java apps in general.

I created a report with iReports, but it only had xpath2. I left that in there, and when I try to generate a report I get:

   Error at line 8 char 16: No query executer factory registered for the 'xpath2' language.

I then edited the jrxml file and reloaded, and got the following:

  Error at line 8 char 16: No query executer factory registered for the 'xpath' language.

From googling around on the Jasper forums, we seem to need a jasperreports.properties somewhere, but I can't see where we would put it.

already initialized constant PDF

After adding jasper-rails to our Gemfile, I've started seeing this warning messages:

/var/lib/jenkins/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.6/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF

Planning the next version

Hi folks!

After a couple of months without having any time for jasper-rails, I'll start now to work on the next version. The main goal is to have a more flexible design where we can easily add new features. The first feature I have in mind is to provide an easy way to generate the reports in different formats, like ODT, SWF, XLS or whatever format JasperReports supports. It's a nice feature and it's really easy to do.

I've just created a mailing list for the project where I'll discuss the next features and fixes. So if anyone is willing to contribute or give any suggestions, feel free to join.

Cheers!
Marlus

[docs] how to pass a hashmap to jasper

if you have a lot of parameters to pass to to the report(like what filter are used to create the report, etc), would be a lot easier to just pass it as a single hashmap inside one parameter($P{filters} for example) instead of creating tons of different parameters.

Erro jasper-rails no rails 3.1.5

O erro "cannot parse Cookie header" ocorre quando executo a gem jasper-rails no rails 3.1.5. Repeti o mesmo problema na app jasper-rails-demo atualizando o rails da 3.1.3 para 3.1.5.

Load new Fonts

Hello There.
Does someone here know how to load a new font like Times New Roman into jasper-rails instead of using Helvetica?

Thank you :)

Jasper and WickedPDF

Hi
I try to use jasper for a new report in my rails app but a I have wickedpdf too.
Try this

respond_to :xml, :pdf
def report
@company_business_units = Company::BusinessUnit.all
respond_with @company_business_units
end

but the controller try to use wicked and return an exception "Template is missing", how I can specify the use of jasper??

Add jasperreport.properties configuration files

Adding this files in config could be a good enhancement and will avoid this, for example :

net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Times New Roman' is not available to the JVM. See the Javadoc for more details.

net.sf.jasperreports.awt.ignore.missing.font = true

Apache + Passenger

The plugin is not working properly with Apacha + Passenger. I always get the error "Cant Create Java VM" from Passenger when i run my App in Production Environment.

Server Setup is:
Debian 6.0
Java JDK 1.7.0
Apache2 + Passenger
Ruby 1.9.2

Java Home and PATH are correctly set.

support for jruby

it would be super cool if we have a version of the gem to run with jruby(that uses java itself to do the integration instead of using RJB). that way, we can have the same code running in jruby as well.

something like ffi, json, nokogiri and others already have.

No Data response from Server

Hi,
I have a simple demo (works fine on my local mac/ubunut machines)
I am trying to get it running on Engine Yard (Gentoo).

Which runs
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (Gentoo build 1.6.0_24-b24)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Weird issue the app server starts up fine no reported errors, I can hit my route and it seems to get up to Exporting the Jasper report.

However the request simply timeout.No errors in the log.

Wondering if you have seen this before?

ireport preview

I have tried to test the demo app of jasper-rails. It works very good. I tried to open the index.jrxml. I tried to prevew the report the the records is null? Do I need to setup the data source? or did i miss something. I want to design report and used the query.

already initialized constant APP_PATH

Hi,

I wish to upgrade jasper-rails-demo to rails 4.2.4, but running

$rails server

bin/rails:6: warning: already initialized constant APP_PATH
/home/ubuntu/workspace/jsp/bin/rails:6: warning: previous definition of APP_PATH was here
Usage: rails COMMAND [ARGS]

If I delete gem 'jasper-rails' from gemfiles, server starts.

Please send me any sugestions.

Utilizar com passenger + nginx + production

Boa tarde, galera. Existe alguma configuração para que funcione com rvm + passenger + nginx em modo de produção? Quando chamo o relatório fica aguardando, mas não gera e também não aparece erro no log. Com mongrel funciona.

[]'s

Stclara.

Issue for Rails 4.2

I found this error when installing the gem on rails 4 but it works fine on rails 3

bin/rake Error:[rake --tasks] /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/activesupport-4.2.1.rc4/lib/active_support/dependencies.rb:274:in 'require': cannot load such file -- action_controller/metal/responder (LoadError) from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/activesupport-4.2.1.rc4/lib/active_support/dependencies.rb:274:in 'block in require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/activesupport-4.2.1.rc4/lib/active_support/dependencies.rb:240:in 'load_dependency' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/activesupport-4.2.1.rc4/lib/active_support/dependencies.rb:274:in 'require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/jasper-rails-1.0.3/lib/jasper-rails.rb:26:in '<top (required)>' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:76:in 'require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:76:in 'block (2 levels) in require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:72:in 'each' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:72:in 'block in require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:61:in 'each' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:61:in 'require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler.rb:134:in 'require' from /config/application.rb:30:in '<top (required)>' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:82:in 'require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:82:in 'preload' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:143:in 'serve' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:131:in 'block in run' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:125:in 'loop' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:125:in 'run' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application/boot.rb:19:in '<top (required)>' from /home/mostafa/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in 'require' from /home/mostafa/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in 'require' from -e:1:in '

' Error:[rake --prereqs] /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/activesupport-4.2.1.rc4/lib/active_support/dependencies.rb:274:in 'require': cannot load such file -- action_controller/metal/responder (LoadError) from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/activesupport-4.2.1.rc4/lib/active_support/dependencies.rb:274:in 'block in require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/activesupport-4.2.1.rc4/lib/active_support/dependencies.rb:240:in 'load_dependency' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/activesupport-4.2.1.rc4/lib/active_support/dependencies.rb:274:in 'require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/jasper-rails-1.0.3/lib/jasper-rails.rb:26:in '<top (required)>' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:76:in 'require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:76:in 'block (2 levels) in require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:72:in 'each' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:72:in 'block in require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:61:in 'each' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler/runtime.rb:61:in 'require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.9.4/lib/bundler.rb:134:in 'require' from config/application.rb:30:in '<top (required)>' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:82:in 'require' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:82:in 'preload' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:143:in 'serve' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:131:in 'block in run' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:125:in 'loop' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application.rb:125:in 'run' from /home/mostafa/.rvm/gems/ruby-2.2.1@global/gems/spring-1.7.2/lib/spring/application/boot.rb:19:in '<top (required)>' from /home/mostafa/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in 'require' from /home/mostafa/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in 'require' from -e:1:in ''

`load': cannot load such file -- dl (LoadError)

I'm on mac El Cap with Java 8 trying to run the jasper-rails but getting an error on startup. I have JAVA_HOME set to /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home


/Users/dtrce/.rbenv/versions/2.1.2/gemsets/loanapp/gems/jasper-rails-1.0.3/lib/jasper-rails.rb:47:in `load': cannot load such file -- dl (LoadError)
  from /Users/dtrce/.rbenv/versions/2.1.2/gemsets/loanapp/gems/jasper-rails-1.0.3/lib/jasper-rails.rb:47:in `<module:JasperRails>'
  from /Users/dtrce/.rbenv/versions/2.1.2/gemsets/loanapp/gems/jasper-rails-1.0.3/lib/jasper-rails.rb:32:in `<top (required)>'
  from /Users/dtrce/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in `require'
  from /Users/dtrce/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
  from /Users/dtrce/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in `each'
  from /Users/dtrce/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in `block in require'
  from /Users/dtrce/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `each'
  from /Users/dtrce/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `require'
  from /Users/dtrce/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler.rb:134:in `require'
  from /Users/dtrce/Dropbox/dev/TitleLoanApp/config/application.rb:7:in `<top (required)>'
  from /Users/dtrce/.rbenv/versions/2.1.2/gemsets/loanapp/gems/railties-3.2.11/lib/rails/commands.rb:53:in `require'
  from /Users/dtrce/.rbenv/versions/2.1.2/gemsets/loanapp/gems/railties-3.2.11/lib/rails/commands.rb:53:in `block in <top (required)>'
  from /Users/dtrce/.rbenv/versions/2.1.2/gemsets/loanapp/gems/railties-3.2.11/lib/rails/commands.rb:50:in `tap'
  from /Users/dtrce/.rbenv/versions/2.1.2/gemsets/loanapp/gems/railties-3.2.11/lib/rails/commands.rb:50:in `<top (required)>'
  from script/rails:6:in `require'
  from script/rails:6:in `<main>'

NumberHelper not working

Methods in NumberHelper stop working when I set gem 'jasper-rails' in my Gemfile.

The report works and everything but when I render something like:

<%=number_to_currency(123.25)%> it returns $0.00

I'm using Ruby 2.0.0 on Rails 4.0.0

xpath

Pessoal, qual o procedimento para gerar o xpath? Como faço para acrescentar os fields no ireport? Gero tudo ok no relatório, só que os campos aparecem como null.

[]'s

Stclara.

Support Subreports

As amazing as this project is, it would be made even more amazing if it supported doing subreports.

I may start using jasper-rails for a large project that will have dozens of reports. Many of them will require sub-reports. Does anyone else have any use for this feature?

Issues with Unicorn/Nginx?

Hello.
I have a plugin for Redmine printing documents via Jasper-Rails.

It works fine if running in test with WEBrick, it's completely stuck when it run on unicorn+nginx or unicorn standalone.

No error messages in production.log, Unicorn simply kill the process, stderr: "worker=2 PID:13127 timeout (31s > 30s), killing"

Any idea?

Erro com data created_at postgres

Salve, pessoal. Como passar a data created_at (timestamp) do postgres para o ireport? Sempre que gero o relatório retorna null.

[]'s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.