-
Notifications
You must be signed in to change notification settings - Fork 67
'list' object has no attribute 'add_new' #38
Comments
Hmm, a full stack trace would help Is the first snippet how you're actually calling it? I'm not sure if I've ever used a |
Ill get back in a week or two with the trace.... cheers for the fast response! |
Here's the traceback! So the goal is to search for the parent collection or block, and if it is a collection, check if any pages or blocks under it exist, and if not, then in this code create a page under a collection_view_page and upload the contents wanted to said page in markdown. Traceback: Uploading TextBlock, 1/11 (9.1%) 'list' object has no attribute 'add_new'
I am using a custom function to add to a file that I have already
It is called here:
I hope this helps more, would be happy to elaborate again! Cheers for maintaining this package too btw! |
Just saw the potential for rewrite and I think its a good idea for the future! At the moment Im in a bit of a pinch to get a new deploy out and would love to get this error fixed or figure out the bug. I understand this is open source and you are very busy but any feedback or potential solution would be awesome. Cheers! |
I am using a custom uploader for the blocks and I give a parent page after determining a collection view page is the object to add a task, event, or etc to.
I receive this whenever editing a collection view and attempt to add a new task. I'm happy to elaborate on the issue if this is not enough info! (This is my first issue made ever on github 😅)
Any suggestions?
The text was updated successfully, but these errors were encountered: