Bug 822982

Summary: ditz crashes on init
Product: [Fedora] Fedora Reporter: Matěj Cepl <mcepl>
Component: rubygem-ditzAssignee: Jan Klepek <jan.klepek>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jan.klepek, mcepl, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 12:13:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matěj Cepl 2012-05-18 16:54:01 UTC
Description of problem:
wycliff:offtrac (kerberos_auth) $ ditz init
/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': /home/matej/.gem/gems/ditz-0.5/lib/model.rb:214: multiple assignment in conditional (SyntaxError)
/home/matej/.gem/gems/ditz-0.5/lib/model.rb:231: multiple assignment in conditional
	from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /home/matej/.gem/gems/ditz-0.5/lib/model-objects.rb:1:in `<top (required)>'
	from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /home/matej/.gem/gems/ditz-0.5/lib/ditz.rb:63:in `<top (required)>'
	from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
	from /home/matej/.gem/gems/ditz-0.5/bin/ditz:22:in `<top (required)>'
	from /usr/bin/ditz:23:in `load'
	from /usr/bin/ditz:23:in `<main>'
wycliff:offtrac (kerberos_auth) $ 


Version-Release number of selected component (if applicable):
wycliff:offtrac (kerberos_auth) $ rpm -qa ruby\*
rubygem-ditz-0.5-8.el7.noarch
ruby-irb-1.9.3.0-9.2.el7.noarch
rubygem-rubyforge-2.0.4-6.el7.noarch
rubygem-json_pure-1.6.3-4.el7.noarch
ruby-libs-1.9.3.0-9.2.el7.x86_64
rubygem-json-1.5.4-9.2.el7.x86_64
rubygems-1.8.24-1.el7.noarch
rubygem-mime-types-1.16-7.el7.noarch
rubygem-io-console-0.3-9.2.el7.x86_64
ruby-devel-1.9.3.0-9.2.el7.x86_64
rubygem-trollop-1.16.2-3.el7.noarch
rubygem-rhc-0.91.12-3.el7.noarch
rubygem-rake-0.9.2.2-9.2.el7.noarch
rubygem-rest-client-1.6.1-4.el7.noarch
rubygem-parseconfig-0.5.2-6.el7.noarch
rubygems-devel-1.8.24-1.el7.noarch
rubygem-minitest-2.10.1-1.el7.noarch
rubygem-hoe-2.12.5-5.el7.noarch
rubygem-rdoc-3.9.4-9.2.el7.x86_64
ruby-1.9.3.0-9.2.el7.x86_64


How reproducible:
happened once

Steps to Reproduce:
1.run ditz init on existing git repository (as you should)
2.
3.
  
Actual results:
ditz crashes

Expected results:
it shouldn't

Additional info:

Comment 1 Vít Ondruch 2012-05-22 10:37:40 UTC
There seems to be more issues with ditz and newer Ruby and the upstream does not care it seems [1]. However, there seems to be viable fork. I asked the fork maintainer if he would not take over the project [2], since it seems his for works and there could be found also patch [3] to fix this issue.


[1] http://rubyforge.org/pipermail/ditz-talk/2009-November/000489.html
[2] https://github.com/ohac/ditz/issues/1
[3] https://github.com/ohac/ditz/commit/c7e88733fdd5031607757dfd684c521cd141d77a#lib/ditz/model.rb

Comment 2 Vít Ondruch 2012-05-22 10:58:03 UTC
https://gitorious.org/ditz seems to be the current upstream repository.

Comment 3 Fedora End Of Life 2013-04-03 15:08:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 4 Fedora End Of Life 2015-01-09 17:09:22 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Matěj Cepl 2015-01-10 15:59:24 UTC
The same as before

matej@mitmanek: project (master #)$ ditz init
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': /usr/share/gems/gems/ditz-0.5/lib/model.rb:214: multiple assignment in conditional (SyntaxError)
/usr/share/gems/gems/ditz-0.5/lib/model.rb:231: multiple assignment in conditional
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/gems/gems/ditz-0.5/lib/model-objects.rb:1:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/gems/gems/ditz-0.5/lib/ditz.rb:63:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/gems/gems/ditz-0.5/bin/ditz:22:in `<top (required)>'
	from /usr/bin/ditz:23:in `load'
	from /usr/bin/ditz:23:in `<main>'
matej@mitmanek: project (master #)$ rpm -q rubygem-ditz
rubygem-ditz-0.5-13.el7.noarch
matej@mitmanek: project (master #)$ rpm -qf /usr/share/rubygems/rubygems/core_ext/kernel_require.rb
rubygems-2.0.14-24.el7.noarch
matej@mitmanek: project (master #)$ rpm -q ruby
ruby-2.0.0.598-24.el7.x86_64
matej@mitmanek: project (master #)$

Comment 6 Jan Kurik 2015-07-15 15:08:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 7 Fedora End Of Life 2016-11-24 10:39:08 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2016-12-20 12:13:22 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.