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

SPM package install error #28591

Closed
ssgward opened this issue Nov 4, 2015 · 2 comments
Closed

SPM package install error #28591

ssgward opened this issue Nov 4, 2015 · 2 comments
Assignees
Labels
Bug broken, incorrect, or confusing behavior P1 Priority 1 RIoT Relates to integration with cloud providers, hypervisors, API-based services, etc. severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around SPM

Comments

@ssgward
Copy link

ssgward commented Nov 4, 2015

Getting the following when trying to install an SPM apache package:

[root@master5 spm]# spm install apache
[ERROR   ] An un-handled exception was caught by salt's global exception handler:
AttributeError: 'SPMClient' object has no attribute '_pkgdb_fun'
Traceback (most recent call last):
  File "/bin/spm", line 12, in <module>
    salt_spm()
  File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 475, in salt_spm
    spm.run()
  File "/usr/lib/python2.7/site-packages/salt/cli/spm.py", line 32, in run
    client.run(self.args)
  File "/usr/lib/python2.7/site-packages/salt/spm/__init__.py", line 98, in run
    self._install(args)
  File "/usr/lib/python2.7/site-packages/salt/spm/__init__.py", line 425, in _install
    self._local_install((None, out_file), package)
  File "/usr/lib/python2.7/site-packages/salt/spm/__init__.py", line 167, in _local_install
    needs, unavail = self._resolve_deps(formula_def)
  File "/usr/lib/python2.7/site-packages/salt/spm/__init__.py", line 240, in _resolve_deps
    pkg_info = self._pkgdb_fun('info', formula_def['name'])
AttributeError: 'SPMClient' object has no attribute '_pkgdb_fun'
Traceback (most recent call last):
  File "/bin/spm", line 12, in <module>
    salt_spm()
  File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 475, in salt_spm
    spm.run()
  File "/usr/lib/python2.7/site-packages/salt/cli/spm.py", line 32, in run
    client.run(self.args)
  File "/usr/lib/python2.7/site-packages/salt/spm/__init__.py", line 98, in run
    self._install(args)
  File "/usr/lib/python2.7/site-packages/salt/spm/__init__.py", line 425, in _install
    self._local_install((None, out_file), package)
  File "/usr/lib/python2.7/site-packages/salt/spm/__init__.py", line 167, in _local_install
    needs, unavail = self._resolve_deps(formula_def)
  File "/usr/lib/python2.7/site-packages/salt/spm/__init__.py", line 240, in _resolve_deps
    pkg_info = self._pkgdb_fun('info', formula_def['name'])
AttributeError: 'SPMClient' object has no attribute '_pkgdb_fun'

Using the head of 2015.8.

Let me know if more info is needed

@ssgward ssgward added Bug broken, incorrect, or confusing behavior severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around severity-critical top severity, seen by most users, serious issues P1 Priority 1 RIoT Relates to integration with cloud providers, hypervisors, API-based services, etc. SPM labels Nov 4, 2015
@ssgward
Copy link
Author

ssgward commented Nov 4, 2015

Hoping to get this fixed before the next release on the 2015.8 branch

@ssgward
Copy link
Author

ssgward commented Nov 6, 2015

This has been fixed. Closing.

@ssgward ssgward removed the severity-critical top severity, seen by most users, serious issues label Nov 6, 2015
@ssgward ssgward closed this as completed Nov 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior P1 Priority 1 RIoT Relates to integration with cloud providers, hypervisors, API-based services, etc. severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around SPM
Projects
None yet
Development

No branches or pull requests

2 participants