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

.imscc to common cartridge issue #81

Open
bryansweeney opened this issue Dec 18, 2019 · 0 comments
Open

.imscc to common cartridge issue #81

bryansweeney opened this issue Dec 18, 2019 · 0 comments

Comments

@bryansweeney
Copy link

Trying to convert a common cartridge exported from moodle (in .imscc format) to a Canvas common cartridge. When running through CLI

moodle2cc migrate ./ff1.imscc ./

Traceback (most recent call last):
	8: from /Users/me/.rbenv/versions/2.6.3/bin/moodle2cc:23:in `<main>'
	7: from /Users/me/.rbenv/versions/2.6.3/bin/moodle2cc:23:in `load'
	6: from /Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/moodle2cc-0.2.41/bin/moodle2cc:6:in `<top (required)>'
	5: from /Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/base.rb:485:in `start'
	4: from /Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
	3: from /Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
	2: from /Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
	1: from /Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/moodle2cc-0.2.41/lib/moodle2cc/cli.rb:11:in `migrate'
/Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/moodle2cc-0.2.41/lib/moodle2cc/migrator.rb:36:in `imscc_path': undefined method `imscc_path' for nil:NilClass (NoMethodError)

I get the same issue when I try to do the same with a .zip extension for the cartridge file. This command works for small cartridges that are exported to the .mbz format from moodle.

I have verified that this is not related to the the path parameters that I am passing, because it works for .mbz file as explained above.

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

1 participant