Giter Site home page Giter Site logo

Comments (24)

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

作者统计和DOCX导出均正常,所以应该anaconda的配置是正常的?相应库按照如下:
image

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

此外,引文列表无法在mdnotes中添加,console中显示如下:
image

在草稿中添加后可以显示“参考文献”这个标题,此时console中无其他显示
image

from obsidian_vault_template_for_researcher.

sheldonxxd avatar sheldonxxd commented on June 13, 2024
  1. ref_list 针对 mdnotes 插件导出的文件(文件名带有@前缀)生成 References 而不是 参考文献
  2. auto_transfer 仅对01-Diary/本周事务目录中 status 是 complete 以及指定了 destination 的草稿生效,参考黑曜石玩家指南

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

1.是的我明白,针对 mdnotes 插件导出的文件(文件名带有@前缀)生成失败,x显示下图
image
当针对普通草稿生成是,会出现‘参考文献’这四个字的标题
image

2.01-Diary/本周事务目录中 status 是 complete 且指定了 destination 的草稿依然无法回档,具体图如下
image
此时的console会显示下图信息中的第一条
image

from obsidian_vault_template_for_researcher.

sheldonxxd avatar sheldonxxd commented on June 13, 2024

刚测试了一下无法复现你的问题,测试结果见最新的提交「对issue15的测试-1caa9df」。

或许你可以使用 IDE 对 python 代码进行调试,调试方法见 #8

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

image
nin您好,vscode调试发现无法进行下去,请问这是需要按照一个什么库吗?

from obsidian_vault_template_for_researcher.

sheldonxxd avatar sheldonxxd commented on June 13, 2024

看上去是路径问题。如果你使用的是 vscode 的话,右键点击 08-Assets/Scripts 文件夹,选择使用 vscode 打开,它会默认以此 folder 为 workspace。然后注意选择 python 解释器。

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

image

您好,整个文件夹导入结果如上图所示,请问我下一步应该如何做,感谢您的帮助

from obsidian_vault_template_for_researcher.

sheldonxxd avatar sheldonxxd commented on June 13, 2024

当前的python3.7环境没有 bibtexparser 模块,需要点击右下角的 python 版本号,选择解释器,切换成之前的py39。

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

image
image
您ha好,这是否说明调试是正常的?

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

image
附上#6 (comment) 所示自查python的版本

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

image
image

nin'h您好,另外想请教您,为什么我无法做到如#10 (comment) 中的左右分屏,当设置左右分屏时,会在最上方会有两个标签,但是无法显示成左右两列,需要注意的是,上下分屏是正常的,同是在其他的vault中是可以做到左右分屏

最后真的非常感谢您的帮助,如果可以,希望您可以开启项目募捐连接,这个vault如果可以正常使用,将对我非常有帮助

from obsidian_vault_template_for_researcher.

liuxiao916 avatar liuxiao916 commented on June 13, 2024

帮作者答一下,我猜测你说的分屏问题是因为作者在1.6版本中新加入的Obsidian-Tabs导致的,可以尝试禁用。或者按照该链接所说设置一键关闭https://forum-zh.obsidian.md/t/topic/2272/5

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

帮作者答一下,我猜测你说的分屏问题是因为作者在1.6版本中新加入的Obsidian-Tabs导致的,可以尝试禁用。或者按照该链接所说设置一键关闭https://forum-zh.obsidian.md/t/topic/2272/5

感谢!该问题已解决

from obsidian_vault_template_for_researcher.

sheldonxxd avatar sheldonxxd commented on June 13, 2024
  1. auto_transfer

01-Diary/本周事务中存在草稿且 front matter 已经正确填写:

image

在 vscode 中测试时结果应当如下:

image

  1. 左右拆分

是的,左右分屏是由于 Obsidian Tabs 插件造成的,可以关闭。

image

但针对此类需求,我更常用 Hover Editor,并在任意合适的地方固定悬浮窗口,具体参考obsidian-hover-editor项目

还可以把页面拖拽到右侧边栏:

拖拽布局

更改为固定布局后可以保存为 workspace。

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

1.感谢您的分屏方法分享
2.针对auto_transfer目前在VScode中可以调试成功,但是在obsidian中依然无法通过qucikadd进行回档
image
依然显示下图:
image

from obsidian_vault_template_for_researcher.

sheldonxxd avatar sheldonxxd commented on June 13, 2024

