Bug 1262066 - [abrt] pyrenamer: re.py:251:_compile:error: nothing to repeat
Summary: [abrt] pyrenamer: re.py:251:_compile:error: nothing to repeat
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pyrenamer
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6a41651022b8b298d0fa4a950b4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-10 18:37 UTC by Rolle
Modified: 2016-07-19 17:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 17:51:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.18 KB, text/plain)
2015-09-10 18:37 UTC, Rolle
no flags Details
File: environ (1.66 KB, text/plain)
2015-09-10 18:37 UTC, Rolle
no flags Details

Description Rolle 2015-09-10 18:37:38 UTC
Version-Release number of selected component:
pyrenamer-0.6.0-13.fc21

Additional info:
reporter:       libreport-2.5.1
cmdline:        python /usr/bin/pyrenamer
dso_list:       python-libs-2.7.9-6.fc22.x86_64
executable:     /usr/bin/pyrenamer
kernel:         4.0.4-301.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
re.py:251:_compile:error: nothing to repeat

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pyrenamer/pyrenamer.py", line 754, in on_original_pattern_changed
    self.on_preview_button_clicked(None)
  File "/usr/lib/python2.7/site-packages/pyrenamer/pyrenamer.py", line 683, in on_preview_button_clicked
    self.file_selected_model.foreach(self.preview_rename_rows, paths)
  File "/usr/lib/python2.7/site-packages/pyrenamer/pyrenamer.py", line 482, in preview_rename_rows
    newname, newpath = renamerfilefuncs.rename_using_patterns(newname, newpath, pattern_ini, pattern_end, self.count)
  File "/usr/lib/python2.7/site-packages/pyrenamer/pyrenamer_filefuncs.py", line 318, in rename_using_patterns
    repattern = re.compile(pattern)
  File "/usr/lib64/python2.7/re.py", line 194, in compile
    return _compile(pattern, flags)
  File "/usr/lib64/python2.7/re.py", line 251, in _compile
    raise error, v # invalid expression
error: nothing to repeat

Local variables in innermost frame:
cachekey: (<type 'str'>, '*- YouTube \\[720\\]\\.mp4', 0)
pattern: '*- YouTube \\[720\\]\\.mp4'
bypass_cache: 0
flags: 0
key: ('*- YouTube \\[720\\]\\.mp4', 0)
v: error('nothing to repeat',)

Comment 1 Rolle 2015-09-10 18:37:42 UTC
Created attachment 1072317 [details]
File: backtrace

Comment 2 Rolle 2015-09-10 18:37:44 UTC
Created attachment 1072318 [details]
File: environ

Comment 3 Fedora End Of Life 2016-07-19 17:51:01 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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.


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