You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bloodhound.apache.org by Hasitha Jayasundara <ha...@gmail.com> on 2017/03/04 07:52:24 UTC

[Dev][GSOC 2017]Migrating the Trac version of Apache Bloodhound

Hi Dammina,

As you suggested I run the tests.But it gives me this error.

Traceback (most recent call last):
  File "setup.py", line 144, in <module>
    package_dir = dict([p, i[0]] for p, i in PKG_INFO.iter
AttributeError: 'dict' object has no attribute 'iteritems'

Any suggestions?

*D.M.Hasitha Nadishan Jayasundara*
*Department of Electronic and Telecommunication Engineering*
University of Moratuwa
*mobile:* *+94711959266*
*blogspot*: learnjavawithisla.blogspot.com/  *email:*
hasithajayasundara1@gmail.com
<https://www.facebook.com/hasitha.nadishan.3>
<https://twitter.com/HNadishan>
<https://lk.linkedin.com/in/hasithajayasundara>

Re: [Dev][GSOC 2017]Migrating the Trac version of Apache Bloodhound

Posted by Hasitha Jayasundara <ha...@gmail.com>.
Hi dammina,
I successfully setup the bloodhound (with pycharm) and ran the test suite
of relations modules and I got following errors as you mentioned in the
GSoC ideas thread.[1]

Traceback (most recent call last):
  File "setup.py", line 156, in <module>
    **extra
  File "C:\Python27\lib\distutils\core.py", line 151, in
    dist.run_commands()
  File "C:\Python27\lib\distutils\dist.py", line 953, in
    self.run_command(cmd)
  File "C:\Python27\lib\distutils\dist.py", line 972, in
    cmd_obj.run()
  File "build\bdist.win32\egg\setuptools\command\test.py
  File "build\bdist.win32\egg\setuptools\command\test.py
ject_on_sys_path
  File "build\bdist.win32\egg\setuptools\command\test.py
s
  File "C:\Python27\lib\unittest\main.py", line 94, in _
    self.parseArgs(argv)
  File "C:\Python27\lib\unittest\main.py", line 149, in
    self.createTests()
  File "C:\Python27\lib\unittest\main.py", line 158, in
    self.module)
  File "C:\Python27\lib\unittest\loader.py", line 130, i
    suites = [self.loadTestsFromName(name, module) for n
  File "C:\Python27\lib\unittest\loader.py", line 100, i
    parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'tests'

Any comments on how can I procceed?

[1] https://issues.apache.org/jira/browse/COMDEV-210?filter=12339687

On Sun, Mar 5, 2017 at 11:20 PM, Hasitha Jayasundara <
hasithajayasundara1@gmail.com> wrote:

> Hi Dammina,
> No just "Available projects" text.I'll try again and let you know.
>
> On Sun, Mar 5, 2017 at 9:11 AM, Dammina Sahabandu <dm...@gmail.com>
> wrote:
>
>> Hi Hasitha,
>>
>> Under the "Available Projects" text don't you see any links links with
>> project names?
>>
>> Regards,
>> Dammina
>>
>> On Sun, Mar 5, 2017 at 4:41 AM, Hasitha Jayasundara <
>> hasithajayasundara1@gmail.com> wrote:
>>
>>> On Sun, Mar 5, 2017 at 4:26 AM, Hasitha Jayasundara <
>>> hasithajayasundara1@gmail.com> wrote:
>>>
>>>> Hi Dammina,
>>>> I followed every step in your blog [1] in Windows 7.But  in
>>>> localhost:8000/main it only shows a text "Available Projects" not the
>>>> Bloodhound welcome page.Is this correct?
>>>>
>>>> [1]http://dweebslair.blogspot.com/2014/03/introduction-to-ap
>>>> ache-bloodhound.html
>>>>
>>>> On Sat, Mar 4, 2017 at 7:55 PM, Dammina Sahabandu <da...@apache.org>
>>>> wrote:
>>>>
>>>>> Hi Hasitha,
>>>>>
>>>>> There seems to be an issue when running the test suite of relations
>>>>> modules. However you should be able to run the test suites of all the
>>>>> other
>>>>> modules. If that is not the case you have probably not activated the
>>>>> virtual environment. There is one of my blog posts [1] that might help
>>>>> you
>>>>> in properly setting up bloodhound in your local environment.
>>>>>
>>>>> Anyhow I will look into the issue in relations module when I get some
>>>>> free
>>>>> time. Although you can make this an opportunity to make your first
>>>>> contribution to bloodhound by fixing the failure :)
>>>>>
>>>>> [1] http://dweebslair.blogspot.com/2014/03/introduction-to-apache-
>>>>> bloodhound.html
>>>>> <http://dweebslair.blogspot.com/2014/03/introduction-to-apache-bloodhound.html>
>>>>>
>>>>> Thanks,
>>>>> Dammina
>>>>>
>>>>> On Sat, Mar 4, 2017 at 1:22 PM, Hasitha Jayasundara <
>>>>> hasithajayasundara1@gmail.com> wrote:
>>>>>
>>>>> > Hi Dammina,
>>>>> >
>>>>> > As you suggested I run the tests.But it gives me this error.
>>>>> >
>>>>> > Traceback (most recent call last):
>>>>> >   File "setup.py", line 144, in <module>
>>>>> >     package_dir = dict([p, i[0]] for p, i in PKG_INFO.iter
>>>>> > AttributeError: 'dict' object has no attribute 'iteritems'
>>>>> >
>>>>> > Any suggestions?
>>>>> >
>>>>> > *D.M.Hasitha Nadishan Jayasundara*
>>>>> > *Department of Electronic and Telecommunication Engineering*
>>>>> > University of Moratuwa
>>>>> > *mobile:* *+94711959266 <071%20195%209266>*
>>>>> > *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>>>> hasithajayasundara1@
>>>>> > gmail.com
>>>>> >
>>>>>
>>>>
>>>> *D.M.Hasitha Nadishan Jayasundara*
>>>> *Department of Electronic and Telecommunication Engineering*
>>>> University of Moratuwa
>>>> *mobile:* *+94711959266 <+94%2071%20195%209266>*
>>>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>>> hasithajayasundara1@gmail.com
>>>> <https://www.facebook.com/hasitha.nadishan.3>
>>>> <https://twitter.com/HNadishan>
>>>> <https://lk.linkedin.com/in/hasithajayasundara>
>>>>
>>>
>>> *D.M.Hasitha Nadishan Jayasundara*
>>> *Department of Electronic and Telecommunication Engineering*
>>> University of Moratuwa
>>> *mobile:* *+94711959266 <071%20195%209266>*
>>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>> hasithajayasundara1@gmail.com
>>> <https://www.facebook.com/hasitha.nadishan.3>
>>> <https://twitter.com/HNadishan>
>>> <https://lk.linkedin.com/in/hasithajayasundara>
>>>
>>
>>
>>
>> --
>> Dammina Sahabandu
>> SSE, AdroitLogic (pvt) Ltd.
>> Committer, Apache Software Foundation
>> AMIE (SL)
>> Bsc Eng Hons (Moratuwa)
>> +94716422775 <+94%2071%20642%202775>
>>
>
>
>
> --
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <+94%2071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a1@gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>



-- 
*D.M.Hasitha Nadishan Jayasundara*
*Department of Electronic and Telecommunication Engineering*
University of Moratuwa
*mobile:* *+94711959266*
*blogspot*: learnjavawithisla.blogspot.com/  *email:*
hasithajayasundara1@gmail.com
<https://www.facebook.com/hasitha.nadishan.3>
<https://twitter.com/HNadishan>
<https://lk.linkedin.com/in/hasithajayasundara>

Re: [Dev][GSOC 2017]Migrating the Trac version of Apache Bloodhound

Posted by Hasitha Jayasundara <ha...@gmail.com>.
Hi Dammina,
No just "Available projects" text.I'll try again and let you know.

On Sun, Mar 5, 2017 at 9:11 AM, Dammina Sahabandu <dm...@gmail.com>
wrote:

> Hi Hasitha,
>
> Under the "Available Projects" text don't you see any links links with
> project names?
>
> Regards,
> Dammina
>
> On Sun, Mar 5, 2017 at 4:41 AM, Hasitha Jayasundara <
> hasithajayasundara1@gmail.com> wrote:
>
>> On Sun, Mar 5, 2017 at 4:26 AM, Hasitha Jayasundara <
>> hasithajayasundara1@gmail.com> wrote:
>>
>>> Hi Dammina,
>>> I followed every step in your blog [1] in Windows 7.But  in
>>> localhost:8000/main it only shows a text "Available Projects" not the
>>> Bloodhound welcome page.Is this correct?
>>>
>>> [1]http://dweebslair.blogspot.com/2014/03/introduction-to-ap
>>> ache-bloodhound.html
>>>
>>> On Sat, Mar 4, 2017 at 7:55 PM, Dammina Sahabandu <da...@apache.org>
>>> wrote:
>>>
>>>> Hi Hasitha,
>>>>
>>>> There seems to be an issue when running the test suite of relations
>>>> modules. However you should be able to run the test suites of all the
>>>> other
>>>> modules. If that is not the case you have probably not activated the
>>>> virtual environment. There is one of my blog posts [1] that might help
>>>> you
>>>> in properly setting up bloodhound in your local environment.
>>>>
>>>> Anyhow I will look into the issue in relations module when I get some
>>>> free
>>>> time. Although you can make this an opportunity to make your first
>>>> contribution to bloodhound by fixing the failure :)
>>>>
>>>> [1] http://dweebslair.blogspot.com/2014/03/introduction-to-apache-
>>>> bloodhound.html
>>>> <http://dweebslair.blogspot.com/2014/03/introduction-to-apache-bloodhound.html>
>>>>
>>>> Thanks,
>>>> Dammina
>>>>
>>>> On Sat, Mar 4, 2017 at 1:22 PM, Hasitha Jayasundara <
>>>> hasithajayasundara1@gmail.com> wrote:
>>>>
>>>> > Hi Dammina,
>>>> >
>>>> > As you suggested I run the tests.But it gives me this error.
>>>> >
>>>> > Traceback (most recent call last):
>>>> >   File "setup.py", line 144, in <module>
>>>> >     package_dir = dict([p, i[0]] for p, i in PKG_INFO.iter
>>>> > AttributeError: 'dict' object has no attribute 'iteritems'
>>>> >
>>>> > Any suggestions?
>>>> >
>>>> > *D.M.Hasitha Nadishan Jayasundara*
>>>> > *Department of Electronic and Telecommunication Engineering*
>>>> > University of Moratuwa
>>>> > *mobile:* *+94711959266 <071%20195%209266>*
>>>> > *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>>> hasithajayasundara1@
>>>> > gmail.com
>>>> >
>>>>
>>>
>>> *D.M.Hasitha Nadishan Jayasundara*
>>> *Department of Electronic and Telecommunication Engineering*
>>> University of Moratuwa
>>> *mobile:* *+94711959266 <+94%2071%20195%209266>*
>>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>> hasithajayasundara1@gmail.com
>>> <https://www.facebook.com/hasitha.nadishan.3>
>>> <https://twitter.com/HNadishan>
>>> <https://lk.linkedin.com/in/hasithajayasundara>
>>>
>>
>> *D.M.Hasitha Nadishan Jayasundara*
>> *Department of Electronic and Telecommunication Engineering*
>> University of Moratuwa
>> *mobile:* *+94711959266 <071%20195%209266>*
>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>> hasithajayasundara1@gmail.com
>> <https://www.facebook.com/hasitha.nadishan.3>
>> <https://twitter.com/HNadishan>
>> <https://lk.linkedin.com/in/hasithajayasundara>
>>
>
>
>
> --
> Dammina Sahabandu
> SSE, AdroitLogic (pvt) Ltd.
> Committer, Apache Software Foundation
> AMIE (SL)
> Bsc Eng Hons (Moratuwa)
> +94716422775 <+94%2071%20642%202775>
>



-- 
*D.M.Hasitha Nadishan Jayasundara*
*Department of Electronic and Telecommunication Engineering*
University of Moratuwa
*mobile:* *+94711959266*
*blogspot*: learnjavawithisla.blogspot.com/  *email:*
hasithajayasundara1@gmail.com
<https://www.facebook.com/hasitha.nadishan.3>
<https://twitter.com/HNadishan>
<https://lk.linkedin.com/in/hasithajayasundara>

Re: [Dev][GSOC 2017]Migrating the Trac version of Apache Bloodhound

Posted by Dammina Sahabandu <dm...@gmail.com>.
Hi Hasitha,

Under the "Available Projects" text don't you see any links links with
project names?

Regards,
Dammina

On Sun, Mar 5, 2017 at 4:41 AM, Hasitha Jayasundara <
hasithajayasundara1@gmail.com> wrote:

> On Sun, Mar 5, 2017 at 4:26 AM, Hasitha Jayasundara <
> hasithajayasundara1@gmail.com> wrote:
>
>> Hi Dammina,
>> I followed every step in your blog [1] in Windows 7.But  in
>> localhost:8000/main it only shows a text "Available Projects" not the
>> Bloodhound welcome page.Is this correct?
>>
>> [1]http://dweebslair.blogspot.com/2014/03/introduction-to-ap
>> ache-bloodhound.html
>>
>> On Sat, Mar 4, 2017 at 7:55 PM, Dammina Sahabandu <da...@apache.org>
>> wrote:
>>
>>> Hi Hasitha,
>>>
>>> There seems to be an issue when running the test suite of relations
>>> modules. However you should be able to run the test suites of all the
>>> other
>>> modules. If that is not the case you have probably not activated the
>>> virtual environment. There is one of my blog posts [1] that might help
>>> you
>>> in properly setting up bloodhound in your local environment.
>>>
>>> Anyhow I will look into the issue in relations module when I get some
>>> free
>>> time. Although you can make this an opportunity to make your first
>>> contribution to bloodhound by fixing the failure :)
>>>
>>> [1] http://dweebslair.blogspot.com/2014/03/introduction-to-apache-
>>> bloodhound.html
>>> <http://dweebslair.blogspot.com/2014/03/introduction-to-apache-bloodhound.html>
>>>
>>> Thanks,
>>> Dammina
>>>
>>> On Sat, Mar 4, 2017 at 1:22 PM, Hasitha Jayasundara <
>>> hasithajayasundara1@gmail.com> wrote:
>>>
>>> > Hi Dammina,
>>> >
>>> > As you suggested I run the tests.But it gives me this error.
>>> >
>>> > Traceback (most recent call last):
>>> >   File "setup.py", line 144, in <module>
>>> >     package_dir = dict([p, i[0]] for p, i in PKG_INFO.iter
>>> > AttributeError: 'dict' object has no attribute 'iteritems'
>>> >
>>> > Any suggestions?
>>> >
>>> > *D.M.Hasitha Nadishan Jayasundara*
>>> > *Department of Electronic and Telecommunication Engineering*
>>> > University of Moratuwa
>>> > *mobile:* *+94711959266 <071%20195%209266>*
>>> > *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>> hasithajayasundara1@
>>> > gmail.com
>>> >
>>>
>>
>> *D.M.Hasitha Nadishan Jayasundara*
>> *Department of Electronic and Telecommunication Engineering*
>> University of Moratuwa
>> *mobile:* *+94711959266 <+94%2071%20195%209266>*
>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>> hasithajayasundara1@gmail.com
>> <https://www.facebook.com/hasitha.nadishan.3>
>> <https://twitter.com/HNadishan>
>> <https://lk.linkedin.com/in/hasithajayasundara>
>>
>
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a1@gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>



-- 
Dammina Sahabandu
SSE, AdroitLogic (pvt) Ltd.
Committer, Apache Software Foundation
AMIE (SL)
Bsc Eng Hons (Moratuwa)
+94716422775

Re: [Dev][GSOC 2017]Migrating the Trac version of Apache Bloodhound

Posted by Hasitha Jayasundara <ha...@gmail.com>.
On Sun, Mar 5, 2017 at 4:26 AM, Hasitha Jayasundara <
hasithajayasundara1@gmail.com> wrote:

> Hi Dammina,
> I followed every step in your blog [1] in Windows 7.But  in
> localhost:8000/main it only shows a text "Available Projects" not the
> Bloodhound welcome page.Is this correct?
>
> [1]http://dweebslair.blogspot.com/2014/03/introduction-to-
> apache-bloodhound.html
>
> On Sat, Mar 4, 2017 at 7:55 PM, Dammina Sahabandu <da...@apache.org>
> wrote:
>
>> Hi Hasitha,
>>
>> There seems to be an issue when running the test suite of relations
>> modules. However you should be able to run the test suites of all the
>> other
>> modules. If that is not the case you have probably not activated the
>> virtual environment. There is one of my blog posts [1] that might help you
>> in properly setting up bloodhound in your local environment.
>>
>> Anyhow I will look into the issue in relations module when I get some free
>> time. Although you can make this an opportunity to make your first
>> contribution to bloodhound by fixing the failure :)
>>
>> [1] http://dweebslair.blogspot.com/2014/03/introduction-to-apache-
>> bloodhound.html
>> <http://dweebslair.blogspot.com/2014/03/introduction-to-apache-bloodhound.html>
>>
>> Thanks,
>> Dammina
>>
>> On Sat, Mar 4, 2017 at 1:22 PM, Hasitha Jayasundara <
>> hasithajayasundara1@gmail.com> wrote:
>>
>> > Hi Dammina,
>> >
>> > As you suggested I run the tests.But it gives me this error.
>> >
>> > Traceback (most recent call last):
>> >   File "setup.py", line 144, in <module>
>> >     package_dir = dict([p, i[0]] for p, i in PKG_INFO.iter
>> > AttributeError: 'dict' object has no attribute 'iteritems'
>> >
>> > Any suggestions?
>> >
>> > *D.M.Hasitha Nadishan Jayasundara*
>> > *Department of Electronic and Telecommunication Engineering*
>> > University of Moratuwa
>> > *mobile:* *+94711959266 <071%20195%209266>*
>> > *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>> hasithajayasundara1@
>> > gmail.com
>> >
>>
>
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <+94%2071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundara1@
> gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>

*D.M.Hasitha Nadishan Jayasundara*
*Department of Electronic and Telecommunication Engineering*
University of Moratuwa
*mobile:* *+94711959266*
*blogspot*: learnjavawithisla.blogspot.com/  *email:*
hasithajayasundara1@gmail.com
<https://www.facebook.com/hasitha.nadishan.3>
<https://twitter.com/HNadishan>
<https://lk.linkedin.com/in/hasithajayasundara>

Re: [Dev][GSOC 2017]Migrating the Trac version of Apache Bloodhound

Posted by Hasitha Jayasundara <ha...@gmail.com>.
Hi Dammina,
I followed every step in your blog [1] in Windows 7.But  in
localhost:8000/main it only shows a text "Available Projects" not the
Bloodhound welcome page.Is this correct?

[1]
http://dweebslair.blogspot.com/2014/03/introduction-to-apache-bloodhound.html

On Sat, Mar 4, 2017 at 7:55 PM, Dammina Sahabandu <da...@apache.org>
wrote:

> Hi Hasitha,
>
> There seems to be an issue when running the test suite of relations
> modules. However you should be able to run the test suites of all the other
> modules. If that is not the case you have probably not activated the
> virtual environment. There is one of my blog posts [1] that might help you
> in properly setting up bloodhound in your local environment.
>
> Anyhow I will look into the issue in relations module when I get some free
> time. Although you can make this an opportunity to make your first
> contribution to bloodhound by fixing the failure :)
>
> [1] http://dweebslair.blogspot.com/2014/03/introduction-to-apache-
> bloodhound.html
> <http://dweebslair.blogspot.com/2014/03/introduction-to-apache-bloodhound.html>
>
> Thanks,
> Dammina
>
> On Sat, Mar 4, 2017 at 1:22 PM, Hasitha Jayasundara <
> hasithajayasundara1@gmail.com> wrote:
>
> > Hi Dammina,
> >
> > As you suggested I run the tests.But it gives me this error.
> >
> > Traceback (most recent call last):
> >   File "setup.py", line 144, in <module>
> >     package_dir = dict([p, i[0]] for p, i in PKG_INFO.iter
> > AttributeError: 'dict' object has no attribute 'iteritems'
> >
> > Any suggestions?
> >
> > *D.M.Hasitha Nadishan Jayasundara*
> > *Department of Electronic and Telecommunication Engineering*
> > University of Moratuwa
> > *mobile:* *+94711959266 <071%20195%209266>*
> > *blogspot*: learnjavawithisla.blogspot.com/  *email:*
> hasithajayasundara1@
> > gmail.com
> >
>



-- 
*D.M.Hasitha Nadishan Jayasundara*
*Department of Electronic and Telecommunication Engineering*
University of Moratuwa
*mobile:* *+94711959266 <+94%2071%20195%209266>*
*blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
a1@gmail.com
<https://www.facebook.com/hasitha.nadishan.3>
<https://twitter.com/HNadishan>
<https://lk.linkedin.com/in/hasithajayasundara>

Re: [Dev][GSOC 2017]Migrating the Trac version of Apache Bloodhound

Posted by Dammina Sahabandu <da...@apache.org>.
Hi Hasitha,

There seems to be an issue when running the test suite of relations
modules. However you should be able to run the test suites of all the other
modules. If that is not the case you have probably not activated the
virtual environment. There is one of my blog posts [1] that might help you
in properly setting up bloodhound in your local environment.

Anyhow I will look into the issue in relations module when I get some free
time. Although you can make this an opportunity to make your first
contribution to bloodhound by fixing the failure :)

[1] http://dweebslair.blogspot.com/2014/03/introduction-to-apache-
bloodhound.html

Thanks,
Dammina

On Sat, Mar 4, 2017 at 1:22 PM, Hasitha Jayasundara <
hasithajayasundara1@gmail.com> wrote:

> Hi Dammina,
>
> As you suggested I run the tests.But it gives me this error.
>
> Traceback (most recent call last):
>   File "setup.py", line 144, in <module>
>     package_dir = dict([p, i[0]] for p, i in PKG_INFO.iter
> AttributeError: 'dict' object has no attribute 'iteritems'
>
> Any suggestions?
>
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundara1@
> gmail.com
>