Coder Social home page Coder Social logo

listDrivers() err about qulab HOT 5 CLOSED

feihoo87 avatar feihoo87 commented on August 11, 2024
listDrivers() err

from qulab.

Comments (5)

feihoo87 avatar feihoo87 commented on August 11, 2024

你的Markdown写得不对啊,提交前先 Preview 一下。

代码块是用键盘左上角的 ` 而不是单引号 ' 

from qulab.

Lagikna avatar Lagikna commented on August 11, 2024
wo fa xian le 

listDrivers这个怎么解决?

from qulab.

Lagikna avatar Lagikna commented on August 11, 2024
AttributeError Traceback (most recent call last)
in ()
----> 1 listDrivers()

B:\WinPython-64bit-3.6.3.0Qt5\python-3.6.3.amd64\lib\site-packages\lab_bootstrap.py in listDrivers()
141 def listDrivers():
142 ret = _schema.Driver.objects()
--> 143 ui.list_drivers(ret)
144
145 def listInstruments():

B:\WinPython-64bit-3.6.3.0Qt5\python-3.6.3.amd64\lib\site-packages\lab\ui_init_.py in list_drivers(drivers)
47 for driver in drivers:
48 module = driver.module
---> 49 table.append('%s|%s|%s|%s' % (driver.name, driver.version, module.fullname, module.created_time))
50 if not module.is_package:
51 continue

AttributeError: 'NoneType' object has no attribute 'fullname'

from qulab.

feihoo87 avatar feihoo87 commented on August 11, 2024

评论中出现这样的

feihoo87 closed this in 38cf21d 3 minutes ago

就说明我 commit 了新代码,点进去可以看修改内容。你再更新本地代码测试一下。

from qulab.

Lagikna avatar Lagikna commented on August 11, 2024

还有点问题

TypeError                                 Traceback (most recent call last)
<ipython-input-3-9b4b39d767dc> in <module>()
----> 1 listDrivers()

B:\WinPython-64bit-3.6.3.0Qt5\python-3.6.3.amd64\lib\site-packages\lab\_bootstrap.py in listDrivers()
    141 def listDrivers():
    142     ret = _schema.Driver.objects()
--> 143     ui.list_drivers(ret)
    144 
    145 def listInstruments():

B:\WinPython-64bit-3.6.3.0Qt5\python-3.6.3.amd64\lib\site-packages\lab\ui\__init__.py in list_drivers(drivers)
     48         module = driver.module
     49         if module is None:
---> 50             table.append('%s|%s| Error! Module for driver not set |N/A' % driver.name, driver.version)
     51             continue
     52         table.append('%s|%s|%s|%s' % (driver.name, driver.version, module.fullname, module.created_time))

TypeError: not enough arguments for format string

from qulab.

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.