Bug 349 - mgarepo sync crashed
Summary: mgarepo sync crashed
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Nicolas Vigier
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-12 12:47 CET by Samuel Verschelde
Modified: 2011-05-17 10:39 CEST (History)
1 user (show)

See Also:
Source RPM: mgarepo
CVE:
Status comment:


Attachments
Log of mgarepo sync -c (2.47 KB, text/plain)
2011-04-04 02:00 CEST, John Balcaen
Details

Description Samuel Verschelde 2011-03-12 12:47:40 CET
Description of problem:
mgarepo sync crashed in a specific situation.

[sam@localhost armagetron-mgareposynccrash]$ mgarepo sync
Traceback (most recent call last):
  File "/usr/bin/mgarepo", line 93, in <module>
    do_command(parse_options, dispatch_command)
  File "/usr/lib/python2.6/site-packages/MgaRepo/command.py", line 39, in do_command
    main_func(**opt.__dict__)
  File "/usr/bin/mgarepo", line 84, in dispatch_command
    command_module.main()
  File "/usr/lib/python2.6/site-packages/MgaRepo/commands/sync.py", line 38, in main
    do_command(parse_options, sync)
  File "/usr/lib/python2.6/site-packages/MgaRepo/command.py", line 39, in do_command
    main_func(**opt.__dict__)
  File "/usr/lib/python2.6/site-packages/MgaRepo/rpmutil.py", line 525, in sync
    for st, path in svn.status(sourcesdir, noignore=True))
  File "/usr/lib/python2.6/site-packages/MgaRepo/rpmutil.py", line 524, in <genexpr>
    sourcesst = dict((os.path.basename(path), (path, st))
ValueError: too many values to unpack



Version-Release number of selected component (if applicable):
1.9.9

How reproducible:
always

Steps to Reproduce:
1. download http://stormi.lautre.net/fichiers/mageia/armagetron-mgareposynccrash.tgz
2. untar it, enter the armagetron-mgareposynccrash dir then run mgarepo sync



Reproducible: 

Steps to Reproduce:
Comment 1 John Balcaen 2011-04-04 02:00:02 CEST
Created attachment 190 [details]
Log of mgarepo sync -c

It's happening here too.
The only thing i did was to svn mv a text file in SOURCES/
Thierry Vignaud 2011-05-06 22:22:25 CEST

CC: (none) => thierry.vignaud

Comment 2 Nicolas Vigier 2011-05-17 10:39:21 CEST
Fixed in svn.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.