# Divisible Error: TypeError: type str doesn't define \_\_round\_\_ method

**URL:** <https://forums.counterparty.io/t/divisible-error-typeerror-type-str-doesnt-define---round---method/151>\
**Category:** Assets\
**Created:** [March 1, 2014, 10:54pm UTC](https://forums.counterparty.io/t/divisible-error-typeerror-type-str-doesnt-define---round---method/151 "2014-03-01T22:54:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bountyful](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/bountyful/32/4_2.png) [@Bountyful](https://forums.counterparty.io/u/Bountyful)\
**Post date:** [March 1, 2014, 10:54pm UTC](https://forums.counterparty.io/t/divisible-error-typeerror-type-str-doesnt-define---round---method/151/1 "2014-03-01T22:54:57Z")

</div>

When trying to issue new asset without divisible option as per Wiki:  
  
  
`$ counterpartyd issuance --source=[sourceaddress] --asset=[assetname] --quantity=1 --description=&quot;descriptiongoeshere&quot;`  
  
  
Gives the following error:`<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/counterparty/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 466, in <module><br />&nbsp; &nbsp; divisible=args.divisible)<br />&nbsp; File &quot;/home/counterparty/counterpartyd_build/dist/counterpartyd/lib/util.py&quot;, line 527, in devise<br />&nbsp; &nbsp; if quantity != round(quantity):<br />TypeError: type str doesn't define __round__ method<br />`  
  
  
This seems to contradict the command formula for basic asset issuance here. [https://counterparty.co/wiki/assets](https://counterparty.co/wiki/assets)  
  
  
If divisible must take a false argument, then we may wish to update the wiki to state that, but putting divisible=0 or divisible=false does not seem to work.

---

<div class="post-metadata">

**Author:** ![opticon](https://avatars.discourse-cdn.com/v4/letter/o/85f322/32.png) [@opticon](https://forums.counterparty.io/u/opticon)\
**Post date:** [March 2, 2014, 12:09am UTC](https://forums.counterparty.io/t/divisible-error-typeerror-type-str-doesnt-define---round---method/151/2 "2014-03-02T00:09:05Z")

</div>

The documentation feels kind of spotty, at best. Someone just submitted a chance to how counterpartyd handles issuance: [https://github.com/PhantomPhreak/counterpartyd/pull/47/files](https://github.com/PhantomPhreak/counterpartyd/pull/47/files)  
  
  
I’m having the same problem, but I can’t create divisible assets either. I made another thread asking for help 😛   
  
  
Hopefully we can get some answers relatively soon - the IRC channel seems to be pretty dead anytime I’ve gone there asking for help. If you manage to get this working, let me know!

---

<div class="post-metadata">

**Author:** ![Bountyful](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/bountyful/32/4_2.png) [@Bountyful](https://forums.counterparty.io/u/Bountyful)\
**Post date:** [March 2, 2014, 2:07am UTC](https://forums.counterparty.io/t/divisible-error-typeerror-type-str-doesnt-define---round---method/151/3 "2014-03-02T02:07:42Z")

</div>

EDIT: I think the divisible issue is actually a different issue, but I could be wrong:  
  
  
I reached out as well with a PM to Phantom. Let’s see what we get hopefully tomorrow. Yes, the documentation needs some patching as well given these changes.

---

<div class="post-metadata">

**Author:** ![PhantomPhreak](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@PhantomPhreak](https://forums.counterparty.io/u/PhantomPhreak)\
**Post date:** [March 2, 2014, 6:56am UTC](https://forums.counterparty.io/t/divisible-error-typeerror-type-str-doesnt-define---round---method/151/4 "2014-03-02T06:56:10Z")

</div>

[quote author=Bountyful link=topic=149.msg990#msg990 date=1393744062]  
EDIT: I think the divisible issue is actually a different issue, but I could be wrong:  
  
  
I reached out as well with a PM to Phantom. Let’s see what we get hopefully tomorrow. Yes, the documentation needs some patching as well given these changes.  
[/quote]  
  
It’s a different issue. Have you tried using the [tt]develop[/tt] branch?  
  
EDIT: I’m working on this problem.

---

<div class="post-metadata">

**Author:** ![Bountyful](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/bountyful/32/4_2.png) [@Bountyful](https://forums.counterparty.io/u/Bountyful)\
**Post date:** [March 2, 2014, 9:08am UTC](https://forums.counterparty.io/t/divisible-error-typeerror-type-str-doesnt-define---round---method/151/5 "2014-03-02T09:08:29Z")

</div>

[quote author=PhantomPhreak link=topic=149.msg997#msg997 date=1393761370]  
[quote author=Bountyful link=topic=149.msg990#msg990 date=1393744062]  
EDIT: I think the divisible issue is actually a different issue, but I could be wrong:  
  
  
I reached out as well with a PM to Phantom. Let’s see what we get hopefully tomorrow. Yes, the documentation needs some patching as well given these changes.  
[/quote]  
  
It’s a different issue. Have you tried using the [tt]develop[/tt] branch?  
[/quote]  
  
  
Thanks. I will move over to the develop branch and spend time with it today.

---

<div class="post-metadata">

**Author:** ![PhantomPhreak](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@PhantomPhreak](https://forums.counterparty.io/u/PhantomPhreak)\
**Post date:** [March 2, 2014, 12:24pm UTC](https://forums.counterparty.io/t/divisible-error-typeerror-type-str-doesnt-define---round---method/151/6 "2014-03-02T12:24:09Z")

</div>

[quote author=Bountyful link=topic=149.msg1001#msg1001 date=1393769309]  
[quote author=PhantomPhreak link=topic=149.msg997#msg997 date=1393761370]  
[quote author=Bountyful link=topic=149.msg990#msg990 date=1393744062]  
EDIT: I think the divisible issue is actually a different issue, but I could be wrong:  
  
  
I reached out as well with a PM to Phantom. Let’s see what we get hopefully tomorrow. Yes, the documentation needs some patching as well given these changes.  
[/quote]  
  
It’s a different issue. Have you tried using the [tt]develop[/tt] branch?  
[/quote]  
  
  
Thanks. I will move over to the develop branch and spend time with it today.  
[/quote]  
  
The latest commit to [tt]master[/tt] should fix the issue, in any case.

---

<div class="post-metadata">

**Author:** ![Bountyful](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/bountyful/32/4_2.png) [@Bountyful](https://forums.counterparty.io/u/Bountyful)\
**Post date:** [March 2, 2014, 7:16pm UTC](https://forums.counterparty.io/t/divisible-error-typeerror-type-str-doesnt-define---round---method/151/7 "2014-03-02T19:16:34Z")

</div>

[quote author=PhantomPhreak link=topic=149.msg1010#msg1010 date=1393781049]  
[quote author=Bountyful link=topic=149.msg1001#msg1001 date=1393769309]  
[quote author=PhantomPhreak link=topic=149.msg997#msg997 date=1393761370]  
[quote author=Bountyful link=topic=149.msg990#msg990 date=1393744062]  
EDIT: I think the divisible issue is actually a different issue, but I could be wrong:  
  
  
I reached out as well with a PM to Phantom. Let’s see what we get hopefully tomorrow. Yes, the documentation needs some patching as well given these changes.  
[/quote]  
  
It’s a different issue. Have you tried using the [tt]develop[/tt] branch?  
[/quote]  
  
  
Thanks. I will move over to the develop branch and spend time with it today.  
[/quote]  
  
The latest commit to [tt]master[/tt] should fix the issue, in any case.  
[/quote]  
  
  
Yes. fixed in the developer branch. Thanks.
