Skip to content

cadnano2.5 not running on Windows 10 after installation #194

Description

@blackwellbert

After installing according to instructions and using the command "cadnano" in dos shell from cadnano2.5 directory, I get the following output:

C:\Users\pparr\OneDrive\Documents\GitHub\cadnano2.5>cadnano
Traceback (most recent call last):
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\Scripts\cadnano-script.py", line 33, in
sys.exit(load_entry_point('cadnano==2.5.2.1', 'console_scripts', 'cadnano')())
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\bin\main.py", line 36, in main
app = initAppWithGui(argv, do_exec=False)
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano_init_.py", line 65, in initAppWithGui
shared_app.finishInit()
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\cadnanoqt.py", line 103, in finishInit
from cadnano.document import Document
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\document.py", line 38, in
from cadnano.fileio.decode import decodeFile
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\fileio\decode.py", line 6, in
import cadnano.fileio.v2decode as v2decode
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\fileio\v2decode.py", line 18, in
from cadnano.part.nucleicacidpart import DEFAULT_RADIUS
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\part\nucleicacidpart.py", line 40, in
from cadnano.strandset import SplitCommand, StrandSet
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\strandset_init_.py", line 1, in
from .strandset import *
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\strandset\strandset.py", line 22, in
from .removestrandcmd import RemoveStrandCommand
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\strandset\removestrandcmd.py", line 4, in
from cadnano.views.pathview import pathstyles
File "C:\Users\pparr\AppData\Local\Programs\Python\Python310\lib\site-packages\cadnano\views\pathview\pathstyles.py", line 178, in
XOVER_LABEL_FONT = QFont(THE_FONT, THE_FONT_SIZE/2, QFont.Light)
TypeError: arguments did not match any overloaded call:
QFont(): too many arguments
QFont(str, pointSize: int = -1, weight: int = -1, italic: bool = False): argument 2 has unexpected type 'float'
QFont(QFont, QPaintDevice): argument 1 has unexpected type 'str'
QFont(QFont): argument 1 has unexpected type 'str'
QFont(Any): too many arguments

However, when I run the command "cadnano2' from the same directory, cadnano2.4 runs. So why does the 2.4 version run but not the 2.5 version as shown by the errors above? Or am I missing something?

Thanks in advance for your help!

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions