Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • U umobj
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • staffstaff
  • umobj
  • Issues
  • #73
Closed
Open
Issue created Nov 18, 2021 by Elena Zotkina@ezotkinaMaintainer

lsobj | bug with -l option (Show long listing including ACLs)

(env-umobj) bash-4.4$ lsobj  lr_data_2015_2018 -l
-rwx---	08/01/2018 03:29:19	    0.0 b 	2018FINRA_TRACE/
  ACLs:  ezotkina:FULL_CONTROL louiqa:FULL_CONTROL
-rwx---	08/03/2018 01:11:16	  192.3 MB	2018FINRA_TRACE/0009-CORP-2002-07-01-2002-12-31.zip
  ACLs:  draghun1:FULL_CONTROL ezotkina:FULL_CONTROL louiqa:FULL_CONTROL
 tharindu:FULL_CONTROL
.................
-rwx---	08/16/2018 03:40:25	   11.7 GB	2018FINRA_TRACE/TRACE.7z
  ACLs:  draghun1:FULL_CONTROL
Traceback (most recent call last):
  File "/nfshomes/ezotkina/env-umobj/bin/lsobj", line 4, in <module>
    __import__('pkg_resources').run_script('umobj==3.0.2', 'lsobj')
  File "/nfshomes/ezotkina/env-umobj/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 654, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/nfshomes/ezotkina/env-umobj/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 1441, in run_script
    exec(script_code, namespace, namespace)
  File "/nfshomes/ezotkina/env-umobj/lib64/python3.6/site-packages/umobj-3.0.2-py3.6.egg/EGG-INFO/scripts/lsobj", line 152, in <module>
  File "/nfshomes/ezotkina/env-umobj/lib64/python3.6/site-packages/umobj-3.0.2-py3.6.egg/EGG-INFO/scripts/lsobj", line 75, in list_bucket
AttributeError: 'dict' object has no attribute 'iteritems'

Looks like it fails when item has metadata.

Update: this is incompatibility issue between python2 and python3.

Edited Nov 22, 2021 by Elena Zotkina
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking