Modify

Opened 15 years ago

Closed 11 years ago

Last modified 11 years ago

#5886 closed defect (fixed)

Compile error

Reported by: jerker.montelius@… Owned by: Sarah Strong
Priority: normal Component: TracSnapPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

Whne trying to compile the egg I got

$ python setup.py bdist_egg
python setup.py bdist_egg
running bdist_egg
running egg_info
writing TracSocialnetwork.egg-info/PKG-INFO
writing top-level names to TracSocialnetwork.egg-info/top_level.txt
writing dependency_links to TracSocialnetwork.egg-info/dependency_links.txt
writing entry points to TracSocialnetwork.egg-info/entry_points.txt
reading manifest file 'TracSocialnetwork.egg-info/SOURCES.txt'
writing manifest file 'TracSocialnetwork.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/socialnetwork
copying build/lib/socialnetwork/getdata.py -> build/bdist.linux-i686/egg/socialnetwork
copying build/lib/socialnetwork/__init__.py -> build/bdist.linux-i686/egg/socialnetwork
copying build/lib/socialnetwork/suggestedcontact.py -> build/bdist.linux-i686/egg/socialnetwork
copying build/lib/socialnetwork/socialnetwork.py -> build/bdist.linux-i686/egg/socialnetwork
copying build/lib/socialnetwork/codebrowser.py -> build/bdist.linux-i686/egg/socialnetwork
copying build/lib/socialnetwork/dbanalysis.py -> build/bdist.linux-i686/egg/socialnetwork
byte-compiling build/bdist.linux-i686/egg/socialnetwork/getdata.py to getdata.pyc
byte-compiling build/bdist.linux-i686/egg/socialnetwork/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/socialnetwork/suggestedcontact.py to suggestedcontact.pyc
  File "build/bdist.linux-i686/egg/socialnetwork/suggestedcontact.py", line 92
    class Author():
                 ^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-i686/egg/socialnetwork/socialnetwork.py to socialnetwork.pyc
byte-compiling build/bdist.linux-i686/egg/socialnetwork/codebrowser.py to codebrowser.pyc
byte-compiling build/bdist.linux-i686/egg/socialnetwork/dbanalysis.py to dbanalysis.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying TracSocialnetwork.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying TracSocialnetwork.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TracSocialnetwork.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TracSocialnetwork.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TracSocialnetwork.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/TracSocialnetwork-0.1-py2.4.egg' and adding 'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)

It reates a egg but the egg dosent install properly

Attachments (0)

Change History (4)

comment:1 Changed 11 years ago by agdeltaes

change

class Author():

by

class Author:

The define class in python es "Class Name:"

saludos

comment:2 Changed 11 years ago by Ryan J Ollos

sarahstrong: Given the lack of activity on this project, I've tagged it as needsadoption. Please correct me if I'm wrong on this though.

comment:3 Changed 11 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(In [12693]) Fixes #5886: Fixed syntax error in definition of class. Thanks to agdeltaes for the patch.

comment:4 Changed 11 years ago by Ryan J Ollos

(In [12694]) Refs #5886: Fixed some unresolved imports that were preventing the plugin from loading.

This plugin is a mess at the moment and still doesn't work. I'd highly suggest against using it until more work is done.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Sarah Strong.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.