vscode调试成功而obsidian还不行的话,可能是页面处于预览视图状态,阻塞了文本内容插入,比如鼠标悬停激活了 hover editor 的情况。可以关掉 hover editor 的 Auto Focus 设置:

image

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

尝试通过绕开quickadd,直接通过Templater运行author_count.py,流程同#6 (comment)
此时,console中报错如下图,显示无法打打开.py文件
image

from obsidian_vault_template_for_researcher.

sheldonxxd avatar sheldonxxd commented on June 13, 2024

看上去是路径的问题,请检查 Templater 中关于 user function 的设置。对于 auto_transfer,其具体对应的命令是

python ./08-Assets/Scripts/auto_transfer.py <% tp.file.path() %>

这里使用的是相对路径./ 代表 vault 的路径,等价于 D:/F盘/working/,但是不知为何你的这个出现了两次。

from obsidian_vault_template_for_researcher.

Simsim20212021 avatar Simsim20212021 commented on June 13, 2024

1.感谢作者,回档问题得到解决,最后发现是我的 Templater 中关于 auto_transfer的地址设置为了绝对地址,导致无法打开。
2.在调用ref_list时,vscode中报错如下:
image
3.再次希望作者开放打赏路径

from obsidian_vault_template_for_researcher.

meshaolong avatar meshaolong commented on June 13, 2024

无法调用python脚本 例如执行草稿归档和引文列表时,console会显示下图信息 image

Environment

  1. Vault template release version: v1.6
  2. Operating system: windows
  3. Python version: 3.9.7 (anaconda)
    image
  4. Zotero version: 6.0
  5. Pandoc version: 2.18
  6. Obsidian version: 0.14.6

你好!请问您是怎么使用这个归档功能并调出这个console查看错误日志?我在使用这个Obsidian库时,按说明安装了所需python库,不过点击归档功能不能讲文件移到对应文件夹。现在不知道怎么检查。还请指导下,谢谢!

from obsidian_vault_template_for_researcher.

sheldonxxd avatar sheldonxxd commented on June 13, 2024

1.感谢作者,回档问题得到解决,最后发现是我的 Templater 中关于 auto_transfer的地址设置为了绝对地址,导致无法打开。 2.在调用ref_list时,vscode中报错如下: image 3.再次希望作者开放打赏路径

ref_list 的问题请参考 issue #8

from obsidian_vault_template_for_researcher.

meshaolong avatar meshaolong commented on June 13, 2024

无法调用python脚本 例如执行草稿归档和引文列表时,console会显示下图信息 image

Environment

  1. Vault template release version: v1.6
  2. Operating system: windows
  3. Python version: 3.9.7 (anaconda)
    image
  4. Zotero version: 6.0
  5. Pandoc version: 2.18
  6. Obsidian version: 0.14.6

你好!请问您是怎么使用这个归档功能并调出这个console查看错误日志?我在使用这个Obsidian库时,按说明安装了所需python库,不过点击归档功能不能讲文件移到对应文件夹。现在不知道怎么检查。还请指导下,谢谢!

@sheldonxxd 您好!感谢您提供分享的库,我在根据您给的readme操作,归档时发现没有效果,不能移动对应日志或任务,请问这个该如何查询问题所在,如何调试,谢谢!

from obsidian_vault_template_for_researcher.

sheldonxxd avatar sheldonxxd commented on June 13, 2024

无法调用python脚本 例如执行草稿归档和引文列表时,console会显示下图信息 image

Environment

  1. Vault template release version: v1.6
  2. Operating system: windows
  3. Python version: 3.9.7 (anaconda)
    image
  4. Zotero version: 6.0
  5. Pandoc version: 2.18
  6. Obsidian version: 0.14.6

你好!请问您是怎么使用这个归档功能并调出这个console查看错误日志?我在使用这个Obsidian库时,按说明安装了所需python库,不过点击归档功能不能讲文件移到对应文件夹。现在不知道怎么检查。还请指导下,谢谢!

@sheldonxxd 您好!感谢您提供分享的库,我在根据您给的readme操作,归档时发现没有效果,不能移动对应日志或任务,请问这个该如何查询问题所在,如何调试,谢谢!

本库已更新至 v1.7,相关bug已修正并附有简单的调试方法。如有问题请另提 issue

from obsidian_vault_template_for_researcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.