Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10183 closed defect (fixed)

AttributeError : 'NoneType' Object has no attribute 'split'

Reported by: sswsm@… Owned by: Ryan J Ollos
Priority: high Component: SlideShowPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

dear all.

I had install the "slideshow plug-in" to my trac. and i tested some page lige below.

[[SlideShow(theme=i18n)]]
= TItle=
* line1
* [wiki:RASIC]

then i got the error message

" AttributeError : 'NoneType' Object has no attribute 'split'"

if i used URL include '/', then error didn't occured but used only wiki address without '/' then i got the error message.

please check it

Thank you.

Sincerly.

Attachments (0)

Change History (10)

comment:1 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 in reply to:  description ; Changed 5 years ago by Ryan J Ollos

Replying to sswsm@naver.com:

if i used URL include '/', then error didn't occured but used only wiki address without '/' then i got the error message.

Do you mean that the URL must end with a forward slash? For example, /wiki/WikiStart/.

comment:3 in reply to:  2 Changed 5 years ago by anonymous

Replying to rjollos:

Replying to sswsm@naver.com:

if i used URL include '/', then error didn't occured but used only wiki address without '/' then i got the error message.

Do you mean that the URL must end with a forward slash? For example, /wiki/WikiStart/.

right. it doesn't working with Wiki markup but if i use wiki markup with '/' it's wor.
for example

[wiki:test test]
* it doesn't work

but

[wiki:/test test]
* it's work 

comment:4 Changed 5 years ago by Ryan J Ollos

Status: newassigned

Thanks. I'll look into it tonight.

comment:5 Changed 5 years ago by Ryan J Ollos

(In [11795]) Refs #10183: Specify resource ID when getting context. Fixes an error in resolving wiki page TracLinks.

Thanks to sswsm@… for testing and reporting the defect.

comment:6 Changed 5 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

That should do it. Let me know how it works for you.

comment:7 Changed 5 years ago by Ryan J Ollos

(In [11796]) Refs #10183: (0.3dev) Misc fixes and cleanup.

  • FIX: WikiStart was not being matched when path_info was /wiki. Regex for match was copied from trac.wiki.web_ui.match_request.
  • Options are now read at file scope rather than within method calls.
  • Modified entry_points so that an empty __init__.py can be used.
  • Removed obsolete ClearSilver template.
  • Organized imports.

comment:8 Changed 5 years ago by Ryan J Ollos

(In [11797]) Refs #10183: More refactoring: variable renames and code reorganization. Fixed indentation of documentation on WikiMacros page.

comment:9 Changed 5 years ago by Ryan J Ollos

Okay, now I'm done with changes ;)

#6722 continues to be a problem, but I haven't been able to figure out how to fix it despite spending a bit of time on the issue.

comment:10 in reply to:  7 Changed 5 years ago by anonymous

I checked a new revision 117967, version 0.3 it working good with [wiki:~~~] but i recognized the new bug related with attachment:

I will create a new ticket, thank you!

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.