Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

no attribute PYGmain #9

Open
Open
@lefalaf

Description

@lefalaf

Hi,

I'm trying to use PYGhandler and generate a very simple print() just to see what happen
so far my file test.pyg looks like this

#!/usr/bin/python
print('test');

But I get this error

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pygopherd/initialization.py", line 82, in handle
  File "/usr/lib/python2.7/dist-packages/pygopherd/protocols/base.py", line 85, in handle
  File "/usr/lib/python2.7/dist-packages/pygopherd/handlers/UMN.py", line 60, in prepare
  File "/usr/lib/python2.7/dist-packages/pygopherd/handlers/dir.py", line 92, in prepare
  File "/usr/lib/python2.7/dist-packages/pygopherd/handlers/dir.py", line 66, in prep_entries
  File "/usr/lib/python2.7/dist-packages/pygopherd/handlers/HandlerMultiplexer.py", line 60, in getHandler
  File "/usr/lib/python2.7/dist-packages/pygopherd/handlers/base.py", line 110, in isrequestforme
  File "/usr/lib/python2.7/dist-packages/pygopherd/handlers/pyg.py", line 20, in canhandlerequest
AttributeError: 'module' object has no attribute 'PYGMain'

Am I missing something in my file ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions