nomad-cli / cupertino

CLI for the Apple Dev Center

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

undefined method `name' for nil:NilClass (NoMethodError)

houweifeng opened this issue · comments

/usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:144:in block (5 levels) in <top (required)>': undefined methodname' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:144:in each' from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:144:indetect'
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:144:in block (4 levels) in <top (required)>' from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:141:ineach'
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:141:in each_with_index' from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:141:inblock (3 levels) in <top (required)>'
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/agent.rb:259:in manage_devices_for_profile' from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:140:inblock (2 levels) in <top (required)>'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/command.rb:178:in call' from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/command.rb:178:incall'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/command.rb:153:in run' from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/runner.rb:426:inrun_active_command'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/runner.rb:68:in run!' from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/delegates.rb:15:inrun!'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/import.rb:8:in `block in <top (required)>'

You need to raise page limit

Sent from my iPhone5

On May 5, 2015, at 7:51 PM, houweifeng notifications@github.com wrote:

/usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:144:in block (5 levels) in <top (required)>': undefined methodname' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:144:in each'
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:144:indetect'
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:144:in block (4 levels) in <top (required)>'
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:141:ineach'
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:141:in each_with_index'
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:141:inblock (3 levels) in '
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/agent.rb:259:in manage_devices_for_profile'
from /usr/lib/ruby/gems/2.0.0/gems/cupertino-1.3.3/lib/cupertino/provisioning_portal/commands/profiles.rb:140:inblock (2 levels) in '
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/command.rb:178:in call'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/command.rb:178:incall'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/command.rb:153:in run'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/runner.rb:426:inrun_active_command'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/runner.rb:68:in run!'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/delegates.rb:15:inrun!'
from /usr/lib/ruby/gems/2.0.0/gems/commander-4.3.2/lib/commander/import.rb:8:in `block in '


Reply to this email directly or view it on GitHub.

@sfransen thank you for this tip. I'll try it.

commented

Fixed by #216.