Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User stylesheet not accepted #38

Closed
mrtoner opened this issue Jan 25, 2013 · 1 comment
Closed

User stylesheet not accepted #38

mrtoner opened this issue Jan 25, 2013 · 1 comment

Comments

@mrtoner
Copy link

mrtoner commented Jan 25, 2013

Using 0.6.9 on OSX 10.8.2, the user-stylesheet flag isn't accepted:

prime-directive:~ don$ wkpdf --source http://www.apple.com --user-stylesheet /Users/don/wkpdf.css --output apple.pdf

2013-01-25 12:13:31.155 ruby[41725:707] -[NSURL length]: unrecognized selector sent to instance 0x7fe0e4444310
/System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:50:in `ocm_send': NSInvalidArgumentException - -[NSURL length]: unrecognized selector sent to instance 0x7fe0e4444310 (OSX::OCException)
from /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:50:in `method_missing'
from /Library/Ruby/Gems/1.8/gems/wkpdf-0.6.9-universal-darwin/bin/../lib/wkpdf.rb:68:in `main'
from /Library/Ruby/Gems/1.8/gems/wkpdf-0.6.9-universal-darwin/bin/wkpdf:5
from /usr/bin/wkpdf:23:in `load'
from /usr/bin/wkpdf:23
@plessl plessl closed this as completed in 8951c37 Jan 25, 2013
@plessl
Copy link
Owner

plessl commented Jan 25, 2013

Good catch. That was a bug resulting from some refactoring a couple of versions ago.

Should be fixed in version 0.6.10 that I have just released.

On 25.01.2013, at 21:24, mrtoner notifications@github.com wrote:

Using 0.6.9 on OSX 10.8.2, the user-stylesheet flag isn't accepted:

prime-directive:~ don$ wkpdf --source http://www.apple.com --user-stylesheet /Users/don/wkpdf.css --output apple.pdf

2013-01-25 12:13:31.155 ruby[41725:707] -[NSURL length]: unrecognized selector sent to instance 0x7fe0e4444310
/System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:50:in ocm_send': NSInvalidArgumentException - -[NSURL length]: unrecognized selector sent to instance 0x7fe0e4444310 (OSX::OCException) from /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:50:inmethod_missing'
from /Library/Ruby/Gems/1.8/gems/wkpdf-0.6.9-universal-darwin/bin/../lib/wkpdf.rb:68:in main' from /Library/Ruby/Gems/1.8/gems/wkpdf-0.6.9-universal-darwin/bin/wkpdf:5 from /usr/bin/wkpdf:23:inload'
from /usr/bin/wkpdf:23


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants