Modify

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#4406 closed task (fixed)

Menu import not shown

Reported by: rodolfo.sotelo@… Owned by: farialima
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

hi, after installation the menu is not visible....

Install xlrd

xlrd-0.6.1 # python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/xlrd
copying xlrd/compdoc.py -> build/lib/xlrd
copying xlrd/timemachine.py -> build/lib/xlrd
copying xlrd/licences.py -> build/lib/xlrd
copying xlrd/formatting.py -> build/lib/xlrd
copying xlrd/formula.py -> build/lib/xlrd
copying xlrd/init.py -> build/lib/xlrd
copying xlrd/biffh.py -> build/lib/xlrd
copying xlrd/xldate.py -> build/lib/xlrd
copying xlrd/sheet.py -> build/lib/xlrd
creating build/lib/xlrd/doc
copying xlrd/doc/HISTORY.html -> build/lib/xlrd/doc
copying xlrd/doc/compdoc.html -> build/lib/xlrd/doc
copying xlrd/doc/README.html -> build/lib/xlrd/doc
copying xlrd/doc/xlrd.html -> build/lib/xlrd/doc
creating build/lib/xlrd/examples
copying xlrd/examples/namesdemo.xls -> build/lib/xlrd/examples
copying xlrd/examples/xlrdnameAPIdemo.py -> build/lib/xlrd/examples
running build_scripts
creating build/scripts-2.4
copying scripts/runxlrd.py -> build/scripts-2.4
changing mode of build/scripts-2.4/runxlrd.py from 640 to 755
running install_lib
creating /usr/local/lib/python2.4/site-packages/xlrd
creating /usr/local/lib/python2.4/site-packages/xlrd/doc
copying build/lib/xlrd/doc/HISTORY.html -> /usr/local/lib/python2.4/site-packages/xlrd/doc
copying build/lib/xlrd/doc/compdoc.html -> /usr/local/lib/python2.4/site-packages/xlrd/doc
copying build/lib/xlrd/doc/README.html -> /usr/local/lib/python2.4/site-packages/xlrd/doc
copying build/lib/xlrd/doc/xlrd.html -> /usr/local/lib/python2.4/site-packages/xlrd/doc
copying build/lib/xlrd/compdoc.py -> /usr/local/lib/python2.4/site-packages/xlrd
copying build/lib/xlrd/timemachine.py -> /usr/local/lib/python2.4/site-packages/xlrd
copying build/lib/xlrd/licences.py -> /usr/local/lib/python2.4/site-packages/xlrd
creating /usr/local/lib/python2.4/site-packages/xlrd/examples
copying build/lib/xlrd/examples/namesdemo.xls -> /usr/local/lib/python2.4/site-packages/xlrd/examples
copying build/lib/xlrd/examples/xlrdnameAPIdemo.py -> /usr/local/lib/python2.4/site-packages/xlrd/examples
copying build/lib/xlrd/formatting.py -> /usr/local/lib/python2.4/site-packages/xlrd
copying build/lib/xlrd/formula.py -> /usr/local/lib/python2.4/site-packages/xlrd
copying build/lib/xlrd/init.py -> /usr/local/lib/python2.4/site-packages/xlrd
copying build/lib/xlrd/biffh.py -> /usr/local/lib/python2.4/site-packages/xlrd
copying build/lib/xlrd/xldate.py -> /usr/local/lib/python2.4/site-packages/xlrd
copying build/lib/xlrd/sheet.py -> /usr/local/lib/python2.4/site-packages/xlrd
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/compdoc.py to compdoc.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/timemachine.py to timemachine.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/licences.py to licences.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/examples/xlrdnameAPIdemo.py to xlrdnameAPIdemo.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/formatting.py to formatting.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/formula.py to formula.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/init.py to init.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/biffh.py to biffh.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/xldate.py to xldate.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/xlrd/sheet.py to sheet.pyc
running install_scripts
copying build/scripts-2.4/runxlrd.py -> /usr/local/bin
changing mode of /usr/local/bin/runxlrd.py to 755

Install ticket import

easy_install TicketImport-0.6-py2.4.egg
Processing TicketImport-0.6-py2.4.egg
Copying TicketImport-0.6-py2.4.egg to /usr/local/lib/python2.4/site-packages
Adding TicketImport 0.6 to easy-install.pth file

Installed /usr/local/lib/python2.4/site-packages/TicketImport-0.6-py2.4.egg
Processing dependencies for TicketImport==0.6

edit trac.ini

[components]
ticketimport.* = enabled

Restar apache server

after restart the apache server the menu import is not shown

What is missing?

Attachments (1)

menuimport.jpg (293.8 KB) - added by rodolfo.sotelo@… 6 years ago.
Screen Shot

Download all attachments as: .zip

Change History (9)

Changed 6 years ago by rodolfo.sotelo@…

Screen Shot

comment:1 Changed 6 years ago by rodolfo.sotelo@…

ticket import install 0.10

