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

Unable to copy project #178

Closed
drmackay opened this issue Aug 30, 2017 · 2 comments
Closed

Unable to copy project #178

drmackay opened this issue Aug 30, 2017 · 2 comments

Comments

@drmackay
Copy link
Contributor

Enter commands:
tau project copy mm mmdup --application mm --measurements profile --targets drmackay-VirtualBox

Error comes back:
/examples/mm$ tau project copy mm mmdup --application mm --measurements profile --targets drmackay-VirtualBox
{'applications': ['mm'], 'measurements': ['profile'], 'name': 'mmdup', 'targets': ['drmackay-VirtualBox']}
[TAU]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[TAU]
[TAU] CRITICAL
[TAU]
[TAU] An unexpected ModelError exception was raised:
[TAU]
[TAU] Project: Invalid non-integer ID 'profile' in 'measurements'
[TAU]
[TAU] Traceback (most recent call last):
[TAU] File "/home/drmackay/taucmdr/scripts/tau", line 70, in
[TAU] sys.exit(cli_main_cmd.main(sys.argv[1:]))
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/cli/commands/main.py",
[TAU] line 133, in main
[TAU] return cli.execute_command([cmd], cmd_args)
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/cli/init.py", line 292, in
[TAU] execute_command
[TAU] return main(cmd_args or [])
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/cli/cli_view.py", line 87, in
[TAU] main
[TAU] return cli.execute_command([args.subcommand], args.options, self.module_name)
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/cli/init.py", line 292, in
[TAU] execute_command
[TAU] return main(cmd_args or [])
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/cli/commands/project/copy.py",
[TAU] line 102, in main
[TAU] return self._copy_record(PROJECT_STORAGE, data, key)
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/cli/cli_view.py", line 538, in
[TAU] _copy_record
[TAU] return self._create_record(store, data)
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/cli/cli_view.py", line 124, in
[TAU] _create_record
[TAU] ctrl.create(data)
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/model/project.py", line 100,
[TAU] in create
[TAU] return super(ProjectController, self).create(data)
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/mvc/controller.py", line 191,
[TAU] in create
[TAU] data = self.model.validate(data)
[TAU] File "/home/drmackay/taucmdr/scripts/../packages/taucmdr/mvc/model.py", line 277, in
[TAU] validate
[TAU] raise ModelError(cls, "Invalid non-integer ID '%s' in '%s'" % (eid, attr))
[TAU] ModelError
[TAU]
[TAU]
[TAU] This is a bug in TAU Commander.
[TAU] Please send '/home/drmackay/.tau/debug_log' to support@paratools.com for assistance.
[TAU]
[TAU]
debug_log.txt
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

khsa1 added a commit that referenced this issue Aug 31, 2017
Fixes for issue #132 and issue #178.
Pass correct arguments to parser and only copy target, application, and
measurements to new project.
@khsa1
Copy link
Contributor

khsa1 commented Aug 31, 2017

89b1cb6 should resolve this issue. Can you pull the latest version of unstable and check if it is working now?

nchaimov pushed a commit that referenced this issue Sep 28, 2017
Fixes for issue #132 and issue #178.
Pass correct arguments to parser and only copy target, application, and
measurements to new project.
@jlinford jlinford added the bug label Oct 6, 2017
jlinford added a commit that referenced this issue Oct 6, 2017
@jlinford
Copy link
Contributor

jlinford commented Oct 6, 2017

Tests pass!

@jlinford jlinford closed this as completed Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants