Opened 5 years ago

Closed 5 years ago

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

Reported by: Owned by: sswsm@… Ryan J Ollos high SlideShowPlugin critical 0.12

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.

Thank you.

Sincerly.

comment:1 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)

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

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

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: new → assigned

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 assigned → closed

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

comment:7 follow-up:  10 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

Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.