Comments (12)
https://github.com/MuiseDestiny/zotero-citation/blob/bootstrap/src/modules/citation.ts#L156
public async initSearch(sessionID: string) {
let search = new Zotero.Search();
search.addCondition("title", "contains", "");
await search.search();
search.name = sessionID
const session: SessionData = this.sessions[sessionID]
session.search = search = search.clone(1)
await search.saveTx({ skipSelect: true })
this.filterFunctions.push(
(items: Zotero.Item[]) => {
// 当前处在伪搜索文件夹中才进行拦截
let selectedSearch = ZoteroPane.collectionsView.getSelectedSearch()
if (selectedSearch.key == search.key) {
const ids = Object.keys(session.idData).map(id => Number(id))
return items.filter(item=>ids.indexOf(item.id) != -1)
} else {
return items
}
}
)
window.setTimeout(async () => {
await this.clearSearch()
}, 233)
}
原因是这个函数接收的sessionID是undefined,等适配Mac,就不会有这个bug了。
from zotero-citation.
Ok,I will solve it.
from zotero-citation.
我是插件开发者,不是Zotero软件开发者
from zotero-citation.
我是插件开发者,不是Zotero软件开发者
破案了:citation创建了没有名称的文件夹,删除文件夹就能同步了。
https://forums.zotero.org/discussion/comment/432447#Comment_432447
Yeah,it's the one of the plugin called"zotero citation" https://github.com/muisedestiny/zotero-citation#readme
The author declared the possible disfunction on Mac, because the author don't have device based on Mac Os. So when i dragged the article into word to cite, a purple citation folder was created. I think that is the reason folders without names were created, and sync stopped.
from zotero-citation.
我是插件开发者,不是Zotero软件开发者
破案了:citation创建了没有名称的文件夹,删除文件夹就能同步了。 https://forums.zotero.org/discussion/comment/432447#Comment_432447 Yeah,it's the one of the plugin called"zotero citation" https://github.com/muisedestiny/zotero-citation#readme The author declared the possible disfunction on Mac, because the author don't have device based on Mac Os. So when i dragged the article into word to cite, a purple citation folder was created. I think that is the reason folders without names were created, and sync stopped.
sorry,还真是citation问题,我有时间尝试适配mac
from zotero-citation.
没有名称的文件夹是可以在Zotero里看到的吗
from zotero-citation.
我是插件开发者,不是Zotero软件开发者
破案了:citation创建了没有名称的文件夹,删除文件夹就能同步了。 forums.zotero.org/discussion/comment/432447#Comment_432447 Yeah,it's the one of the plugin called"zotero citation" muisedestiny/zotero-citation#readme The author declared the possible disfunction on Mac, because the author don't have device based on Mac Os. So when i dragged the article into word to cite, a purple citation folder was created. I think that is the reason folders without names were created, and sync stopped.
sorry,还真是citation问题,我有时间尝试适配mac
插件都非常实用,昨日已赞赏 :) , 兼容性和稳定性继续加油。不知道后面升级Zotero v7在适配方便会不会有大的变化。
from zotero-citation.
没有名称的文件夹是可以在Zotero里看到的吗
有一个空名称的saved search文件夹,手动删除就能同步了。
from zotero-citation.
感谢支持,感谢理解。但是我看到官方好像不太在乎你对引用功能的请求哈哈哈
from zotero-citation.
这么有用的功能官方做效果会更好。
from zotero-citation.
@MuiseDestiny 官方不知道是不是人手不足,免费软件,估计佛系更新,issues一大推。Zotero的稳定性堪忧,看V7怎么样。很多功能N年都没合并,比如meta update。缺少功能只能靠三方插件了,加油!
from zotero-citation.
Details in the linked commit — basically, the plugin attempts two saves in rapid succession, one with an empty name — but I've added an extra check in Zotero to prevent broken searches from being saved. This should still be fixed in zotero-citation ASAP, since it will continue to break syncs until Zotero 6.0.24 is released, and even after that it will result in randomly named searches that are never deleted every time someone uses the word processor plugin in a new document. Even if you can't reproduce this right away, you should update the plugin to avoid ever assigning an empty value as the search name.
from zotero-citation.
Related Issues (20)
- Zotero在更新文档时出错。 HOT 1
- 拖拽引用在正文会出现引注信息 HOT 2
- word引用问题 HOT 1
- 6.0.30版本加入时%S HOT 1
- 引用
- 引用出现错误,无法使用快捷键,同时同步的word文档中的文献不是已经引用的文献,出现了乱码 HOT 4
- Zotero整合错误 HOT 3
- zotero提示Warning: The Zotero plugin for Microsoft Word is outdated. HOT 1
- zotero citation插件只能导出从自己zotero库中引用的文献? HOT 2
- 中文版Word存在bibliography格式丢失的问题
- 6.0.33整合失败
- 能否在启用「引用列」的同时关闭「拖拽引用」? HOT 1
- 拖拽和用 ’ 引用符号都无效。 HOT 1
- zotero7 beta 54无法使用快捷键引用文献
- 请问自动合并的序号,如何删除其中一篇引用,例如[1-6],我想删除其中的3,应该如何操作,谢谢 HOT 1
- 引用文献的序号不显示
- 无法安装插件“%S”。他可能无法与该版本的Zotero兼容。 HOT 3
- 引用跳转 HOT 1
- port to libreoffice
- 无法显示标题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zotero-citation.