Opened 6 years ago

Closed 6 years ago

#13203 closed defect (fixed)

TypeError: expected string or buffer

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: TranslatedPagesMacro
Severity: normal Keywords:
Cc: Trac Release:


[pid 27745 139801362245376] 2017-06-05 19:22:09,420 Trac[formatter] ERROR: Macro TranslatedPages(None) failed:
Traceback (most recent call last):
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/trac/wiki/", line 796, in _macro_formatter
    return macro.ensure_inline(macro.process(args))
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/trac/wiki/", line 372, in process
    text = self.processor(text)
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/trac/wiki/", line 344, in _macro_processor
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/translatedpages/", line 454, in expand_macro
    prefix, base_page_name, lang_code = self._get_page_info(page_name)
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/translatedpages/", line 131, in _get_page_info
    m =
TypeError: expected string or buffer

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Ryan J Ollos

Status: assignedaccepted

comment:2 Changed 6 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16652:

TranslatedPages 1.0.3: Warn when macro is used outside wiki realm

Fixes #13203.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.