# python setup.py install
running install
Checking .pth file support in /usr/local/lib/python2.4/site-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.4/site-packages/ appears to support .pth files
running bdist_egg
running egg_info
creating TicketImport.egg-info
writing TicketImport.egg-info/PKG-INFO
writing top-level names to TicketImport.egg-info/top_level.txt
writing dependency_links to TicketImport.egg-info/dependency_links.txt
writing entry points to TicketImport.egg-info/entry_points.txt
writing manifest file 'TicketImport.egg-info/SOURCES.txt'
reading manifest file 'TicketImport.egg-info/SOURCES.txt'
writing manifest file 'TicketImport.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/talm_importer
copying talm_importer/processors.py -> build/lib/talm_importer
copying talm_importer/test.py -> build/lib/talm_importer
copying talm_importer/readers.py -> build/lib/talm_importer
copying talm_importer/importer.py -> build/lib/talm_importer
copying talm_importer/ticket.py -> build/lib/talm_importer
copying talm_importer/init.py -> build/lib/talm_importer
creating build/lib/talm_importer/templates
copying talm_importer/templates/report.cs -> build/lib/talm_importer/templates
copying talm_importer/templates/importer.cs -> build/lib/talm_importer/templates
creating build/bdist.linux-i686
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/talm_importer
copying build/lib/talm_importer/processors.py -> build/bdist.linux-i686/egg/talm_importer
copying build/lib/talm_importer/test.py -> build/bdist.linux-i686/egg/talm_importer
copying build/lib/talm_importer/readers.py -> build/bdist.linux-i686/egg/talm_importer
copying build/lib/talm_importer/importer.py -> build/bdist.linux-i686/egg/talm_importer
copying build/lib/talm_importer/ticket.py -> build/bdist.linux-i686/egg/talm_importer
copying build/lib/talm_importer/init.py -> build/bdist.linux-i686/egg/talm_importer
creating build/bdist.linux-i686/egg/talm_importer/templates
copying build/lib/talm_importer/templates/report.cs -> build/bdist.linux-i686/egg/talm_importer/templates
copying build/lib/talm_importer/templates/importer.cs -> build/bdist.linux-i686/egg/talm_importer/templates
byte-compiling build/bdist.linux-i686/egg/talm_importer/processors.py to processors.pyc
byte-compiling build/bdist.linux-i686/egg/talm_importer/test.py to test.pyc
byte-compiling build/bdist.linux-i686/egg/talm_importer/readers.py to readers.pyc
byte-compiling build/bdist.linux-i686/egg/talm_importer/importer.py to importer.pyc
byte-compiling build/bdist.linux-i686/egg/talm_importer/ticket.py to ticket.pyc
byte-compiling build/bdist.linux-i686/egg/talm_importer/init.py to init.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying TicketImport.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketImport.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketImport.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketImport.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketImport.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketImport.egg-info/zip-safe -> build/bdist.linux-i686/egg/EGG-INFO
creating dist
creating 'dist/TicketImport-0.6-py2.4.egg' and adding 'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing TicketImport-0.6-py2.4.egg
Removing /usr/local/lib/python2.4/site-packages/TicketImport-0.6-py2.4.egg
Copying TicketImport-0.6-py2.4.egg to /usr/local/lib/python2.4/site-packages
TicketImport 0.6 is already the active version in easy-install.pth

Installed /usr/local/lib/python2.4/site-packages/TicketImport-0.6-py2.4.egg
Processing dependencies for TicketImport==0.6

comment:2 Changed 6 years ago by farialima

Have you given yourself (the user 'srotelo', it seems on the screenshot) the rights for the import module ? You need to run:

    trac-admin /your/trac/installation/folder permission add your_user IMPORT_EXECUTE

Please tell me if it solve your problem

comment:3 Changed 6 years ago by farialima

sorry, it wasn't very clear in the wiki page that there was an authorization to add - fixed now.

comment:4 Changed 6 years ago by rodolfo.sotelo@…

tried to run that command but:

Command failed: IMPORT_EXECUTE is not a valid action.

thanks for replay

comment:5 Changed 6 years ago by farialima

Oh, also, the line to add in the conf file is:

[components] 
talm_importer.importer.* = enabled

Please tell me if that works for you

comment:6 Changed 6 years ago by rodolfo.sotelo@…

It Worked...!

after setting up the correctly permissions to dir:
SetEnv PYTHON_EGG_CACHE /path_to_write_folder

Thenks!!

let me try the plug in now...!

comment:7 Changed 6 years ago by rodolfo.sotelo@…

Hi,

I have an issue, in my instance I have removed the default values of type (task, defect, enhacement) and I have put another different values...

when I upload a file with my type values, instead of putting (AC,APZ, etc) the plugin puts task as type

why?

thanks in advance...

comment:8 Changed 6 years ago by farialima

  • Resolution set to fixed
  • Status changed from new to closed

Entered the last issue as #4450 since it's really different. Closing this one as fixed.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.