Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#10183 closed defect (fixed)

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

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

Description (last modified by rjollos)

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 2 years ago by rjollos

  • Description modified (diff)

comment:2 in reply to: ↑ description ; follow-up: Changed 2 years ago by 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/.

comment:3 in reply to: ↑ 2 Changed 2 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 2 years ago by rjollos

  • Status changed from new to assigned

Thanks. I'll look into it tonight.

comment:5 Changed 2 years ago by rjollos

(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 2 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:7 follow-up: Changed 2 years ago by rjollos

(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 2 years ago by rjollos

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

comment:9 Changed 2 years ago by rjollos

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 2 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!

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.