Menu

error with pyrx 1.1_error local variable 'targetName' referenced before assignment

2025-07-16
2025-07-17
  • faizah fulyani

    faizah fulyani - 2025-07-16

    hi everyone,

    i am new to pyrx and everytime i run vina, i got this log error. what step that i missed here?

    ERROR|2025-07-16 14:18:27,039|Open C:\pyrx_dir\latihan01\Macromolecules\1bdg_receptor\39562_uff_e=345.55_out.pdbqt for details.
    local variable 'targetName' referenced before assignment

     
    • Sarkis Dallakian

      Replace C:\pyrx_dir\latihan01 with C:\pyrx_dir\latihan01_workspace

       
      • faizah fulyani

        faizah fulyani - 2025-07-17

        Hi Sarkiss,
        i did, and now the pyrx wont start at all
        it gave the following error
        [image: image.png]

        On Wed, Jul 16, 2025 at 10:08 PM Sarkis Dallakian sarkiss@users.sourceforge.net wrote:

        Replace C:\pyrx_dir\latihan01 with C:\pyrx_dir\latihan01_workspace

        error with pyrx 1.1_error local variable 'targetName' referenced before
        assignment
        https://sourceforge.net/p/pyrx/discussion/general/thread/19e2d845fc/?limit=25#c324/fc1c


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/pyrx/discussion/general/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

        --
        Kind Regards,

        Faizah Fulyani, Ph.D
        Medical Biology and Biochemistry div.
        Faculty of Medicine Diponegoro University
        Jl. Prof. H. Soedarto, SH, Tembalang
        Semarang, Central Java, Indonesia 50275
        E-mail: f.fulyani@fk.undip.ac.id

         
        • Sarkis Dallakian

          Please undo it and use the same logic you used to set the workspace to C:\pyrx_dir\latihan01 and set it to the same with added _workspace. You can also change the workspace by editing the PyRx_workspace/preferences.ini in your home folder.

           
  • faizah fulyani

    faizah fulyani - 2025-07-17

    now this error appear and it wont start at all
    Traceback (most recent call last):
    File "C:\Program Files\PyRx\1.1\runPyRx.py", line 89, in <module>
    startPyRx()
    File "C:\Program Files\PyRx\1.1\runPyRx.py", line 38, in startPyRx
    frame = MainFrame(None, -1, size=(width, height-200))
    File "C:\Program Files\PyRx\1.1\lib\site-packages\PyRx\wxMainFrame.py", line 167, in init
    self.autodockNav = AutoDockNavigator(self) # Navigator -> AutoDock tab
    File "C:\Program Files\PyRx\1.1\lib\site-packages\PyRx\autodockNavigator.py", line 37, in init
    self.vsModel = VSModel()
    File "C:\Program Files\PyRx\1.1\lib\site-packages\PyRx\vsModel.py", line 286, in init
    os.mkdir(basePath)
    WindowsError: [Error 3] The system cannot find the path specified: 'C:\pyrx_dir\latihan01_workspace'</module>

    Problem starting PyRx. Please submit a bug report to fix this: http://pyrx.sourceforge.net/faq

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.